/* Dra. Poliana Bicalho — Caderneta de acompanhamento */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --sheet: #ffffff;
  --paper-2: #f3f7fa;
  --tint: #e8f1f7;
  --band-pink: #fcedf2;
  --band-yellow: #fbf8e6;
  --ink: #252e32;
  --ink-2: #4a565c;
  --navy: #1f5d87;
  --navy-deep: #184a6c;
  --rule: rgba(31, 93, 135, 0.22);
  --rule-strong: rgba(31, 93, 135, 0.55);
  --stamp: #1d7180;
  --stamp-hover: #175e6b;
  --pen: #1f5d87;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 7vw, 6.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  scrollbar-color: var(--rule-strong) var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--pen);
}
::selection { background: #cfe4f0; color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, p, dl, dd, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: 4px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Tipografia de formulário ---------- */
.h2 {
  font-family: var(--display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.1vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}
.panel-title { font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--ink); }
.fields { display: grid; }
.fields > div { padding: 0.55rem 0; border-bottom: 1px solid var(--rule); }
.fields dt { font-size: 0.82rem; font-weight: 500; color: var(--ink-2); }
.fields dd { font-size: 1rem; line-height: 1.4; margin-top: 0.1rem; }
.fields .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0; }
.fields .pair > div { padding: 0.55rem 0; }

.textlink {
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  transition: text-decoration-color 0.2s, color 0.2s;
}
.textlink:hover { color: var(--pen); text-decoration-color: currentColor; }

/* ---------- Carimbo (ação) ---------- */
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--stamp);
  color: #fff;
  font-family: var(--display);
  font-stretch: 106%;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.stamp:hover {
  background: var(--stamp-hover);
  box-shadow: 0 6px 16px -8px rgba(24, 74, 108, 0.45);
  transform: translateY(-1px);
}
.stamp:active { transform: translateY(1px) scale(0.99); }
.stamp svg { flex: none; }
.stamp--marked { background: var(--navy); }
.stamp--marked:hover { background: var(--navy-deep); }
.stamp--sm { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.875rem; }
.stamp--wide { width: 100%; }

