/* =========================================================================
   Fellow MZ — Landing Page
   Direcao estetica: editorial clinico. Creme dominante, marrom profundo,
   oliva estrutural, dourado apenas como filete.
   ========================================================================= */

/* ---------- 1. TOKENS ---------------------------------------------------- */
:root {
  /* Paleta da marca (Casa Zboralski) */
  --brown: #3A2518;
  --gold: #B08D57;
  --olive: #7C7C46;
  --cream: #FFF6E8;

  /* Derivadas para TEXTO — as originais reprovam no WCAG AA como texto.
     Contraste medido sobre --cream:
     brown 13.45:1 | olive-ink 4.88:1 | gold-ink 4.62:1 | olive puro 4.06:1 (X) */
  --olive-ink: #6F6F3E;
  --gold-ink: #8A6B3A;
  --olive-deep: #5F5F35;   /* banda escura: creme sobre este = 6.17:1 */
  --gold-light: #C9A76F;   /* sobre marrom = 6.34:1 */

  /* Superficies */
  --paper: #FFFDF7;
  --line: rgba(58, 37, 24, 0.14);
  --line-strong: rgba(58, 37, 24, 0.28);
  --line-light: rgba(255, 246, 232, 0.22);

  /* Tipografia */
  --serif: "Newsreader", "Newsreader Fallback", "Kepler Std", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Jost Fallback", "Sweet Sans Pro", "Helvetica Neue", Arial, sans-serif;

  /* Escala fluida */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  --fs-lg: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.9vw, 3rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.4vw, 4.5rem);
  --fs-display: clamp(3.5rem, 1rem + 12vw, 12rem);

  /* Espaco */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 7rem;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 1240px;
  --measure: 62ch;

  --radius: 2px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. RESET ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 var(--sp-2); text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }

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

::selection { background: var(--gold); color: var(--cream); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--brown);
  color: var(--cream);
  padding: 0.85rem 1.25rem;
  font-size: var(--fs-sm);
}
.skip-link:focus { left: var(--gutter); top: 0.75rem; }

/* ---------- 3. LAYOUT ---------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 9vw, var(--sp-7)); position: relative; overflow: hidden; }
.section--tight { padding-block: clamp(2.5rem, 6vw, var(--sp-6)); }

.section--dark {
  background: var(--brown);
  color: var(--cream);
}
.section--dark .eyebrow { color: var(--gold-light); border-color: var(--line-light); }
.section--dark .lede { color: rgba(255, 246, 232, 0.92); }

.section--olive {
  background: var(--olive-deep);
  color: var(--cream);
}
.section--olive .eyebrow { color: rgba(255, 246, 232, 0.82); border-color: var(--line-light); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--40 { grid-template-columns: 5fr 7fr; }
  .split--60 { grid-template-columns: 7fr 5fr; }
}

/* ---------- 4. TIPOGRAFIA ----------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--gold-ink);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  margin-bottom: var(--sp-3);
  background: transparent;
}
.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.h-display {
  font-family: var(--serif);
  font-size: var(--fs-h1);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.h-section {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}
.h-sub {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 400;
}
.italic { font-style: italic; }
.caps {
  font-family: var(--sans);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.lede {
  font-size: var(--fs-lg);
  max-width: var(--measure);
  color: rgba(58, 37, 24, 0.88);
  line-height: 1.6;
}
.prose { max-width: var(--measure); }
.prose p + p { margin-top: var(--sp-2); }

/* Bloco BLUF — resposta direta abaixo do H2 */
.bluf {
  font-size: var(--fs-lg);
  line-height: 1.55;
  max-width: 58ch;
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 2px solid var(--gold);
  margin-bottom: var(--sp-4);
}
.section--dark .bluf, .section--olive .bluf { border-left-color: var(--gold-light); }

/* Marca d'agua tipografica — puramente decorativa */
.watermark {
  position: absolute;
  inset-inline-start: -0.06em;
  bottom: -0.18em;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--fs-display);
  line-height: 0.8;
  color: var(--brown);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.section--dark .watermark, .section--olive .watermark { color: var(--cream); opacity: 0.06; }
