/* ============================================================
   ALUATA — Estilos Principais v6
   Paleta Terrosa Expandida e Acolhedora
   ============================================================ */

:root {
    --fundo:        #1C1408;
    --fundo-alt:    #2A1E10;
    --card:         #362818;
    --card-claro:   #42321E;
    --ocre:         #C17F3E;
    --ocre-claro:   #D4924F;
    --terracota:    #A05C3A;
    --verde:        #4A5C3A;
    --verde-claro:  #5C7048;
    --texto-1:      #EDE4D4;
    --texto-2:      #C4B49A;
    --texto-3:      #8A7A68;
    --borda:        #4A3A28;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Montserrat', sans-serif; background-color: var(--fundo); color: var(--texto-1); line-height: 1.7; overflow-x: hidden; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--texto-1); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p  { font-size: 0.93rem; color: var(--texto-2); line-height: 1.8; }

.section-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ocre);
    margin-bottom: 0.75rem;
}
.section-subtitle {
    color: var(--texto-3);
    font-size: 0.88rem;
    font-style: italic;
    margin-top: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.divider { width: 56px; height: 2px; background: linear-gradient(to right, var(--ocre), var(--terracota)); margin: 1.2rem 0; }
.divider.centered { margin: 1.2rem auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5.5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 0.5rem; }

/* HEADER */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(18, 10, 4, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(193, 127, 62, 0.18);
    padding: 0.4rem 0;
    transition: background 0.3s ease;
}
.header-content { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.logo a { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-img { height: 34px; width: auto; filter: brightness(0.9) sepia(0.2); }
.logo-nome { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; color: var(--texto-1); letter-spacing: 0.08em; }
.nav { display: flex; gap: 1.8rem; align-items: center; }
.nav-link { color: var(--texto-2); text-decoration: none; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s ease; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--ocre); transition: width 0.3s ease; }
.nav-link:hover { color: var(--texto-1); }
.nav-link:hover::after { width: 100%; }
.nav-cta { background: var(--ocre) !important; color: var(--fundo) !important; padding: 0.45rem 1.1rem; border-radius: 2px; font-weight: 600 !important; transition: background 0.3s ease !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--ocre-claro) !important; color: var(--fundo) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1100; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--texto-1); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; filter: brightness(0.22) saturate(0.5); transform: scale(1.04); transition: transform 10s ease; }
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(155deg, rgba(28, 20, 8, 0.72) 0%, rgba(42, 30, 16, 0.5) 45%, rgba(74, 92, 58, 0.25) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; padding: 2rem; padding-top: 80px; }
.hero-eyebrow { display: block; font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ocre); margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: #F2EAD8; margin-bottom: 1.4rem; line-height: 1.1; text-shadow: 0 2px 30px rgba(0,0,0,0.6); }
.hero h1 em { font-style: italic; color: var(--ocre); }
.hero-subtitle { font-size: clamp(0.9rem, 1.8vw, 1.05rem); color: #C8B89A; max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.85; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-button { display: inline-block; padding: 0.85rem 2.2rem; background: var(--ocre); color: var(--fundo); text-decoration: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px; transition: all 0.3s ease; border: 1px solid var(--ocre); }
.cta-button:hover { background: var(--ocre-claro); border-color: var(--ocre-claro); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(193, 127, 62, 0.3); }
.cta-button-outline { display: inline-block; padding: 0.85rem 2.2rem; background: transparent; color: var(--texto-1); text-decoration: none; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px; border: 1px solid rgba(237, 228, 212, 0.35); transition: all 0.3s ease; }
.cta-button-outline:hover { border-color: var(--ocre); color: var(--ocre); }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.6rem; color: var(--texto-3); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; animation: heroScrollBounce 2.2s infinite; }
.hero-scroll::after { content: ''; display: block; width: 1px; height: 36px; background: linear-gradient(to bottom, var(--ocre), transparent); }
@keyframes heroScrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