/* ---------- Topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--rule-strong);
}
.topbar-inner { display: flex; align-items: center; gap: 2rem; min-height: 4.9rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand img { height: 3.9rem; width: auto; }
.topnav { display: flex; gap: 1.6rem; }
.topnav a { font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--ink); padding-block: 0.4rem; background: linear-gradient(var(--navy), var(--navy)) 0 100% / 0 1.5px no-repeat; transition: background-size 0.3s var(--ease), color 0.2s; }
.topnav a:hover { color: var(--navy); background-size: 100% 1.5px; }

/* ---------- Ficha de abertura ---------- */
.hero { padding-block: clamp(1rem, 2.2vw, 2rem) var(--section); }
.sheet {
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.hero-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-areas: "copy id" "log id";
}
.hero-copy { grid-area: copy; padding: clamp(1.75rem, 3.2vw, 2.75rem) clamp(1.75rem, 4vw, 3.5rem); display: flex; flex-direction: column; gap: 1.3rem; }
.hero h1 {
  font-family: var(--display);
  font-stretch: 104%;
  font-weight: 700;
  font-size: clamp(2.05rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.answer { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: var(--navy); max-width: 30ch; }
.lede { max-width: 38rem; color: var(--ink-2); font-size: 1.1rem; }
.lede strong { color: var(--ink); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

.id-panel {
  grid-area: id;
  border-left: 1px solid var(--rule);
  background: var(--paper-2);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; gap: 1rem;
}
.id-grid { display: grid; grid-template-columns: 1fr; gap: 1.9rem; align-items: start; }
.id-grid .fields { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.id-grid .fields > div:first-child, .id-grid .fields > div:nth-child(2) { padding-top: 0; }
.photo-field { margin: 0; }
.photo-field img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 20%; border-radius: 14px; }
.id-grid .fields > div:first-child { padding-top: 0; }
.fields--row { grid-template-columns: 1fr 1fr; column-gap: 1rem; margin-top: 0.75rem; border-top: 1px solid var(--rule); }

.crisis-log, .plan { grid-area: log; border-top: 1px solid var(--rule); padding: 1.25rem clamp(1.25rem, 3vw, 2.25rem) 1.5rem; }
.log-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.log-title { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.log-title span { font-weight: 400; color: var(--ink-2); }
.sub-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.weeks {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  background: #fff;
}
.weeks li {
  position: relative;
  min-height: 5.4rem;
  padding: 0.4rem 0.45rem 0.5rem;
  border-left: 1px solid var(--rule);
  display: flex; flex-direction: column; align-items: center;
}
.weeks li:first-child { border-left: 0; }
.weeks span {
  align-self: stretch;
  font-weight: 500; font-size: 0.8rem; color: var(--ink-2);
  padding-bottom: 0.3rem; border-bottom: 1px solid var(--rule); text-align: center;
}
.mark { display: block; width: 0.85rem; height: 0.85rem; margin-top: 0.75rem; border-radius: 50%; background: var(--navy); }
.weeks em { font-style: normal; color: var(--ink-2); font-size: 0.78rem; line-height: 1.15; text-align: center; margin-top: 0.35rem; white-space: nowrap; }
.crisis-log .weeks li { border-left-color: transparent; }
.crisis-log figcaption { margin-top: 0.9rem; max-width: 62rem; color: var(--ink-2); font-size: 0.98rem; }


/* ---------- Seções ---------- */
.section { padding-block: var(--section); }
.section--paper2 { background: var(--paper-2); }
.section--tint { background: var(--tint); }
.section--pink { background: var(--band-pink); }
.section--yellow { background: var(--band-yellow); }
.has-mark { position: relative; overflow: hidden; isolation: isolate; }
.bg-mark { position: absolute; z-index: -1; right: -6rem; bottom: -5rem; width: min(34rem, 60vw); height: auto; opacity: 0.07; pointer-events: none; }
.section--navy .bg-mark { opacity: 0.12; right: -4rem; top: -3rem; bottom: auto; }
.ico { width: 1.35rem; height: 1.35rem; flex: none; fill: none; stroke: var(--stamp); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.section--navy { background: var(--navy); color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); display: grid; gap: 0.9rem; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }

/* Sinais */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split-lead { position: sticky; top: 6rem; display: grid; gap: 1.4rem; justify-items: start; }
.split-lead > p { color: var(--ink-2); font-size: 1.1rem; }
.tally {
  width: 100%;
  border-top: 1.5px solid var(--navy);
  border-bottom: 1px solid var(--rule);
  padding: 0.9rem 0;
  display: grid; gap: 0.15rem;
}
.tally-count { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.tally-count .num { font-size: 1.6rem; margin-right: 0.15rem; }
.tally-msg { color: var(--ink-2); font-size: 1rem; line-height: 1.45; min-height: 1.5em; }

.checklist { margin: 0; padding: 0; border: 0; border-top: 1.5px solid var(--navy); min-width: 0; }
.check-row {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.35rem 0.25rem;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  position: relative;
  transition: background-color 0.25s var(--ease);
}
.check-row:hover { background: rgba(31, 93, 135, 0.04); }
.check-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box {
  width: 2.1rem; height: 2.1rem; margin-top: 0.05rem;
  border: 1.5px solid var(--navy); border-radius: 6px; background: #fff;
  display: grid; place-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.box svg { width: 2.4rem; height: 2.4rem; overflow: visible; margin: -0.3rem -0.1rem 0 0; }
.box path {
  fill: none; stroke: var(--pen); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 34; stroke-dashoffset: 34;
  transition: stroke-dashoffset 0.38s var(--ease);
}
.check-row input:checked + .box path { stroke-dashoffset: 0; }
.check-row input:focus-visible + .box { box-shadow: 0 0 0 3px var(--sheet), 0 0 0 5px var(--pen); }
.check-text { display: grid; gap: 0.3rem; color: var(--ink-2); }
.check-text strong { display: flex; align-items: center; gap: 0.55rem;
 
  font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 1.2rem;
  line-height: 1.25; color: var(--ink); letter-spacing: -0.01em;
}
.check-row:has(input:checked) strong { color: var(--navy); }

/* Depoimentos */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.note {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 1.5rem;
  display: grid; gap: 1rem;
}
.note-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  font-size: 0.85rem; color: var(--ink-2);
}
.stars { color: #b7791f; display: inline-flex; }
.stars svg { width: 80px; height: 16px; }
.note blockquote { margin-top: 0; }
.note blockquote p { font-size: 1.02rem; line-height: 1.6; }
.note figcaption { font-weight: 700; font-size: 0.95rem; color: var(--ink); }

/* Método */
.plan {
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: 16px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.weeks--plan li { min-height: 5.5rem; justify-content: flex-start; }
.weeks--plan b { margin-top: 0.75rem; padding: 0.2rem 0.5rem; border-radius: 999px; background: var(--stamp); color: #fff; font-size: 0.72rem; font-weight: 600; }
.plan figcaption { margin-top: 0.9rem; color: var(--ink-2); }
.plan figcaption strong { color: var(--ink); }

.booklet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  align-items: start;
}
.booklet-pages {
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: 16px 0 16px 16px;
  min-height: 25rem;
  padding: clamp(1.75rem, 4vw, 3.25rem);
}
.booklet-pages [role="tabpanel"] { display: grid; gap: 1.1rem; max-width: 44rem; }
.booklet-pages [role="tabpanel"]:focus-visible { outline-offset: 8px; }
.booklet-pages h3 {
  font-family: var(--display); font-stretch: 110%; font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy);
}
.pillar-lead { font-family: var(--display); font-stretch: 100%; font-weight: 600; font-size: 1.25rem; line-height: 1.4; color: var(--ink); }
.booklet-pages p:not(.pillar-lead):not(.pillar-note) { color: var(--ink-2); }
.pillar-note {
  margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--rule);
  font-size: 1.05rem;
}
.pillar-note strong { color: var(--ink); }
.booklet-tabs { grid-column: 2; grid-row: 1; display: grid; gap: 0.35rem; padding-top: 1.5rem; }
.booklet-pages { grid-column: 1; grid-row: 1; }
.booklet-tabs button {
  appearance: none; border: 1px solid var(--rule-strong); border-left: 0;
  border-radius: 0 12px 12px 0;
  background: #fff;
  color: var(--navy);
  text-align: left;
  font: 700 0.98rem/1.25 var(--display); font-stretch: 106%;
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  cursor: pointer;
  display: flex; gap: 0.7rem; align-items: baseline;
  transform: translateX(-1px);
  transition: background-color 0.2s, color 0.2s;
}
.booklet-tabs button .num { font-weight: 800; font-size: 0.85rem; min-width: 0.8rem; }
.booklet-tabs button:hover { background: #fff; }
.booklet-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }

.included {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1.5px solid var(--navy);
  padding-top: 1.25rem;
}
.included-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin-top: 0.75rem; }
.included-list li {
  display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.75rem;
  padding: 0.8rem 0; border-bottom: 1px solid var(--rule); color: var(--ink-2);
}
.included-list strong { color: var(--ink); }
.included-list svg { width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; fill: none; stroke: var(--stamp); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Resultados */
.goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 2.75rem); }
.goals > div { border-top: 1.5px solid var(--navy); padding: 1.1rem 0 2rem; display: grid; gap: 0.5rem; align-content: start; }
.goals dt { display: flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 1.2rem; line-height: 1.25; color: var(--navy); }
.goals dd { color: var(--ink-2); }

.fit {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule-strong); border-radius: 16px; background: var(--sheet);
}
.fit-col { padding: clamp(1.4rem, 3vw, 2.25rem); }
.fit-col + .fit-col { border-left: 1px solid var(--navy); }
.fit-col h3 { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--stamp); margin-bottom: 0.9rem; }
.fit-col--no h3 { color: var(--ink-2); }
.fit-col li { position: relative; padding: 0.5rem 0 0.5rem 1.6rem; border-bottom: 1px solid var(--rule); }
.fit-col li:last-child { border-bottom: 0; }
.fit-col li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.95rem;
  width: 0.7rem; height: 0.38rem; border-left: 2px solid var(--stamp); border-bottom: 2px solid var(--stamp);
  transform: rotate(-45deg);
}
.fit-col--no li { color: var(--ink-2); }
.fit-col--no li::before { width: 0.75rem; height: 0; top: 1.15rem; border-left: 0; border-bottom: 2px solid var(--ink-2); transform: none; }

