/* =========================================
   VARIÁVEIS DE COR E TIPOGRAFIA
   ========================================= */
   :root {
    --navy: #04066b;
    --lime: #CCFF00;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-200: #e9ecef;
    --text-main: #333333;
    --text-muted: #666666;
    
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================
   RESET E BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--gray-50);
}

.text-navy { color: var(--navy); }
.text-lime { color: var(--lime); }
.text-lime-bg {
    background-color: var(--lime);
    color: var(--navy);
    padding: 8px;
    border-radius: 4px;
}

/* =========================================
   TIPOGRAFIA
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--navy);
}

.section-title {
    font-size: 2.5rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
}

.tag {
    display: inline-block;
    background-color: var(--navy);
    color: var(--lime);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   BOTÕES CUSTOMIZADOS (Geométricos/Clean)
   ========================================= */
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--lime);
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1rem;
    padding: 14px 28px;
    border: 2px solid var(--lime);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: var(--navy);
    z-index: -1;
    transition: var(--transition);
}

.btn-custom:hover {
    color: var(--lime);
    border-color: var(--navy);
}

.btn-custom:hover::after {
    height: 100%;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-large {
    font-size: 1.25rem;
    padding: 18px 40px;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(4, 6, 107, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.5rem;
}

.logo-text strong {
    color: var(--lime);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--lime);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--lime);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    /*
       2. Imagem de fundo bg.jpg */
    background-image:
        linear-gradient(rgba(4, 6, 107, 0.336), rgba(4, 6, 107, 0.98)),
        url('../../../pages/eventos/eventos-img/bg.jpg');
    
    background-color: var(--navy); /* Fallback caso a imagem não carregue */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efeito Parallax suave */
    
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* offset navbar */
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    border: 1px solid var(--lime);
    color: var(--lime);
    padding: 6px 16px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 5rem;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subtitle {
    color: var(--gray-200);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 48px;
    letter-spacing: 1px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.05);
    padding: 24px 32px;
    border-left: 4px solid var(--lime);
    width: fit-content;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    font-size: 2rem;
    color: var(--lime);
}

.stat-val {
    display: block;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.stat-label {
    display: block;
    color: var(--gray-200);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255,255,255,0.2);
}

/* Gráfico de fundo da Hero */
.hero-bg-graphic {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204,255,0,0.15) 0%, rgba(4,6,107,0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* =========================================
   MODALIDADES (GRID)
   ========================================= */
.section-header {
    margin-bottom: 48px;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 40px 32px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    border-color: var(--lime);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(4, 6, 107, 0.08);
}

.card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #33333383;
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
    transition: var(--transition);
}

.card:hover .card-number {
    color: var(--lime);
}

.card h3 {
    margin-top: 24px;
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
}

.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* =========================================
   SPLIT LAYOUT (PREMIAÇÕES & KIT)
   ========================================= */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-layout.reverse .split-content {
    order: -1;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--navy);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--lime);
    z-index: 0;
}

.image-wrapper.box-lime::before {
    top: 20px;
    left: 20px;
    border-color: var(--navy);
    background-color: var(--lime);
    z-index: 0;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.feature-list {
    margin: 32px 0;
}

.feature-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.age-categories h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    background: var(--white);
    border: 1px solid var(--navy);
    color: var(--navy);
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.kit-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.kit-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kit-item i {
    font-size: 1.5rem;
    color: var(--navy);
}

.kit-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* =========================================
   MANDALA DO EVENTO
   ========================================= */
.mandala-section {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.mandala-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.mandala-content {
    border-left: 6px solid var(--lime);
    padding-left: 28px;
}

.mandala-content p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 520px;
}

.mandala-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.mandala-contact span {
    color: var(--navy);
    font-weight: 800;
}

.mandala-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mandala-card {
    aspect-ratio: 1 / 1;
    background: var(--navy);
    border: 3px solid var(--navy);
    overflow: hidden;
    position: relative;
}

.mandala-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--lime);
    opacity: 0;
    transition: var(--transition);
}

.mandala-card:hover::after {
    opacity: 1;
    inset: 10px;
}

.mandala-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.mandala-card:hover img {
    transform: scale(1.04);
}

/* =========================================
   LOCAL & CIRCUITO
   ========================================= */
.local-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 32px;
    align-items: center;
}

