/* ===== Base ===== */
:root {
  --green-950: #060D08;
  --green-900: #0B140D;
  --green-800: #0E1C13;
  --green-700: #14261B;
  --green-600: #1B2F21;
  --gold-100: #F2DBA8;
  --gold-200: #E3C589;
  --gold-300: #C4A768;
  --gold-400: #9C7C3C;
  --gold-500: #7A5F2C;
  --cream-050: #FBF8F0;
  --cream-100: #FFFDF6;
  --cream-200: #F9F5E8;
  --cream-300: #F4EFE3;
  --cream-400: #EFE9D9;
  --cream-500: #ECE5D3;
  --ink-900: #1E1B14;
  --ink-700: #4B4536;
  --ink-500: #8A8368;
  --cream-text: #E9DFC8;
  --ease: cubic-bezier(.16,1,.3,1);
}

html, body { margin: 0; padding: 0; background: var(--green-900); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: 'EB Garamond', Georgia, serif; color: var(--ink-900); }
a { text-decoration: none; color: inherit; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 96px; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; }
button, .btn-chat, .chat-option, .faq-question, a { -webkit-tap-highlight-color: transparent; }

@keyframes bounceCue { 0%, 100% { transform: translateY(0); opacity: 0.55; } 50% { transform: translateY(9px); opacity: 1; } }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes caretBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes typingDot { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes goldPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
@keyframes lineUp { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes softIn { from { opacity: 0; } to { opacity: 1; } }

html { scrollbar-color: var(--gold-300) var(--green-700); scrollbar-width: auto; }
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: var(--green-700); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold-200), var(--gold-400) 45%, var(--gold-500)); border-radius: 10px; border: 3px solid var(--green-700); box-shadow: inset 0 0 0 1px rgba(228,197,137,0.5); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--gold-100), var(--gold-300) 45%, var(--gold-400)); }
::-webkit-scrollbar-corner { background: var(--green-700); }

.grain-overlay {
  position: fixed; inset: 0; z-index: 500; pointer-events: none; opacity: 0.22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 3.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 400; background: var(--gold-300);
  pointer-events: none; width: 0%;
}

.gold { color: var(--gold-300); }
.gold-dark { color: var(--gold-400); }
.gold-light { color: var(--gold-300); }

.eyebrow { display: block; font-size: 14px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-400); }
.section-title { font-weight: 500; font-size: clamp(30px, 4.6vw, 46px); margin: 16px 0 0; }
.section-head { text-align: center; margin-bottom: 72px; }
.section-inner { max-width: 1240px; margin: 0 auto; padding: 100px clamp(20px, 5vw, 40px); }

/* ===== reveal-on-scroll ===== */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.reveal-focus[data-reveal] { transform: none; filter: blur(7px); transition: opacity 1.1s var(--ease), filter 1.1s var(--ease); }
.reveal-focus[data-reveal].is-visible { filter: blur(0); }
.reveal-draw[data-reveal] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.reveal-draw[data-reveal].is-visible { transform: scaleX(1); }
.reveal-box[data-reveal] { transition-delay: var(--d, 0ms); }

.section-rule { display: block; width: 96px; height: 2px; background: var(--gold-400); margin: 26px auto 0; }
.section-rule.draw-center[data-reveal] { opacity: 1; transform: scaleX(0); transform-origin: center; transition: transform 1s var(--ease); transition-delay: 350ms; }
.section-rule.draw-center[data-reveal].is-visible { transform: scaleX(1); }

/* ===== Custom cursor ===== */
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold-300); z-index: 600; pointer-events: none; opacity: 0;
  transition: opacity 0.3s ease;
}
.cursor-dot.is-active { opacity: 1; }