/* MISSAO */
.missao { background: var(--fundo-alt); background-image: linear-gradient(160deg, rgba(74, 92, 58, 0.08) 0%, transparent 45%); border-top: 2px solid var(--terracota); }
.missao-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.missao-texto h2 { margin-bottom: 0.5rem; }
.missao-quote { font-family: 'Playfair Display', serif; font-size: clamp(1.05rem, 2vw, 1.25rem); font-style: italic; color: var(--texto-1); line-height: 1.6; border-left: 3px solid var(--ocre); padding-left: 1.4rem; margin: 1.8rem 0; }
.missao-assinatura { font-size: 0.8rem !important; color: var(--texto-3) !important; font-style: italic; margin-top: 1.5rem !important; }
.missao-desafios { padding-top: 0.5rem; }
.missao-desafios .section-label { margin-bottom: 1.2rem; }
.desafios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.desafio-item { background: rgba(54, 40, 24, 0.6); border: 1px solid rgba(193, 127, 62, 0.18); border-radius: 3px; padding: 1.2rem; transition: border-color 0.3s ease; }
.desafio-item:hover { border-color: rgba(193, 127, 62, 0.45); }
.desafio-item h4 { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ocre); margin-bottom: 0.5rem; }
.desafio-item p { font-size: 0.8rem; color: var(--texto-3); line-height: 1.6; }

/* EXPERIENCIA */
.experiencia { background: var(--fundo); background-image: linear-gradient(135deg, rgba(74, 92, 58, 0.1) 0%, transparent 50%); }
.experiencia-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.experiencia-card { background: var(--card); border-radius: 4px; overflow: hidden; border-top: 2px solid var(--ocre); transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.experiencia-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(0,0,0,0.4); }
.experiencia-card-img { width: 100%; height: 180px; background-size: cover; background-position: center; position: relative; filter: saturate(0.75) brightness(0.85); transition: filter 0.4s ease; }
.experiencia-card:hover .experiencia-card-img { filter: saturate(0.9) brightness(0.95); }
.experiencia-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(28, 20, 8, 0.7) 100%); }
.experiencia-card-body { padding: 1.5rem; }
.exp-numero { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: rgba(193, 127, 62, 0.25); line-height: 1; margin-bottom: 0.4rem; }
.experiencia-card-body h3 { font-size: 1rem; color: var(--texto-1); margin-bottom: 0.7rem; }
.experiencia-card-body p { font-size: 0.82rem; color: var(--texto-3); line-height: 1.65; }

/* PALESTRANTES — Cards Expansiveis ao Hover */
.palestrantes { background: linear-gradient(180deg, var(--fundo-alt) 0%, var(--fundo) 100%); border-top: 1px solid rgba(193, 127, 62, 0.15); }

.palestrantes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 0;
}

/* Card de foto */
.speaker-card {
    background: var(--card);
    border: 1px solid rgba(74, 58, 40, 0.5);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.speaker-card:hover,
.speaker-card.active {
    border-color: rgba(193, 127, 62, 0.6);
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    transform: translateY(-3px);
}

.speaker-photo {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: saturate(0.72) brightness(0.85);
    transition: filter 0.4s ease, transform 0.5s ease;
    display: block;
}

.speaker-card:hover .speaker-photo img,
.speaker-card.active .speaker-photo img {
    filter: saturate(0.9) brightness(1.0);
    transform: scale(1.04);
}

/* Overlay de hover sobre a foto */
.speaker-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,20,8,0.88) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.speaker-card:hover .speaker-overlay,
.speaker-card.active .speaker-overlay {
    opacity: 1;
}

.speaker-overlay-cta {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ocre);
    border: 1px solid rgba(193, 127, 62, 0.5);
    padding: 0.35rem 0.8rem;
    border-radius: 2px;
    background: rgba(28,20,8,0.5);
}

.speaker-caption {
    padding: 1rem 1.2rem;
    border-top: 2px solid var(--ocre);
}

.speaker-caption h3 {
    font-size: 0.95rem;
    color: var(--texto-1);
    margin-bottom: 0.2rem;
    line-height: 1.25;
}

