/* ================================================================
   CAMILLY GENTIL — Fisioterapia Pélvica
   Design System v8 — Clean, Leve & Fluido
   Quiz redesenhado · Page-header refinado · 2025
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ────────────────────────────────────────────────
   TOKENS
──────────────────────────────────────────────── */
:root {
  /* Marca */
  --plum:      #7B4FBF;
  --plum-d:    #5C3494;
  --plum-l:    #9A6FD8;
  --plum-10:   #F4EFFC;
  --plum-20:   #E5D8F7;
  --plum-40:   #C0A0E8;

  --rose:      #C86080;
  --rose-10:   #FDF2F5;
  --rose-20:   #F7D6E0;

  --teal:      #3AABA0;
  --teal-10:   #EEF8F7;
  --teal-20:   #B8E2DE;

  --amber:     #B8822A;
  --amber-10:  #FDF6EC;
  --amber-20:  #ECDBB0;

  --green:     #2E9E6A;
  --green-10:  #EEF8F3;
  --green-20:  #A8DDBF;

  /* Neutros editoriais */
  --cream:  #FAF6F0;
  --ink:    #2A2422;
  --n-0:   #FFFFFF;
  --n-2:   #FAF7F2;
  --n-5:   #F4F0E9;
  --n-10:  #E8E3DA;
  --n-20:  #CFC9BE;
  --n-40:  #8E867D;
  --n-60:  #5A5550;       /* AAA secundário */
  --n-80:  #2F2A26;
  --n-100: var(--ink);

  /* Semântico */
  --bg:         var(--cream);
  --bg-subtle:  #FFFDF9;
  --surface:    #FFFFFF;
  --border:     color-mix(in srgb, #7B4FBF 10%, transparent);
  --border-mid: color-mix(in srgb, #7B4FBF 18%, transparent);
  --text:       var(--ink);
  --text-2:     var(--n-60);
  --text-3:     var(--n-40);

  --ok:       #228850;  --ok-bg:     #EDF7F2;
  --warn:     #916500;  --warn-bg:   #FEF5E2;
  --danger:   #BE2D2D;  --danger-bg: #FDECEA;

  /* Tipografia editorial */
  --serif:   'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --display: 'Fraunces', Georgia, serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Escala monumental */
  --fs-display: clamp(56px, 9vw, 140px);
  --fs-h1:      clamp(40px, 6vw, 96px);
  --fs-h2:      clamp(28px, 4vw, 64px);
  --fs-eyebrow: 11px;

  /* Espaçamento */
  --sp1: 4px;
  --sp2: 8px;
  --sp3: 12px;
  --sp4: 16px;
  --sp5: 20px;
  --sp6: 24px;
  --sp8: 32px;
  --sp10: 40px;
  --sp12: 48px;
  --sp16: 64px;
  --sp20: 80px;
  --sp24: 96px;

  /* Raios */
  --r4:   4px;
  --r8:   8px;
  --r12:  12px;
  --r16:  16px;
  --r20:  20px;
  --r24:  24px;
  --rpill: 999px;

  /* Sombras editoriais (plum-tinted) */
  --sh1: 0 1px 2px rgba(123,79,191,0.04), 0 2px 6px rgba(42,36,34,0.04);
  --sh2: 0 2px 4px rgba(123,79,191,0.05), 0 6px 14px rgba(42,36,34,0.05);
  --sh3: 0 3px 6px rgba(123,79,191,0.06), 0 10px 28px rgba(42,36,34,0.07);
  --sh4: 0 6px 14px rgba(123,79,191,0.10), 0 20px 50px rgba(42,36,34,0.10);
  --sh-plum: 0 8px 24px rgba(123,79,191,0.32);

  /* Transições */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t1: 120ms var(--ease);
  --t2: 220ms var(--ease);
  --t3: 380ms var(--ease);

  /* Layout */
  --nav-h: 66px;
  --max-w:  1160px;
  --max-sm: 760px;
}

/* (Dark mode removido — tema claro único, editorial) */

/* ────────────────────────────────────────────────
   RESET
──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11", "liga", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, .t-h1, h2, .t-h2, .t-display {
  letter-spacing: -0.022em;
  font-feature-settings: "liga", "kern", "ss01";
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
ul, ol { list-style: none; }
strong { font-weight: 600; }

/* ────────────────────────────────────────────────
   TIPOGRAFIA
──────────────────────────────────────────────── */
.serif { font-family: var(--serif); }

h1, .t-h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.01em;
}
h2, .t-h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  line-height: 1.18;
  font-weight: 500;
}
h3, .t-h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  line-height: 1.28;
  font-weight: 500;
}
h4, .t-h4 {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}
h5, .t-h5 {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}
.t-display {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.06;
  font-weight: 500;
}
.t-body-lg { font-size: 1.125rem; line-height: 1.75; }
.t-body    { font-size: 1rem;     line-height: 1.68; }
.t-sm      { font-size: 0.9375rem; line-height: 1.65; }
.t-xs      { font-size: 0.875rem;  line-height: 1.6; }
.t-label   { font-size: 0.75rem;  font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.t-caption { font-size: 0.8125rem; line-height: 1.5; }
.t-muted   { color: var(--text-2); }
.t-italic  { font-style: italic; }
.t-center  { text-align: center; }

/* ────────────────────────────────────────────────
   LAYOUT
──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp6);
}
.container-sm {
  max-width: var(--max-sm);
  margin: 0 auto;
  padding: 0 var(--sp6);
}
.sec       { padding: var(--sp24) 0; }
.sec-md    { padding: var(--sp16) 0; }
.sec-sm    { padding: var(--sp12) 0; }

/* ────────────────────────────────────────────────
   NAVBAR
──────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t2), box-shadow var(--t2), background var(--t2);
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: var(--sh1);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp6);
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp4);
}

/* Marca */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: var(--sp5);
  flex-shrink: 1;
  min-width: 0;
}
.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--r12);
  background: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t1);
}
.nav-logo:hover { background: var(--plum-d); }
.nav-logo svg {
  width: 22px;
  height: 22px;
  fill: white;
}
.nav-name-main {
  display: block;
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
}
.nav-name-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-link {
  position: relative;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--t1);
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 1.5px;
  background: var(--plum);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover  { color: var(--text); }
.nav-link:hover::after  { transform: scaleX(0.4); }
.nav-link.active { color: var(--plum); font-weight: 600; }
.nav-link.active::after { transform: scaleX(1); }