/* ===== Intro ===== */
.intro {
  position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--green-900);
  height: 100vh; height: 100dvh;
}
.intro-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); filter: brightness(1) saturate(1);
  will-change: transform, filter;
}
.intro-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,20,13,0.55) 0%, rgba(11,20,13,0.15) 32%, rgba(11,20,13,0.45) 70%, rgba(11,20,13,0.92) 100%);
}
.intro-brand {
  position: absolute; top: 44px; left: 0; right: 0; display: flex; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 24px; letter-spacing: 0.16em; color: var(--cream-200); z-index: 1;
}
.intro-text {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 40px 110px; will-change: transform, opacity;
}
.intro-kicker {
  display: block; font-size: clamp(11px, 1.3vw, 14px); letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: clamp(12px, 2vh, 24px);
  opacity: 0; animation: softIn 1.1s ease 0.15s both;
}
.intro-title {
  font-weight: 500; font-size: clamp(38px, 7vw, 82px); line-height: 1.08; margin: 0; color: var(--cream-200);
  text-wrap: balance; max-width: 980px;
}
.intro-title .line-mask { display: block; overflow: hidden; }
.intro-title .line-inner { display: inline-block; animation: lineUp 1.2s cubic-bezier(.16,1,.3,1) both; }
.intro-sub {
  font-size: clamp(15px, 1.6vw, 21px); line-height: 1.55; color: rgba(249,245,232,0.78);
  margin: clamp(12px, 2.4vh, 28px) 0 0; max-width: 560px;
  opacity: 0; animation: softIn 1.2s ease 1s both;
}
.intro-cue {
  position: absolute; bottom: 30px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center;
  gap: 10px; will-change: opacity;
}
.intro-cue span { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(249,245,232,0.7); }
.bounce-cue { animation: bounceCue 1.8s ease-in-out infinite; }

.intro-spacer { height: 100vh; height: 100dvh; }

/* ===== Main sheet ===== */
.main-sheet {
  position: relative; z-index: 10; background: var(--cream-300); border-radius: 64px 64px 0 0;
  box-shadow: 0 -70px 120px rgba(0,0,0,0.55), 0 -8px 30px rgba(0,0,0,0.35);
  clip-path: inset(0 round 64px 64px 0 0);
}
.main-sheet-hairline {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300) 20%, var(--gold-300) 80%, transparent); z-index: 60;
}
.main-sheet-sheen {
  position: absolute; top: 1px; left: 0; right: 0; height: 64px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent); z-index: 60; pointer-events: none;
}

/* ===== Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(244,239,227,0.96);
  border-bottom: 1px solid rgba(30,27,20,0.16); backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 16px clamp(20px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.brand { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-900); }
.main-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.main-nav a { color: var(--ink-700); font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; transition: color 0.2s; }
.main-nav a:hover { color: var(--gold-400); }
.btn-outline {
  border: 1px solid var(--ink-900); padding: 12px 28px; color: var(--ink-900); font-size: 14px;
  letter-spacing: 0.2em; text-transform: uppercase; transition: all 0.25s;
}
.btn-outline:hover { background: var(--ink-900); color: var(--cream-300); }

/* ===== Recap ===== */
.recap {
  position: relative; background: linear-gradient(180deg, var(--green-950) 0%, var(--green-700) 26%, var(--green-700) 82%, var(--green-600) 100%);
  color: var(--cream-300); overflow: hidden;
}
.recap-glow {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 900px; height: 460px;
  background: radial-gradient(circle, rgba(196,167,104,0.16) 0%, transparent 72%); pointer-events: none;
}
.recap-inner {
  max-width: 1240px; margin: 0 auto; padding: 90px clamp(20px, 5vw, 40px) 60px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 26px; position: relative;
}
.rule-row { display: flex; align-items: center; gap: 16px; }
.rule { display: block; width: 40px; height: 1px; background: var(--gold-400); }
.recap-inner .eyebrow { font-size: 13px; color: var(--gold-300); }
.recap-title { font-weight: 500; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.2; margin: 0; max-width: 720px; }
.btn-gold {
  display: inline-block; background: var(--gold-400); color: var(--green-700); padding: 18px 40px; font-size: 15px;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; margin-top: 8px; transition: background 0.25s;
}
.btn-gold:hover { background: var(--gold-300); }
.btn-gold-lg { padding: 20px 48px; }

