/* ==========================================================================
   parteiradomiciliar.com.br — "Autoridade Calorosa"
   Fraunces (display) + Public Sans (texto) · azul-petróleo, areia, cobre
   ========================================================================== */

/* ---------- 1. Custom properties ---------- */
:root {
  /* Paleta */
  --petrol: #123b43;
  --petrol-2: #16454e;
  --petrol-3: #1b525c;
  --ink: #0e2b31;
  --sand: #e8ddc9;
  --sand-2: #f1e9da;
  --off: #faf7f1;
  --copper: #b3653f;
  --copper-2: #c9764e;
  --copper-text: #96502e;   /* cobre escurecido: AA em fundos claros */
  --copper-on-dark: #dd9468; /* cobre clareado: AA em fundos escuros */
  --slate: #3d5257;          /* corpo de texto secundário em fundo claro */
  --wa: #188741;             /* verde WhatsApp (AA: 4,58:1 com branco) */
  --wa-dark: #126832;        /* verde WhatsApp — hover/foco */
  --line: rgba(14, 43, 49, 0.16);
  --line-dark: rgba(232, 221, 201, 0.22);

  /* Tipografia */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-hero: clamp(2.5rem, 2.2vw + 6.2vw, 5rem);
  --fs-h2: clamp(1.85rem, 1.1rem + 2.6vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --measure: 68ch;

  /* Espaçamento e forma */
  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --space-block: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 10px;
  --radius-lg: 18px;
  --maxw: 74rem;

  /* Movimento */
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --dur: 320ms;
}

/* ---------- 2. Reset e base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--off);
  font-variant-numeric: proportional-nums;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 620;
  font-variation-settings: 'opsz' 72;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-hero); font-weight: 580; letter-spacing: -0.022em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p, ul, ol, dl { margin: 0 0 1.1em; }
p, li, dd { max-width: var(--measure); }

a {
  color: var(--copper-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--petrol); }

strong { font-weight: 650; }
em { font-style: italic; }

::selection {
  background: var(--copper);
  color: var(--off);
}

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

svg { display: block; max-width: 100%; }

/* ---------- 3. Utilitários ---------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--petrol);
  color: var(--off);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 200ms var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); color: var(--off); }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn-copper {
  background: var(--copper);
  color: #fff;
}
.btn-copper:hover {
  background: var(--copper-2);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(179, 101, 63, 0.65);
}

.btn-ghost-light {
  background: transparent;
  color: var(--sand);
  border-color: var(--line-dark);
}
.btn-ghost-light:hover {
  color: var(--off);
  border-color: var(--sand);
  background: rgba(232, 221, 201, 0.08);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--petrol);
  border-color: var(--line);
}
.btn-ghost-dark:hover {
  color: var(--petrol);
  border-color: var(--petrol);
  background: rgba(18, 59, 67, 0.05);
}

.btn-petrol {
  background: var(--petrol);
  color: var(--off);
}
.btn-petrol:hover {
  background: var(--petrol-2);
  color: var(--off);
  box-shadow: 0 10px 28px -10px rgba(14, 43, 49, 0.5);
}

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(14, 43, 49, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--petrol); }
.brand .brand-mark { color: var(--copper-text); font-style: italic; font-weight: 500; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--slate);
  text-decoration: none;
  border-radius: 6px;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0.7rem; right: 0.7rem; bottom: 0.3rem;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--petrol); }
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--petrol); }

.header-cta { white-space: nowrap; padding: 0.6rem 1.2rem; min-height: 2.75rem; font-size: 0.925rem; }

@media (max-width: 63.75em) {
  .site-nav { display: none; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(168deg, var(--petrol) 0%, var(--ink) 100%);
  color: var(--sand-2);
  overflow: hidden;
  isolation: isolate;
}
.hero-texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}
.hero-inner {
  padding-block: clamp(5rem, 4rem + 6vw, 9.5rem) clamp(3.5rem, 3rem + 3vw, 5.5rem);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-on-dark);
  margin-bottom: 1.75rem;
}
.hero-eyebrow::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--copper-on-dark);
}
.hero h1 {
  color: var(--off);
  max-width: 15em;
  margin-bottom: 0.5em;
}
.hero h1 em {
  color: var(--copper-2);
  font-weight: 480;
}
.hero-sub {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--sand);
  max-width: 52ch;
  margin-bottom: 2.25rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: clamp(3rem, 2rem + 4vw, 5rem);
}
.hero-note {
  font-size: var(--fs-small);
  color: rgba(232, 221, 201, 0.75);
  margin-top: -2rem;
  margin-bottom: clamp(3rem, 2rem + 4vw, 5rem);
}

/* Barra de prova */
.proof-bar {
  border-top: 1px solid var(--line-dark);
  padding-top: 2rem;
}
.proof-bar-label {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-on-dark);
  margin-bottom: 1.25rem;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.proof-item {
  background: rgba(14, 43, 49, 0.75);
  padding: 1.1rem 1.2rem;
  transition: background-color var(--dur) var(--ease);
}
.proof-item:hover { background: rgba(22, 69, 78, 0.9); }
.proof-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 620;
  color: var(--off);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}