.speaker-role {
    display: block;
    font-size: 0.65rem;
    color: var(--ocre);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 500;
    line-height: 1.4;
}

/* Painel de bio — aparece abaixo da grade ao clicar */
.speaker-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.4s ease;
    margin-top: 0;
}

.speaker-panel.open {
    max-height: 600px;
    margin-top: 1.8rem;
}

.speaker-panel-inner {
    background: var(--card-claro);
    border: 1px solid rgba(193, 127, 62, 0.25);
    border-radius: 4px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    overflow: hidden;
    position: relative;
}

.panel-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(28,20,8,0.7);
    border: 1px solid rgba(193, 127, 62, 0.3);
    color: var(--texto-2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}

.panel-close:hover {
    background: var(--ocre);
    color: var(--fundo);
}

.panel-photo {
    width: 220px;
    flex-shrink: 0;
    overflow: hidden;
}

.panel-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: saturate(0.8) brightness(0.9);
    display: block;
}

.panel-text {
    padding: 2rem 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panel-text h3 {
    font-size: 1.5rem;
    color: var(--texto-1);
    margin-bottom: 0.5rem;
    margin-top: 0.3rem;
}

.panel-text p {
    font-size: 0.92rem;
    color: var(--texto-2);
    line-height: 1.85;
    margin-top: 0.8rem;
}

/* ESPACOS — mesmo sistema de painel dos palestrantes */
.espacos { background: linear-gradient(180deg, var(--fundo) 0%, var(--fundo-alt) 100%); border-top: 1px solid rgba(74, 92, 58, 0.2); }

.espacos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.espaco-card {
    background: var(--card);
    border: 1px solid rgba(74, 58, 40, 0.5);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.espaco-card:hover,
.espaco-card.active {
    border-color: rgba(92, 112, 72, 0.7);
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    transform: translateY(-3px);
}

.espaco-photo {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.espaco-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.72) brightness(0.85);
    transition: filter 0.4s ease, transform 0.5s ease;
    display: block;
}

.espaco-card:hover .espaco-photo img,
.espaco-card.active .espaco-photo img {
    filter: saturate(0.9) brightness(1.0);
    transform: scale(1.04);
}

.espaco-card:hover .speaker-overlay,
.espaco-card.active .speaker-overlay {
    opacity: 1;
}

.espaco-card .speaker-caption {
    border-top-color: var(--verde);
}

.espaco-card .speaker-role {
    color: var(--verde-claro);
}

.espacos-nota { text-align: center; margin-top: 3rem; font-size: 0.82rem; color: var(--texto-3); font-style: italic; max-width: 600px; margin-left: auto; margin-right: auto; }

/* INVESTIMENTO */
.investimento { background: var(--fundo-alt); background-image: linear-gradient(135deg, rgba(193, 127, 62, 0.04) 0%, transparent 60%); border-top: 2px solid var(--ocre); }
.investimento-header { text-align: center; margin-bottom: 4rem; }
.investimento-header h2 { margin-bottom: 0.5rem; }
.investimento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.investimento-texto p { font-size: 0.95rem; color: var(--texto-2); line-height: 1.85; margin-bottom: 1rem; }
.investimento-cta-text { color: var(--texto-1) !important; font-style: italic; margin-bottom: 1.8rem !important; }
.investimento-incluso { background: rgba(54, 40, 24, 0.7); border: 1px solid rgba(193, 127, 62, 0.22); border-radius: 4px; padding: 2rem; }
.investimento-incluso h3 { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ocre); margin-bottom: 1.5rem; }
.incluso-lista { list-style: none; display: flex; flex-direction: column; gap: 0; }
.incluso-lista li { display: flex; align-items: flex-start; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(74, 58, 40, 0.4); }
.incluso-lista li:last-child { border-bottom: none; }
.incluso-icone { color: var(--ocre); font-size: 0.9rem; flex-shrink: 0; margin-top: 0.1rem; font-weight: 700; }
.incluso-lista li span:last-child { font-size: 0.88rem; color: var(--texto-2); line-height: 1.6; }