.logos-band { border-top: 1px solid rgba(196,167,104,0.3); padding: 40px 0 44px; overflow: hidden; }
.logos-caption {
  text-align: center; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(244,239,227,0.55); margin-bottom: 34px;
}
.marquee-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 55s linear infinite; gap: 88px; align-items: center; }
.marquee-item { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; width: 148px; height: 112px; flex-shrink: 0; }
.marquee-item img {
  width: 80px; height: 80px; display: block; object-fit: contain; border-radius: 14px;
  background: rgba(244,239,227,0.06); border: 1px solid rgba(196,167,104,0.4);
}
.marquee-item span { font-size: 11px; letter-spacing: 0.06em; color: rgba(244,239,227,0.7); white-space: nowrap; }

/* ===== Demonstração ao vivo ===== */
.demo-live { background: var(--green-800); color: var(--cream-300); }
.demo-inner {
  max-width: 1240px; margin: 0 auto; padding: 110px clamp(20px, 5vw, 40px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 72px; align-items: center;
}
.demo-text { display: flex; flex-direction: column; gap: 20px; }
.demo-title {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; color: var(--gold-300);
  font-size: clamp(28px, 4vw, 40px); line-height: 1.3; margin: 0; text-wrap: balance;
}
.demo-copy { font-size: 18px; line-height: 1.75; color: rgba(244,239,227,0.75); margin: 0; max-width: 480px; }

.demo-chat-card {
  max-width: 520px; width: 100%; border-radius: 22px; overflow: hidden; background: var(--cream-300);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35); justify-self: center;
}
.demo-chat-header { background: var(--green-700); color: var(--cream-300); padding: 22px 26px; display: flex; align-items: center; gap: 16px; position: relative; }
.demo-chat-avatar {
  width: 50px; height: 50px; border-radius: 50%; background: var(--gold-400); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif;
  font-size: 23px; font-weight: 600; flex-shrink: 0;
}
.demo-chat-header-text { flex: 1; min-width: 0; }
.demo-chat-name { font-family: 'Cormorant Garamond', serif; font-size: 23px; font-weight: 600; }
.demo-chat-sub { font-size: 13px; letter-spacing: 0.06em; color: rgba(244,239,227,0.65); display: flex; align-items: center; gap: 6px; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-300); display: inline-block; animation: goldPulse 1.6s ease-in-out infinite; }
.demo-chat-chip { font-size: 13px; letter-spacing: 0.06em; color: rgba(244,239,227,0.6); border: 1px solid rgba(196,167,104,0.4); border-radius: 999px; padding: 5px 12px; }
.demo-chat-body { height: 440px; overflow-y: hidden; background: var(--cream-400); padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; justify-content: flex-end; }
.demo-chat-body .bubble { animation: bubbleIn 0.5s var(--ease) both; font-size: 17px; padding: 14px 18px; }

/* ===== Manifesto ===== */
.manifesto { background: var(--cream-300); }
.manifesto-inner {
  max-width: 900px; margin: 0 auto; padding: clamp(70px, 14vw, 120px) clamp(20px, 5vw, 40px); text-align: center;
  display: flex; flex-direction: column; gap: 24px; align-items: center;
}
.manifesto-star { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--gold-400); }
.manifesto-title { font-weight: 500; font-size: clamp(32px, 5vw, 52px); line-height: 1.2; margin: 0; text-wrap: balance; }
.manifesto-title em { color: var(--gold-400); font-style: italic; }
.manifesto-underline { display: block; height: 2px; width: 96px; background: var(--gold-400); margin: 2px auto 0; }
.manifesto-text { font-size: 19px; line-height: 1.7; color: var(--ink-700); margin: 0; max-width: 620px; }