.wrap { position: relative; z-index: 1; }

/* ---------- 5. HEADER --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 246, 232, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header[data-stuck="true"] { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 76px;
  padding-block: 0.75rem;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 108px; height: auto; }
@media (min-width: 640px) { .brand img { width: 132px; } }

/* Abaixo de 640px o CTA do header nao cabe ao lado da marca e do menu.
   A acao primaria no mobile fica na barra fixa inferior (.cta-bar). */
.header-actions > .btn { display: none; }
@media (min-width: 640px) { .header-actions > .btn { display: inline-flex; } }

.nav-list {
  display: none;
  list-style: none;
  gap: clamp(0.85rem, 1.5vw, 1.5rem);
  align-items: center;
}
/* Com o CTA unificado e a fonte maior, os 6 itens so cabem em uma linha
   a partir de 1180px. Abaixo disso, hamburger. */
@media (min-width: 1180px) { .nav-list { display: flex; } }

.nav-list a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: rgba(58, 37, 24, 0.72);
  padding-block: 0.5rem;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-list a:hover { color: var(--brown); }
.nav-list a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: var(--sp-1); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 48px;
  min-height: 48px;
  padding: 0 0.9rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--brown);
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
@media (min-width: 1180px) { .nav-toggle { display: none; } }
.nav-toggle__bars { display: block; width: 18px; height: 9px; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; padding-block: var(--sp-2); }
.mobile-nav a {
  display: block;
  padding: 0.9rem 0;
  min-height: 48px;
  text-decoration: none;
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

/* ---------- 6. BOTOES --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 48px;
  padding: 0.85rem 0.85rem 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: left;
  max-width: 100%;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
/* Rotulos longos quebram em telas estreitas e viram uma linha so a partir
   de 640px, onde ha largura suficiente. */
@media (min-width: 640px) { .btn { white-space: nowrap; } }

.btn__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn__dot { transform: translateX(3px); }
.btn__dot svg { width: 13px; height: 13px; }

.btn--primary { background: var(--brown); color: var(--cream); }
.btn--primary .btn__dot { background: var(--gold); color: var(--brown); }
.btn--primary:hover { background: #4A3121; }

.btn--olive { background: var(--olive-deep); color: var(--cream); }
.btn--olive .btn__dot { background: var(--cream); color: var(--olive-deep); }
.btn--olive:hover { background: #6E6E3E; }

.btn--ghost {
  background: transparent;
  color: var(--brown);
  border-color: var(--line-strong);
}
.btn--ghost .btn__dot { background: transparent; border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--brown); }

.section--dark .btn--ghost, .section--olive .btn--ghost {
  color: var(--cream);
  border-color: var(--line-light);
}
.section--dark .btn--ghost .btn__dot,
.section--olive .btn--ghost .btn__dot { border-color: var(--line-light); }

.btn--light { background: var(--cream); color: var(--brown); }
.btn--light .btn__dot { background: var(--olive-deep); color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

/* ---------- 7. HERO ----------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); position: relative; overflow: hidden; }

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero h1 { margin-bottom: var(--sp-3); }
.hero h1 .italic { color: var(--olive-ink); }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  list-style: none;
  margin: var(--sp-4) 0 0;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
}
.hero__facts li { display: flex; align-items: center; gap: 0.6rem; }
.hero__facts li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__media { position: relative; }
.hero__frame {
  position: absolute;
  inset: auto auto -18px -18px;
  width: 46%;
  height: 58%;
  border: 1px solid var(--olive);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  z-index: 0;
}
.hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  background: rgba(58, 37, 24, 0.06);
}

/* ---------- 8. CARDS E LISTAS ------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--sp-3);
  list-style: none;
}
@media (min-width: 720px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.card__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--gold-ink);
}
.card h3 { font-family: var(--serif); font-size: var(--fs-h3); font-weight: 400; }
.card p { margin: 0; color: rgba(58, 37, 24, 0.88); font-size: var(--fs-sm); line-height: 1.75; }

.section--dark .card {
  background: rgba(255, 246, 232, 0.045);
  border-color: var(--line-light);
}
.section--dark .card p { color: rgba(255, 246, 232, 0.88); }
.section--dark .card__num { color: var(--gold-light); }

/* Lista editorial com filete */
.rule-list { list-style: none; border-top: 1px solid var(--line); }
.rule-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-base);
}
.section--dark .rule-list, .section--dark .rule-list li { border-color: var(--line-light); }

/* ---------- 9. TABELAS --------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--fs-sm);
}
caption {
  caption-side: top;
  text-align: left;
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-style: italic;
  padding-bottom: var(--sp-2);
}
th, td { padding: 1rem 1.25rem 1rem 0; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th {
  font-weight: 400;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  border-bottom-color: var(--line-strong);
}
tbody th { font-weight: 400; padding-right: var(--sp-3); }
@media (min-width: 720px) {
  tbody th { white-space: nowrap; padding-right: var(--sp-4); }
}
td ul { list-style: none; }
td li { padding-block: 0.25rem; }

.section--dark caption { color: var(--cream); }
.section--dark th, .section--dark td { border-bottom-color: var(--line-light); }
.section--dark thead th { color: var(--gold-light); border-bottom-color: var(--line-light); }

/* ---------- 10. AUTORIDADE ---------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  list-style: none;
  margin-top: var(--sp-4);
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { border-top: 1px solid var(--line-light); padding-top: var(--sp-2); }
.stats b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--gold-light);
}
.stats span { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.82; }

.credential {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-light);
  font-size: var(--fs-sm);
}
.credential strong { font-weight: 400; }

.portrait {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.portrait--tall { aspect-ratio: 3 / 4; }

.figure-offset { position: relative; }
.figure-offset::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 55%;
  aspect-ratio: 1;
  border: 1px solid var(--olive);
  border-radius: 0 var(--radius-lg) 0 0;
}
.figure-offset img { position: relative; }
figcaption {
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ---------- 11. FAQ ------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 1.35rem 0;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-right: 1px solid var(--gold-ink);
  border-bottom: 1px solid var(--gold-ink);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq .faq__answer { padding-bottom: 1.5rem; max-width: var(--measure); }
.faq .faq__answer p { margin: 0; color: rgba(58, 37, 24, 0.88); }

/* ---------- 12. LOCAL / MAPA -------------------------------------------- */
.map-block {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 246, 232, 0.05);
}
.map-block__body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.map-block address { font-style: normal; line-height: 1.8; }
.map-block iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- 13. FORMULARIO ----------------------------------------------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.field-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 720px) { .field-grid--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: var(--fs-base);
  font-weight: 300;
  color: var(--brown);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  min-height: 48px;
  width: 100%;
  transition: border-color 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--olive-ink); }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select { border-color: #9B3B21; }
.field__error { font-size: var(--fs-xs); color: #9B3B21; min-height: 1rem; }

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}
.field--check input { width: 20px; height: 20px; min-height: 20px; margin-top: 0.25rem; flex: none; accent-color: var(--olive-deep); }
.field--check label {
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--fs-sm);
  color: rgba(58, 37, 24, 0.88);
  line-height: 1.6;
}

