/* ============================================
   ARQUIVO: assets/css/estrutura.css
   CSS para página de Estrutura/Estúdios
   ============================================ */

/* ============================================
   HERO ESTRUTURA COM IMAGEM DE FUNDO
   ============================================ */
.hero-estrutura {
    /* IMAGEM DE FUNDO - Substitua pela sua foto */
    background: 
        linear-gradient(135deg, rgba(46, 44, 84, 0.65) 0%, rgba(123, 94, 145, 0.50) 100%),
        url('../images/hero-estrutura.png'); /* Coloque sua foto aqui */
    
    /* Se quiser usar URL externa (Unsplash) */
    /* background: 
        linear-gradient(135deg, rgba(46, 44, 84, 0.88) 0%, rgba(123, 94, 145, 0.85) 100%),
        url('https://images.unsplash.com/photo-1519892300165-cb5542fb47c7?w=1920'); */
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito parallax */
    padding: 6rem 2rem 5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Overlay adicional para melhor contraste */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 44, 84, 0.3);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-estrutura h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 800;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
}

.hero-estrutura .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
}

.hero-estrutura .subtitle {
    font-size: 1.1rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
}

/* ============================================
   GRID DE ESTÚDIOS
   ============================================ */
.estudios-section {
    padding: 6rem 2rem;
    background: #FAFAFA;
}

.estudios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   CARD DO ESTÚDIO
   ============================================ */
.estudio-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.estudio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 50px rgba(0,0,0,0.15);
}

/* ============================================
   GALERIA COM 2 FOTOS
   ============================================ */
.estudio-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 260px;
}

.estudio-image-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.main-image {
    grid-column: 1;
}

.secondary-image {
    grid-column: 2;
    border-left: 2px solid white;
}

.estudio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Imagens reais */
.estudio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.estudio-card:hover .estudio-image img {
    transform: scale(1.08);
}

/* Placeholder quando não tem imagem */
.image-placeholder {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none; /* Fica escondido se imagem carregar */
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(46, 44, 84, 0.2);
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

/* ============================================
   ARCOS COLORIDOS (só na foto principal)
   ============================================ */
.estudio-arc {
    position: absolute;
    width: 140%;
    height: 140%;
    border-radius: 50%;
    pointer-events: none;
}

/* Arco só na imagem principal */
.secondary-image .estudio-arc {
    display: none;
}

/* Estúdio 1 - Arco Laranja */
.arc-orange {
    top: -70%;
    left: -20%;
    background: radial-gradient(circle at center, 
        transparent 0%, 
        transparent 45%, 
        rgba(255, 152, 0, 0.15) 45%, 
        rgba(255, 152, 0, 0.25) 48%, 
        transparent 48%
    );
}

/* Estúdio 2 - Arco Azul Claro */
.arc-blue {
    top: -70%;
    right: -20%;
    background: radial-gradient(circle at center, 
        transparent 0%, 
        transparent 45%, 
        rgba(100, 181, 246, 0.15) 45%, 
        rgba(100, 181, 246, 0.25) 48%, 
        transparent 48%
    );
}

/* Estúdio 3 - Arco Amarelo */
.arc-yellow {
    top: -70%;
    right: -20%;
    background: radial-gradient(circle at center, 
        transparent 0%, 
        transparent 45%, 
        rgba(244, 211, 94, 0.2) 45%, 
        rgba(244, 211, 94, 0.3) 48%, 
        transparent 48%
    );
}

/* Estúdio 4 - Arco Roxo */
.arc-purple {
    top: -70%;
    right: -20%;
    background: radial-gradient(circle at center, 
        transparent 0%, 
        transparent 45%, 
        rgba(123, 94, 145, 0.15) 45%, 
        rgba(123, 94, 145, 0.25) 48%, 
        transparent 48%
    );
}

/* ============================================
   CONTEÚDO DO CARD
   ============================================ */
.estudio-content {
    padding: 2.5rem;
}

.estudio-content h3 {
    font-size: 1.8rem;
    color: #1A202C;
    margin-bottom: 1rem;
    font-weight: 700;
}

.estudio-description {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* ============================================
   TAGS DOS INSTRUMENTOS
   ============================================ */
.estudio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF5F8 100%);
    border: 1px solid #F4D35E;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #2E2C54;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, #F4D35E 0%, #EAB543 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 211, 94, 0.3);
}

/* ============================================
   DIFERENCIAIS DA ESTRUTURA
   ============================================ */
.diferenciais-estrutura {
    padding: 6rem 2rem;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1A202C;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 4rem;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.diferencial-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF5F8 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.diferencial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.diferencial-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #F4D35E 0%, #EAB543 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #2E2C54;
}

.diferencial-item h4 {
    font-size: 1.3rem;
    color: #1A202C;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.diferencial-item p {
    color: #718096;
    line-height: 1.6;
}

/* ============================================
   CTA ESTRUTURA
   ============================================ */
.cta-estrutura {
    background: linear-gradient(135deg, #2E2C54 0%, #7B5E91 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.cta-estrutura h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-estrutura p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease;
}

[data-aos="fade-up"][data-aos-delay="100"] {
    animation-delay: 0.1s;
}

[data-aos="fade-up"][data-aos-delay="200"] {
    animation-delay: 0.2s;
}

[data-aos="fade-up"][data-aos-delay="300"] {
    animation-delay: 0.3s;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 968px) {
    .estudios-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2.5rem;
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-estrutura {
        padding: 4rem 1.5rem 3rem;
        background-attachment: scroll; /* Remove parallax no mobile */
    }
    
    .hero-estrutura h1 {
        font-size: 2.2rem;
    }
    
    .hero-estrutura .lead {
        font-size: 1.1rem;
    }
    
    .hero-estrutura .subtitle {
        font-size: 1rem;
    }
    
    .estudios-section {
        padding: 4rem 1.5rem;
    }
    
    .estudios-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Galeria vertical no tablet */
    .estudio-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    height: 360px;
}
    
    .main-image {
        grid-column: 1;
        grid-row: 1;
    }
    
    .secondary-image {
        grid-column: 1;
        grid-row: 2;
        border-left: none;
        border-top: 2px solid white;
    }
    
    .estudio-content {
        padding: 2rem 1.5rem;
    }
    
    .estudio-content h3 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .diferenciais-estrutura {
        padding: 4rem 1.5rem;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-estrutura {
        padding: 4rem 1.5rem;
    }
    
    .cta-estrutura h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-estrutura h1 {
        font-size: 1.8rem;
    }
    
    .hero-estrutura .lead,
    .hero-estrutura .subtitle {
        font-size: 0.95rem;
    }
    
    .estudio-gallery {
        height: 350px;
    }
    
    .estudio-content {
        padding: 1.5rem;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .diferencial-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .diferencial-item h4 {
        font-size: 1.1rem;
    }
    
    .diferencial-item p {
        font-size: 0.95rem;
    }
}

/* ============================================
   MODAL DE IMAGEM
   ============================================ */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.image-modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    font-weight: bold;
}