/* ==========================================================================
   Athos Clínica de Especialidades — Home
   Direção visual: "Acolhimento estruturado" (Pesquisa 3, seção 9).
   Verde extraído do logotipo (#024328), terracota e neutros quentes.
   ========================================================================== */

:root {
  --green-950: #01291a;
  --green-900: #024328;      /* verde do logotipo */
  --green-800: #0d4f35;
  --green-700: #2c5e50;      /* verde-sálvia proposto na pesquisa */
  --sage-200: #d9e2d6;
  --sage-100: #e9eee5;

  --clay-600: #9c5539;       /* terracota para texto (AA sobre areia) */
  --clay-500: #c47b5e;       /* terracota da pesquisa, uso decorativo */
  --clay-100: #f3e3d9;

  --sand-50: #fbf9f5;
  --sand-100: #f7f3ec;       /* fundo principal */
  --sand-200: #efe8dc;
  --sand-300: #e3d9c8;

  --ink-900: #1c2622;
  --ink-700: #3c4843;
  --ink-500: #5e6a64;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(80px, 11vw, 144px);
  --header-h: 76px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 1px 2px rgba(28, 38, 34, .04), 0 12px 32px -12px rgba(28, 38, 34, .14);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--sand-100);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--clay-600);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--green-900);
  color: var(--sand-100);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

/* ---------- Tipografia ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--clay-600);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 350;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 120;
  color: var(--green-900);
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--green-900);
}

.h3-sm {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--green-900);
}

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-700);
}

.section-sub {
  max-width: 560px;
  margin-top: 20px;
  color: var(--ink-700);
}

.fine-print {
  margin-top: 28px;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--ink-500);
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .975rem;
  font-weight: 600;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out),
              border-color .25s var(--ease-out), transform .25s var(--ease-out),
              box-shadow .25s var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .925rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }

.btn-primary {
  background: var(--green-900);
  color: var(--sand-50);
  box-shadow: 0 10px 24px -14px rgba(2, 67, 40, .8);
}
.btn-primary:hover { background: var(--green-800); box-shadow: 0 14px 28px -14px rgba(2, 67, 40, .9); }

.btn-ghost {
  background: transparent;
  border-color: var(--sand-300);
  color: var(--green-900);
}
.btn-ghost:hover { border-color: var(--green-900); background: var(--sand-50); }
.btn-ghost .icon { transition: transform .3s var(--ease-out); }
.btn-ghost:hover .icon { transform: translateX(3px); }

.btn-light {
  background: var(--sand-100);
  color: var(--green-900);
}
.btn-light:hover { background: #fff; }

.btn-outline-light {
  background: transparent;
  border-color: rgba(247, 243, 236, .35);
  color: var(--sand-100);
}
.btn-outline-light:hover { border-color: var(--sand-100); background: rgba(247, 243, 236, .06); }

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 28px;
  color: var(--green-900);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--sand-300);
  transition: border-color .25s var(--ease-out), gap .3s var(--ease-out);
}
.link-cta:hover { border-color: var(--green-900); gap: 14px; }

/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(247, 243, 236, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out),
              backdrop-filter .35s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(247, 243, 236, .86);
  border-bottom-color: rgba(227, 217, 200, .8);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand { display: block; flex-shrink: 0; }
.brand img { width: auto; height: 54px; }

.nav ul {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
}
.nav ul a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: .925rem;
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  transition: color .2s;
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--clay-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav ul a:hover { color: var(--green-900); }
.nav ul a:hover::after { transform: scaleX(1); }

.nav-cta-mobile,
.nav-phone-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  border: 1px solid var(--sand-300);
  border-radius: 50%;
  background: var(--sand-50);
  cursor: pointer;
}
.menu-toggle-bars,
.menu-toggle-bars::before {
  position: absolute;
  left: 50%;
  width: 18px; height: 1.5px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.menu-toggle-bars { top: 20px; transform: translateX(-50%); }
.menu-toggle-bars::before { content: ""; top: 6px; transform: translateX(-50%); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { top: 23px; transform: translateX(-50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 0; transform: translateX(-50%) rotate(-90deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) 0 clamp(72px, 9vw, 120px);
  overflow: hidden;
}

.hero-swoosh {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 72%;
  color: var(--clay-500);
  opacity: .45;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  font-weight: 330;
  line-height: 1.03;
  letter-spacing: -.028em;
  font-variation-settings: "opsz" 144;
  color: var(--green-900);
  text-wrap: balance;
}
.hero-title em,
.final-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--clay-600);
}

.hero-lead {
  max-width: 540px;
  margin-top: 28px;
  font-size: clamp(1.075rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-700);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--sand-300);
}
.hero-facts li {
  display: flex;
  flex-direction: column;
  padding-right: clamp(20px, 3vw, 36px);
  margin-right: clamp(20px, 3vw, 36px);
  border-right: 1px solid var(--sand-300);
}
.hero-facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.fact-k {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-900);
}
.fact-v { font-size: .875rem; color: var(--ink-500); }

.hero-media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}

.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: var(--sand-200);
  box-shadow: 0 40px 80px -40px rgba(28, 38, 34, .45);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% 50%;
}
.arch::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(251, 249, 245, .55);
  border-radius: 999px 999px 24px 24px;
  pointer-events: none;
}

.hero-note {
  position: absolute;
  left: clamp(-56px, -4vw, -16px);
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 280px;
  padding: 20px 22px;
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.hero-note-k {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--green-900);
}
.hero-note-v { font-size: .875rem; line-height: 1.5; color: var(--ink-500); }

/* ---------- Seções ---------- */