/* ===== Processo ===== */
.processo { background: var(--cream-500); border-top: 1px solid rgba(30,27,20,0.12); border-bottom: 1px solid rgba(30,27,20,0.12); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 40px; }
.step-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); margin-bottom: 18px;
  opacity: 0; transform: scale(0.3); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.step-numeral {
  display: inline-block; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400;
  font-size: 60px; line-height: 1; opacity: 0; transform: translateX(-14px); color: rgba(156,124,60,0.4);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), color 1s var(--ease);
}
.step-body { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.step-body h3 { font-weight: 600; font-size: 25px; margin: 0; }
.step-body p { font-size: 16px; line-height: 1.65; color: var(--ink-700); margin: 0; }
.step-col.is-visible .step-dot { opacity: 1; transform: scale(1); }
.step-col.is-visible .step-numeral { opacity: 1; transform: translateX(0); color: var(--gold-400); }
.step-col.is-visible .step-body { opacity: 1; transform: translateY(0); }

/* ===== Pausa ===== */
.pausa { position: relative; background: var(--green-900); }
.sound-toggle {
  position: absolute; top: 28px; right: 28px; background: none; border: 1px solid rgba(196,167,104,0.4);
  color: rgba(244,239,227,0.6); width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: border-color 0.2s, color 0.2s;
}
.sound-toggle:hover { border-color: var(--gold-300); color: var(--gold-300); }
.statement-wrap { max-width: 980px; margin: 0 auto; padding: clamp(100px, 20vw, 220px) clamp(20px, 5vw, 40px); }
.statement-text {
  font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.45; text-align: center; margin: 0; text-wrap: balance; color: var(--cream-300);
}
.caret { display: inline-block; margin-left: 2px; color: var(--gold-300); font-weight: 400; animation: caretBlink 0.9s step-start infinite; }
.caret.hide { opacity: 0; animation: none; }

/* ===== Serviços ===== */
.servicos { background: var(--cream-300); }
.servicos-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; gap: 40px; }
.servicos-head .section-title { max-width: 560px; }
.link-underline { color: var(--ink-900); font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; border-bottom: 1px solid var(--gold-400); padding-bottom: 6px; white-space: nowrap; transition: color 0.2s; }
.link-underline:hover { color: var(--gold-400); }
.servicos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.servico-card {
  border: 1px solid rgba(30,27,20,0.18); background: var(--cream-050); display: flex; flex-direction: column;
  transition: transform 0.9s var(--ease), box-shadow 0.5s;
}
.servico-card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px rgba(30,27,20,0.18); }
.servico-media { overflow: hidden; }
.servico-media img { width: 100%; height: 280px; display: block; object-fit: cover; background: var(--cream-500); transform: scale(1.14); will-change: transform; }
.servico-content { padding: 32px 36px 36px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.servico-tag { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-400); }
.servico-content h3 { font-weight: 600; font-size: 30px; margin: 0; }
.servico-content p { font-size: 17px; line-height: 1.7; color: var(--ink-700); margin: 0; flex: 1; }
.btn-chat {
  align-self: flex-start; margin-top: 8px; background: none; border: 1px solid var(--ink-900); color: var(--ink-900);
  padding: 12px 24px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer;
  display: flex; align-items: center; gap: 10px; transition: all 0.25s; font-family: inherit;
}
.btn-chat:hover { background: var(--ink-900); color: var(--cream-300); }