.form-status {
  margin-top: var(--sp-3);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  border: 1px solid;
}
.form-status[hidden] { display: none; }
.form-status[data-state="ok"] { border-color: var(--olive-ink); background: rgba(124, 124, 70, 0.1); color: var(--olive-deep); }
.form-status[data-state="erro"] { border-color: #9B3B21; background: rgba(155, 59, 33, 0.08); color: #9B3B21; }

/* ---------- 14. RODAPE --------------------------------------------------- */
.site-footer { background: var(--brown); color: var(--cream); padding-block: var(--sp-6) var(--sp-4); }
.site-footer a { color: var(--gold-light); }
.footer-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer img { width: 150px; }
.footer-grid h2 {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--sp-2);
  font-family: var(--sans);
  font-weight: 400;
}
.footer-grid ul { list-style: none; }
.footer-grid li { padding-block: 0.3rem; font-size: var(--fs-sm); }
.footer-legal {
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-light);
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: rgba(255, 246, 232, 0.72);
}
.footer-legal p { margin-bottom: 0.5rem; }

/* ---------- 15. MOVIMENTO ------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal].is-visible[data-delay="1"] { transition-delay: 0.08s; }
[data-reveal].is-visible[data-delay="2"] { transition-delay: 0.16s; }
[data-reveal].is-visible[data-delay="3"] { transition-delay: 0.24s; }

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

@media print {
  .site-header, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}


/* ---------- 16. BARRA DE ACAO FIXA (somente mobile) --------------------- */
.cta-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 0.7rem var(--gutter);
  padding-bottom: max(0.7rem, env(safe-area-inset-bottom));
  background: rgba(255, 246, 232, 0.96);
  backdrop-filter: saturate(160%) blur(12px);
  border-top: 1px solid var(--line);
}
.cta-bar__note {
  margin: 0;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.cta-bar .btn {
  flex: 1;
  justify-content: space-between;
  padding-left: 1.15rem;
  font-size: var(--fs-sm);
  line-height: 1.25;
}
body { padding-bottom: 104px; }

@media (min-width: 640px) {
  .cta-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- 17. COMPONENTES DA V2 (escopo literal) ---------------------- */

/* Linha de fatos com pipe, como no escopo */
.pipe-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: var(--sp-4) 0 0;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
}
.pipe-facts li + li::before {
  content: "|";
  margin-right: 1.25rem;
  color: var(--gold);
}
.section--dark .pipe-facts { border-top-color: var(--line-light); }

/* Frase de fecho de secao */
.closing-line {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-style: italic;
  font-weight: 300;
  max-width: 46ch;
  margin-top: var(--sp-4);
  color: var(--gold-ink);
}
.section--dark .closing-line, .section--olive .closing-line { color: var(--gold-light); }

/* Pergunta-virada do escopo */
.pivot {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.4;
  max-width: 44ch;
  margin-top: var(--sp-4);
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 2px solid var(--olive);
}
.pivot q { font-style: italic; quotes: "“" "”"; }

/* Lista de definicoes: termo + explicacao (AEO) */
.dl-grid { display: grid; gap: var(--sp-3); margin: var(--sp-4) 0 0; }
@media (min-width: 720px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .dl-grid { grid-template-columns: repeat(4, 1fr); } }
.dl-grid > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.dl-grid dt {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  margin-bottom: var(--sp-1);
}
.dl-grid dd {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: rgba(58, 37, 24, 0.88);
}


/* Ficha de assinatura da Dra. */
.signature {
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-light);
}
.signature strong { display: block; font-family: var(--serif); font-size: var(--fs-h3); font-weight: 400; }
.signature span { font-size: var(--fs-sm); letter-spacing: 0.08em; opacity: .82; }


