/* ==========================================================================
   Design System & Custom Properties (Sóbria Premium)
   ========================================================================== */
:root {
    --bg-dark: #000000;              /* Preto Absoluto para o clima de espetáculo */
    --bg-card: rgba(18, 18, 18, 0.7);  /* Cartões escuros em Glassmorphic sutil */
    --bg-papiro: #F4F1EA;            /* Fundo Claro Terreno para seções biográficas/aulas */
    
    --primary: #FFD700;              /* Amarelo Ouro Vibrante */
    --primary-glow: rgba(255, 215, 0, 0.25);
    
    --text-primary: #F8FAFC;         /* Texto claro sobre fundo escuro */
    --text-dark: #212121;            /* Texto escuro sobre fundo Papiro */
    --text-secondary: #94A3B8;
    
    --border-color: rgba(255, 215, 0, 0.15);
    --border-color-hover: rgba(255, 215, 0, 0.5);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Fonts */
    --font-title: 'Archivo Black', sans-serif;
    --font-subtitle: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* ==========================================================================
   Reset & Fundamental Settings
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1e1e1e;
    border: 1px solid var(--bg-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Helper / Utility Classes */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-center { text-align: center; }
.text-light { color: var(--text-primary) !important; }
.text-gold { color: var(--primary) !important; }
.text-secondary-color { color: var(--text-secondary) !important; }
.w-full { width: 100%; }

/* ==========================================================================
   Typography Rules
   ========================================================================== */
.section-tag {
    display: inline-block;
    font-family: var(--font-subtitle);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(33, 33, 33, 0.6);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.3rem;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.sobre-section .section-title {
    color: var(--text-dark);
}

.section-subtitle {
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.sobre-section .section-subtitle {
    color: rgba(33, 33, 33, 0.7);
}

/* ==========================================================================
   Button System
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2.2rem;
    font-family: var(--font-subtitle);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--bg-dark);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

/* Glassmorphism Styling */
.card-glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.card-glass:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.08);
}

/* ==========================================================================
   Header & Fixed Navigation Bar
   ========================================================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.08);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.3rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.25rem;
    letter-spacing: 2px;
    color: var(--primary);
}

#nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-subtitle);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    color: var(--text-primary);
    font-size: 1.5rem;
}

/* ==========================================================================
   Hero Section (Capa Proportions & Title Shift)
   ========================================================================== */
.hero-section {
    background-color: var(--bg-dark);
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-dark);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 75%,
        var(--bg-dark) 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 90%;
    max-width: 800px;
    text-align: center;
}

/* "Tuko Cyrandeiro" deslocado para baixo para sobrepor a logomarca do festival */
.hero-content-bottom {
    bottom: 3.5%;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 5rem;
    line-height: 0.95;
    letter-spacing: -2px;
    color: var(--text-primary);
    opacity: 0.45;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.95);
}