/* Ações */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp2);
  margin-left: auto;
  flex-shrink: 0;
}
.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--rpill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 0.875rem;
  transition: color var(--t1), background var(--t1);
}
.nav-icon-btn:hover { color: var(--text); background: var(--n-5); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp2);
  border-radius: var(--r8);
  transition: background var(--t1);
}
.nav-burger:hover { background: var(--n-5); }
.nav-burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform var(--t2), opacity var(--t2);
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer mobile */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--sp4) var(--sp4) var(--sp5);
  z-index: 899;
  box-shadow: var(--sh4);
}
.nav-drawer.open { display: block; }
.nav-drawer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: var(--sp4);
}
.nav-drawer-link {
  display: flex;
  align-items: center;
  gap: var(--sp3);
  padding: 10px var(--sp3);
  border-radius: var(--r8);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background var(--t1), color var(--t1);
}
.nav-drawer-link:hover { background: var(--n-5); color: var(--text); }
.nav-drawer-link i { width: 16px; text-align: center; color: var(--plum); font-size: 0.8rem; }
.nav-drawer-sep {
  height: 1px;
  background: var(--border);
  margin: var(--sp3) 0;
}
.nav-drawer-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp2);
  padding: 13px;
  background: #22C55E;
  border-radius: var(--r12);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--t1);
}
.nav-drawer-wa:hover { background: #16A34A; }

/* ────────────────────────────────────────────────
   BOTÕES
──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp2);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: var(--rpill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t2);
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
  box-shadow: var(--sh-plum);
}
.btn-primary:hover {
  background: var(--plum-d);
  border-color: var(--plum-d);
  box-shadow: 0 6px 24px rgba(123,79,191,0.38);
  transform: translateY(-1px);
}

.btn-outline {
  background: white;
  color: var(--plum);
  border-color: var(--plum-40);
  box-shadow: 0 2px 8px rgba(123,79,191,0.08);
}
.btn-outline:hover {
  background: var(--plum-10);
  border-color: var(--plum);
  box-shadow: 0 4px 14px rgba(123,79,191,0.16);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-mid);
}
.btn-ghost:hover {
  background: var(--n-5);
  color: var(--text);
}

.btn-wa {
  background: #22C55E;
  color: #fff;
  border-color: #22C55E;
  box-shadow: 0 4px 16px rgba(34,197,94,0.28);
}
.btn-wa:hover {
  background: #16A34A;
  border-color: #16A34A;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(34,197,94,0.38);
}

.btn-sm    { font-size: 0.8125rem; padding: 8px 18px; }
.btn-lg    { font-size: 1.0625rem; padding: 15px 36px; }
.btn-block { width: 100%; display: flex; }
.btn-icon  { padding: 10px; gap: 0; border-radius: 50%; }

/* ────────────────────────────────────────────────
   EYEBROW / LABEL
──────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: var(--sp4);
}
.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ────────────────────────────────────────────────
   TAGS / BADGES
──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp1);
  padding: 3px 10px;
  border-radius: var(--rpill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-plum   { background: var(--plum-10);  color: var(--plum); }
.badge-rose   { background: var(--rose-10);  color: var(--rose); }
.badge-teal   { background: var(--teal-10);  color: var(--teal); }
.badge-amber  { background: var(--amber-10); color: var(--amber); }
.badge-green  { background: var(--green-10); color: var(--green); }
.badge-gray   { background: var(--n-5);      color: var(--text-2); border: 1px solid var(--border); }
.badge-ok     { background: var(--ok-bg);    color: var(--ok); }
.badge-warn   { background: var(--warn-bg);  color: var(--warn); }
.badge-danger { background: var(--danger-bg);color: var(--danger); }

/* ────────────────────────────────────────────────
   CARDS
──────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r20);
  padding: var(--sp8);
}
.card-interactive {
  transition: border-color var(--t2), box-shadow var(--t2), transform var(--t2);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-interactive:hover {
  border-color: var(--plum-40);
  box-shadow: var(--sh3);
  transform: translateY(-3px);
}

/* ────────────────────────────────────────────────
   ICON BOXES
──────────────────────────────────────────────── */
.ib {
  width: 50px;
  height: 50px;
  border-radius: var(--r12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ib-sm {
  width: 38px;
  height: 38px;
  border-radius: var(--r8);
  font-size: 0.95rem;
}
.ib-plum   { background: var(--plum-10);  color: var(--plum); }
.ib-rose   { background: var(--rose-10);  color: var(--rose); }
.ib-teal   { background: var(--teal-10);  color: var(--teal); }
.ib-amber  { background: var(--amber-10); color: var(--amber); }
.ib-green  { background: var(--green-10); color: var(--green); }

/* ────────────────────────────────────────────────
   ALERTAS
──────────────────────────────────────────────── */
.alert {
  display: flex;
  gap: var(--sp4);
  align-items: flex-start;
  padding: var(--sp4) var(--sp5);
  border-radius: var(--r12);
  border: 1px solid;
}
.alert-icon  { font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.alert-title { font-size: 0.875rem; font-weight: 700; margin-bottom: 3px; }
.alert-text  { font-size: 0.8125rem; line-height: 1.6; opacity: 0.88; }
.alert-ok     { background: var(--ok-bg);     border-color: #88C8A4; color: var(--ok); }
.alert-warn   { background: var(--warn-bg);   border-color: #D8B050; color: var(--warn); }
.alert-danger { background: var(--danger-bg); border-color: #E0A0A0; color: var(--danger); }
.alert-info   { background: var(--plum-10);   border-color: var(--plum-40); color: var(--plum); }
.alert-teal   { background: var(--teal-10);   border-color: var(--teal-20); color: var(--teal); }

/* ────────────────────────────────────────────────
   ACCORDION
──────────────────────────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: var(--sp2); }
.acc-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  overflow: hidden;
}
.acc-item.open { border-color: var(--plum-40); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp4);
  padding: var(--sp4) var(--sp5);
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background var(--t1);
}
.acc-trigger:hover { background: var(--n-5); }
.acc-trigger .acc-icon {
  font-size: 0.65rem;
  color: var(--plum);
  flex-shrink: 0;
  transition: transform var(--t2);
}
.acc-item.open .acc-trigger .acc-icon { transform: rotate(180deg); }
.acc-body {
  display: none;
  padding: 0 var(--sp5) var(--sp5);
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.72;
}
.acc-item.open .acc-body { display: block; }

/* ────────────────────────────────────────────────
   TABS
──────────────────────────────────────────────── */
.tab-bar {
  display: flex;
  gap: 2px;
  background: var(--n-5);
  padding: 3px;
  border-radius: var(--r12);
  border: 1px solid var(--border);
  flex-wrap: wrap;
  margin-bottom: var(--sp8);
}
.tab-btn {
  flex: 1;
  min-width: max-content;
  padding: 9px var(--sp5);
  border-radius: var(--r8);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t1);
  text-align: center;
  white-space: nowrap;
}
.tab-btn.active {
  background: var(--surface);
  color: var(--plum);
  font-weight: 600;
  box-shadow: var(--sh1);
}
.tab-pane         { display: none; }
.tab-pane.active  { display: block; }

/* ────────────────────────────────────────────────
   CHECKLIST
──────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: var(--sp3); }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp3);
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
}
.check-item i {
  margin-top: 3px;
  font-size: 0.6rem;
  color: var(--plum);
  flex-shrink: 0;
}

/* ────────────────────────────────────────────────
   STEPS
──────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: var(--sp4);
  padding-bottom: var(--sp6);
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px; top: 40px; bottom: 0;
  width: 1px;
  background: var(--border);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--plum);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.step-body    { padding-top: 6px; }
.step-title   { font-size: 0.9375rem; font-weight: 600; margin-bottom: var(--sp1); }
.step-text    { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }

/* ────────────────────────────────────────────────
   TIMELINE
──────────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; }
.tl-row {
  display: grid;
  grid-template-columns: 110px 24px 1fr;
  gap: 0 var(--sp4);
  padding-bottom: var(--sp6);
}
.tl-row:last-child { padding-bottom: 0; }
.tl-time {
  text-align: right;
  padding-top: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--plum);
  line-height: 1.3;
}
.tl-center { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--plum);
  margin-top: 7px;
  flex-shrink: 0;
}
.tl-line {
  flex: 1;
  width: 1px;
  background: var(--border);
  margin-top: 4px;
}
.tl-row:last-child .tl-line { display: none; }
.tl-content { padding-top: 2px; }
.tl-title   { font-size: 0.9375rem; font-weight: 600; margin-bottom: var(--sp1); }
.tl-desc    { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }

/* ────────────────────────────────────────────────
   QUIZ v8 — Design leve e fluido
──────────────────────────────────────────────── */
@keyframes qz-shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-4px); }
  75%       { transform: translateX(4px); }
}
@keyframes qz-pop-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* Container wrapper */
.quiz-wrap {
  max-width: 640px;
  margin: 0 auto;
}

/* Card do quiz */
.quiz-card, [data-quiz] {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  animation: qz-pop-in 0.4s var(--ease) both;
}
/* Quando quiz está dentro de .quiz-card, sem double-border */
.quiz-card[data-quiz] {
  /* já estilizado acima */
}

/* ── Cabeçalho ── */
.qz-head {
  padding: 20px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.3s ease;
  background: var(--n-2);
  border-bottom: 1px solid var(--border);
}
/* Cabeçalho do resultado (cor sólida) */
.qz-head--result {
  border-color: transparent !important;
}
.qz-head--result .qz-title { color: #fff; }
.qz-head--result .qz-sub   { color: rgba(255,255,255,0.75); }
.qz-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.qz-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.qz-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.qz-sub {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 2px;
  line-height: 1.4;
}
.qz-step-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0,0,0,0.06);
  color: var(--text-2);
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Corpo ── */
.qz-body {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Progresso */
.qz-prog-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.qz-prog-track {
  flex: 1;
  height: 4px;
  background: var(--n-10);
  border-radius: 99px;
  overflow: hidden;
}
.qz-prog-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.4s var(--ease);
}
.qz-prog-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
}

/* Pergunta */
.qz-question {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.48;
  color: var(--text);
  margin-bottom: 16px;
}

/* Opções */
.qz-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qz-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color var(--t1), background var(--t1), transform var(--t1);
  position: relative;
  user-select: none;
}
.qz-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.qz-opt-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t1);
  font-size: 0.55rem;
  color: transparent;
  background: var(--surface);
}
.qz-opt-text {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.4;
  flex: 1;
}
.qz-opt:hover {
  border-color: var(--n-20);
  background: var(--n-2);
  transform: translateX(2px);
}
.qz-opt:hover .qz-opt-text { color: var(--text); }
.qz-opt.chosen {
  border-color: var(--plum-40);
  background: var(--plum-10);
}
.qz-opt.chosen .qz-opt-mark {
  background: var(--plum);
  border-color: var(--plum);
  color: white;
}
.qz-opt.chosen .qz-opt-text { color: var(--plum); font-weight: 500; }

/* ── Rodapé ── */
.qz-foot {
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.qz-counter {
  font-size: 0.78rem;
  color: var(--text-3);
}
.qz-foot-btns {
  display: flex;
  gap: 8px;
  align-items: center;
}
.qz-next-btn {
  border-radius: var(--rpill) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.qz-next-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}

/* ── Resultado ── */
.qz-result {
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.qz-result-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  gap: 0;
}
.qz-result-score {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}
.qz-result-max {
  font-size: 0.72rem;
  opacity: 0.55;
  line-height: 1;
}
.qz-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--rpill);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.qz-result-msg {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.72;
  max-width: 440px;
  margin: 0 0 24px;
}
.qz-result-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsivo ── */
@media (max-width: 520px) {
  .qz-head { padding: 16px 18px 14px; }
  .qz-body { padding: 16px 18px; }
  .qz-foot { padding: 12px 18px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .qz-foot-btns { width: 100%; justify-content: space-between; }
  .qz-question { font-size: 1.05rem; }
  .qz-opt { padding: 10px 12px; }
  .qz-result { padding: 24px 18px; }
}

/* ────────────────────────────────────────────────
   PAGE HEADER — Leve e fluido
──────────────────────────────────────────────── */
.page-header {
  padding: calc(var(--nav-h) + 48px) 0 56px;
  background: #FDFCFB;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Blob decorativo de fundo no page-header */
.page-header::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,79,191,0.07) 0%, transparent 65%);
  top: -200px; right: -80px;
  pointer-events: none;
  filter: blur(40px);
}
.page-header::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,171,160,0.05) 0%, transparent 65%);
  bottom: -100px; left: -60px;
  pointer-events: none;
  filter: blur(40px);
}
.page-header-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp2);
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-bottom: var(--sp5);
}
.breadcrumb a { color: var(--text-3); transition: color var(--t1); }
.breadcrumb a:hover { color: var(--plum); }
.breadcrumb i { font-size: 0.5rem; }
.page-pre {
  display: inline-flex;
  align-items: center;
  gap: var(--sp2);
  padding: 5px 14px;
  border-radius: var(--rpill);
  background: white;
  border: 1.5px solid var(--plum-20);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: var(--sp5);
  box-shadow: 0 2px 8px rgba(123,79,191,0.08);
}
.page-title { margin-bottom: var(--sp4); }
.page-desc {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.74;
  max-width: 600px;
}