.section { padding-block: var(--section-y); }

.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 80px); }

/* A Athos */
.intro {
  background: var(--sand-50);
  border-block: 1px solid var(--sand-200);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}
.intro-body { padding-top: 6px; }

.pillars {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(32px, 4vw, 56px);
  counter-reset: pillar;
}
.pillar {
  padding-top: 28px;
  border-top: 1px solid var(--sand-300);
}
.pillar-n {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--clay-600);
}
.pillar h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--green-900);
}
.pillar p { color: var(--ink-700); font-size: 1rem; }

/* Especialidades */
.spec-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -24px 0 clamp(56px, 7vw, 96px);
}
.spec-index a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--sand-300);
  border-radius: 999px;
  background: var(--sand-50);
  color: var(--green-900);
  font-weight: 500;
  text-decoration: none;
  transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), color .25s;
}
.spec-index a span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .9rem;
  color: var(--clay-600);
}
.spec-index a:hover { background: var(--green-900); border-color: var(--green-900); color: var(--sand-50); }
.spec-index a:hover span { color: var(--clay-100); }

.spec {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding-block: clamp(40px, 5vw, 64px);
}
.spec + .spec { border-top: 1px solid var(--sand-300); }
.spec-flip { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.spec-flip .spec-media { order: 2; }

.spec-media {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand-200);
}
.spec-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.spec:hover .spec-media img { transform: scale(1.03); }

.spec-n {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--clay-600);
}
.spec-lead {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--green-700);
}
.spec-body > p:not([class]) { color: var(--ink-700); }

.spec-list-title {
  margin: 26px 0 12px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.checks li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--sand-200);
  color: var(--ink-900);
  font-size: 1rem;
  line-height: 1.5;
}
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23024328' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m7 12.5 3.2 3.2L17 9'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.specialties .fine-print {
  max-width: 640px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--sand-300);
}

/* Para quem */
.for-whom { background: var(--sage-100); }
.for-whom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.for-whom .h2 { max-width: 520px; }

.paths { margin-top: 40px; border-top: 1px solid var(--sage-200); }
.path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--sage-200);
  text-decoration: none;
  transition: padding .35s var(--ease-out);
}
.path-text { display: flex; flex-direction: column; gap: 4px; }
.path-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--green-900);
}
.path-desc { color: var(--ink-700); font-size: .975rem; }
.path-icon {
  width: 44px; height: 44px;
  padding: 12px;
  border: 1px solid var(--sage-200);
  border-radius: 50%;
  color: var(--green-900);
  background: var(--sand-50);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), transform .35s var(--ease-out);
}
.path:hover { padding-left: 12px; }
.path:hover .path-icon { background: var(--green-900); color: var(--sand-50); transform: rotate(-45deg); }

.for-whom-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 160px;
  overflow: hidden;
  background: var(--sage-200);
}
.for-whom-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