.local-info {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.local-intro {
    margin-bottom: 12px;
}

.local-intro .tag {
    margin-bottom: 14px;
}

.local-intro p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 420px;
}

.info-card {
    background: var(--white);
    padding: 24px;
    display: flex;
    gap: 16px;
    border-left: 4px solid var(--navy);
}

.info-card i {
    color: var(--lime);
    font-size: 1.5rem;
    background: var(--navy);
    padding: 12px;
    border-radius: 4px;
    height: fit-content;
}

.info-card h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.local-map {
    width: 100%;
    height: 100%;
    min-height: 340px;
    background: var(--gray-200);
    border: 3px solid var(--navy);
    overflow: hidden;
}

.local-map iframe,
.local-map img {
    width: 100%;
    height: 100%;
    border: none;
}

.local-map img {
    display: block;
    object-fit: cover;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    background-color: var(--lime);
    text-align: center;
    padding: 80px 0;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    color: var(--navy);
    font-size: 3rem;
}

.cta-box p {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 32px;
    font-weight: 500;
}

.cta-box .btn-custom {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.cta-box .btn-custom::after {
    background-color: var(--white);
}

.cta-box .btn-custom:hover {
    color: var(--navy);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    display: block;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-logo img {
    display: block;
    height: auto;
    max-width: 130px;
}

.footer .logo-text {
    display: block;
    margin-bottom: 16px;
}

.footer p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

.footer .footer-credit {
    font-size: 0.78rem;
    font-weight: 600;
}

.footer .footer-credit a {
    color: inherit;
    text-decoration: none;
}

.footer .footer-credit a:hover,
.footer .footer-credit a:focus-visible {
    color: var(--yellow);
    text-decoration: underline;
}

/* =========================================
   ANIMAÇÕES DE REVELAÇÃO (JS Ativado)
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   MEDIA QUERIES (RESPONSIVO)
   ========================================= */
@media (max-width: 992px) {
    .hero-title { font-size: 4rem; }
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .split-layout.reverse .split-content { order: 1; }
    .local-grid { grid-template-columns: 1fr; }
    .mandala-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .nav-menu.active { display: none; }
    .btn-nav {
        display: inline-flex;
        padding: 9px 12px;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    .mobile-toggle { display: none; }

    .hero-title { font-size: 3rem; }
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        max-width: 360px;
        padding: 0;
        border-left: 0;
        background: transparent;
    }

    .stat-item {
        gap: 10px;
        align-items: center;
        padding: 14px 12px;
        background: rgba(255, 255, 255, 0.09);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-left: 3px solid var(--lime);
        min-height: 82px;
    }

    .stat-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        display: inline-block;
        background: var(--lime);
        color: var(--navy);
        border-radius: 50%;
        position: relative;
        font-size: 1.15rem;
        line-height: 1;
        text-align: center;
    }

    .stat-icon i {
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        line-height: 1;
        text-align: center;
        margin: 0;
        transform: translate(-50%, -50%);
    }

    .stat-val {
        font-size: 1.05rem;
        line-height: 1.05;
    }

    .stat-label {
        margin-top: 4px;
        font-size: 0.65rem;
        letter-spacing: 0.8px;
    }

    .stat-divider {
        display: none;
    }

    .section-title { font-size: 2rem; }
    .cta-box h2 { font-size: 2rem; }
    .kit-items { grid-template-columns: 1fr; }
    .mandala-content {
        padding-left: 20px;
    }
    .mandala-gallery {
        display: flex;
        grid-template-columns: none;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .mandala-gallery::-webkit-scrollbar {
        height: 6px;
    }

    .mandala-gallery::-webkit-scrollbar-track {
        background: var(--gray-200);
    }

    .mandala-gallery::-webkit-scrollbar-thumb {
        background: var(--navy);
    }

    .mandala-card {
        flex: 0 0 82%;
        scroll-snap-align: center;
    }

    .footer {
        display: block;
        visibility: visible;
        padding: 32px 0;
    }

    .footer-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-logo img {
        max-width: 120px;
    }
}

@media (max-width: 380px) {
    .hero-stats {
        max-width: 100%;
    }

    .stat-item {
        padding: 12px 10px;
    }

    .stat-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .stat-icon i {
        font-size: 1rem;
    }

    .stat-val {
        font-size: 0.95rem;
    }
}