/* ---------- 18. CONTATO DO RODAPE COM ICONES ---------------------------- */
/* O rotulo textual ("INSTAGRAM", "SITE", "WHATSAPP") foi substituido por
   icone. O nome do canal permanece no DOM em .sr-only, para que leitores de
   tela e crawlers continuem sabendo de que canal se trata. */
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  text-decoration: none;
}
.contact-link svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--gold-light);
}
.contact-link:hover { text-decoration: underline; }

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

/* ---------- 19. PAGINA LEGAL ------------------------------------------- */
.legal { padding-top: clamp(2.5rem, 6vw, 4rem); }
.legal .wrap { max-width: 76ch; }
.legal h1 { margin-bottom: var(--sp-1); }
.legal__meta {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: var(--sp-4);
}
.legal h2 {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  margin: var(--sp-5) 0 var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}
.legal h3 {
  font-family: var(--sans);
  font-size: var(--fs-base);
  font-weight: 400;
  margin: var(--sp-3) 0 var(--sp-1);
  color: var(--olive-ink);
}
.legal p { color: rgba(58, 37, 24, 0.88); }
.legal__nota {
  margin-top: var(--sp-5);
  padding: var(--sp-3);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  font-size: var(--fs-sm);
}
.pagina-legal { padding-bottom: 0; }