/* Como funciona */
.steps-section {
  position: relative;
  background: var(--green-900);
  color: var(--sand-100);
  overflow: hidden;
}
.steps-section::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(196, 123, 94, .16), transparent);
  pointer-events: none;
}
.section-head-light .eyebrow { color: var(--clay-500); }
.section-head-light .h2 { color: var(--sand-50); }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.step {
  position: relative;
  padding-top: 36px;
  border-top: 1px solid rgba(247, 243, 236, .18);
}
.step-n {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 123, 94, .9);
}
.step h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--sand-50);
}
.step p { color: rgba(247, 243, 236, .78); font-size: 1rem; }

.steps-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(48px, 6vw, 72px);
}
.steps-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: rgba(247, 243, 236, .85);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 243, 236, .25);
  transition: color .2s, border-color .2s;
}
.steps-phone:hover { color: var(--sand-50); border-color: var(--sand-50); }

/* Convênios e particular */
.care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.care-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
}
.care-card > p:not([class]) { margin-top: 14px; color: var(--ink-700); }
.care-card .link-cta { margin-top: auto; padding-top: 28px; }
.care-card .btn { margin-top: auto; }
.care-card-accent .btn { margin-top: 32px; }
.care-card-accent {
  background: var(--clay-100);
  border-color: #ead2c4;
}
.care-tag {
  margin-bottom: 16px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay-600);
}
.care-note {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--clay-500);
  font-size: .925rem;
  color: var(--ink-700);
}

/* Localização */
.location { background: var(--sand-50); border-top: 1px solid var(--sand-200); }
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: clamp(40px, 6vw, 88px);
}
.location-sub { margin-top: 14px; color: var(--ink-500); }

.contact-list {
  margin-top: 36px;
  border-top: 1px solid var(--sand-300);
}
.contact-list > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--sand-300);
}
.contact-list dt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-500);
}
.contact-list dt .icon { color: var(--green-700); }
.contact-list dd { color: var(--ink-900); }
.contact-list dd a {
  font-weight: 600;
  color: var(--green-900);
  text-decoration: none;
  border-bottom: 1px solid var(--sand-300);
}
.contact-list dd a:hover { border-color: var(--green-900); }

.location-actions { margin-top: 32px; }

.map {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(var(--sand-200) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--sand-200) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--sand-100);
  border: 1px solid var(--sand-200);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px;
  text-align: center;
}
.map-pin {
  width: 56px; height: 56px;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--sand-50);
  box-shadow: 0 0 0 10px rgba(2, 67, 40, .08), 0 0 0 22px rgba(2, 67, 40, .04);
}
.map-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--green-900); }
.map-addr { color: var(--ink-500); margin-bottom: 16px; }
.map-hint { margin-top: 10px; font-size: .8rem; color: var(--ink-500); }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }

.faq-list { border-top: 1px solid var(--sand-300); }
.faq-list details { border-bottom: 1px solid var(--sand-300); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.35;
  color: var(--green-900);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon {
  width: 36px; height: 36px;
  padding: 9px;
  border: 1px solid var(--sand-300);
  border-radius: 50%;
  color: var(--green-900);
  transition: transform .35s var(--ease-out), background-color .25s, color .25s;
}
.faq-list summary:hover .icon { background: var(--sand-50); }
.faq-list details[open] summary .icon { transform: rotate(45deg); background: var(--green-900); color: var(--sand-50); border-color: var(--green-900); }
.faq-a { padding: 0 56px 26px 0; color: var(--ink-700); }

/* CTA final */
.final-cta {
  position: relative;
  padding-block: clamp(96px, 12vw, 160px);
  background: var(--green-950);
  color: var(--sand-100);
  text-align: center;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -55%;
  width: min(1100px, 140vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(196, 123, 94, .25);
  box-shadow: inset 0 0 0 60px rgba(247, 243, 236, .015);
  pointer-events: none;
}
.final-inner { position: relative; }
.final-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--sand-50);
}
.final-title em { color: var(--clay-500); }
.final-sub {
  margin-top: 20px;
  font-size: 1.125rem;
  color: rgba(247, 243, 236, .78);
}
.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

/* ---------- Rodapé ---------- */

.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 32px;
  background: var(--green-950);
  color: rgba(247, 243, 236, .78);
  border-top: 1px solid rgba(247, 243, 236, .08);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand img { width: auto; height: 64px; margin-bottom: 20px; }
.footer-brand p { max-width: 280px; }
.footer-h {
  margin-bottom: 16px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay-500);
}
.footer-col li + li { margin-top: 8px; }
.footer-col a {
  display: inline-block;
  padding: 4px 0;
  text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: var(--sand-50); }