.proof-item span {
  font-size: 0.8rem;
  color: var(--sand);
  line-height: 1.45;
  display: block;
}

/* ---------- 7. Seções — dossiê ---------- */
.section {
  padding-block: var(--space-section);
  position: relative;
}
.section + .section { padding-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  margin-bottom: var(--space-block);
}
.section-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  font-weight: 500;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(179, 101, 63, 0.5);
  user-select: none;
}
.section-kicker {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-text);
  margin: 0.35rem 0 0.75rem;
}
.section-head h2 { margin-bottom: 0.4em; }
.section-head h2 em { color: var(--copper-text); font-weight: 500; }
.section-lede {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 62ch;
}

/* Seções em fundo areia */
.section-sand {
  background: var(--sand-2);
  padding-block: var(--space-section);
}
.section-sand .section-head { border-top-color: rgba(14, 43, 49, 0.2); }

/* Seção escura */
.section-dark {
  background: linear-gradient(160deg, var(--petrol-2), var(--ink));
  color: var(--sand-2);
  padding-block: var(--space-section);
}
.section-dark h2, .section-dark h3 { color: var(--off); }
.section-dark .section-head { border-top-color: var(--line-dark); }
.section-dark .section-num { -webkit-text-stroke-color: rgba(201, 118, 78, 0.55); }
.section-dark .section-kicker { color: var(--copper-on-dark); }
.section-dark .section-lede { color: var(--sand); }
.section-dark p { color: var(--sand-2); }
.section-dark a { color: var(--copper-on-dark); }
.section-dark a:hover { color: var(--sand); }

/* Revelação por scroll (só com .js no html) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 8. Componentes de conteúdo ---------- */

/* Resposta direta */
.answer-box {
  border-left: 3px solid var(--copper);
  background: var(--sand-2);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  margin-bottom: var(--space-block);
}
.answer-box p:last-child { margin-bottom: 0; }
.answer-box p { font-size: 1.15rem; line-height: 1.7; }

/* Grid de escopo */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.scope-grid li {
  max-width: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.2rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.scope-grid li:hover {
  border-color: var(--copper);
  box-shadow: 0 14px 30px -18px rgba(14, 43, 49, 0.3);
  transform: translateY(-2px);
}
.scope-grid b { display: block; font-weight: 650; margin-bottom: 0.15rem; }
.scope-grid p { font-size: 0.925rem; color: var(--slate); margin: 0; }
.scope-icon {
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--sand-2);
  display: grid;
  place-items: center;
  color: var(--copper-text);
  flex: none;
}
.scope-icon svg { width: 1.3rem; height: 1.3rem; }

/* Papéis profissionais — substitui a antiga tabela comparativa,
   que era ilegível no celular. Texto corrido, um papel por bloco. */