/* ────────────────────────────────────────────────
   GRADE PILLS
──────────────────────────────────────────────── */
.grade-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp3);
}
.grade-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  padding: var(--sp4) var(--sp3);
  text-align: center;
}
.grade-pill-num  { font-family: var(--serif); font-size: 2rem; line-height: 1; margin-bottom: var(--sp2); }
.grade-pill-name { font-size: 0.8rem; font-weight: 700; margin-bottom: var(--sp2); }
.grade-pill-desc { font-size: 0.75rem; color: var(--text-2); line-height: 1.5; }

/* ────────────────────────────────────────────────
   BLOCKQUOTE
──────────────────────────────────────────────── */
.blockquote {
  border-left: 3px solid var(--plum-40);
  padding: var(--sp4) var(--sp5);
  background: var(--plum-10);
  border-radius: 0 var(--r12) var(--r12) 0;
}
.blockquote p {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}
.blockquote cite {
  display: block;
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: var(--sp3);
  font-style: normal;
}

/* ────────────────────────────────────────────────
   GRIDS UTILITÁRIOS
──────────────────────────────────────────────── */
.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp5); }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp5); }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp4); }

/* Layout 2 colunas com aside */
.split      { display: grid; grid-template-columns: 1fr 360px; gap: var(--sp16); align-items: start; }
.split-wide { grid-template-columns: 1fr 420px; }
.sticky     { position: sticky; top: calc(var(--nav-h) + 20px); }

/* ────────────────────────────────────────────────
   SIDE PANEL
──────────────────────────────────────────────── */
.side-panel {
  background: var(--plum-10);
  border: 1px solid var(--plum-20);
  border-radius: var(--r20);
  padding: var(--sp6);
}
.side-panel-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: var(--sp4);
  display: flex;
  align-items: center;
  gap: var(--sp2);
}

/* ────────────────────────────────────────────────
   SOURCE TAGS
──────────────────────────────────────────────── */
.source-row { display: flex; flex-wrap: wrap; gap: var(--sp2); margin-top: var(--sp4); }
.source-tag {
  padding: 2px 10px;
  border-radius: var(--rpill);
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--n-5);
  color: var(--text-3);
  border: 1px solid var(--border);
}

/* ────────────────────────────────────────────────
   DIVIDER
──────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); }

/* ────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────── */
.footer {
  background: var(--n-100);
  color: rgba(255,255,255,0.45);
  padding: var(--sp10) 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp4);
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
}
.footer-sub  { font-size: 0.8rem; margin-top: 3px; }
.footer-wa {
  color: #4ADE80;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t1);
}
.footer-wa:hover { color: #86EFAC; }
.footer-copy { font-size: 0.75rem; margin-top: 3px; text-align: right; }

/* ────────────────────────────────────────────────
   FLOATING WHATSAPP
──────────────────────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22C55E;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(34,197,94,0.45);
  transition: all var(--t2);
  text-decoration: none;
}
.wa-fab:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 8px 28px rgba(34,197,94,0.55); }
.wa-fab-ring {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22C55E;
  opacity: 0.22;
  animation: ring-pulse 2.4s ease-out infinite;
}
@keyframes ring-pulse {
  0%   { transform: scale(1); opacity: 0.22; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ────────────────────────────────────────────────
   ANIMAÇÕES
──────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t3), transform var(--t3);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.d1 { transition-delay:  80ms; }
.d2 { transition-delay: 160ms; }
.d3 { transition-delay: 240ms; }
.d4 { transition-delay: 320ms; }
.d5 { transition-delay: 400ms; }
.d6 { transition-delay: 480ms; }

@keyframes dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* ────────────────────────────────────────────────
   RESPONSIVO
──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { gap: 0; }
  .nav-link  { padding: 6px 10px; font-size: 0.84rem; }
  .split, .split-wide { grid-template-columns: 1fr 300px; gap: var(--sp10); }
}

@media (max-width: 900px) {
  .nav-links    { display: none; }
  .nav-burger   { display: flex; }
  .nav-cta-desk { display: none; }
  .split, .split-wide { grid-template-columns: 1fr; }
  .sticky  { position: static; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .grade-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .container { padding: 0 var(--sp4); }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .sec  { padding: var(--sp16) 0; }
  /* quiz responsivo já definido acima em @media (max-width: 520px) */
  .wa-fab { bottom: 18px; right: 18px; }
  .tl-row { grid-template-columns: 78px 20px 1fr; }
  .tl-time { font-size: 0.7rem; }
  .grade-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy  { text-align: center; }
}

/* ════════════════════════════════════════════════════════════════
   ENHANCEMENTS v9 — Acessibilidade · Polimento · Microinterações
   ════════════════════════════════════════════════════════════════ */

/* ── Surface alternativa para alternar seções ── */
:root { --surface-2: #FBF9F7; }
.bg-surface-2 { background: var(--surface-2); }

/* ── Sombras duplas (premium) ── */
:root {
  --sh-card: 0 1px 2px rgba(20,14,40,0.04), 0 6px 18px rgba(20,14,40,0.06);
  --sh-card-hover: 0 2px 4px rgba(20,14,40,0.05), 0 14px 32px rgba(123,79,191,0.12);
}
.card, .area-card, .kid-card, .interv-card, .exercise-card, [data-quiz] {
  box-shadow: var(--sh-card);
}
.area-card:hover, .kid-card:hover, .interv-card:hover, .exercise-card:hover {
  box-shadow: var(--sh-card-hover);
  transform: translateY(-2px);
}

/* ── Scroll margin para âncoras (atrás da nav fixa) ── */
:where(h1, h2, h3, h4, [id]) { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* ── Skip link ── */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--plum);
  color: #fff;
  border-radius: var(--r8);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
  box-shadow: 0 6px 18px rgba(123,79,191,0.4);
}
.skip-link:focus { transform: translateY(0); outline: 2px solid #fff; outline-offset: 2px; }

/* ── Foco visível padronizado ── */
:where(a, button, [role="button"], [role="radio"], input, select, textarea):focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── Reading progress bar ── */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--plum), var(--rose));
  z-index: 9999;
  transition: width 80ms linear;
  pointer-events: none;
}

/* ── Back to top button ── */
#back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 799;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--plum);
  border: 1.5px solid var(--plum-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t2), transform var(--t2), background var(--t1);
  box-shadow: var(--sh-card);
}
#back-to-top[hidden] { display: none; }
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--plum-10); transform: translateY(-2px); }
@media (max-width: 640px) { #back-to-top { bottom: 84px; right: 18px; } }

/* ── WhatsApp FAB tooltip ── */
.wa-fab-tip {
  position: fixed;
  bottom: 32px;
  right: 90px;
  z-index: 800;
  background: var(--n-100);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--r8);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 240ms ease, transform 240ms ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.wa-fab-tip::after {
  content: '';
  position: absolute;
  right: -5px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--n-100);
}
.wa-fab-tip.visible { opacity: 1; transform: translateX(0); pointer-events: auto; }
@media (max-width: 640px) { .wa-fab-tip { bottom: 26px; right: 80px; } }

/* ── Page-header gradient sutil em plum ── */
.page-header {
  background: linear-gradient(180deg, #FAF5FF 0%, #FDFCFB 70%);
}

/* ── Route fade transition ── */
.route-fade-enter {
  animation: route-fade-in 220ms var(--ease) both;
}
@keyframes route-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hamburger touch target ≥44px ── */
.nav-burger {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* ── Mobile hero refinements (≤520px) ── */
@media (max-width: 520px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 48px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .areas-grid { gap: var(--sp4); }
  .area-card { padding: var(--sp5); }
}

/* ── Counter animation ── */
.counter-num { font-variant-numeric: tabular-nums; }

/* ────────────────────────────────────────────────
   CONTENT BLOCKS — Como funciona / FAQ / Depoimentos
──────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp5);
  counter-reset: step;
}
.steps-grid .step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r20);
  padding: var(--sp6);
  position: relative;
  box-shadow: var(--sh-card);
}
.steps-grid .step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--plum-40);
  font-weight: 500;
  opacity: 0.7;
}
.step-card-ico {
  width: 44px; height: 44px;
  border-radius: var(--r12);
  background: var(--plum-10);
  color: var(--plum);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-bottom: var(--sp4);
}
.step-card-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; margin-bottom: var(--sp2); }
.step-card-text  { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }


/* ── Mitos x Verdades ── */
.myth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp5);
}
.myth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r20);
  padding: var(--sp6);
  box-shadow: var(--sh-card);
}
.myth-card-myth {
  display: flex; align-items: flex-start; gap: 10px;
  padding-bottom: var(--sp4);
  margin-bottom: var(--sp4);
  border-bottom: 1px dashed var(--border);
}
.myth-card-truth { display: flex; align-items: flex-start; gap: 10px; }
.myth-tag {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
  margin-top: 2px;
}
.myth-tag-x { background: var(--danger-bg); color: var(--danger); }
.myth-tag-v { background: var(--ok-bg); color: var(--ok); }
.myth-card p { font-size: 0.9rem; line-height: 1.6; color: var(--text); }
.myth-card-truth p { color: var(--text); font-weight: 500; }
@media (max-width: 720px) { .myth-grid { grid-template-columns: 1fr; } }

