/* ==========================================================
   Alana Santos — Psicóloga Psicanalista
   Estilos seguindo o arquivo do Figma "Alana-Santos" (desktop 1440px)
   ========================================================== */

:root {
  /* Base */
  --bege: #efe6dd;
  --off-white: #fdfbf7;
  --dourado: #c9a227;
  --verde: #214d39;          /* Verde principal */
  --verde-profundo: #0b3d2e; /* Verde profundo */
  --verde-escuro: #14311c;
  --neutral-off-white: #f0f2e7;
  --cinza-verde: #516355;
  --creme: #fff8f3;

  /* Bordas e sombras */
  --borda-card: rgba(201, 162, 39, 0.4);
  --borda-suave: rgba(33, 77, 57, 0.2);
  --sombra-card: 0 1px 1px rgba(0, 0, 0, 0.05);

  /* Espaçamento */
  --space-4: 4px; --space-8: 8px; --space-16: 16px; --space-24: 24px;
  --space-32: 32px; --space-48: 48px; --space-64: 64px;

  /* Tipografia */
  --font-heading: "Lora", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-button: "Inter", "Segoe UI", Arial, sans-serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --header-h: 89px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--verde-profundo);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--dourado); outline-offset: 3px; }

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; overflow: hidden; }
.bg-bege { background: var(--bege); }

/* ---------- Tipografia ---------- */
h1, .h-48 { font-family: var(--font-heading); font-weight: 500; font-size: 48px; line-height: 58px; color: var(--verde-profundo); }
.h-38 { font-family: var(--font-heading); font-weight: 400; font-size: 38px; line-height: 46px; letter-spacing: -0.57px; color: var(--verde-escuro); }
.h-34 { font-family: var(--font-heading); font-weight: 500; font-size: 34px; line-height: 42px; color: var(--verde-profundo); }
.h-34.regular { font-weight: 400; }
.h-28 { font-family: var(--font-heading); font-weight: 500; font-size: 28px; line-height: 36px; color: var(--verde-profundo); }
.h-20 { font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 28px; color: var(--verde-profundo); }

.section-head p, .hero-text p, .sobre-text p, .acolhimento-text p, .intro p { font-size: 18px; line-height: 28px; }
.muted { color: var(--cinza-verde); }

/* Etiqueta com bolinha dourada */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding-block: 4px;
  font-family: var(--font-body); font-weight: 500; font-size: 16px; line-height: 24px;
  color: var(--verde-profundo);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dourado); flex: none; }