/* ===== Benefícios ===== */
.beneficios { background: var(--green-700); color: var(--cream-300); }
.beneficios-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(196,167,104,0.3); border-left: 1px solid rgba(196,167,104,0.3); }
.beneficio-box {
  padding: 44px 40px; border-right: 1px solid rgba(196,167,104,0.3); border-bottom: 1px solid rgba(196,167,104,0.3);
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.beneficio-icon {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(196,167,104,0.5);
  display: flex; align-items: center; justify-content: center; color: var(--gold-300); margin-bottom: 4px;
}
.beneficio-box h3 { font-weight: 600; font-size: 26px; margin: 0; color: var(--cream-text); }
.beneficio-box p { font-size: 16px; line-height: 1.7; color: rgba(244,239,227,0.7); margin: 0; }

/* ===== Sobre ===== */
.sobre { background: var(--cream-300); }
.sobre-inner { max-width: 1240px; margin: 0 auto; padding: 110px clamp(20px, 5vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 80px; align-items: center; }
.sobre-img { border: 1px solid rgba(156,124,60,0.5); padding: 14px; }
.sobre-img img { width: 100%; height: 500px; display: block; object-fit: contain; background: var(--cream-500); }
.sobre-text { display: flex; flex-direction: column; gap: 24px; }
.sobre-text p { font-size: 18px; line-height: 1.75; color: var(--ink-700); margin: 0; }
.sobre-stats { display: flex; gap: 56px; margin-top: 12px; border-top: 1px solid rgba(30,27,20,0.18); padding-top: 28px; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 42px; color: var(--gold-400); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-700); }

/* ===== Diagnóstico form ===== */
.diagnostico { background: var(--cream-300); border-top: 1px solid rgba(30,27,20,0.12); }
.diagnostico-inner { max-width: 860px; margin: 0 auto; padding: clamp(70px, 12vw, 110px) clamp(20px, 5vw, 40px); }
.diagnostico-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 48px; }
.diagnostico-head p { font-size: 17px; line-height: 1.7; color: var(--ink-700); margin: 0; max-width: 560px; }
.lead-form { background: var(--cream-100); border: 1px solid rgba(30,27,20,0.16); padding: clamp(24px, 5vw, 48px); display: flex; flex-direction: column; gap: 28px; }
.lead-form[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.lead-form label { display: flex; flex-direction: column; gap: 10px; }
.lead-form label > span:first-child { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-700); }
.lead-form input, .lead-form select, .lead-form textarea {
  font: 17px 'EB Garamond', serif; padding: 14px 16px; background: var(--cream-100);
  border: 1px solid rgba(30,27,20,0.28); color: var(--ink-900); outline: none;
}
.lead-form select { cursor: pointer; }
.lead-form textarea { resize: vertical; font-family: 'EB Garamond', serif; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--gold-400); }
.char-count { align-self: flex-end; font-size: 12px; color: var(--ink-500); }
.btn-submit {
  background: var(--green-700); color: var(--cream-300); border: none; padding: 20px; font-size: 15px;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; cursor: pointer; display: flex;
  align-items: center; justify-content: center; gap: 12px; transition: background 0.25s; font-family: inherit;
}
.btn-submit:hover { background: var(--green-800); }
.form-success {
  background: var(--green-700); color: var(--cream-300); padding: 56px 40px; text-align: center;
  border: 1px solid rgba(196,167,104,0.4); display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.form-success[hidden] { display: none; }
.form-success-title { font-family: 'Cormorant Garamond', serif; font-size: 34px; color: var(--gold-300); }
.form-success p { font-size: 17px; line-height: 1.7; color: rgba(244,239,227,0.8); margin: 0; max-width: 480px; }

/* ===== FAQ ===== */
.faq { background: var(--cream-500); border-top: 1px solid rgba(30,27,20,0.12); }
.faq-inner { max-width: 860px; margin: 0 auto; padding: 100px clamp(20px, 5vw, 40px); }
.faq-list { border-top: 1px solid rgba(30,27,20,0.22); }
.faq-item { border-bottom: 1px solid rgba(30,27,20,0.22); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer; padding: 26px 8px; display: flex;
  justify-content: space-between; align-items: center; gap: 24px; text-align: left;
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--ink-900);
}
.faq-icon { font-family: 'EB Garamond', serif; font-size: 22px; color: var(--gold-400); }
.faq-answer { margin: 0; padding: 0 8px 28px; font-size: 17px; line-height: 1.75; color: var(--ink-700); max-width: 700px; display: none; }
.faq-item.is-open .faq-answer { display: block; }

