/* =========================================
   Estilos Globais e Variáveis
   ========================================= */
:root {
    /* 
       Paleta de Cores do Logo (Atualizada)
       ------------------------------------
       #EB59B1 (Rosa), #2D88BF (Azul), #0B9C70 (Verde)
    */
    --primary-color: #2e004f;
    /* Roxo Profundo - Mantido como base escura */
    --color-pink: #EB59B1;
    /* Rosa Atualizado */
    --color-blue: #2D88BF;
    /* Azul Atualizado */
    --color-green: #0B9C70;
    /* Verde Solicitado */

    --secondary-color: var(--color-pink);
    /* Mantendo compatibilidade */
    --accent-color: var(--color-blue);
    /* Mantendo compatibilidade */

    /* 
       Degradês 
       --------
       Novo degradê de 3 cores incluindo o Verde.
    */
    --gradient-main: linear-gradient(135deg, var(--color-pink), var(--color-blue), var(--color-green));

    /* 
       Cores de Fundo 
       --------------
    */
    --dark-bg: #0a0a0a;
    /* Quase preto para contraste */
    --light-bg: #fdfbfd;
    /* Branco rosado muito claro para conteúdo principal */

    /* 
       Sistema de Tipografia 
       ---------------------
       Selecionado para combinar com a tipografia do logo.
    */
    --text-color: #333;
    /* Texto escuro padrão */
    --text-light: #f5f5f5;
    /* Texto claro para fundos escuros */

    --font-heading: 'Anton', sans-serif;
    /* NEGRITO PESADO - Combina com "FIT" no logo */
    --font-subheading: 'Montserrat', sans-serif;
    /* Geimétrica Limpa - Combina com "MODEL BRAZIL" e "IFBB" */
    --font-script: 'Great Vibes', cursive;
    /* Script Decorativo - Para toques femininos/artísticos */
    --font-body: 'Open Sans', sans-serif;
    /* Texto de Corpo Legível - Para parágrafos */

    /* 
       Efeitos de UI 
       -------------
    */
    --transition: all 0.3s ease;
    /* Transição suave padrão */
    --shadow-soft: 0 10px 30px rgba(213, 0, 249, 0.15);
    /* Sombra suave com brilho roxo */
    --glass-bg: rgba(255, 255, 255, 0.85);
    /* Fundo estilo vidro (Glassmorphism) */
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    /* Borda de vidro */
    --header-height: 110px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
    /* Previne rolagem horizontal de animações */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h3 {
    font-family: var(--font-heading);
    font-size: 4rem;
    /* Aumentado para impacto Anton */
    font-weight: 400;
    /* Anton é naturalmente negrito */
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-style: normal;
}

.section-header p {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 400;
    margin-top: -10px;
    /* Sobreposição leve para estilo */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 2px;
    font-family: var(--font-subheading);
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 5px 15px rgba(213, 0, 249, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(213, 0, 249, 0.6);
    filter: brightness(1.1);
}

/* =========================================
   Cabeçalho e Navegação
   ========================================= */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 5px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    height: var(--header-height);
    /* Altura original restaurada */
    /* Clean, fixed height */
    display: flex;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for separation */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
    /* Centraliza verticalmente no header */
    padding-top: 0;
    z-index: 1100;
    /* Garante que fique acima de outros elementos do menu */
    position: relative;
}

.logo img {
    height: 100%;
    max-height: calc(var(--header-height) - 10px);
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    margin: 0;
    /* No overlapping */
    padding: 0;
    /* No extra padding */
    background: none;
    /* Transparent background */
    filter: none;
    /* No shadow on the image itself */
    border-radius: 0;
}

.logo img:hover {
    transform: scale(1.02);
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list li a {
    font-family: var(--font-subheading);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    font-style: normal;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-main);
    transition: width 0.3s;
}

.nav-list li a:hover::after {
    width: 100%;
}

.nav-list li a:hover {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* =========================================
   Seção Hero (Banner Principal)
   ========================================= */
.hero {
    height: 100vh;
    background: var(--gradient-main);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    overflow: hidden;
    /* Ensure video doesn't spill out */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: opacity 0.6s ease;
    opacity: 0;
    z-index: 0;
}

.hero-video.is-active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 0, 79, 0.7), rgba(213, 0, 249, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: 6rem;
    /* Larger for Anton */
    margin-bottom: 15px;
    font-weight: 400;
    /* Anton is naturally bold */
    text-transform: uppercase;
    font-style: normal;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
    line-height: 1;
}

.hero p {
    font-family: var(--font-script);
    font-size: 4rem;
    /* Much larger for script */
    margin-bottom: 40px;
    font-weight: 400;
    text-transform: none;
    /* Keep script natural */
    letter-spacing: normal;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    color: var(--accent-color);
}

/* =========================================
   Seção Sobre (Estilo Atualizado com Brilho)
   ========================================= */
.about-content {
    background: #ffffff;
    /* Fundo branco sólido para ficar "na frente" */
    padding: 60px;
    border-radius: 20px;
    border: none;
    /* Borda removida para o brilho fluir melhor */
    margin-bottom: 60px;
    position: relative;
    box-shadow: none;
    /* z-index removido para permitir que o pseudo-elemento fique atrás */
}

/* 
   Brilho Gradiente de 3 Cores
   ---------------------------
   Cria o efeito de brilho usando as cores solicitadas:
   Rosa (#EB59B1) -> Azul (#2D88BF) -> Verde (#0B9C70)
*/
.about-content::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--gradient-main);
    z-index: -1;
    filter: blur(15px);
    border-radius: 24px;
    opacity: 0.7;
}