.roles {
  margin: 2.5rem 0 0;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 20px 50px -35px rgba(14, 43, 49, 0.4);
}
.roles h3 {
  margin: 2rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 600;
  color: var(--petrol);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.roles h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.roles p { margin: 0 0 0.9rem; max-width: 68ch; }
.roles p:last-child { margin-bottom: 0; }
.roles em { color: var(--copper-text); font-style: italic; }

/* Tabelas */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 20px 50px -35px rgba(14, 43, 49, 0.4);
}
table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}
caption {
  text-align: left;
  padding: 1.2rem 1.4rem 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 620;
  color: var(--petrol);
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}
thead th {
  border-top: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-text);
  background: var(--sand-2);
}
tbody th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 620;
  color: var(--petrol);
  white-space: nowrap;
}
tbody tr { transition: background-color var(--dur) var(--ease); }
tbody tr:hover { background: rgba(241, 233, 218, 0.5); }
td small { display: block; color: var(--slate); margin-top: 0.25rem; font-size: 0.85rem; }
.table-note { font-size: var(--fs-small); color: var(--slate); margin-top: 1rem; }

/* Destaque legal */
.law-card {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  margin-block: var(--space-block);
  position: relative;
  overflow: hidden;
}
.law-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--copper), var(--petrol));
}
.law-card h3 { margin-bottom: 0.2em; }
.law-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.9rem 2rem;
}
.law-list li {
  max-width: none;
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.55;
}
.law-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5em;
  width: 0.85rem; height: 1px;
  background: var(--copper);
}
.law-list b { font-weight: 650; }

/* Checklist 16 itens */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
  gap: 1rem;
  counter-reset: check;
}
.check-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.check-card:hover {
  border-color: var(--copper);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(14, 43, 49, 0.35);
}
.check-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--copper-text);
  letter-spacing: 0.06em;
}
.check-card h3 {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.35;
}
.check-card > p {
  font-size: 0.9rem;
  color: var(--slate);
  margin: 0;
  flex-grow: 1;
}
.check-card details {
  border-top: 1px dashed var(--line);
  margin-top: 0.4rem;
  padding-top: 0.6rem;
}
.check-card summary {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}
.check-card summary::-webkit-details-marker { display: none; }
.check-card summary::before {
  content: '';
  width: 0.55rem; height: 0.55rem;
  border-right: 1.5px solid var(--copper-text);
  border-bottom: 1.5px solid var(--copper-text);
  transform: rotate(-45deg);
  transition: transform var(--dur) var(--ease);
  flex: none;
}
.check-card details[open] summary::before { transform: rotate(45deg); }
.check-card details p {
  font-size: 0.925rem;
  margin: 0.4rem 0 0.3rem;
  color: var(--ink);
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 450;
  line-height: 1.55;
}
.checklist-footnote { font-size: var(--fs-small); color: var(--slate); margin-top: 1.5rem; max-width: var(--measure); }

/* Bloco CTA de seção */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: var(--space-block);
  padding: 1.5rem clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: var(--sand-2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(179, 101, 63, 0.25);
}
.section-sand .cta-row { background: #fff; }
.cta-row p { margin: 0; flex: 1 1 18rem; font-size: 0.975rem; color: var(--ink); }

/* Definições em cards (parto em casa) */
.def-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
  gap: 1rem;
  margin-block: var(--space-block);
}
.def-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.def-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.def-card p { font-size: 0.925rem; color: var(--slate); margin: 0; }
.section-sand .def-card { background: var(--off); }

/* Duas colunas editorial */
.split {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: start;
}
@media (min-width: 56em) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split > .split-aside { position: sticky; top: 6.5rem; }
  .split-reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.aside-card {
  background: var(--petrol);
  color: var(--sand-2);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}
.aside-card h3 { color: var(--off); font-size: 1.2rem; }
.aside-card p { font-size: 0.95rem; color: var(--sand); }
.aside-card p:last-child { margin-bottom: 0; }
.aside-card .aside-figure { margin: 0 0 1.25rem; color: var(--copper-on-dark); }
.aside-card .aside-figure svg { width: min(9rem, 50%); height: auto; }

/* Mitos */
.myth-list {
  display: grid;
  gap: 0.9rem;
  margin-top: var(--space-block);
}
.myth {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  display: grid;
  gap: 0.3rem;
}
.myth b {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.02rem;
  color: var(--petrol);
}
.myth p { margin: 0; font-size: 0.95rem; color: var(--slate); }
.section-sand .myth { background: var(--off); }