/* CONTATO */
.contato { background: linear-gradient(135deg, var(--verde) 0%, var(--fundo) 60%); border-top: 2px solid var(--terracota); }
.contato-content { max-width: 680px; margin: 0 auto; }
.contato-links { display: flex; flex-direction: column; gap: 1rem; }
.contato-link { display: flex; align-items: center; gap: 1rem; text-decoration: none; padding: 1rem 1.4rem; background: rgba(28, 20, 8, 0.55); border: 1px solid rgba(74, 58, 40, 0.5); border-radius: 3px; transition: all 0.3s ease; }
.contato-link:hover { border-color: var(--ocre); background: rgba(193, 127, 62, 0.1); transform: translateX(5px); }
.contato-link.whatsapp:hover { border-color: var(--verde-claro); background: rgba(74, 92, 58, 0.2); }
.contato-link-icon { font-size: 1.2rem; width: 40px; height: 40px; background: rgba(193, 127, 62, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contato-link-text { display: flex; flex-direction: column; }
.contato-link-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--texto-3); margin-bottom: 0.15rem; }
.contato-link-value { font-size: 0.92rem; color: var(--texto-1); font-weight: 500; }

/* FOOTER */
.footer { background: #0C0804; padding: 2rem 0; border-top: 1px solid rgba(74, 58, 40, 0.3); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; }
.footer-nome { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--texto-3); letter-spacing: 0.08em; }
.footer-copy { font-size: 0.75rem; color: #4A3A28; }

/* RESPONSIVO */
@media (max-width: 1024px) { .experiencia-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 900px) {
    .missao-grid, .investimento-grid { grid-template-columns: 1fr; gap: 3rem; }
    .desafios-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--fundo); flex-direction: column; align-items: center; justify-content: flex-start; gap: 0; z-index: 1050; padding-top: 80px; }
    .nav.open { display: flex; }
    .nav-link { font-size: 1.1rem; letter-spacing: 0.15em; padding: 1.2rem 2rem; width: 100%; text-align: center; transition: background 0.3s ease, color 0.3s ease; display: block; }
    .nav-link:nth-child(odd) { background: var(--fundo) !important; color: var(--texto-1) !important; }
    .nav-link:nth-child(even) { background: var(--ocre) !important; color: var(--fundo) !important; }
    .nav-link:nth-child(odd):hover { background: var(--fundo-alt) !important; }
    .nav-link:nth-child(even):hover { background: var(--ocre-claro) !important; }
    .nav-cta { padding: 1.2rem 2rem !important; font-size: 0.9rem !important; width: 100%; background: var(--terracota) !important; color: var(--fundo) !important; }
    section { padding: 4rem 0; }
    .experiencia-grid { grid-template-columns: 1fr; }
    .palestrantes-grid { grid-template-columns: repeat(2, 1fr); }
    .speaker-panel.open { max-height: 900px; }
    .speaker-panel-inner { grid-template-columns: 160px 1fr; }
    .panel-photo { width: 160px; }
    .panel-text { padding: 1.5rem 2.5rem 1.5rem 1.5rem; }
    .espaco-flip { width: 280px; height: 360px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .contato-links { gap: 0.8rem; }
    .nav-link::after { display: none !important; }
    .nav-cta:hover { background: var(--ocre-claro) !important; color: var(--fundo) !important; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }
    section { padding: 3.5rem 0; }
    .palestrantes-grid { grid-template-columns: 1fr 1fr; }
    .speaker-panel-inner { grid-template-columns: 1fr; }
    .panel-photo { width: 100%; height: 200px; }
    .panel-text { padding: 1.2rem 1.5rem; }
    .panel-text h3 { font-size: 1.2rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .cta-button, .cta-button-outline { width: 100%; text-align: center; }
    .desafios-grid { grid-template-columns: 1fr; }
    .espaco-flip { width: 100%; max-width: 320px; }
}