.footer-col address { font-style: normal; line-height: 1.8; }

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 56px;
  position: relative;
  padding-top: 28px;
  font-size: .8rem;
  color: rgba(247, 243, 236, .6);
}

.footer-legal::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgba(247, 243, 236, .1);
}

/* ---------- Página 404 ---------- */

.error-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}
.error-main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(32px, 6vw, 80px) 0 clamp(64px, 8vw, 112px);
  overflow: hidden;
}
.error-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
}
.error-copy .hero-title { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }

.error-links {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.error-code {
  position: absolute;
  top: -.62em;
  right: 24px;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9vw, 7rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: var(--clay-500);
  opacity: .9;
  pointer-events: none;
}
.error-links .spec-list-title { margin-top: 0; }
.error-links .paths { margin-top: 8px; border-top: 0; }
.error-links .path { padding: 14px 4px; border-bottom-color: var(--sand-200); }
.error-links .path:hover { padding-left: 10px; }
.error-links .path-title { font-size: 1.2rem; }
.error-links .path-icon { width: 36px; height: 36px; padding: 9px; border-color: var(--sand-300); }
.error-links .fine-print { margin-top: 20px; }
.error-links .fine-print a { color: var(--green-900); font-weight: 600; }

.error-footer { padding: 0 0 28px; }
.error-footer .footer-legal { margin-top: 0; }

@media (max-width: 959px) {
  .error-grid { grid-template-columns: 1fr; }
  .error-links { margin-top: 24px; }
  .site-footer.error-footer { padding-bottom: 28px; }
}

/* ---------- Barra móvel de WhatsApp ---------- */

.wa-bar { display: none; }

/* ---------- Revelação suave ao rolar ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */

@media (max-width: 1080px) {
  .header-cta span { display: none; }
  .header-cta { width: 48px; padding: 0; }
  .nav ul { gap: 22px; }
}

@media (max-width: 959px) {
  :root { --header-h: 68px; }

  .brand img { height: 42px; }

  .menu-toggle { display: inline-block; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 32px var(--gutter) 40px;
    background: var(--sand-100);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s;
    overflow-y: auto;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s;
  }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--sand-300);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--green-900);
  }
  .nav ul a::after { display: none; }
  .nav-cta-mobile { display: inline-flex; min-height: 56px; }
  .nav-phone-mobile {
    display: block;
    text-align: center;
    color: var(--ink-500);
    text-decoration: none;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--sand-100); }

  .hero-grid,
  .intro-grid,
  .for-whom-grid,
  .location-grid,
  .faq-grid { grid-template-columns: 1fr; }

  .hero-media { justify-self: center; max-width: 560px; }
  .arch { aspect-ratio: 5 / 4; border-radius: 999px 999px var(--radius-lg) var(--radius-lg) / 400px 400px var(--radius-lg) var(--radius-lg); }
  .arch::after { border-radius: inherit; }
  .hero-note { left: 16px; right: 16px; bottom: -32px; max-width: none; }
  .hero-media { margin-bottom: 32px; }

  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding: 24px 0; }

  .spec,
  .spec-flip { grid-template-columns: 1fr; gap: 28px; }
  .spec-flip .spec-media { order: 0; }

  .for-whom-media { order: -1; aspect-ratio: 4 / 3; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 96px; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 28px 0 32px; display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; }
  .step-n { grid-row: span 2; font-size: 3.25rem; margin: 0; }

  .care-grid { grid-template-columns: 1fr; }

  .map { min-height: 340px; }

  .faq-head { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .wa-bar {
    position: fixed;
    left: 12px; right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border-radius: 999px;
    background: var(--green-900);
    color: var(--sand-50);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 16px 32px -12px rgba(1, 41, 26, .55);
    transform: translateY(calc(100% + 24px));
    transition: transform .45s var(--ease-out);
  }
  .wa-bar.is-visible { transform: none; }
  body.menu-open .wa-bar { transform: translateY(calc(100% + 24px)); }
  .site-footer { padding-bottom: 104px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { flex-direction: column; gap: 14px; margin-top: 40px; }
  .hero-facts li { flex-direction: row; align-items: baseline; gap: 8px; border-right: 0; margin: 0; padding: 0; }
  .spec-index { gap: 8px; }
  .spec-index a { padding: 10px 16px; font-size: .925rem; }
  .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
  .faq-a { padding-right: 0; }
  .final-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