/* ---------- 20. AVISO DE CONSENTIMENTO --------------------------------- */
.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  background: var(--paper);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -8px 32px rgba(58, 37, 24, 0.1);
  padding: var(--sp-2) 0 max(var(--sp-2), env(safe-area-inset-bottom));
}
.consent[hidden] { display: none; }

.consent__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-start;
}
@media (min-width: 900px) {
  .consent__inner { flex-direction: row; align-items: center; gap: var(--sp-4); }
}

.consent__text { margin: 0; font-size: 0.8125rem; line-height: 1.6; max-width: 82ch; }
.consent__text a { color: var(--gold-ink); }

.consent__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); flex: none; }
/* Fonte menor, mas o alvo de toque continua em 44px (WCAG). */
.consent__actions .btn {
  font-size: 0.8125rem;
  min-height: 44px;
  padding: 0.6rem 0.6rem 0.6rem 1.25rem;
}
.consent__actions .btn__dot { width: 26px; height: 26px; }

/* Enquanto o aviso estiver na tela, a barra fixa de CTA sai de cena
   para nao empilhar dois elementos fixos no rodape do mobile. */
body[data-consent="pendente"] .cta-bar { display: none; }

/* ---------- 21. MODAL DA POLITICA -------------------------------------- */
.modal {
  border: 0;
  padding: 0;
  width: min(860px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius-lg);
  background: var(--cream);
  color: var(--brown);
  overflow: hidden;
}
.modal::backdrop { background: rgba(58, 37, 24, 0.55); backdrop-filter: blur(3px); }

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: var(--sp-3) clamp(1.25rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.modal__head h2 { font-family: var(--serif); font-size: var(--fs-h3); font-weight: 400; }

.modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brown);
  cursor: pointer;
}
.modal__close svg { width: 15px; height: 15px; }
.modal__close:hover { border-color: var(--brown); }

.modal__body {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  overflow-y: auto;
  max-height: calc(86vh - 88px);
  -webkit-overflow-scrolling: touch;
}
.modal__body .legal .wrap { padding-inline: 0; max-width: none; }
.modal__body .legal { padding-block: 0; }
.modal__body .legal h1 { font-size: var(--fs-h3); font-family: var(--serif); }
.modal__body .section { overflow: visible; }

/* ---------- 22. TIPOGRAFIA DENTRO DO MODAL ------------------------------ */
/* Escala reduzida e mais compacta. Vale so no modal: a pagina
   politica-de-privacidade.html mantem a leitura confortavel. */
.modal__body .legal { font-size: 0.875rem; }
.modal__body .legal p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.65rem;
}
.modal__body .legal .bluf {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: var(--sp-3);
  padding-left: 0.9rem;
}
.modal__body .legal__meta {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
}
.modal__body .legal h2 {
  font-size: 1.0625rem;
  margin: var(--sp-3) 0 0.4rem;
  padding-top: var(--sp-2);
}
.modal__body .legal h3 {
  font-size: 0.875rem;
  margin: var(--sp-2) 0 0.25rem;
}
.modal__body .legal__nota {
  margin-top: var(--sp-3);
  padding: 0.9rem 1rem;
  font-size: 0.8125rem;
}
.modal__body .legal__nota p { margin-bottom: 0; }

/* Listas dentro da pagina/modal de politica */
.legal__lista { margin: 0 0 var(--sp-3) 1.1rem; list-style: disc; }
.legal__lista li { padding-block: 0.3rem; color: rgba(58, 37, 24, 0.88); }
.legal__lista a { word-break: break-word; }
.modal__body .legal__lista { font-size: 0.875rem; margin-bottom: 0.9rem; }
.modal__body .legal__lista li { padding-block: 0.2rem; }