/* A médica */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-text { display: grid; gap: 1.2rem; justify-items: start; }
.about-text p { color: var(--ink-2); max-width: 38rem; }
.about-text em { font-style: italic; color: var(--ink); }
.about-text .stamp { margin-top: 0.75rem; }
.about-card {
  background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.quote {
  font-family: var(--display); font-stretch: 100%; font-weight: 650;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--navy);
  padding-bottom: 1.25rem; margin-bottom: 0.5rem; border-bottom: 1.5px solid var(--navy);
  text-wrap: balance;
}

/* Dúvidas */
.faq-wrap { max-width: 900px; }
.faq { border-top: 1.5px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) 1.75rem; gap: 1rem; align-items: center;
  padding: 1.25rem 0.25rem;
  font-family: var(--display); font-stretch: 104%; font-weight: 700; font-size: 1.15rem; line-height: 1.35; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  border: 1.5px solid var(--navy);
  background:
    linear-gradient(var(--navy), var(--navy)) center / 0.75rem 1.5px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.5px 0.75rem no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--tint); }
.faq summary:hover { color: var(--navy); }
.faq details p { padding: 0 3rem 1.5rem 0.25rem; color: var(--ink-2); max-width: 46rem; }

/* Agendamento */
.closing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.section--navy .h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.1rem); }
.closing-text { display: grid; gap: 1.2rem; }
.closing-logo { width: min(15rem, 70%); height: auto; margin-bottom: 0.75rem; }
.closing-text p { color: #e2eef5; font-size: 1.15rem; max-width: 34rem; }
.slip {
  background: var(--sheet); color: var(--ink);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.55);
  display: grid; gap: 1.1rem;
}
.slip-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.slip address { font-style: normal; }
.slip .textlink { display: inline-block; margin-top: 0.3rem; font-size: 0.95rem; }

