:root {
    --bg-main: #FAF8F5;        /* Alabaster / Creme claro */
    --bg-surface: #F2ECE1;     /* Champagne suave para seções alternadas */
    --bg-card: #FFFFFF;
    --text-primary: #1C1917;   /* Grafite quente */
    --text-secondary: #57534E; /* Cinza pedra */
    --accent: #855E1E;         /* Ouro nobre refinado (Contraste AAA/AA > 4.5:1 para WCAG) */
    --accent-hover: #6E4B14;
    --border-light: #E6DFD3;
    --whatsapp: #25D366;
    --whatsapp-dark: #1DA851;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: var(--font-heading); /* Atualizado: Cormorant Garamond substituído por fonte elegante sem serifa (Montserrat) */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-soft: 0 12px 32px -8px rgba(28, 25, 23, 0.06);
    --radius: 8px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

img, svg, video, iframe, canvas {
    max-width: 100%;
    height: auto;
}

p, span, a, strong, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Tipografia */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-primary);
    overflow-wrap: break-word;
}

h1 { font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo-img {
    width: 44px;
    height: 44px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-logo-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    line-height: 1;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.brand-logo:hover .brand-logo-text {
    color: var(--accent);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-list a:hover { color: var(--accent); }

.mobile-menu-toggle { display: none; }

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #FFFFFF;
}
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-1px); }

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}
.btn-secondary:hover { background-color: #FFFFFF; border-color: var(--accent); }

.btn-outline-sm {
    padding: 0.55rem 1.15rem;
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    border-radius: var(--radius);
}
.btn-outline-sm:hover {
    background-color: var(--accent);
    color: #FFFFFF !important;
}

.btn-full { width: 100%; }

/* Hero Section Light com Vídeo */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 5rem 0;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Véu claro sobre o vídeo para manter estética Light e legibilidade 100% */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(250, 248, 245, 0.94) 0%,
        rgba(250, 248, 245, 0.84) 55%,
        rgba(250, 248, 245, 0.55) 100%
    );
}

.hero-content { max-width: 680px; }
.hero-lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Seções Gerais */
.section { padding: 5.5rem 0; }
.bg-surface { background-color: var(--bg-surface); }
.text-center { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }

.grid-2-cols {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}
.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    color: var(--text-secondary);
}
.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.4rem;
    line-height: 1;
}

.about-stats {
    display: grid;
    gap: 1.25rem;
}

/* Layout da Sessão A Camerata (Showcase com Fotos) */
.about-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3.5rem;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-hero-media {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    background: #000;
}

.about-main-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.about-hero-media:hover .about-main-img {
    transform: scale(1.02);
}

.about-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-primary);
}

.about-description p {
    margin: 0;
}

.about-description strong {
    font-weight: 700;
    color: var(--text-primary);
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    background: #000;
    aspect-ratio: 16 / 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.stats-horizontal {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.stat-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.9rem; color: var(--text-secondary); }

/* Cards Formações */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.card {
    background: var(--bg-card);
    padding: 2.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}
.card-featured {
    border-color: var(--accent);
    position: relative;
}
.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg-surface);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    margin-bottom: 1rem;
}
.card p { color: var(--text-secondary); font-size: 0.95rem; }

/* Seção de Redes Sociais Elegante */
.social-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}
.social-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, border-color 0.25s ease;
    min-width: 0;
}
.social-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}
.social-info {
    min-width: 0;
    flex: 1;
}
.social-icon-wrapper {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
    color: var(--accent);
    border: 1px solid var(--border-light);
}
.social-handle {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.social-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}
.social-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Contato e Formulário */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
}
.direct-channels {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}
.channel-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-soft);
    transition: border-color 0.2s;
    min-width: 0;
}
.channel-box:hover { border-color: var(--accent); }
.channel-box > div:last-child {
    min-width: 0;
    flex: 1;
}
.channel-whatsapp { border-left: 4px solid var(--whatsapp-dark); }
.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.channel-label { display: block; font-size: 0.8rem; color: var(--text-secondary); }
.channel-value {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0.15rem 0;
    word-break: break-all;
    overflow-wrap: anywhere;
}
.channel-Action { display: block; font-size: 0.82rem; color: var(--accent); font-weight: 600; }

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}
.form-subtitle { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.req { color: #B91C1C; }
.opt { font-weight: 400; color: var(--text-secondary); }
input, textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-primary);
    transition: border-color 0.2s;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #FFFFFF;
}

/* Honeypot invisível */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-feedback {
    margin-bottom: 1rem;
    padding: 0.85rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}
.form-feedback.success {
    display: block;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.form-feedback.error {
    display: block;
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.25s ease, background-color 0.25s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    background-color: var(--whatsapp-dark);
}

/* Footer */
.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-light);
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Responsividade Mobile */
@media (max-width: 992px) {
    .about-showcase {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
}

@media (max-width: 860px) {
    .grid-2-cols, .contact-grid, .form-row-2 {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    .cards-grid,
    .social-showcase-grid {
        grid-template-columns: 1fr;
    }
    .nav-list {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--bg-main);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-light);
    }
    .nav-list.active { display: flex; }
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }
    .mobile-menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--text-primary);
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 1.25rem;
    }
    .section {
        padding: 3.5rem 0;
    }
    .hero {
        padding: 3.5rem 0;
        min-height: 75vh;
    }
    .about-gallery {
        gap: 0.75rem;
    }
    .stats-horizontal {
        grid-template-columns: 1fr;
    }
    .card {
        padding: 1.5rem 1.25rem;
    }
    .social-card {
        padding: 1.5rem 1.25rem;
        gap: 1rem;
    }
    .contact-form-wrapper {
        padding: 1.75rem 1.25rem;
    }
    .channel-box {
        padding: 1.25rem 1rem;
        gap: 1rem;
    }
    .channel-value {
        font-size: 0.95rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .brand-logo {
        gap: 0.5rem;
    }
    .brand-logo-text {
        font-size: 0.95rem;
        letter-spacing: 0.04em;
    }
    .brand-logo-img {
        width: 38px;
        height: 38px;
    }
    .header-inner {
        height: 68px;
    }
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