/* ── Bloco "Quando procurar ajuda" ── */
.help-signs {
  background: linear-gradient(135deg, var(--rose-10) 0%, var(--plum-10) 100%);
  border: 1px solid var(--plum-20);
  border-radius: var(--r24);
  padding: var(--sp8);
}
.help-signs-title {
  display: flex; align-items: center; gap: var(--sp3);
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: var(--sp5);
}
.help-signs-title i {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--rose); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.help-signs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp3);
}
.help-signs-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}
.help-signs-list li i {
  color: var(--plum); margin-top: 5px; font-size: 0.55rem; flex-shrink: 0;
}
@media (max-width: 720px) { .help-signs-list { grid-template-columns: 1fr; } }

/* ── Difficulty/duration badges (exercícios) ── */
.ex-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px;
  border-radius: var(--rpill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ex-badge i { font-size: 0.62rem; }
.ex-badge-easy   { background: var(--ok-bg);   color: var(--ok); }
.ex-badge-mid    { background: var(--warn-bg); color: var(--warn); }
.ex-badge-hard   { background: var(--danger-bg); color: var(--danger); }
.ex-badge-time   { background: var(--plum-10); color: var(--plum); }

/* ── FAQ no design system existente — small tweak ── */
.faq-grid { max-width: 760px; margin: 0 auto; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1 !important; transform: none !important; }
  .hero-blob, .wa-fab-ring { animation: none !important; }
  #reading-progress { display: none; }
}


/* ════════════════════════════════════════════════════════════════
   PREMIUM v10 — Editorial · Mesh · Trust · Pull-quote · Themed pages
   ════════════════════════════════════════════════════════════════ */

/* ── Hero: substitui blobs por mesh único ── */
.hero { background: var(--cream); }
.hero-blob, .hero-dots { display: none !important; }
.hero-mesh {
  position: absolute;
  inset: -10% -5%;
  background:
    radial-gradient(ellipse 60% 50% at 80% 12%, rgba(154,111,216,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 12% 88%, rgba(58,171,160,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 50% 50%, rgba(200,96,128,0.06) 0%, transparent 65%);
  filter: saturate(110%);
  pointer-events: none;
}

/* ── Microcredencial geográfica ── */
.hero-place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--sp4);
  padding: 6px 12px;
  border-radius: var(--rpill);
  background: color-mix(in srgb, var(--plum) 6%, transparent);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
}
.hero-place i { color: var(--plum); font-size: 0.78rem; }

/* ── Trust bar (selos de confiança) ── */
.trust-bar {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp5) 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp4);
}
.trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-2);
  text-transform: uppercase;
}
.trust-item i { color: var(--plum); font-size: 0.78rem; }
.trust-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--plum) 30%, transparent);
}
@media (max-width: 720px) {
  .trust-bar-inner { gap: var(--sp3); }
  .trust-sep { display: none; }
  .trust-item { flex-basis: calc(50% - var(--sp3)); justify-content: center; font-size: 0.72rem; }
}

/* ── Pull quote editorial ── */
.pull-quote-sec {
  padding: var(--sp16) 0;
  background: var(--cream);
}
.pull-quote {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  line-height: 1.4;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  text-align: center;
  padding: var(--sp8) var(--sp4) var(--sp6);
  letter-spacing: -0.01em;
}
.pull-quote-mark {
  display: block;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.6;
  color: color-mix(in srgb, var(--plum) 40%, transparent);
  margin-bottom: var(--sp3);
}
.pull-quote cite {
  display: block;
  margin-top: var(--sp5);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ── Page-header com gradiente temático por subpágina ── */
.page-header[data-theme-color="teal"]   { background: linear-gradient(180deg, color-mix(in srgb, var(--teal)   12%, var(--cream)) 0%, var(--cream) 80%); }
.page-header[data-theme-color="plum"]   { background: linear-gradient(180deg, color-mix(in srgb, var(--plum)   12%, var(--cream)) 0%, var(--cream) 80%); }
.page-header[data-theme-color="rose"]   { background: linear-gradient(180deg, color-mix(in srgb, var(--rose)   14%, var(--cream)) 0%, var(--cream) 80%); }
.page-header[data-theme-color="plum-l"] { background: linear-gradient(180deg, color-mix(in srgb, var(--plum-l) 12%, var(--cream)) 0%, var(--cream) 80%); }
.page-header[data-theme-color="amber"]  { background: linear-gradient(180deg, color-mix(in srgb, var(--amber)  14%, var(--cream)) 0%, var(--cream) 80%); }
.page-header[data-theme-color="green"]  { background: linear-gradient(180deg, color-mix(in srgb, var(--green)  12%, var(--cream)) 0%, var(--cream) 80%); }

/* ── Cards: refinamento (hover sem escala) ── */
.area-card, .kid-card, .interv-card, .exercise-card {
  border-radius: var(--r16);
  border-color: var(--border);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.area-card:hover, .kid-card:hover, .interv-card:hover, .exercise-card:hover {
  border-color: color-mix(in srgb, var(--plum) 28%, transparent);
  transform: translateY(-2px);
}
.area-icon { padding: 0; }
.area-card { padding: var(--sp8) var(--sp6); }

/* ── Mobile pelvic chip strip (substitui hero-card oculto) ── */
@media (max-width: 860px) {
  .hero-chips {
    margin-left: calc(-1 * var(--sp6));
    margin-right: calc(-1 * var(--sp6));
    padding: 0 var(--sp6);
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .hero-chips::-webkit-scrollbar { display: none; }
  .hero-chip { flex-shrink: 0; }
}

/* ── Mobile premium tweaks ── */
@media (max-width: 520px) {
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero-ctas { gap: 8px; }
  .pull-quote { font-size: 1.25rem; }
  .pull-quote-mark { font-size: 3.5rem; }
}

/* ── Performance: remover backdrop em mobile ── */
@media (max-width: 720px) {
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
}

/* ── Cursor pointer garantido ── */
a, button, [role="button"], .area-card, .hero-chip, .hero-nav-item { cursor: pointer; }

/* ── Fade-up easing mais elegante ── */
.fade-up { transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1); }

/* ── Reduced motion: disable mesh ── */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   EDITORIAL LAYER v10 — Bold visual direction
   Monumental type · Asymmetric grids · Dark plum sections
   Editorial nav · Microinteractions · Footer
   ════════════════════════════════════════════════════════════════ */

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Display & monumental type */
.t-mono { font-family: var(--mono); }
.t-eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--plum);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.t-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
}
.t-monumental {
  font-family: var(--display);
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink);
  font-feature-settings: "ss01","liga","kern";
}
.t-monumental em {
  font-style: italic;
  font-weight: 300;
  color: var(--plum);
}
.t-h1-ed {
  font-family: var(--display);
  font-size: var(--fs-h1);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.t-h2-ed {
  font-family: var(--display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* Drop cap for editorial paragraphs */
.t-dropcap::first-letter {
  font-family: var(--display);
  font-weight: 400;
  font-size: 4.6em;
  line-height: 0.85;
  float: left;
  margin: 6px 12px -6px 0;
  color: var(--plum);
}

/* Editorial link with arrow + animated underline */
.ed-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-bottom: 4px;
}
.ed-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 480ms cubic-bezier(0.16,1,0.3,1);
}
.ed-link:hover::after { transform: scaleX(1); }
.ed-link i, .ed-link svg { transition: transform 320ms var(--ease); }
.ed-link:hover i, .ed-link:hover svg { transform: translateX(6px); }

/* Editorial NAV override */
.nav .nav-name-main {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.nav .nav-name-sub {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav .nav-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

/* DARK editorial section (plum profundo) */
.sec-dark {
  background: var(--ink-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.sec-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(201,155,91,0.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 5% 100%, rgba(123,79,191,0.18), transparent 60%);
  pointer-events: none;
}
.sec-dark > * { position: relative; z-index: 1; }
.sec-dark .t-eyebrow,
.sec-dark .t-monumental em { color: var(--ocre); }
.sec-dark .t-monumental { color: var(--cream); }

/* MONUMENTAL HERO (home) */
.hero-ed {
  min-height: 100svh;
  background: var(--cream);
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 64px;
  overflow: hidden;
}
.hero-ed-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: stretch;
  position: relative;
}
.hero-ed-left { display: flex; flex-direction: column; justify-content: center; }
.hero-ed-eyebrow { margin-bottom: 28px; }
.hero-ed-title {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 124px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 32px;
}
.hero-ed-title em { font-style: italic; color: var(--plum); font-weight: 300; }
.hero-ed-title .accent { color: var(--ocre); font-style: italic; font-weight: 300; }
.hero-ed-lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-ed-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-ed {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--plum);
  color: var(--cream);
  padding: 18px 32px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 280ms var(--ease), transform 280ms var(--ease), box-shadow 280ms var(--ease);
}
.btn-ed:hover { background: var(--ink-deep); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(42,26,61,0.25); }
.hero-ed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hero-ed-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-ed-meta i { color: var(--plum); font-size: 0.85em; }

/* Hero right column — image bleed + stamp */
.hero-ed-right {
  position: relative;
  align-self: stretch;
  min-height: 540px;
}
.hero-ed-image {
  position: absolute;
  inset: 0;
  background: var(--cream-2);
  overflow: hidden;
}
.hero-ed-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02);
}
.hero-ed-stamp {
  position: absolute;
  bottom: -28px; left: -28px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--ocre);
  color: var(--ink-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  animation: stamp-rotate 24s linear infinite;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(42,26,61,0.18);
}
.hero-ed-stamp span { padding: 0 14px; }
@keyframes stamp-rotate {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ed-stamp { animation: none; }
}