/* Responsive Capa Behaviours */
@media (min-width: 769px) {
    .hero-section {
        height: auto;
        min-height: auto;
    }
    .hero-image {
        object-fit: contain; /* Proporção original estrita sem cortes */
        max-height: 90vh;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
    }
    .hero-image {
        aspect-ratio: 9 / 16; /* Recorte vertical exato 9:16 no mobile */
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: auto;
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

/* ==========================================================================
   Sobre & Trajetória (Manifesto / Texto 1 + Perfil Circense)
   ========================================================================== */
.sobre-section {
    color: var(--text-dark);
    padding: 6.5rem 2rem;
}

.border-top-papiro {
    border-top: 1px solid rgba(33, 33, 33, 0.08);
}

/* "O movimento que une a terra e o ar" como título do texto */
.manifesto-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.2rem;
    color: #8C6F2D; /* Deep bronze-gold for excellent contrast on light card */
    text-align: left;
    margin-bottom: 1.2rem;
    text-shadow: none;
}

/* Primeira Foto: Degradê do cinza padrão para o papiro */
.gradient-grey-to-papiro {
    background: linear-gradient(to bottom, #121212 0%, var(--bg-papiro) 100%) !important;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4.5rem;
    align-items: center;
}

.manifesto-img-col {
    display: flex;
    justify-content: center;
}

.manifesto-img-wrapper {
    width: 100%;
    max-width: 400px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.circus-profile-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.manifesto-text-col {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Quadro de texto integrado com fundo papiro sutil */
.card-glass-light-text {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(33, 33, 33, 0.06);
    border-radius: 4px;
    padding: 2.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.lead-text {
    font-family: var(--font-subtitle);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-dark);
    text-align: justify;
}

.body-text-justify {
    font-size: 0.98rem;
    color: rgba(33, 33, 33, 0.85);
    text-align: justify;
}

/* ==========================================================================
   Trinca CTA Block: WhatsApp (Mantém fundo papiro)
   ========================================================================== */
.cta-whatsapp-section {
    background-color: var(--bg-papiro);
    padding: 3rem 2rem;
    border-bottom: 1px solid rgba(33, 33, 33, 0.05);
}

.btn-whatsapp-cta {
    background-color: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1.1rem 2.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-cta:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: #FFFFFF;
}

.cta-whatsapp-subtitle {
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 1rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Perfil Corporativo (Segunda Foto: Degradê papiro para o cinza, layout corporativo)
   ========================================================================== */
.gradient-papiro-to-grey {
    background: linear-gradient(to bottom, var(--bg-papiro) 0%, #121212 100%) !important;
}

.corp-photo-container {
    max-width: 400px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.20);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.corp-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* Quadro de texto corporativo com fundo escuro elegante e timeline */
.card-glass-light-text-corp {
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2.2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    color: var(--text-primary);
}

.corp-cv-title {
    font-family: var(--font-subtitle);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.corp-cv-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--primary);
    padding-left: 1rem;
}

.timeline-year {
    font-family: var(--font-subtitle);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.timeline-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.corp-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

.corp-formation h4 {
    font-family: var(--font-subtitle);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.corp-formation p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

/* ==========================================================================
   Aulas de Forró Section (Corrigido contraste)
   ========================================================================== */
.forro-section-dark {
    background-color: var(--bg-dark) !important;
    color: var(--text-primary) !important;
    padding: 6.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.forro-section-dark .section-title {
    color: var(--text-primary) !important;
}

.forro-section-dark .section-subtitle {
    color: var(--text-secondary) !important;
}

.championship-photo-container {
    max-width: 800px;
    margin: 2.5rem auto;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.championship-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Formato original */
}

.forro-cta-container {
    margin-top: 2.5rem;
}

/* ==========================================================================
   Contato: Orçamentos e Parcerias (Único card E-mail centralizado)
   ========================================================================== */
.contact-section {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    padding: 6.5rem 2rem;
}

.contact-cards-grid-single {
    display: flex;
    justify-content: center;
    max-width: 480px;
    margin: 3.5rem auto 0 auto;
}

.contact-cards-grid-single .contact-info-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
}

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    width: 22px;
    height: 22px;
}

.card-text-block {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-info-card h4 {
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-info-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-family: var(--font-subtitle);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.action-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* ==========================================================================
   Footer & Trademark (Sem ícones redondos)
   ========================================================================== */
#main-footer {
    background-color: #050505;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 215, 0, 0.08);
    padding: 4rem 2rem 2.5rem 2rem;
    font-size: 0.88rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-copy {
    text-align: right;
}

.dev-credits {
    font-size: 0.75rem;
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    transition: var(--transition-smooth);
}

.whatsapp-floating-btn i {
    width: 28px;
    height: 28px;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--text-dark);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.whatsapp-floating-btn:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ==========================================================================
   Mobile Responsive Adjustments (Mobile-First)
   ========================================================================== */
@media (max-width: 992px) {
    .manifesto-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .sobre-section {
        padding: 5rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    #nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        padding: 2rem;
    }
    
    #nav-menu.active {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    #nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    @keyframes slideDown {
        from { transform: translateY(-10px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    
    .manifesto-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    /* Text 1 + Perfil Circense (Column layout text above image) */
    .manifesto-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse; /* Texto acima da foto */
        gap: 2rem;
    }
    
    /* Perfil Corporativo (Foto em cima, texto em baixo no mobile) */
    .manifesto-grid.corp-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .manifesto-img-wrapper {
        max-width: 100%;
    }
    
    .whatsapp-floating-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .corp-photo-container {
        max-width: 100%;
    }
    
    /* Recorte vertical 9:16 centralizado para a foto do campeonato */
    .championship-photo-container {
        max-width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin: 2rem 0;
    }
    
    .championship-photo {
        aspect-ratio: 9 / 16;
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: auto;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-copy {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .manifesto-title {
        font-size: 1.85rem;
    }
}