.about-text h4 {
    font-family: var(--font-subheading);
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-style: normal;
}

.about-text p {
    margin-bottom: 25px;
    text-align: justify;
    font-size: 1.1rem;
    color: #444;
}

.mission-vision-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mvv-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(213, 0, 249, 0.1);
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-main);
}

.mvv-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mvv-card i {
    font-size: 3rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

.mvv-card h4 {
    font-family: var(--font-subheading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* =========================================
   Seção Equipe
   ========================================= */
.team {
    background-color: #faf5fa;
    /* Very subtle pinkish grey */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
}

.team-card {
    background: transparent;
    /* Fundo movido par ::after para controlar z-index */
    border-radius: 20px;
    /* overflow: hidden removido para o brilho aparecer fora */
    overflow: visible;
    margin-bottom: 20px;
    transition: var(--transition);
    border: none;
    position: relative;
    box-shadow: none;
    z-index: 1;
    /* Cria contexto de empilhamento para os filhos */
}

/* Fundo Branco do Card (Camada Intermediária) */
.team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Ocupa todo o card */
    background: white;
    border-radius: 20px;
    z-index: -1;
    /* Fica atrás do conteúdo, mas na frente do brilho (se ajustado) */
}

/* 
   Brilho Gradiente de 3 Cores (Team Cards)
   ----------------------------------------
*/
.team-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--gradient-main);
    z-index: -2;
    /* Fica ATRÁS do fundo branco (::after) */
    filter: blur(15px);
    border-radius: 24px;
    opacity: 0.7;
}

.team-card:hover {
    transform: translateY(-10px);
    /* O hover mantém o brilho, apenas move o card */
}

.team-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #e0e0e0;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-photo-sergio {
    object-position: 50% 40%;
}
.team-info {
    padding: 40px 30px;
}

.team-info h4 {
    font-family: var(--font-subheading);
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-info span {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.team-info p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* =========================================
   Seção Serviços
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.service-item {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.service-item:hover {
    box-shadow: 0 15px 30px rgba(213, 0, 249, 0.2);
    transform: translateY(-10px);
    border-color: rgba(213, 0, 249, 0.3);
}

.service-item i {
    font-size: 2.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.service-item h4 {
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    color: #333;
}

/* =========================================
   Seção Galeria
   ========================================= */
.gallery {
    background-color: #fff8fb;
}

.gallery-year {
    margin-bottom: 50px;
}

.gallery-year h4 {
    font-family: var(--font-subheading);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 18px;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, rgba(235, 89, 177, 0.15), rgba(45, 136, 191, 0.15), rgba(11, 156, 112, 0.15));
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

.gallery-item span {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    font-family: var(--font-subheading);
    font-size: 0.85rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* =========================================
   Seção Contato
   ========================================= */
.contact {
    background: linear-gradient(135deg, #2e004f, #4a0072);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Decorative circle background */
.contact::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(213, 0, 249, 0.1);
    z-index: 0;
}

.contact .section-header h3 {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.contact .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    background: rgba(255, 255, 255, 0.05);
    /* Minimalist glass */
    padding: 60px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form form button {
    width: 100%;
}

/* =========================================
   Seção Rodapé
   ========================================= */
.footer {
    background-color: #05101f;
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: white;
}

/* =========================================
   Lightbox
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoom 0.3s;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    font-family: var(--font-body);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--color-pink);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index: 2002;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--color-pink);
}

@keyframes zoom {
    from {transform: scale(0.1)} 
    to {transform: scale(1)}
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        margin-top: 20%;
    }
}

/* =========================================
   Design Responsivo (Mobile)
   ========================================= */
@media (max-width: 768px) {
    .hero {
        background: var(--gradient-main);
    }
    .hero-video {
        display: block; /* Habilitado para mobile */
        object-position: center center; /* Centraliza melhor no mobile */
    }
    :root {
        --header-height: 70px;
    }
    .header-container {
        padding: 0 20px;
    }

    .nav-list {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        backdrop-filter: blur(10px);
    }

    .nav-list.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero h2 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.6rem;
        margin-bottom: 24px;
    }

    .about-content {
        padding: 20px;
    }
    .section {
        padding: 60px 0;
    }
    .logo img {
        height: 100px;
    }
}