/* ===== CTA final ===== */
.cta-final { background: var(--green-700); color: var(--cream-300); }
.cta-inner { max-width: 900px; margin: 0 auto; padding: clamp(70px, 14vw, 120px) clamp(20px, 5vw, 40px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta-title { font-weight: 500; font-size: clamp(32px, 5.4vw, 54px); line-height: 1.15; margin: 0; text-wrap: balance; }
.cta-text { font-size: 19px; line-height: 1.7; color: rgba(244,239,227,0.75); margin: 0; max-width: 560px; }

/* ===== Footer ===== */
.site-footer { background: var(--green-800); color: rgba(244,239,227,0.6); }
.footer-inner {
  max-width: 1240px; margin: 0 auto; padding: 48px clamp(20px, 5vw, 40px); display: flex; flex-wrap: wrap;
  justify-content: center; text-align: center; align-items: center; gap: 16px 24px;
}
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 22px; letter-spacing: 0.14em; color: var(--cream-300); }
.footer-inner span:nth-child(2) { font-size: 15px; }
.footer-inner span:nth-child(3) { font-size: 14px; }

/* ===== Chat modal ===== */
.chat-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(11,20,13,0.6); display: flex;
  align-items: center; justify-content: center; padding: 24px;
}
.chat-overlay[hidden] { display: none; }
.chat-panel {
  width: clamp(340px, 30vw, 520px); max-width: 94vw; height: clamp(480px, 72vh, 760px); max-height: 92vh;
  background: var(--cream-300);
  border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.chat-header { background: var(--green-700); color: var(--cream-300); padding: 20px 24px; display: flex; align-items: center; gap: 14px; }
.chat-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold-400); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600; flex-shrink: 0;
}
.chat-header-text { flex: 1; min-width: 0; }
.chat-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; }
.chat-role { font-size: 12px; letter-spacing: 0.08em; color: rgba(244,239,227,0.65); }
.chat-close { background: none; border: none; color: rgba(244,239,227,0.8); font-size: 24px; cursor: pointer; line-height: 1; padding: 4px; }
.chat-body { flex: 1; overflow-y: auto; padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; background: var(--cream-400); }
.bubble { font-size: 16px; line-height: 1.55; padding: 13px 17px; max-width: 82%; }
.bubble-agent { align-self: flex-start; background: var(--cream-100); border: 1px solid rgba(30,27,20,0.14); color: var(--ink-900); border-radius: 4px 14px 14px 14px; }
.bubble-user { align-self: flex-end; background: var(--green-700); color: var(--cream-300); border-radius: 14px 4px 14px 14px; }
.typing-indicator { align-self: flex-start; background: var(--cream-100); border: 1px solid rgba(30,27,20,0.14); border-radius: 4px 14px 14px 14px; padding: 14px 16px; display: flex; gap: 5px; }
.typing-indicator span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); display: inline-block; animation: typingDot 1.1s ease-in-out infinite; }
.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }
.chat-footer { padding: 16px 18px; border-top: 1px solid rgba(30,27,20,0.14); background: var(--cream-300); }
.chat-options { display: flex; flex-direction: column; gap: 8px; }
.chat-option {
  text-align: left; background: var(--cream-100); border: 1px solid rgba(30,27,20,0.2); padding: 12px 16px;
  font-size: 14px; color: var(--ink-900); cursor: pointer; border-radius: 8px; transition: border-color 0.2s; font-family: inherit;
}
.chat-option:hover { border-color: var(--gold-400); }
.chat-end { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.chat-end span { font-size: 13px; color: var(--ink-700); }
.chat-cta { background: var(--gold-400); color: var(--green-700); padding: 13px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; display: block; }

/* ===== Floating WhatsApp button ===== */
.whatsapp-float {
  position: fixed; right: calc(24px + env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 150;
  width: 56px; height: 56px; border-radius: 50%; background: var(--green-700);
  border: 1px solid rgba(196,167,104,0.5); display: flex; align-items: center; justify-content: center;
  color: var(--gold-300); box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.2s;
}
.whatsapp-float.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.whatsapp-float:hover { background: var(--green-800); }

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .servicos-grid, .beneficios-grid { grid-template-columns: 1fr; }
  .demo-inner, .sobre-inner { grid-template-columns: 1fr; gap: 48px; }
  .demo-chat-card { max-width: 100%; }
  .demo-chat-body { height: 380px; }
  .whatsapp-float { right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); width: 50px; height: 50px; }
  .section-inner, .demo-inner, .sobre-inner, .faq-inner { padding-top: 64px; padding-bottom: 64px; }
  .recap-inner { padding-top: 64px; padding-bottom: 40px; }
}

@media (max-width: 480px) {
  .demo-chat-header { padding: 16px; gap: 10px; }
  .demo-chat-avatar { width: 38px; height: 38px; font-size: 16px; }
  .demo-chat-name { font-size: 17px; }
  .demo-chat-sub { font-size: 11px; }
  .demo-chat-chip { display: none; }
  .chat-header { padding: 16px 18px; }
  .chat-avatar { width: 38px; height: 38px; font-size: 17px; }
  .chat-name { font-size: 17px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