/* Numbered editorial list (Áreas) */
.ed-list { display: flex; flex-direction: column; }
.ed-list-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: baseline;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: padding 380ms var(--ease), background 280ms var(--ease);
  position: relative;
}
.ed-list-item:last-child { border-bottom: 1px solid var(--border); }
.ed-list-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--plum);
  letter-spacing: 0.1em;
  font-weight: 500;
}
.ed-list-title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  transition: color 280ms var(--ease), transform 380ms var(--ease);
}
.ed-list-arrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 280ms var(--ease), transform 380ms var(--ease);
}
.ed-list-item:hover { padding-left: 16px; }
.ed-list-item:hover .ed-list-title { color: var(--plum); font-style: italic; }
.ed-list-item:hover .ed-list-arrow { color: var(--plum); transform: translateX(8px); }

/* Editorial timeline */
.ed-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.ed-timeline::before {
  content: '';
  position: absolute;
  top: 64px; left: 5%; right: 5%;
  height: 1px;
  background: var(--border-mid);
}
.ed-timeline-step { padding: 0 20px; position: relative; }
.ed-timeline-num {
  font-family: var(--display);
  font-size: 100px;
  font-weight: 300;
  line-height: 1;
  color: var(--plum);
  letter-spacing: -0.05em;
  margin-bottom: 24px;
  background: var(--cream);
  display: inline-block;
  padding-right: 16px;
  position: relative;
  z-index: 1;
}
.ed-timeline-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
}
.ed-timeline-desc { font-size: 14px; line-height: 1.65; color: var(--text-2); }

/* Pull quote viewport */
.pullquote {
  padding: 12vh 0;
  text-align: center;
}
.pullquote-text {
  font-family: var(--display);
  font-size: clamp(28px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 auto 32px;
  font-style: italic;
}
.sec-dark .pullquote-text { color: var(--cream); }
.pullquote-attr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.sec-dark .pullquote-attr { color: rgba(250,246,240,0.55); }

/* Big stats */
.bigstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.bigstat { padding: 40px 24px; border-left: 1px solid color-mix(in srgb, var(--cream) 18%, transparent); }
.sec-dark .bigstat { border-left-color: rgba(250,246,240,0.12); }
.bigstat:first-child { border-left: none; }
.bigstat-num {
  font-family: var(--display);
  font-size: clamp(80px, 12vw, 200px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ocre);
  font-feature-settings: "tnum";
}
.bigstat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.72;
  margin-top: 16px;
  display: block;
  max-width: 180px;
}

/* About split (Conheça a Camilly) */
.ed-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 80vh;
}
.ed-split-img { background: var(--cream-2); position: relative; overflow: hidden; }
.ed-split-img img { width: 100%; height: 100%; object-fit: cover; }
.ed-split-img-quote {
  position: absolute;
  bottom: 40px; right: -60px;
  background: var(--cream);
  padding: 24px 32px;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  max-width: 320px;
  border-left: 2px solid var(--plum);
  z-index: 2;
}
.ed-split-text {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}
.ed-split-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 18px;
}
.ed-split-text .creds {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.ed-split-text .creds-num {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 300;
  color: var(--plum);
  line-height: 1;
  letter-spacing: -0.03em;
}
.ed-split-text .creds-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-top: 8px;
  display: block;
}

/* Editorial section header */
.ed-secheader {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.ed-secheader-title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
  color: inherit;
}
.ed-secheader-title em { font-style: italic; color: var(--plum); }
.sec-dark .ed-secheader-title em { color: var(--ocre); }
.ed-secheader-meta {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 420px;
}
.sec-dark .ed-secheader-meta { color: rgba(250,246,240,0.7); }

/* Editorial accordion (FAQ) */
.ed-faq { border-top: 1px solid var(--border); }
.ed-faq-item { border-bottom: 1px solid var(--border); }
.ed-faq-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.25;
  transition: color 240ms var(--ease);
}
.ed-faq-trigger:hover { color: var(--plum); }
.ed-faq-num { font-family: var(--mono); font-size: 11px; color: var(--plum); letter-spacing: 0.1em; }
.ed-faq-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--plum);
  transition: transform 320ms var(--ease), background 240ms var(--ease), color 240ms var(--ease);
  flex-shrink: 0;
}
.ed-faq-item.open .ed-faq-icon { transform: rotate(45deg); background: var(--plum); color: var(--cream); }
.ed-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 420ms var(--ease);
}
.ed-faq-item.open .ed-faq-content { max-height: 600px; }
.ed-faq-content-inner {
  padding: 0 84px 32px 84px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 720px;
}

/* Editorial footer */
.ed-footer {
  background: var(--ink-deep);
  color: var(--cream);
  padding: 96px 0 32px;
  position: relative;
  overflow: hidden;
}
.ed-footer-name {
  font-family: var(--display);
  font-size: clamp(64px, 14vw, 220px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--cream);
  margin-bottom: 64px;
}
.ed-footer-name em { font-style: italic; color: var(--ocre); font-weight: 300; }
.ed-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
  border-top: 1px solid rgba(250,246,240,0.12);
}
.ed-footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,246,240,0.5);
  margin-bottom: 20px;
  font-weight: 500;
}
.ed-footer-col a {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--cream);
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.ed-footer-col a:hover { opacity: 1; transform: translateX(4px); color: var(--ocre); }
.ed-footer-col p { font-size: 14px; color: rgba(250,246,240,0.7); line-height: 1.7; }
.ed-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(250,246,240,0.12);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,246,240,0.5);
}