/* Rodapé */
.footer { background: var(--paper-2); padding-block: 2.5rem 3rem; font-size: 0.92rem; color: var(--ink-2); border-top: 1px solid var(--rule-strong); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.footer-brand { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.footer-brand img { height: 3.25rem; width: auto; }
.footer-brand strong { color: var(--ink); }
.footer-legal { margin-top: 1.5rem; max-width: 70rem; font-size: 0.86rem; line-height: 1.6; }

/* Barra de ação no celular */
.dock { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .topnav { display: none; }
  .hero-sheet { grid-template-columns: 1fr; grid-template-areas: "copy" "id" "log"; }
  .id-panel { border-left: 0; border-top: 1px solid var(--navy); }
  .id-grid { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); }
  .id-grid .fields { grid-template-columns: 1fr; }
  .id-grid .fields > div:nth-child(2) { padding-top: 0.55rem; }
  .photo-field img { aspect-ratio: 3 / 4; }
  .split, .about, .closing { grid-template-columns: 1fr; }
  .split-lead { display: contents; }
  .split { gap: 1.4rem; }
  .split-lead .h2, .split-lead > p { order: 0; }
  .checklist { order: 1; margin-top: 0.5rem; }
  .split .tally { order: 2; }
  .split .stamp { order: 3; justify-self: start; }
  .notes { grid-template-columns: 1fr 1fr; }
  .note:nth-child(2) { margin-top: 0; }
  .goals { grid-template-columns: 1fr 1fr; }
  .booklet { grid-template-columns: 1fr; }
  .booklet-pages { grid-column: 1; grid-row: 2; }
  .booklet-tabs { grid-column: 1; grid-row: 1; display: flex; gap: 0.35rem; overflow-x: auto; padding: 0 0 0 0.75rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .booklet-tabs::-webkit-scrollbar { display: none; }
  .booklet-tabs button { flex: none; scroll-snap-align: start; border: 1px solid var(--rule-strong); border-bottom: 0; border-radius: 12px 12px 0 0; transform: translateY(1px); padding: 0.75rem 1rem; }
  .booklet-pages { border-radius: 16px; min-height: 0; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .topbar-inner { min-height: 3.75rem; gap: 1rem; }
  .brand img { height: 2.7rem; }
  .topbar .stamp--sm { display: none; }
  .hero { padding-top: 1rem; }
  .hero-copy { padding: 1.5rem 1.25rem 1.75rem; gap: 1.25rem; }
  .hero h1 { font-size: clamp(1.95rem, 8.4vw, 2.4rem); }
  .lede { font-size: 1.02rem; }
  .actions .stamp { width: 100%; }
  .id-panel { padding: 1.25rem; }
  .id-grid { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.9rem; }
  .id-grid .fields dd { font-size: 0.92rem; }
  .fields--row { grid-template-columns: 1fr; }
  .crisis-log, .plan { padding: 1rem 0.9rem 1.25rem; }
  .weeks { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .weeks li { min-height: 5.4rem; padding-inline: 0.2rem; }
  .weeks li:nth-child(7) { border-left: 0; }
  .weeks li:nth-child(n+7) { border-top: 1px solid var(--rule-strong); }
  .weeks em { font-size: 0.78rem; }
}
@media (max-width: 480px) {
  .weeks em { font-size: 0.72rem; letter-spacing: -0.02em; }
  .weeks--plan b { font-size: 0; width: 0.85rem; height: 0.85rem; padding: 0; }
  .notes { grid-template-columns: 1fr; }
  .goals { grid-template-columns: 1fr; }
  .goals > div { padding-bottom: 1.25rem; }
  .fit { grid-template-columns: 1fr; }
  .fit-col + .fit-col { border-left: 0; border-top: 1px solid var(--navy); }
  .included-list { grid-template-columns: 1fr; }
  .check-row { grid-template-columns: 2.1rem minmax(0, 1fr); gap: 0.9rem; padding-block: 1.1rem; }
  .check-text strong { font-size: 1.1rem; }
  .faq summary { font-size: 1.05rem; }
  .faq details p { padding-right: 0.25rem; }
  .footer { padding-bottom: 6.5rem; }

  .dock {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 40;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--rule-strong);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
  }
  .dock.is-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