/* Timeline 11 etapas */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 1.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(var(--copper) 0%, var(--line) 100%);
}
.timeline > li {
  counter-increment: step;
  position: relative;
  max-width: none;
  padding: 0 0 clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem) clamp(3.5rem, 3rem + 1.5vw, 4.5rem);
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -0.15rem;
  width: 2.7rem; height: 2.7rem;
  display: grid;
  place-items: center;
  background: var(--off);
  border: 1px solid var(--copper);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--copper-text);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.timeline > li:hover::before {
  background: var(--copper);
  color: #fff;
}
.timeline h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.timeline .tl-meta {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-text);
  margin-bottom: 0.5rem;
}
.timeline p { font-size: 0.975rem; color: var(--slate); margin-bottom: 0.4rem; }
.timeline .tl-deliverable {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--petrol);
  background: var(--sand-2);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-top: 0.3rem;
}

/* Perfil da Babi */
.profile-lead {
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.45rem);
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.5;
  color: var(--petrol);
  max-width: 30em;
  margin-bottom: var(--space-block);
}
.profile-lead em { color: var(--copper-text); }

.cred-sheet {
  list-style: none;
  margin: 0 0 var(--space-block);
  padding: 0;
  border-top: 1px solid var(--line);
}
.cred-sheet li {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) 1fr;
  gap: 0.5rem 2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.cred-sheet dt, .cred-sheet .cred-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-text);
  padding-top: 0.2rem;
}
.cred-sheet .cred-value { color: var(--ink); line-height: 1.55; }
@media (max-width: 40em) {
  .cred-sheet li { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* Hino de marca */
.brand-hymn {
  margin: var(--space-block) 0;
  padding: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(1.5rem, 1rem + 3vw, 3.5rem);
  background: var(--petrol);
  border-radius: var(--radius-lg);
  color: var(--off);
  position: relative;
  overflow: hidden;
}
.brand-hymn svg.quote-mark {
  position: absolute;
  top: 1.25rem; left: 1.5rem;
  width: 3.5rem; height: auto;
  color: var(--copper-2);
  opacity: 0.85;
}
.brand-hymn blockquote {
  margin: 0;
  padding-left: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.brand-hymn blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 1.2vw, 1.75rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  color: var(--off);
  max-width: 26em;
  margin-bottom: 0.75rem;
}
.brand-hymn cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-on-dark);
  padding-left: clamp(2.5rem, 2rem + 2vw, 4rem);
}