/* Trust strip editorial */
.trust-strip {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-strip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.trust-strip-row span { display: inline-flex; align-items: center; gap: 10px; }
.trust-strip-row span i { color: var(--plum); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Route veil */
.route-veil {
  position: fixed;
  inset: 0;
  background: var(--ink-deep);
  z-index: 9999;
  pointer-events: none;
  transform: translateY(100%);
}
.route-veil.in {
  transform: translateY(0);
  transition: transform 360ms cubic-bezier(0.7,0,0.3,1);
}
.route-veil.out {
  transform: translateY(-100%);
  transition: transform 420ms cubic-bezier(0.7,0,0.3,1) 80ms;
}

/* MONUMENTAL subpage cover */
.cover-ed {
  min-height: 92svh;
  background: var(--cream);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 80px) 0 64px;
  position: relative;
  overflow: hidden;
}
.cover-ed[data-tone="teal"]   { background: linear-gradient(180deg, #EEF8F7 0%, var(--cream) 100%); }
.cover-ed[data-tone="rose"]   { background: linear-gradient(180deg, #FDF2F5 0%, var(--cream) 100%); }
.cover-ed[data-tone="plum"]   { background: linear-gradient(180deg, #F4EFFC 0%, var(--cream) 100%); }
.cover-ed[data-tone="amber"]  { background: linear-gradient(180deg, #FDF6EC 0%, var(--cream) 100%); }
.cover-ed[data-tone="green"]  { background: linear-gradient(180deg, #EEF8F3 0%, var(--cream) 100%); }
.cover-ed-grid { display: grid; grid-template-columns: 1fr; gap: 40px; width: 100%; }
.cover-ed-eyebrow { margin-bottom: 32px; }
.cover-ed-title {
  font-family: var(--display);
  font-size: clamp(56px, 14vw, 220px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.cover-ed-title em { font-style: italic; text-transform: none; color: var(--plum); font-weight: 300; }
.cover-ed-lede {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 720px;
}
.cover-ed-meta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.cover-ed-scroll {
  position: absolute;
  bottom: 24px; right: 32px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum);
  display: flex;
  align-items: center;
  gap: 12px;
}
.cover-ed-scroll::after {
  content: '';
  width: 1px; height: 48px;
  background: var(--plum);
  animation: scroll-tick 1.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-tick {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-ed { padding-top: calc(var(--nav-h) + 48px); }
  .hero-ed-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-ed-right { min-height: 420px; }
  .ed-split { grid-template-columns: 1fr; min-height: auto; }
  .ed-split-img { min-height: 360px; }
  .ed-split-text { padding: 56px 28px; }
  .ed-split-img-quote { right: 24px; bottom: 24px; max-width: 260px; font-size: 18px; }
  .ed-secheader { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .ed-timeline { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .ed-timeline::before { display: none; }
  .ed-timeline-num { font-size: 72px; }
  .bigstats { grid-template-columns: 1fr; }
  .bigstat { border-left: none; border-top: 1px solid rgba(250,246,240,0.12); padding: 32px 0; }
  .bigstat:first-child { border-top: none; }
  .ed-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ed-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .ed-list-item { grid-template-columns: 48px 1fr 24px; gap: 16px; padding: 24px 0; }
  .ed-list-arrow span { display: none; }
  .ed-faq-trigger { grid-template-columns: 36px 1fr 32px; gap: 12px; }
  .ed-faq-content-inner { padding: 0 0 28px 48px; }
  .hero-ed-stamp { width: 110px; height: 110px; bottom: -16px; left: -16px; font-size: 9px; }
  .hero-ed-meta { gap: 16px; font-size: 10px; }
  .cover-ed { min-height: 80svh; padding-top: calc(var(--nav-h) + 56px); }
  .trust-strip-row { justify-content: flex-start; }
  body::before { display: none; } /* perf on mobile */
  .nav { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

@media (max-width: 560px) {
  .ed-timeline { grid-template-columns: 1fr; }
  .hero-ed-ctas { gap: 16px; flex-direction: column; align-items: stretch; }
  .btn-ed { justify-content: center; }
  .ed-split-text .creds { grid-template-columns: 1fr; gap: 16px; }
  .ed-footer-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   REFINEMENT LAYER v2 — Mobile fixes + Editorial polish
   ================================================================ */

/* Token additions / corrections (define previously undefined tokens) */
:root {
  --ink-deep: #2A1A3D;       /* plum profundo p/ seções dark */
  --ocre:     #D9AC6E;       /* AAA em fundo dark */
  --terracotta: #D67B5C;
  --touch-min: 44px;
}

/* 1.1 Prevent horizontal scroll globally */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }
.container, .container-sm { max-width: 100%; }
.hero-ed-grid > *, .ed-list-item > *, .ed-footer-grid > * { min-width: 0; }
.hero-ed-title, .ed-secheader-title, .t-monumental, .ed-footer-name { overflow-wrap: break-word; word-break: normal; hyphens: none; }

/* 1.2 Footer legibility hardening */
.ed-footer { background: var(--ink-deep); color: var(--cream); }
.ed-footer .ed-footer-name { color: var(--cream); }
.ed-footer .ed-footer-col a { color: var(--cream); opacity: 0.92; }
.ed-footer .ed-footer-col p,
.ed-footer .ed-footer-bottom { color: rgba(250,246,240,0.78); }
.ed-footer .ed-footer-col h4 { color: rgba(250,246,240,0.62); }

/* 2.6 Dark sections — noise + better radial accent contrast */
.sec-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.06'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.ed-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.06'/></svg>");
  opacity: 0.4;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.ed-footer > * { position: relative; z-index: 1; }

/* 2.5 Pull-quote — decorative quotes */
.pullquote { position: relative; }
.pullquote::before {
  content: '\201C';
  position: absolute;
  font-family: var(--display);
  font-size: clamp(180px, 28vw, 380px);
  line-height: 0.8;
  color: var(--plum);
  opacity: 0.10;
  top: -0.18em;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.pullquote-text, .pullquote-attr { position: relative; z-index: 1; }
.sec-dark .pullquote::before { color: var(--ocre); opacity: 0.14; }

/* 4.1 CTA button arrow micro-animation */
.btn-ed { transition: background 240ms var(--ease), transform 200ms var(--ease), box-shadow 240ms var(--ease); }
.btn-ed i, .btn-ed svg { transition: transform 280ms var(--ease); display: inline-block; }
.btn-ed:hover i.fa-arrow-right, .btn-ed:hover svg { transform: translateX(4px); }
.btn-ed:active { transform: translateY(1px); }

/* 4.4 Custom cursor (desktop, hover-capable) */
.ed-cursor-dot, .ed-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.ed-cursor-dot { width: 6px; height: 6px; background: var(--plum); }
.ed-cursor-ring {
  width: 28px; height: 28px;
  border: 1px solid color-mix(in srgb, var(--plum) 50%, transparent);
  transition: width 220ms var(--ease), height 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}
.ed-cursor-ring.active {
  width: 56px; height: 56px;
  background: color-mix(in srgb, var(--plum) 12%, transparent);
  border-color: color-mix(in srgb, var(--plum) 80%, transparent);
}
@media (hover: none), (pointer: coarse) {
  .ed-cursor-dot, .ed-cursor-ring { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ed-cursor-dot, .ed-cursor-ring { display: none !important; }
}

/* 3.1 Header mobile + touch targets */
.nav-burger {
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-drawer-link, .nav-drawer-wa { min-height: var(--touch-min); }

/* ========== MOBILE REFINEMENTS @ ≤480px ========== */
@media (max-width: 480px) {
  /* 1.3 Hero typography fluid for narrow viewports */
  .hero-ed { padding: calc(var(--nav-h) + 24px) 0 48px; }
  .hero-ed-title {
    font-size: clamp(36px, 11vw, 64px);
    letter-spacing: -0.035em;
    line-height: 1.02;
  }
  .hero-ed-lede { font-size: 15px; line-height: 1.65; }

  /* 2.1 Hero image first on mobile (DOM-independent reorder) */
  .hero-ed-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-ed-right {
    order: -1;
    min-height: 0;
    aspect-ratio: 4 / 5;
    width: 100%;
    position: relative;
  }
  .hero-ed-image { height: 100%; }
  .hero-ed-image img { width: 100%; height: 100%; object-fit: cover; }
  .hero-ed-stamp {
    width: 88px; height: 88px;
    bottom: 12px; right: 12px;
    left: auto; top: auto;
    font-size: 8px;
  }

  /* Header mobile name sizing */
  .nav .nav-name-main { font-size: 1.05rem; }
  .nav .nav-name-sub { font-size: 0.55rem; letter-spacing: 0.1em; }
  .nav-name { display: flex; flex-direction: column; gap: 2px; }

  /* 2.2 Trust strip horizontal scroll */
  .trust-strip { padding: 16px 0; }
  .trust-strip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding-bottom: 4px;
  }
  .trust-strip-row::-webkit-scrollbar { display: none; }
  .trust-strip-row { scrollbar-width: none; }
  .trust-strip-row span {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 4px 18px;
    border-right: 1px solid var(--border);
    white-space: nowrap;
  }
  .trust-strip-row span:last-child { border-right: none; }

  /* 2.3 Áreas — bigger numbers + plum dividers */
  .ed-list-item {
    grid-template-columns: 56px 1fr 16px;
    gap: 14px;
    padding: 22px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--plum) 18%, transparent);
    transition: background 220ms var(--ease), padding 220ms var(--ease);
  }
  .ed-list-num {
    font-size: 44px !important;
    line-height: 1;
  }
  .ed-list-title { font-size: 22px; }
  .ed-list-arrow { font-size: 0; }
  .ed-list-arrow i { font-size: 14px; }
  .ed-list-item:active,
  .ed-list-item:hover {
    background: color-mix(in srgb, var(--plum) 8%, transparent);
    padding-left: 12px;
    padding-right: 12px;
    margin: 0 -12px;
  }

  /* 2.4 Timeline mobile vertical connector */
  .ed-timeline {
    grid-template-columns: 1fr;
    position: relative;
    padding-left: 56px;
    gap: 32px;
  }
  .ed-timeline::before {
    display: block !important;
    content: '';
    position: absolute;
    left: 24px;
    top: 16px;
    bottom: 16px;
    width: 1px;
    background: color-mix(in srgb, var(--plum) 35%, transparent);
  }
  .ed-timeline-step { padding: 0; position: relative; }
  .ed-timeline-num {
    font-size: 56px !important;
    position: absolute;
    left: -56px;
    top: -8px;
    background: var(--cream);
    padding: 0 4px;
  }
  .ed-timeline-title { padding-top: 4px; }

  /* 2.5 Pull-quote sized down */
  .pullquote { padding: 64px 24px; }
  .pullquote-text {
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.18;
  }

  /* 1.2 Footer mobile sizing */
  .ed-footer { padding: 64px 0 24px; }
  .ed-footer-name {
    font-size: clamp(48px, 18vw, 96px);
    margin-bottom: 40px;
  }
  .ed-footer-grid { padding: 40px 0 28px; gap: 28px; }
  .ed-footer-bottom { font-size: 10px; padding-top: 24px; }

  /* Section header eyebrow tighter */
  .ed-secheader-title { font-size: clamp(36px, 9vw, 56px) !important; }
}

/* Reduced motion: kill all scaling for cursor */
@media (prefers-reduced-motion: reduce) {
  .btn-ed:hover i.fa-arrow-right { transform: none; }
}

/* =====================================================================
   v3 — Mobile audit das páginas internas (339–480px)
   Cobertura: cover-ed nas subpáginas, page-header legado, types/paths/
   steps/myths/alerts/check-list/quiz/wa-fab. Sem alterações funcionais.
   ===================================================================== */

/* Garantir que grids e flex containers não estourem */
.types-grid, .paths, .myth-grid, .help-signs, .steps-grid,
.cond-grid, .kids-grid, .age-grid, .container, main, section {
  min-width: 0;
}
.types-grid > *, .paths > *, .myth-grid > *, .steps > *,
.steps-grid > *, .cond-grid > *, .kids-grid > * { min-width: 0; }

@media (max-width: 480px) {
  /* 2.1 Cover monumental nas subpáginas */
  .cover-ed {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 32px);
    padding-bottom: 48px;
  }
  .cover-ed-title {
    font-size: clamp(44px, 13vw, 96px) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.02em !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .cover-ed-eyebrow { font-size: 10px; letter-spacing: 0.18em; }
  .cover-ed-lede { font-size: 16px; line-height: 1.45; }
  .cover-ed-meta {
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .cover-ed-meta > span { white-space: nowrap; }

  /* 2.2 Page-header (após cover) — vira hierarquia secundária */
  .page-header {
    padding: 32px 0 28px !important;
  }
  .page-header-inner { gap: 16px; }
  .page-title {
    font-size: clamp(22px, 6.4vw, 32px) !important;
    line-height: 1.18 !important;
    margin-bottom: var(--sp3) !important;
  }
  .page-title em { font-size: 0.82em; }
  .page-desc { font-size: 14.5px; line-height: 1.6; }
  .page-pre { font-size: 11px; padding: 6px 10px; }
  .breadcrumb {
    flex-wrap: wrap;
    row-gap: 4px;
    font-size: 12px;
  }

  /* CTA duplos full-width */
  .page-header .btn,
  .page-header [class*="btn-"] { width: 100%; justify-content: center; }

  /* 2.3 Componentes legados */
  .types-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .type-card { padding: 20px 18px; }

  .paths { grid-template-columns: 1fr !important; gap: 16px; }
  .path-head { gap: 10px; padding: 16px 18px; }
  .path-body { padding: 16px 18px; }

  .steps-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .steps-grid .step-card { padding: 22px 20px; }

  .myth-grid { grid-template-columns: 1fr !important; gap: 14px; }

  .help-signs { padding: 22px 18px; }
  .help-signs-title { font-size: 14px; }
  .help-signs-list li { font-size: 13.5px; line-height: 1.55; }

  .alert {
    gap: 10px;
    padding: 14px 14px;
    align-items: flex-start;
  }
  .alert > div { min-width: 0; flex: 1; }
  .alert-text { font-size: 13px; }

  .check-list { gap: 10px; }
  .check-item {
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.55;
  }
  .check-item i { margin-top: 5px; flex-shrink: 0; }

  /* 2.4 Quiz embed */
  .quiz-card, [data-quiz] {
    padding: 18px 14px !important;
    border-radius: 16px;
  }

  /* 2.5 Footer científico legado */
  .sources-list, .source-list { font-size: 12.5px; line-height: 1.6; }
  .sources-list li, .source-list li { word-break: break-word; }

  /* 2.6 WhatsApp FAB */
  .wa-fab { bottom: 16px !important; right: 16px !important; }
  .wa-fab-tip { max-width: calc(100vw - 100px); }

  /* 2.7 CTA "Agendar Avaliação" */
  .btn-block, .btn.btn-block {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }

  /* Side panels não devem grudar */
  .side-panel { padding: 22px 18px; }
  .split { gap: 28px; }
  .sticky { position: static; }
}

/* 380px: ajustes extremos */
@media (max-width: 380px) {
  .cover-ed-title { font-size: clamp(38px, 12vw, 72px) !important; }
  .cover-ed { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 36px; }
  .page-title { font-size: clamp(20px, 6vw, 26px) !important; }

  /* Steps em coluna (número acima do conteúdo) */
  .steps .step,
  .steps li {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .age-grid { grid-template-columns: 1fr 1fr !important; gap: 8px; }
  .age-card { padding: 12px 10px; }

  .alert { padding: 12px; font-size: 12.5px; }
  .alert-title { font-size: 13px; }
  .alert-text { font-size: 12.5px; }

  .check-item { font-size: 13.5px; }
  .help-signs { padding: 18px 14px; }

  /* Brand no header ainda mais compacta */
  .nav .nav-name-main { font-size: 0.98rem !important; }
  .nav .nav-name-sub { font-size: 0.5rem !important; }
}


/* ============================================================
   RECALIBRAÇÃO DE ESCALA — v4
   Reduz exageros do design editorial mantendo personalidade.
   Última camada: tem prioridade de cascata sobre tudo acima.
   ============================================================ */

:root {
  --fs-display: clamp(40px, 6vw, 88px);
  --fs-h1:      clamp(36px, 4.5vw, 64px);
  --fs-h2:      clamp(28px, 3.2vw, 44px);
}

/* Hero monumental — mais humano */
.hero-ed {
  min-height: auto;
  padding: clamp(96px, 12vh, 140px) 0 clamp(48px, 6vw, 88px);
}
.hero-ed-grid { gap: clamp(32px, 4vw, 48px); }
.hero-ed-title {
  font-size: clamp(36px, 6vw, 76px);
  margin-bottom: 24px;
  line-height: 1.0;
}
.hero-ed-lede {
  font-size: 16px;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-ed-ctas { gap: 20px; margin-bottom: 36px; }
.hero-ed-meta { gap: 20px; padding-top: 20px; }

/* Imagem hero com cap de altura */
.hero-ed-right { min-height: 460px; }
.hero-ed-image { max-height: 560px; }

/* Selo Crefito menor */
.hero-ed-stamp {
  width: 96px;
  height: 96px;
  bottom: -20px;
  left: -20px;
  font-size: 9px;
}

/* Botões editoriais mais discretos */
.btn-ed {
  padding: 14px 28px;
  font-size: 14px;
  letter-spacing: 0.04em;
  min-height: 48px;
  gap: 10px;
}

/* Tipografia monumental compartilhada */
.t-monumental { font-size: var(--fs-display); }
.t-h1-ed { font-size: var(--fs-h1); }
.t-h2-ed { font-size: var(--fs-h2); }

/* Section header */
.ed-secheader { margin-bottom: 40px; gap: 32px; }
.ed-secheader-title { font-size: clamp(28px, 3.6vw, 52px); }
.ed-secheader-meta { font-size: 14px; max-width: 380px; }

/* Cover monumental subpáginas */
.cover-ed-title {
  font-size: clamp(44px, 9vw, 120px);
  margin-bottom: 24px;
}
.cover-ed-lede { font-size: clamp(17px, 1.6vw, 22px); }
.cover-ed-grid { gap: 28px; }
.cover-ed-eyebrow { margin-bottom: 24px; }

/* Lista numerada (Áreas) */
.ed-list-item {
  padding: 28px 0 !important;
  grid-template-columns: 80px 1fr 56px;
  gap: 28px;
}
.ed-list-num { font-size: 40px !important; }
.ed-list-title { font-size: clamp(20px, 2.2vw, 28px) !important; }

/* Timeline — números menores e proporcionais */
.ed-timeline::before { top: 36px; }
.ed-timeline-num {
  font-size: 56px;
  margin-bottom: 16px;
  padding-right: 12px;
}
.ed-timeline-title { font-size: 18px; }
.ed-timeline-desc { font-size: 13.5px; }

/* Big stats — menos grito */
.bigstat { padding: 32px 20px; }
.bigstat-num { font-size: clamp(48px, 7vw, 96px); }

/* Pull quote */
.pull-quote { font-size: clamp(18px, 2.4vw, 28px); padding: var(--sp6) var(--sp4) var(--sp4); }
.pull-quote-mark { font-size: 3.2rem; margin-bottom: var(--sp2); }
.pullquote { padding: 8vh 0; }
.pullquote-text { font-size: clamp(22px, 3.5vw, 44px); }

/* Footer editorial */
.ed-footer {
  min-height: auto;
  padding: clamp(56px, 8vw, 80px) 0 28px;
}
.ed-footer-name {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 40px;
  line-height: 1.0;
}
.ed-footer-grid { gap: 36px; padding: 36px 0 28px; }

/* Trust strip mais baixo */
.trust-strip { padding: 18px 0; }
.trust-strip-row { font-size: 10px; gap: 18px; }

/* ===== Mobile ≤480px — redução adicional ~15% ===== */
@media (max-width: 480px) {
  .hero-ed { padding: calc(var(--nav-h) + 24px) 0 40px; }
  .hero-ed-title { font-size: clamp(32px, 9vw, 48px); line-height: 1.05; }
  .hero-ed-lede { font-size: 14.5px; margin-bottom: 24px; }
  .hero-ed-stamp { width: 72px; height: 72px; font-size: 8px; bottom: -12px; left: -12px; }
  .btn-ed { padding: 12px 22px; font-size: 13px; }

  .cover-ed-title { font-size: clamp(36px, 11vw, 64px) !important; line-height: 1.0; }
  .cover-ed-lede { font-size: 15px; }

  .ed-secheader-title { font-size: clamp(26px, 8vw, 40px) !important; }

  .ed-list-item { padding: 20px 0 !important; grid-template-columns: 44px 1fr 24px; gap: 14px; }
  .ed-list-num { font-size: 28px !important; }
  .ed-list-title { font-size: 18px !important; }

  .ed-timeline-num { font-size: 40px; }
  .ed-timeline-title { font-size: 16px; }

  .bigstat { padding: 24px 16px; }
  .bigstat-num { font-size: clamp(40px, 14vw, 64px); }
  .bigstat-label { font-size: 10px; }

  .ed-footer { padding: 48px 0 24px; }
  .ed-footer-name { font-size: clamp(32px, 10vw, 48px); margin-bottom: 28px; }
  .ed-footer-grid { gap: 24px; padding: 24px 0 20px; }

  .pullquote { padding: 6vh 0; }
  .pullquote-text { font-size: clamp(20px, 6vw, 28px); }
}


/* ============================================================
   v5 — POLIMENTO FINAL & CONSOLIDAÇÃO
   Última camada: corrige cascata, header, hero, ed-split, CTA,
   ritmo vertical e modifiers .sec-tight / .sec-loose.
   ============================================================ */

/* Tokens complementares */
:root {
  --touch-min: 48px;
}

/* ─── Ritmo vertical: modifiers ─── */
.sec { padding: clamp(64px, 8vw, 112px) 0; }
.sec.sec-tight { padding: clamp(40px, 5vw, 72px) 0; }
.sec.sec-loose { padding: clamp(96px, 12vw, 160px) 0; }

/* ─── HEADER: corrigir nome quebrando em 2 linhas ─── */
.nav .nav-inner { gap: var(--sp6); }
.nav .nav-brand { flex: 0 0 auto; margin-right: var(--sp4); min-width: 0; }
.nav .nav-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.nav .nav-name-main {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1.15;
}
.nav .nav-name-sub {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-3);
}
.nav .nav-link {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .nav .nav-name-main { font-size: 1.05rem; }
  .nav .nav-link { font-size: 10px; letter-spacing: 0.12em; padding: 8px 9px; }
}
@media (max-width: 960px) {
  .nav .nav-name-main { font-size: 1rem; }
}

/* ─── HERO: ritmo e proporção ─── */
.hero-ed {
  min-height: auto;
  padding: calc(var(--nav-h) + clamp(32px, 5vh, 64px)) 0 clamp(40px, 5vw, 64px);
}
.hero-ed-grid { gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero-ed-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-ed-lede {
  max-width: 520px;
  line-height: 1.7;
}

/* Imagem hero — moldura editorial */
.hero-ed-right { min-height: auto; position: relative; }
.hero-ed-image {
  aspect-ratio: 4 / 5;
  max-height: 520px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #7B4FBF 10%, transparent);
  box-shadow: 0 18px 50px -20px rgba(42,36,34,0.22), 0 4px 12px -4px rgba(123,79,191,0.12);
}
.hero-ed-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Selo Crefito reposicionado: canto inferior direito DA imagem */
.hero-ed-stamp {
  position: absolute;
  bottom: 16px; right: 16px;
  left: auto; top: auto;
  width: 88px; height: 88px;
  font-size: 9px;
}

/* ─── TRUST STRIP: legibilidade ─── */
.trust-strip { padding: 22px 0; }
.trust-strip-row {
  font-size: 12px;
  letter-spacing: 0.12em;
  gap: 0;
}
@media (min-width: 769px) {
  .trust-strip-row span {
    flex: 1;
    justify-content: center;
    border-right: 1px solid color-mix(in srgb, #7B4FBF 15%, transparent);
    padding: 4px 16px;
  }
  .trust-strip-row span:last-child { border-right: none; }
}

/* ─── SEÇÃO HEADER: empilhado, mais editorial ─── */
.ed-secheader {
  display: block;
  margin-bottom: 56px;
  max-width: 720px;
}
.ed-secheader-meta { margin-top: 16px; max-width: 560px; }

/* ─── ÁREAS DE ATUAÇÃO: hover refinado ─── */
.ed-list-item {
  padding: 32px 0 !important;
  position: relative;
  transition: padding-left 320ms var(--ease), background 320ms var(--ease);
}
.ed-list-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 8px;
  background: var(--plum);
  transform: translateY(-50%);
  transition: width 320ms var(--ease);
}
.ed-list-item:hover {
  background: var(--cream-2, #FAF7F2);
  padding-left: 24px !important;
}
.ed-list-item:hover::before { width: 8px; }

/* ─── ED-SPLIT: proporção humana ─── */
.ed-split { min-height: 560px; }
.ed-split-text { padding: 64px 56px; }
.ed-split-img-quote {
  right: 24px;
  font-size: 18px;
  max-width: 280px;
}
.ed-split-text .creds-num { font-size: 36px; position: relative; padding-top: 16px; }
.ed-split-text .creds-num::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 1px;
  background: var(--plum);
}

@media (max-width: 768px) {
  .ed-split { min-height: auto; }
  .ed-split-text { padding: 48px 24px; }
  .ed-split-img-quote {
    position: static;
    max-width: 100%;
    margin: -2px 16px 16px;
    font-size: 16px;
    padding: 18px 22px;
  }
}

/* ─── BIG STATS: refinamento numérico ─── */
.bigstat { border-left-width: 1px; border-left-color: rgba(250,246,240,0.10); }
.bigstat-num { font-feature-settings: "tnum" 1, "lnum" 1; }
.bigstat-label {
  font-size: 13.5px;
  max-width: 200px;
  line-height: 1.55;
}

/* ─── TIMELINE: conector horizontal sutil ─── */
@media (min-width: 769px) {
  .ed-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
  }
  .ed-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 8%; right: 8%;
    height: 1px;
    background: color-mix(in srgb, #7B4FBF 15%, transparent);
    z-index: 0;
  }
  .ed-timeline-step { position: relative; z-index: 1; background: var(--bg); padding-top: 0; }
}
.ed-timeline-num { color: var(--plum); }

/* ─── CTA FINAL: contexto editorial ─── */
.ed-cta-final {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.ed-cta-final .t-eyebrow {
  color: var(--ocre);
  justify-content: center;
  display: inline-flex;
  margin-bottom: 28px;
}
.ed-cta-final h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.ed-cta-final h2 em { color: var(--ocre); font-style: italic; }
.ed-cta-final p {
  color: rgba(250,246,240,0.72);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 15.5px;
  line-height: 1.7;
}
.ed-cta-final .btn-ed {
  background: var(--ocre);
  color: var(--ink-deep);
  border-color: var(--ocre);
}

/* ─── FOOTER: hierarquia ─── */
.ed-footer { padding: clamp(48px, 6vw, 72px) 0 28px; }
.ed-footer-name {
  display: inline-block;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ocre);
  margin-bottom: 32px;
}
.ed-footer-bottom {
  flex-wrap: wrap;
  gap: 16px;
}
.ed-footer-back-top {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,246,240,0.6);
  transition: color 240ms var(--ease);
}
.ed-footer-back-top:hover { color: var(--ocre); }

@media (max-width: 600px) {
  .ed-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ============================================================
   v6 — internal pages mobile fix
   ============================================================ */

/* Page header degraded to subtitle on mobile when after cover */
@media (max-width: 768px) {
  .page-header {
    padding: 20px 0 24px !important;
  }
  .page-header .page-pre {
    display: none !important;
  }
  .page-header .page-title {
    font-size: clamp(18px, 4.5vw, 22px) !important;
    font-weight: 500 !important;
    color: var(--text-2) !important;
    letter-spacing: 0.02em !important;
    line-height: 1.4 !important;
  }
  .page-header .breadcrumb {
    font-size: 12px !important;
    flex-wrap: wrap;
    gap: 4px 8px;
  }
  .page-header .breadcrumb svg,
  .page-header .breadcrumb .icon {
    width: 12px;
    height: 12px;
  }
  .page-header-bg,
  .page-header .page-header-bg {
    display: none !important;
  }
}

/* Hide scroll cue on small screens across all pages */
@media (max-width: 640px) {
  .cover-ed-scroll {
    display: none !important;
  }
}

/* Cover monumental — fit on 339px */
@media (max-width: 480px) {
  .cover-ed {
    min-height: auto !important;
    padding: calc(var(--nav-h) + 32px) 0 32px !important;
  }
  .cover-ed-title {
    font-size: clamp(36px, 10vw, 64px) !important;
    word-break: break-word;
    hyphens: auto;
    overflow-wrap: anywhere;
    line-height: 1.05 !important;
  }
  .cover-ed-meta {
    gap: 6px 12px !important;
    font-size: 10px !important;
    flex-wrap: wrap;
  }
  .cover-ed-meta .sep,
  .cover-ed-meta span[aria-hidden] {
    display: none;
  }

  /* WhatsApp FAB — out of content way */
  .wa-fab {
    bottom: 20px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
  }
  .wa-fab-tip {
    max-width: calc(100vw - 90px) !important;
  }

  /* Body padding so FAB never covers footer */
  body {
    padding-bottom: 80px;
  }

  /* Block buttons full width */
  .btn-block {
    width: 100% !important;
    min-height: 48px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Steps stack consistently */
  .steps {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .steps .step {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }
}

/* Nav actions gap on narrow */
@media (max-width: 414px) {
  .nav-actions {
    gap: 8px !important;
  }
}

/* Component hardening — prevent overflow */
.path-card,
.type-card,
.myth-card,
.interv-card,
.benefit-card,
.symp-card,
.cause-card,
.treat-card {
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.paths-grid,
.types-grid,
.myths-grid,
.interv-grid,
.benefits-grid,
.symp-grid,
.causes-grid,
.treat-grid,
.trim-grid,
.caution-grid,
.prep-grid {
  min-width: 0;
}
.alert {
  align-items: flex-start;
  gap: 10px;
}
.alert .icon,
.alert > svg:first-child {
  flex-shrink: 0;
}

/* v6.1 — extend wrapping into card/alert children */
.path-card *,
.type-card *,
.myth-card *,
.interv-card *,
.benefit-card *,
.symp-card *,
.cause-card *,
.treat-card * {
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.alert {
  align-items: flex-start;
}
.alert-icon,
.alert > .icon,
.alert > svg:first-child {
  flex-shrink: 0;
}
.alert > div,
.alert-body {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: break-word;
}
@media (max-width: 480px) {
  .alert { gap: 10px; }
  .myth-card-myth,
  .myth-card-truth { gap: 8px; }
  .myth-card-myth > span:first-child,
  .myth-card-truth > span:first-child { flex-shrink: 0; }
}