.tag-h { font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 28px; }
.tag-center { display: flex; justify-content: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 8px 24px; border-radius: 32px; border: 1px solid transparent;
  font-family: var(--font-button); font-weight: 600; font-size: 16px; line-height: 24px;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-dark { background: var(--verde-profundo); color: #fff; }
/* Hover dos botões (Figma, Variant2): fundo dourado com texto verde profundo */
.btn-dark:hover, .btn-outline:hover, .btn-light:hover,
.btn-dark:focus-visible, .btn-outline:focus-visible, .btn-light:focus-visible { background: var(--dourado); border-color: var(--dourado); color: var(--verde-profundo); }
.btn-outline { background: var(--off-white); border-color: var(--dourado); color: var(--verde-profundo); }
.btn-light { background: var(--off-white); color: var(--verde-profundo); }

/* ---------- Ornamentos (folhas e curvas) ----------
   Reproduz a estrutura do Figma: caixa delimitadora (--bw x --bh) na posição do frame de 1440px,
   com o elemento girado (--w x --h) centralizado dentro dela e a imagem recortada (--il/--it/--iw/--ih). */
.orn {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  top: var(--y); width: var(--bw); height: var(--bh);
  display: flex; align-items: center; justify-content: center;
}
.orn-L { left: var(--x); }
.orn-R { right: calc(1440px - var(--x) - var(--bw)); }
.orn-C { left: calc(50% - 720px + var(--x)); }
.orn > div {
  flex: none; position: relative; overflow: hidden;
  width: var(--w); height: var(--h); opacity: var(--o);
  transform: rotate(var(--r, 0deg)) scaleY(var(--sy, 1));
}
.orn img {
  position: absolute; max-width: none;
  left: var(--il, 0); top: var(--it, 0); width: var(--iw, 100%); height: var(--ih, 100%);
  object-fit: cover;
}
.orn-fill img { object-fit: fill; }

/* ---------- Botão de tema (claro/escuro) ---------- */
.theme-toggle {
  order: 3; flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--bege); border-radius: 50%; background: transparent; color: var(--verde-profundo); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.theme-toggle:hover, .theme-toggle:focus-visible { background: var(--dourado); border-color: var(--dourado); color: #0b3d2e; }
.theme-toggle .ico-sun { display: none; }
[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
.header-inner .brand { order: 1; }
.header-inner .nav { order: 2; }
.header-inner .menu-toggle { order: 4; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 247, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--bege);
  box-shadow: 0 1px 4px rgba(20, 49, 28, .05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; column-gap: 24px; min-height: 88px; padding-block: 10px; gap: 24px; }
.brand { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.brand-name { font-family: var(--font-heading); font-weight: 500; font-size: 28px; line-height: 28px; color: var(--verde-profundo); }
.brand-sub { font-size: 12px; line-height: 16px; color: var(--verde); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); flex: 1; justify-content: flex-end; }
.nav a:not(.btn) { white-space: nowrap; font-weight: 500; font-size: 16px; line-height: 24px; color: var(--verde-profundo); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--verde); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--dourado); text-decoration-thickness: 2px; }
.nav a:not(.btn):first-child { margin-left: auto; }
.nav .nav-cta { margin-left: auto; } /* links ficam centralizados entre a marca e o botão */
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding-block: 48px; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; min-height: 565px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 613px; }
.hero-text { display: flex; flex-direction: column; gap: 16px; max-width: 548px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-highlights { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--verde); }
.hero-highlights li { display: flex; align-items: center; gap: 8px; }
.hero-highlights .sep { color: #ddd2c4; }
.hero-photo { display: flex; justify-content: flex-end; align-self: start; padding-top: 8px; }
.hero-photo img { width: 430px; }

/* ---------- Intro ---------- */
.intro { padding-block: 64px; }
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.intro h2 { max-width: 830px; }
.intro .psi { width: 113px; height: 38px; }
.intro-p1 { max-width: 728px; }
.intro-p2 { max-width: 760px; }

/* ---------- Cabeçalhos de seção ---------- */
.section-head { display: flex; flex-direction: column; gap: 18px; }
.section-head.center { align-items: center; text-align: center; gap: 32px; }
.section-head.center h2 { max-width: 742px; }
.section-head.center p { max-width: 788px; }
.section-head.center p.wide { max-width: 848px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--borda-card); border-radius: 16px;
  box-shadow: var(--sombra-card);
}
/* Hover dos cards (Figma, Variant2): fundo off-white e sombra suave */
.card { transition: background-color .2s, box-shadow .2s; }
.card:hover { background: var(--off-white); box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
/* Cards da abordagem (Figma, Variant2): só a linha inferior fica dourada */
.method-card { transition: border-color .2s; }
.method-card:hover { border-bottom-color: var(--dourado); }
.icon-box {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: #fff; border: 1px solid var(--dourado);
}
.card-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.topic { display: flex; flex-direction: column; gap: 12px; padding: 16px 24px; }
.topic-head { display: flex; align-items: center; gap: 18px; }
.topic h3 { font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 28px; color: var(--verde-escuro); }
.topic p { font-size: 14px; line-height: 20px; color: var(--verde-profundo); }

/* ---------- Como posso ajudar ---------- */
.ajudar { padding-block: 64px; }
.ajudar .section-head { margin-bottom: 64px; }
.ajudar .card-grid-2 { background: var(--bege); } /* como no Figma: a grade cobre as curvas */
.callout-row { display: flex; align-items: center; gap: 120px; margin-top: 64px; }
.callout-text { display: flex; flex-direction: column; gap: 19px; max-width: 610px; }
.callout-text h3 { max-width: 547px; }
.callout-text p { font-size: 18px; line-height: 28px; }

/* ---------- Sobre ---------- */
.sobre { padding-block: 64px; }
.sobre-grid { display: flex; gap: 51px; align-items: flex-start; background: var(--off-white); } /* como no Figma: o bloco cobre as curvas */
.sobre-photo { flex: none; width: 408px; }
.sobre-copy { display: flex; flex-direction: column; gap: 18px; flex: 1; max-width: 775px; }
.sobre-copy .tag { padding-block: 8px; color: var(--verde-escuro); }
.sobre-text { display: flex; flex-direction: column; gap: 16px; }
.highlight-quote {
  margin-top: 24px;
  padding: 16px 24px 17px;
  background: var(--bege); border-bottom: 1px solid var(--dourado); border-radius: 12px;
  font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 28px; text-align: center;
  max-width: 761px;
}

/* ---------- Formação ---------- */
.formacao { padding-block: 64px; }
.formacao-head { display: flex; flex-direction: column; gap: 2px; padding-top: 5px; margin-bottom: 48px; }
.formacao-head h2 { color: var(--verde-escuro); }
.formacao-head p { font-family: var(--font-button); font-weight: 600; font-size: 16px; line-height: 24px; color: var(--verde); }
.formacao-grid { display: grid; grid-template-columns: 477px 1fr; gap: 130px; }
.formacao-grid > div { display: flex; flex-direction: column; gap: 16px; }
.with-icon { display: flex; align-items: center; gap: 8px; }
.with-icon img { flex: none; }
.formacao h3 { color: var(--verde-escuro); }
.dot-list { display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 28px; }
.dot-list-lg { gap: 24px; max-width: 460px; }
.dot-list li { position: relative; padding-left: 12px; }
.dot-list li::before { content: "•"; position: absolute; left: 0; top: 4px; font-size: 14px; line-height: 22px; color: var(--verde); }
.dot-list small { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--verde); }
.formacao-quote { margin: 48px auto 0; max-width: 712px; text-align: center; font-family: var(--font-heading); font-weight: 500; font-size: 18px; line-height: 28px; }

/* ---------- Abordagem ---------- */
.abordagem { padding-block: 64px; }
.abordagem .section-head { gap: 0; margin-bottom: 32px; }
.abordagem .section-head .tag { padding-block: 0; margin-bottom: 18px; }
.abordagem .section-head p:last-child { margin-top: 8px; }
.abordagem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.method-card {
  display: flex; flex-direction: column; gap: 20px;
  min-height: 440px; padding: 32px 40px 33px;
  background: rgba(255, 255, 255, .9); border-bottom: 1px solid var(--verde-escuro); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.method-body { display: flex; flex-direction: column; min-height: 278px; }
.method-body p + p { margin-top: 8px; }
.kicker { font-size: 12px; line-height: 16px; color: var(--verde); }
.method-body h3 { margin: 18px 0 24px; max-width: 360px; color: var(--verde-escuro); }
.method-foot { border-top: 1px solid var(--borda-suave); padding-top: 9px; display: flex; flex-direction: column; gap: 8px; }
.foot-title { font-weight: 500; font-size: 16px; line-height: 24px; }
.foot-text { font-weight: 500; font-size: 14px; line-height: 20px; color: var(--verde); }
.abordagem-end { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 32px; }
.italic-quote { max-width: 620px; text-align: center; font-family: var(--font-heading); font-style: italic; font-weight: 500; font-size: 18px; line-height: 28px; color: var(--verde-escuro); }

/* ---------- Atendimento ---------- */
.atendimento { padding-block: 64px; }
.atendimento .section-head { margin-bottom: 48px; }
.atendimento .tag-h { margin-bottom: 24px; }
.info { display: flex; align-items: flex-start; gap: 16px; padding: 16px 24px; min-height: 104px; }
.info h4 { font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 28px; color: var(--verde-escuro); margin-bottom: 4px; }
.info p { font-size: 14px; line-height: 20px; color: var(--cinza-verde); max-width: 290px; }
.green-note {
  max-width: 760px; margin: 52px auto 4px; padding: 16px 24px;
  background: var(--verde); color: #fff; border-radius: 8px; text-align: center;
  font-family: var(--font-button); font-weight: 600; font-size: 18px; line-height: 24px;
}

/* ---------- Acolhimento amplo ---------- */
.acolhimento { padding-block: 32px 81px; }
.acolhimento-inner { display: flex; flex-direction: column; align-items: flex-start; }
.acolhimento h2 { max-width: 650px; margin-top: 18px; }
.acolhimento-text { display: flex; flex-direction: column; gap: 18px; max-width: 691px; margin-top: 40px; position: relative; z-index: 1; }

/* ---------- Passo a passo ---------- */
.passos { padding-block: 64px; }
.passos .section-head { margin-bottom: 32px; }
.passos .section-head .tag { padding-block: 4px; }
.passos .section-head h2 { color: var(--verde-escuro); }
.passos .section-head .muted { max-width: 665px; margin-top: 6px; }
.step { min-height: 158px; }
.icon-box.num { font-family: var(--font-heading); font-weight: 500; font-size: 26px; line-height: 34px; letter-spacing: -0.26px; color: var(--verde-profundo); }
.step h3 { color: var(--verde-profundo); }
.step p { color: var(--verde); }
.passos-end { margin-top: 28px; gap: 157px; }
.passos-end .h-20 { max-width: 702px; }

/* ---------- FAQ ---------- */
.faq { padding-block: 64px; }
.faq-head { gap: 12px !important; margin-bottom: 40px; }
.faq-head p { max-width: 412px !important; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid rgba(221, 210, 196, .5); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05); overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 81px; padding: 8px 16px; cursor: pointer; list-style: none;
  font-size: 18px; line-height: 28px; color: var(--verde-profundo);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 31px; height: 31px;
  background: url("img/icons/seta-faq.svg") center / contain no-repeat;
  transition: transform .25s;
}
.faq details[open] summary { border-bottom: 1px solid var(--borda-suave); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 16px; font-weight: 500; font-size: 14px; line-height: 20px; color: rgba(11, 61, 46, .81); }
.faq summary:hover { color: var(--verde); }

/* ---------- Contato ---------- */
.contato { padding-block: 64px; }
.contato-grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start;
}
.contato-copy { display: flex; flex-direction: column; gap: 21px; }
.contato-copy .tag { padding-block: 0; }
.contato-copy h2 { max-width: 280px; }
.contato-lead { color: var(--verde); max-width: 457px; }
.contato-copy blockquote { font-family: var(--font-heading); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--verde-escuro); max-width: 325px; }
.contato-info { display: flex; flex-direction: column; gap: 16px; }
.small { font-weight: 500; font-size: 14px; line-height: 20px; }
.contato-info a { text-decoration: none; }
.contato-info a:hover { text-decoration: underline; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--verde-profundo); text-decoration: none; transition: color .2s; }
.social-links .soc-ico { flex: none; color: var(--dourado); transition: color .2s; }
.social-links a:hover, .social-links a:focus-visible { color: var(--dourado); text-decoration: none; }
.social-footer { gap: 12px; }
.social-footer a { width: 40px; height: 40px; justify-content: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.social-footer .soc-ico { color: #fff; width: 20px; height: 20px; }
.social-footer a:hover, .social-footer a:focus-visible { background: var(--dourado); border-color: var(--dourado); }
.social-footer a:hover .soc-ico, .social-footer a:focus-visible .soc-ico { color: var(--verde-profundo); }

.form-card {
  padding: 40px;
  background: var(--neutral-off-white); border: 1px solid var(--borda-suave); border-radius: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}
.form-sub { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--cinza-verde); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label, .form-note { font-weight: 500; font-size: 14px; line-height: 20px; color: var(--verde-profundo); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 14px/20px var(--font-body); color: var(--verde-profundo);
  background: #fff; border: 1px solid rgba(33, 77, 57, .4); border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.field input, .field select { height: 44px; padding: 8px 16px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("img/icons/seta-select.svg") right 23px center / 20px 20px no-repeat;
  border-color: rgba(11, 61, 46, .4);
}
.field select:invalid { color: rgba(100, 116, 139, .7); }
.field textarea { min-height: 100px; padding: 12px 16px; resize: vertical; background: var(--off-white); border-color: rgba(33, 77, 57, .5); box-shadow: none; }
.field ::placeholder { color: #6b7280; } /* contraste 4,8:1 no branco */
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--dourado); box-shadow: 0 0 0 3px rgba(201, 162, 39, .2); }
.field.has-error input, .field.has-error select, .field.has-error .cselect-btn { border-color: #b3261e; }

/* Select personalizado (Figma: componente "Options" + lista "Itens") */
.cselect { position: relative; }
.cselect select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.cselect-btn {
  display: flex; align-items: center; width: 100%; height: 44px; padding: 8px 44px 8px 16px;
  font: 400 14px/20px var(--font-body); color: var(--verde-profundo); text-align: left; cursor: pointer;
  background: #fff url("img/icons/seta-select.svg") right 23px center / 20px 20px no-repeat;
  border: 1px solid rgba(11, 61, 46, .4); border-radius: 5px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.cselect-btn.is-placeholder { color: #6b7280; }
.cselect-btn:focus-visible, .cselect.open .cselect-btn { outline: none; border-color: var(--dourado); box-shadow: 0 0 0 3px rgba(201, 162, 39, .2); }
.cselect.open .cselect-btn { background-image: none; }
.cselect.open .cselect-btn::after { content: ""; position: absolute; right: 23px; top: 12px; width: 20px; height: 20px; background: url("img/icons/seta-select.svg") center / contain no-repeat; transform: rotate(180deg); }
.cselect-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px);
  margin: 0; padding: 4px 0; list-style: none; background: #fff;
  border-radius: 8px; box-shadow: 0 10px 24px rgba(11, 61, 46, .14);
}
.cselect-list[hidden] { display: none; }
.cselect-list li {
  display: flex; align-items: center; min-height: 32px; margin: 4px 0; padding: 6px 16px;
  font: 600 14px/20px var(--font-button); color: var(--verde-profundo); cursor: pointer;
}
.cselect-list li:hover, .cselect-list li.active { background: var(--verde); color: #fff; }
.cselect-list li[aria-selected="true"]:not(:hover):not(.active) { color: var(--verde); }
.form-note { margin-top: 0; }
.form-card .btn { margin-top: 24px; border-radius: 25px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--verde-profundo); color: #fff;
  border-top: 1px solid rgba(179, 142, 82, .2);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}
.site-footer .container { padding-block: 48px; }
.footer-grid {
  display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 40px;
  padding-bottom: 29px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-name { font-family: var(--font-heading); font-weight: 500; font-size: 34px; line-height: 42px; color: #fff; text-decoration: none; }
.footer-brand p { max-width: 356px; }
.footer-brand .crp { font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: .39px; }
.site-footer h2 { font-family: var(--font-button); font-weight: 600; font-size: 16px; line-height: 24px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 14px; line-height: 20px; color: #fff; text-decoration: none; }
.footer-nav a:hover { color: var(--dourado); }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-cta p { font-size: 14px; line-height: 20px; color: rgba(239, 230, 221, .8); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; font-size: 12px; line-height: 16px; }

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1240px) {
  .callout-row, .passos-end { gap: 48px; justify-content: space-between; }
  .formacao-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .sobre-photo { width: 340px; }
}

@media (max-width: 1300px) {
  .br-desk { display: none; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; border: 1px solid var(--bege); border-radius: 12px;
    background: #fff; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--verde-profundo); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--off-white);
    border-bottom: 1px solid var(--bege); box-shadow: 0 12px 24px rgba(20, 49, 28, .08);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--bege); margin: 0 !important; }
  .nav .nav-cta { margin: 16px 0 0 !important; }
  .header-inner { min-height: 68px; }
}

@media (max-width: 900px) {
  :root { --header-h: 69px; }
  h1, .h-48 { font-size: 34px; line-height: 42px; }
  .h-34, .h-38 { font-size: 28px; line-height: 36px; }
  .h-28 { font-size: 24px; line-height: 32px; }

  .hero { padding-block: 32px 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  /* Ornamentos no mobile: mesma composição, reduzida a partir do canto da seção */
  .orn { scale: var(--ms, .42); }
  .orn-L { transform-origin: calc(-1 * var(--x)) calc(-1 * var(--y)); }
  .orn-R { transform-origin: calc(1440px - var(--x)) calc(-1 * var(--y)); }
  .orn-fill { display: none; } /* curvas: não funcionam em telas estreitas */
  /* sem abraço, folhas da Formação e folhas entre hero/intro no mobile: ficavam desequilibradas */
  .hero .orn, .intro .orn, .formacao .orn, .orn-abraco { display: none; }
  .hero-photo { justify-content: center; order: -1; }
  .hero-photo img { width: min(320px, 80vw); }

  .intro, .ajudar, .sobre, .formacao, .abordagem, .atendimento, .passos, .faq, .contato { padding-block: 48px; }
  .ajudar .section-head { margin-bottom: 40px; }
  .section-head.center { gap: 20px; }

  .card-grid-2, .card-grid-3, .abordagem-grid, .faq-grid, .form-grid { grid-template-columns: 1fr; }
  .card-grid-2, .card-grid-3 { gap: 16px; }
  .faq-col { gap: 12px; }
  .faq-grid { gap: 12px; }

  .callout-row, .passos-end { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 40px; }

  .sobre-grid { flex-direction: column; align-items: center; gap: 32px; }
  .sobre-photo { width: min(340px, 85vw); }
  .highlight-quote { margin-top: 8px; font-size: 18px; }

  .formacao-grid { grid-template-columns: 1fr; gap: 40px; }
  .formacao-head { margin-bottom: 32px; }
  .formacao-quote { margin-top: 40px; }

  .method-card { min-height: 0; padding: 28px 24px; }
  .method-body { min-height: 0; }

  .green-note { margin-top: 32px; font-size: 16px; }
  
  .contato-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .form-card .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 600px) {
  h1 { font-size: 30px; line-height: 38px; }
  .h-48 { font-size: 28px; line-height: 36px; }
  .h-34, .h-38 { font-size: 24px; line-height: 32px; }
  .h-28 { font-size: 22px; line-height: 30px; }
  .h-20, .topic h3, .info h4, .tag-h { font-size: 18px; line-height: 26px; }
  .section-head p, .hero-text p, .sobre-text p, .acolhimento-text p, .intro p,
  .callout-text p, .dot-list, .highlight-quote, .formacao-quote, .italic-quote { font-size: 16px; line-height: 25px; }
  .highlight-quote { font-size: 17px; }
  .green-note { font-size: 15px; line-height: 22px; }
  .hero-photo img { width: min(270px, 72vw); }
  .sobre-photo { width: min(300px, 78vw); }
  .brand-name { font-size: 24px; line-height: 26px; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 24px; line-height: 26px; }
  .brand-sub { font-size: 10px; }
  .btn { white-space: normal; text-align: center; height: auto; min-height: 48px; }
  .hero-ctas .btn { width: 100%; }
  .hero-highlights .sep { display: none; }
  .topic, .info { padding: 16px; }
  .topic-head { gap: 14px; }
  .faq summary { font-size: 16px; line-height: 24px; min-height: 72px; }
}

/* ==========================================================
   Modo escuro
   Mesma identidade (verde, bege, dourado) invertida: fundo verde quase preto,
   texto creme e dourado como cor de destaque e de ação.
   ========================================================== */
[data-theme="dark"] {
  color-scheme: dark;
  --off-white: #0f1b16;          /* fundo principal */
  --bege: #16261f;               /* seções alternadas */
  --creme: #13221b;
  --neutral-off-white: #172a22;  /* painel do formulário */
  --verde-profundo: #ece6dc;     /* texto principal */
  --verde-escuro: #f4efe7;       /* títulos */
  --verde: #b9cdbf;              /* texto secundário */
  --cinza-verde: #aab8ae;
  --borda-card: rgba(201, 162, 39, .32);
  --borda-suave: rgba(236, 230, 220, .14);
  --sombra-card: 0 1px 2px rgba(0, 0, 0, .3);
  --superficie: #1a2d24;         /* cards */
  --campo: #102019;              /* campos do formulário */
}
[data-theme="dark"] body { background: var(--off-white); }
[data-theme="dark"] .site-header { background: rgba(15, 27, 22, .94); border-bottom-color: rgba(236, 230, 220, .08); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
[data-theme="dark"] .theme-toggle, [data-theme="dark"] .menu-toggle { border-color: rgba(236, 230, 220, .18); background: transparent; }

/* Botões: dourado como ação principal */
[data-theme="dark"] .btn-dark { background: var(--dourado); color: #0b1a14; }
[data-theme="dark"] .btn-dark:hover, [data-theme="dark"] .btn-dark:focus-visible { background: #ece6dc; border-color: #ece6dc; color: #0b3d2e; }
[data-theme="dark"] .btn-outline { background: transparent; color: #ece6dc; }
[data-theme="dark"] .btn-outline:hover, [data-theme="dark"] .btn-outline:focus-visible { color: #0b1a14; }
[data-theme="dark"] .btn-light { background: #ece6dc; color: #0b3d2e; }

/* Superfícies */
[data-theme="dark"] .card, [data-theme="dark"] .faq details { background: var(--superficie); }
/* Quadradinhos dos ícones: brancos, com o ícone verde original */
[data-theme="dark"] .icon-box { background: #fff; }
[data-theme="dark"] .icon-box.num { color: #0b3d2e; }
[data-theme="dark"] .card:hover { background: #20362b; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
[data-theme="dark"] .faq details { border-color: rgba(236, 230, 220, .08); }
[data-theme="dark"] .faq details p { color: rgba(236, 230, 220, .82); }
[data-theme="dark"] .method-card { background: var(--superficie); border-bottom-color: rgba(236, 230, 220, .35); }
[data-theme="dark"] .method-card:hover { border-bottom-color: var(--dourado); }
[data-theme="dark"] .highlight-quote { background: #1d3229; }
[data-theme="dark"] .green-note { background: #214d39; color: #fff; }
[data-theme="dark"] .hero-highlights .sep { color: rgba(236, 230, 220, .3); }

/* Ícones verdes dos cards ficam creme */

/* Ornamentos: as folhas e o abraço (desenhos verdes) viram tons claros sutis */
[data-theme="dark"] .orn:not(.orn-fill) img { filter: brightness(0) invert(1); }
[data-theme="dark"] .orn:not(.orn-fill) > div { opacity: calc(var(--o) * .9); }
[data-theme="dark"] .orn-fill > div { opacity: .08; }
[data-theme="dark"] .orn-abraco > div { opacity: .05; }

/* Formulário */
[data-theme="dark"] .form-card { border-color: rgba(236, 230, 220, .1); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
[data-theme="dark"] .field input, [data-theme="dark"] .field textarea, [data-theme="dark"] .cselect-btn {
  background-color: var(--campo); border-color: rgba(236, 230, 220, .22); color: #ece6dc; box-shadow: none;
}
[data-theme="dark"] .field ::placeholder, [data-theme="dark"] .cselect-btn.is-placeholder { color: rgba(236, 230, 220, .5); }
[data-theme="dark"] .cselect-list { background: var(--superficie); box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
[data-theme="dark"] .cselect-list li { color: #ece6dc; }
[data-theme="dark"] .cselect-list li:hover, [data-theme="dark"] .cselect-list li.active { background: #214d39; color: #fff; }
[data-theme="dark"] .cselect-list li[aria-selected="true"]:not(:hover):not(.active) { color: var(--dourado); }

/* Rodapé */
[data-theme="dark"] .site-footer { background: #08120d; border-top-color: rgba(201, 162, 39, .18); }
[data-theme="dark"] .social-footer a:hover .soc-ico, [data-theme="dark"] .social-footer a:focus-visible .soc-ico { color: #0b1a14; }

/* Menu mobile aberto */
@media (max-width: 1300px) {
  [data-theme="dark"] .nav { background: var(--off-white); border-bottom-color: rgba(236, 230, 220, .1); }
  [data-theme="dark"] .nav a:not(.btn) { border-bottom-color: rgba(236, 230, 220, .1); }
  [data-theme="dark"] .menu-toggle span { background: #ece6dc; }
}

/* ---------- Botão flutuante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  transition: transform .2s, box-shadow .2s, opacity .25s, visibility .25s;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.06); box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.wa-float:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; } .wa-float svg { width: 30px; height: 30px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after, .menu-toggle span { transition: none; }
}