/* Área e investimento */
.factor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.factor-list li {
  max-width: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.9rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.section-sand .factor-list li { background: var(--off); }
.factor-list li::before {
  content: '';
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--copper);
  transform: translateY(-1px);
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 600;
  color: var(--petrol);
  min-height: 44px;
  transition: color var(--dur) var(--ease);
}
.faq-list summary:hover { color: var(--copper-text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '';
  flex: none;
  width: 0.7rem; height: 0.7rem;
  border-right: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
  margin-right: 0.35rem;
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-list details[open] summary { color: var(--copper-text); }
.faq-answer { padding: 0 0.25rem 1.5rem; }
.faq-answer p { font-size: 0.975rem; color: var(--slate); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- 9. Fecho ---------- */
.closing {
  background: linear-gradient(175deg, var(--petrol) 10%, var(--ink) 90%);
  color: var(--sand-2);
  text-align: center;
  padding-block: clamp(5rem, 4rem + 6vw, 9rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.closing .hero-texture { opacity: 0.4; }
.closing h2 {
  font-size: clamp(1.9rem, 1.3rem + 3vw, 3.4rem);
  color: var(--off);
  max-width: 20em;
  margin-inline: auto;
  font-weight: 560;
}
.closing h2 em { color: var(--copper-2); font-weight: 460; }
.closing p {
  max-width: 48ch;
  margin-inline: auto;
  color: var(--sand);
  font-size: 1.1rem;
}
.closing .btn { margin-top: 1.75rem; font-size: 1.05rem; padding: 1rem 2.2rem; }
.closing-small {
  margin-top: 1.5rem;
  font-size: var(--fs-small);
  color: rgba(232, 221, 201, 0.7);
}

/* ---------- 10. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--sand);
  padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer h2 {
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-on-dark);
  margin-bottom: 1rem;
}
.site-footer p, .site-footer li { color: var(--sand); line-height: 1.6; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--sand-2); }
.site-footer a:hover { color: var(--copper-on-dark); }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 620;
  color: var(--off);
  margin-bottom: 0.75rem;
}
.footer-emergency {
  margin-top: 2rem;
  padding: 1.1rem 1.3rem;
  background: rgba(179, 101, 63, 0.16);
  border: 1px solid rgba(221, 148, 104, 0.4);
  border-radius: var(--radius);
  color: var(--sand-2);
  max-width: none;
}
.footer-emergency strong { color: var(--off); }
.footer-legal {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(232, 221, 201, 0.75);
}
.footer-legal p { margin: 0; color: rgba(232, 221, 201, 0.75); }

/* ---------- 11. Barra mobile fixa ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 43, 49, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line-dark);
}
.mobile-cta .btn {
  width: 100%;
  min-height: 3rem;
}
@media (max-width: 47.9em) {
  .mobile-cta { display: block; }
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: 5.5rem; }
}

/* ---------- 12. Ilustrações ---------- */
.illustration { color: var(--copper); }
.section-dark .illustration { color: var(--copper-on-dark); }

/* ---------- 13. Página de erro / privacidade ---------- */
.page-simple {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-section) var(--gutter);
}
.page-simple .big {
  font-family: var(--font-display);
  font-size: clamp(5rem, 20vw, 11rem);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--copper);
  margin-bottom: 1rem;
}
.prose {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(3rem, 2rem + 4vw, 5rem) var(--gutter);
}
.prose h1 { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose .updated { color: var(--slate); font-size: var(--fs-small); }

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

/* ---------- 15. Impressão ---------- */
@media print {
  .site-header, .mobile-cta, .hero-ctas, .cta-row, .btn, .skip-link, .hero-texture { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .section-dark, .closing, .site-footer, .brand-hymn, .aside-card {
    background: #fff !important;
    color: #000 !important;
  }
  .hero h1, .section-dark h2, .section-dark h3, .closing h2, .brand-hymn blockquote p, .aside-card h3 { color: #000 !important; }
  .hero-sub, .section-dark p, .closing p, .site-footer p, .site-footer li, .aside-card p, .brand-hymn cite { color: #222 !important; }
  .proof-item { background: #fff; border: 1px solid #999; }
  .proof-item b, .proof-item span { color: #000; }
  a { color: #000; text-decoration: underline; }
  a[href^="https://wa.me"]::after { content: " (WhatsApp: +55 11 93373-3978)"; font-size: 0.85em; }
  .check-card details, .faq-list details { break-inside: avoid; }
  .check-card details > *, .faq-list details > * { display: block; }
  .section, .section-sand, .section-dark { padding-block: 1.5rem; }
}


/* ---------- Botão flutuante de WhatsApp ----------
   Único elemento verde da página: destaca por ser o único.
   Verde do WhatsApp escurecido para passar AA (4,58:1 com o glifo branco). */
.wa-fab {
  position: fixed;
  right: var(--gutter);
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 28px -10px rgba(9, 74, 37, 0.6);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-fab:hover {
  background: var(--wa-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -10px rgba(9, 74, 37, 0.7);
}
.wa-fab:focus-visible { outline: 3px solid var(--wa-dark); outline-offset: 3px; }
.wa-fab svg { width: 1.75rem; height: 1.75rem; }

/* No celular a barra fixa ocupa a base — o FAB sobe para não cobri-la */
@media (max-width: 47.9em) {
  .wa-fab {
    bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    width: 3.15rem;
    height: 3.15rem;
  }
  .wa-fab svg { width: 1.55rem; height: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }
@media print { .wa-fab { display: none; } }

/* Botão secundário claro — usado no fecho, sobre fundo petróleo */
.btn-ghost-light {
  background: transparent;
  color: var(--off);
  border: 1px solid rgba(250, 247, 241, 0.55);
}
.btn-ghost-light:hover {
  background: var(--off);
  color: var(--petrol);
  border-color: var(--off);
}
.closing-site { margin: 1.25rem 0 0; }
