/* ==========================================================================
   site.css · Nutricionista Rafael Ribeiro (Atibaia)
   Gramática: Ficha da consulta. Papel gelo, um único destaque (o navy da
   logo), foto grande, identificação sempre visível. O motor (scrollcraft.css)
   fica intacto: aqui só os tokens claros e a composição desta página.
   ========================================================================== */

/* ---------------------------------------------------------------- fontes -- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens -- */
:root {
  color-scheme: light;

  /* motor: papéis de cor para uma página clara */
  --sc-canvas: #F2F5F8;
  --sc-surface: #FBFBF8;
  --sc-ink: #1B2A42;
  --sc-ink-soft: #4A5A70;
  --sc-accent: #273856;
  --sc-accent-ink: #FFFFFF;
  --sc-hairline: rgba(27, 42, 66, 0.12);
  --sc-hairline-strong: rgba(27, 42, 66, 0.22);

  --sc-font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --sc-font-text: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* sombras leves, tingidas de navy (as do motor são para fundo escuro) */
  --sc-shadow-color: 216 40% 20%;
  --sc-e1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.07),
           0 2px 6px -2px hsl(var(--sc-shadow-color) / 0.10);
  --sc-e2: 0 1px 2px hsl(var(--sc-shadow-color) / 0.05),
           0 12px 28px -12px hsl(var(--sc-shadow-color) / 0.20);
  --sc-e3: 0 2px 6px hsl(var(--sc-shadow-color) / 0.06),
           0 24px 48px -18px hsl(var(--sc-shadow-color) / 0.26),
           0 56px 100px -40px hsl(var(--sc-shadow-color) / 0.22);
  --sc-edge: inset 0 1px 0 rgba(255, 255, 255, 0.8);

  --sc-maxw: 84rem;
  --sc-gutter: clamp(1.25rem, 5vw, 4.5rem);
  --sc-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --sc-r-sm: 8px;
  --sc-r-md: 14px;
  --sc-r-lg: 22px;

  /* desta página */
  --paper: #FBFBF8;
  --paper-warm: #F6F7F4;
  --ice: #EEF3F8;
  --tint: #E4ECF4;
  --tint-2: #D6E2EE;
  --navy: #273856;
  --navy-deep: #1B2A42;
  --blue: #48658F;
  --sky: #8AACC8;
  --ok: #1E9A57;
  --ok-ink: #166A41;
  --ok-bg: #E2F2E9;
  --err: #B42318;
  --bar-h: 72px;
  --metal: linear-gradient(180deg, #F8FAFC 0%, #DDE3EA 36%, #BAC4D0 70%, #A8B3C1 100%);
  --board: linear-gradient(155deg, #34496E 0%, #273856 46%, #1F2E48 100%);
}

/* ------------------------------------------------------------------ base -- */
html { scroll-padding-top: calc(var(--bar-h) + 0.75rem); }
body { font-size: 1rem; }
img { height: auto; }
[hidden] { display: none !important; }

svg.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -6rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

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

/* rótulo de campo: a voz da ficha */
.field__label,
.steps__for-label,
.board__msg-label,
.facts dt,
.place__kind,
.foot__label,
.clip-card__rows dt {
  font-family: var(--sc-font-text);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sc-ink-soft);
}

.h2 {
  margin: 0 0 1rem;
  font-family: var(--sc-font-display);
  font-weight: 720;
  font-size: clamp(1.95rem, 1.35rem + 2.1vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  color: var(--sc-ink);
  text-wrap: balance;
}
.body {
  margin: 0;
  max-width: 56ch;
  color: var(--sc-ink-soft);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  text-wrap: pretty;
}
.lede {
  margin: 0 0 1rem;
  max-width: 42ch;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--sc-ink);
  text-wrap: pretty;
}

/* --------------------------------------------------------------- botões -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--sc-font-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              box-shadow 0.25s ease, transform 0.16s var(--sc-ease-out);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--navy {
  background: var(--navy);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14),
              0 10px 22px -12px rgba(27, 42, 66, 0.7);
}
.btn--line {
  background: rgba(255, 255, 255, 0.6);
  color: var(--navy);
  border-color: rgba(39, 56, 86, 0.32);
}
.btn--sm {
  min-height: 42px;
  padding: 0 1rem;
  gap: 0.5rem;
  font-size: 0.92rem;
}
.btn--sm svg { width: 18px; height: 18px; }
.btn--block { display: flex; width: 100%; }

@media (hover: hover) {
  .btn--navy:hover {
    background: var(--navy-deep);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14),
                0 14px 28px -12px rgba(27, 42, 66, 0.75);
  }
  .btn--line:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.25rem;
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(39, 56, 86, 0.3);
  text-underline-offset: 0.3em;
  transition: text-decoration-color 0.2s ease;
}
.link-arrow svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--sc-ease-out); }
@media (hover: hover) {
  .link-arrow:hover { text-decoration-color: currentColor; }
  .link-arrow:hover svg { transform: translateX(3px); }
}

/* status positivo: o único verde da página */
.ok-dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(30, 154, 87, 0.18);
  vertical-align: middle;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.6rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-family: var(--sc-font-text);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: 0.2em;
}

/* o clipe de metal das pranchetas (hero, como funciona, fechamento) */
.clip-card__clip,
.board__clip,
.sheet__clip {
  position: absolute;
  left: 50%;
  z-index: 3;
  translate: -50% 0;
  background: var(--metal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95),
              inset 0 -1px 0 rgba(27, 42, 66, 0.2),
              0 3px 6px rgba(16, 24, 40, 0.22),
              0 10px 16px -8px rgba(16, 24, 40, 0.3);
}
.clip-card__clip span,
.board__clip span,
.sheet__clip span {
  position: absolute;
  left: 50%;
  top: 24%;
  translate: -50% 0;
  width: 40%;
  height: 28%;
  border-radius: 999px;
  background: linear-gradient(180deg, #7B8899, #9DA9B7);
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.45), 0 1px 0 rgba(255, 255, 255, 0.75);
}
.board__clip,
.sheet__clip {
  top: -17px;
  width: 9rem;
  height: 44px;
  border-radius: 12px 12px 18px 18px;
}

/* ------------------------------------------------------------------ barra -- */
.bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 245, 248, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.bar.is-scrolled {
  background: rgba(242, 245, 248, 0.92);
  border-bottom-color: var(--sc-hairline);
  box-shadow: 0 10px 30px -24px rgba(27, 42, 66, 0.45);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bar, .bar.is-scrolled { background: #F2F5F8; }
}
.bar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: var(--sc-maxw);
  height: var(--bar-h);
  margin-inline: auto;
  padding-inline: var(--sc-gutter);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  margin-right: auto;
  color: var(--sc-ink);
  text-decoration: none;
  border-radius: 12px;
}
.brand__logo {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 2px 8px -2px rgba(27, 42, 66, 0.25);
}
.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.brand__name {
  font-family: var(--sc-font-display);
  font-size: 1.06rem;
  font-weight: 720;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.brand__id {
  overflow: hidden;
  color: var(--sc-ink-soft);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav__link {
  position: relative;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  color: var(--sc-ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--sc-ease-out);
}
.nav__link.is-current { color: var(--navy); }
.nav__link.is-current::after { transform: scaleX(1); }
@media (hover: hover) {
  .nav__link:hover { background: rgba(39, 56, 86, 0.06); }
}
.nav__cta { margin-left: 0.75rem; }

.bar__wa,
.bar__menu { display: none; }

/* ------------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  overflow-x: clip;
  padding: clamp(1.25rem, 3.5vh, 2.5rem) 0 clamp(3rem, 7vh, 4.5rem);
  background:
    radial-gradient(60rem 40rem at 74% 34%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%),
    var(--sc-canvas);
}
.hero__inner {
  display: grid;
  gap: 2rem;
  width: 100%;
  max-width: var(--sc-maxw);
  margin-inline: auto;
  padding-inline: var(--sc-gutter);
}
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 38rem;
}
.hero__id {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.9rem 0.4rem 0.65rem;
  border: 1px solid var(--sc-hairline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--sc-e1);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}
.hero__id svg { width: 17px; height: 17px; flex: none; color: var(--blue); }
.hero__title {
  margin: 0;
  font-family: var(--sc-font-display);
  font-weight: 760;
  font-size: clamp(2.55rem, 1.15rem + 4.5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
  color: var(--sc-ink);
}
.hero__title span { display: block; }
.hero__title span:last-child { color: var(--blue); }
.hero__lede {
  margin: 1.25rem 0 0;
  max-width: 34ch;
  color: var(--sc-ink-soft);
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
}

/* a cena: quatro planos, posições em % da cena e medidas internas em cqw */
.hero__scene {
  position: relative;
  container: scene / inline-size;
  width: min(100%, 36rem);
  aspect-ratio: 0.92;
  margin-inline: auto;
  isolation: isolate;
}
.plane { position: absolute; }
.depth { position: relative; }

.plane--panel { left: 8%; right: 2%; top: 22%; bottom: 2%; }
.plane--panel > .depth { position: absolute; inset: 0; }
.panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 28px;
  border-radius: clamp(18px, 4.6cqw, 32px);
  background: linear-gradient(165deg, #EAF0F7 0%, #DCE6F0 52%, #D0DCE8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95),
              inset 0 0 0 1px rgba(255, 255, 255, 0.45),
              0 10px 22px -14px rgba(27, 42, 66, 0.3),
              0 40px 70px -40px rgba(27, 42, 66, 0.45);
}
.panel__light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(75% 55% at 16% 6%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 68%),
    radial-gradient(60% 40% at 90% 100%, rgba(138, 172, 200, 0.35), rgba(138, 172, 200, 0) 70%);
}
/* o pino da logo em escala de parede, emoldurando a cabeça */
.panel__pin {
  position: absolute;
  left: 9%;
  top: 2.5%;
  width: 62%;
  height: auto;
  overflow: visible;
}
.panel__pin path { fill: rgba(72, 101, 143, 0.13); }
.panel__pin circle { fill: rgba(255, 255, 255, 0.7); }
.panel__rules {
  position: absolute;
  inset: 12px;
  inset: clamp(8px, 2.4cqw, 16px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  border-radius: clamp(12px, 3cqw, 20px);
  box-shadow: inset 0 1px 0 rgba(39, 56, 86, 0.05);
}
/* a janela recorta embaixo e dos lados; em cima deixa a cabeça passar */
.panel__window {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: -40%;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  border-radius: 0 0 clamp(18px, 4.6cqw, 32px) clamp(18px, 4.6cqw, 32px);
}
.subject {
  position: absolute;
  left: -3%;
  width: 106%;
  top: 9%;
}
.subject__img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(27, 42, 66, 0.2)) drop-shadow(0 2px 4px rgba(27, 42, 66, 0.12));
}

/* perto: a prancheta com a identificação */
.plane--ficha { left: -3%; bottom: 6%; width: 48%; }
.clip-card {
  position: relative;
  rotate: -2.5deg;
  padding: 2.1cqw 2.1cqw 2.5cqw;
  border-radius: 3cqw;
  background: var(--board);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14),
              0 2px 4px rgba(16, 24, 40, 0.18),
              0 26px 44px -20px rgba(16, 24, 40, 0.5);
  font-size: 15px;
  font-size: 2.45cqw;
}
.clip-card__clip {
  top: -2.9cqw;
  width: 30%;
  height: 6.6cqw;
  border-radius: 1.4cqw 1.4cqw 2.1cqw 2.1cqw;
}
.clip-card__paper {
  padding: 2.4em 1.45em 1.2em;
  border-radius: 1.8cqw;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(27, 42, 66, 0.05), 0 1px 2px rgba(10, 20, 40, 0.2);
}
.clip-card__head {
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin: 0 0 0.75em;
  padding-bottom: 0.6em;
  border-bottom: 3px double rgba(39, 56, 86, 0.2);
  color: var(--sc-ink);
  font-family: var(--sc-font-display);
  font-size: 1.12em;
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.clip-card__head img { width: 1.9em; height: 1.9em; flex: none; }
.clip-card__rows { display: grid; margin: 0; }
.clip-card__rows > div {
  display: grid;
  gap: 0.1em;
  padding: 0.5em 0;
  border-bottom: 1px dashed rgba(27, 42, 66, 0.16);
}
.clip-card__rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.clip-card__rows dt { font-size: 0.66em; letter-spacing: 0.09em; }
.clip-card__rows dd {
  margin: 0;
  color: var(--sc-ink);
  font-size: 1em;
  font-weight: 600;
  line-height: 1.3;
}
.clip-card__rows dd .ok-dot { width: 0.5em; height: 0.5em; margin: 0 0.3em 0 0.15em; box-shadow: 0 0 0 0.2em rgba(30, 154, 87, 0.18); }

/* frente: o selo da logo */
.plane--seal { right: -2%; top: 14%; width: 21%; }
.seal {
  width: 100%;
  height: auto;
  rotate: 8deg;
  filter: drop-shadow(0 12px 16px rgba(27, 42, 66, 0.24)) drop-shadow(0 2px 3px rgba(27, 42, 66, 0.18));
}

@container scene (max-width: 499px) {
  .plane--panel { left: 6%; right: 4%; }
  .plane--ficha { left: 0; bottom: 5%; width: 62%; }
  .clip-card { font-size: 3.15cqw; }
  .plane--seal { right: 0; top: 12%; width: 23%; }
}

/* ------------------------------------------------------------------ seções -- */
.areas,
.como,
.sobre,
.onde,
.faq,
.close { padding-block: var(--sc-section); }

/* ------------------------------------------------------------------ áreas -- */
.areas { background: var(--sc-canvas); }
.areas__grid {
  display: grid;
  gap: 2rem;
}
.areas__head .h2 { max-width: 14ch; }
.areas__list {
  container: arealist / inline-size;
  overflow: hidden;
  border: 1px solid var(--sc-hairline);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--sc-e2);
}
.area {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.4rem 1.25rem;
  /* inclui opacity/transform: a entrada do motor também é uma transição aqui */
  transition: opacity 620ms var(--sc-ease-out), transform 620ms var(--sc-ease-out),
              background-color 0.25s ease;
}
.area + .area { border-top: 1px solid var(--sc-hairline); }
.area::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--navy);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.area.is-on { background: linear-gradient(90deg, #E7EEF6 0%, rgba(231, 238, 246, 0.35) 100%); }
.area.is-on::before { opacity: 1; }

.area__pick {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.area__pick input {
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 28px;
  height: 28px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.tick {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 0.1rem;
  border: 1.5px solid rgba(39, 56, 86, 0.38);
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tick svg {
  width: 16px;
  height: 16px;
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.25s var(--sc-ease-out);
}
.area__pick input:checked + .tick { background: var(--navy); border-color: var(--navy); }
.area__pick input:checked + .tick svg { opacity: 1; transform: none; }
.area__pick input:focus-visible + .tick { outline: 2px solid var(--navy); outline-offset: 3px; }
@media (hover: hover) {
  .area__pick:hover .tick { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(39, 56, 86, 0.08); }
  .area:not(.is-on):hover { background: rgba(228, 236, 244, 0.45); }
}
.area__text { display: block; min-width: 0; }
.area__title {
  display: block;
  color: var(--sc-ink);
  font-family: var(--sc-font-display);
  font-size: clamp(1.12rem, 1rem + 0.5vw, 1.38rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.018em;
}
.area__desc {
  display: block;
  max-width: 54ch;
  margin-top: 0.35rem;
  color: var(--sc-ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}
.area__cta { justify-self: start; margin-left: calc(28px + 1rem); }
.area.is-on .area__cta { background: var(--navy); border-color: var(--navy); color: #fff; }

/* o campo do modo: outro tipo de linha na mesma ficha */
.area--mode { background: var(--ice); }
.area + .area--mode { border-top: 1px dashed rgba(39, 56, 86, 0.28); }
.area--mode .tick { border-radius: 8px; }
.area--mode.is-on { background: linear-gradient(90deg, #E2EBF4 0%, #EEF3F8 100%); }

@container arealist (min-width: 640px) {
  .area {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.6rem 1.75rem;
  }
  .area__cta { margin-left: 0; justify-self: end; }
  .area--mode { padding-block: 1.75rem; }
}

/* --------------------------------------------------------- como funciona -- */
.como {
  background:
    radial-gradient(50rem 30rem at 12% 0%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #E6EDF5 0%, #E9EFF5 100%);
  border-block: 1px solid rgba(27, 42, 66, 0.06);
}
.como__head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.como__stage {
  display: grid;
  gap: 3rem 2.5rem;
  align-items: start;
}

/* a prancheta do visitante */
.board {
  position: relative;
  margin-top: 17px;
  padding: 12px;
  border-radius: 24px;
  background: var(--board);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--sc-e3);
}
.board__paper {
  padding: 2.6rem clamp(1.1rem, 3vw, 1.9rem) clamp(1.25rem, 3vw, 1.9rem);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(27, 42, 66, 0.04), 0 1px 2px rgba(10, 20, 40, 0.25);
}
.board__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1.1rem;
  border-bottom: 3px double rgba(39, 56, 86, 0.18);
}
.board__top img { width: 46px; height: 46px; flex: none; }
.board__top p { display: flex; flex-direction: column; margin: 0; line-height: 1.3; min-width: 0; }
.board__top strong {
  color: var(--sc-ink);
  font-family: var(--sc-font-display);
  font-size: 1.15rem;
  font-weight: 720;
  letter-spacing: -0.015em;
}
.board__top span { color: var(--sc-ink-soft); font-size: 0.85rem; }

.field {
  min-width: 0;
  margin: 1.4rem 0 0;
  padding: 0;
  border: 0;
}
.field__label {
  float: left;
  width: 100%;
  margin: 0 0 0.7rem;
  padding: 0;
}
.field__label span { font-weight: 500; letter-spacing: 0; text-transform: none; }
.field__label + * { clear: both; }

/* chips: campos marcáveis da ficha */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  -webkit-tap-highlight-color: transparent;
}
.chip input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  border: 1.5px solid rgba(39, 56, 86, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--sc-ink);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.25;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.chip > span::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(39, 56, 86, 0.38);
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.chip input[type="checkbox"] + span::before { border-radius: 5px; }
.chip input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 8px 16px -10px rgba(27, 42, 66, 0.8);
}
.chip input[type="radio"]:checked + span::before {
  border-color: #fff;
  background: radial-gradient(circle, var(--navy) 0 3.5px, #fff 4px);
}
.chip input[type="checkbox"]:checked + span::before {
  border-color: #fff;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.4 2.9 2.9 6-6.2' fill='none' stroke='%23273856' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.chip input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 3px; }
@media (hover: hover) {
  .chip:hover input:not(:checked) + span { border-color: rgba(39, 56, 86, 0.5); background: #F6F9FC; }
}

/* rotina: opcional, então mais suave quando marcada */
.chips--soft .chip > span { border-style: dashed; background: transparent; }
.chips--soft .chip input:checked + span {
  border-style: solid;
  border-color: #9FB6CF;
  background: #DDE7F2;
  color: var(--navy-deep);
  box-shadow: none;
}
.chips--soft .chip input[type="checkbox"]:checked + span::before {
  border-color: var(--navy);
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.4 2.9 2.9 6-6.2' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.board__send {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(39, 56, 86, 0.24);
}
.board__msg {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  border-radius: 14px;
  background: var(--ice);
  box-shadow: inset 0 0 0 1px rgba(39, 56, 86, 0.07);
}
.board__msg-label { display: block; margin-bottom: 0.35rem; }
.board__msg-text {
  display: block;
  color: var(--sc-ink);
  font-size: 0.94rem;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
  border-radius: 6px;
}
.board__send .btn { justify-self: start; }

/* as quatro etapas */
.steps {
  container: steps / inline-size;
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
  border: 1px solid var(--sc-hairline);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--sc-e2);
}
.steps__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.steps__for {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex: 1 1 14rem;
  min-width: 0;
  margin: 0;
}
.steps__for [data-for-text] {
  min-width: 0;
  padding-bottom: 0.15rem;
  border-bottom: 1.5px dotted rgba(39, 56, 86, 0.4);
  color: var(--navy);
  font-family: var(--sc-font-display);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  border-radius: 4px 4px 0 0;
}
.steps__ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0 0.9rem 0 0.7rem;
  border: 1px solid var(--sc-hairline-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.steps__ctrl svg { width: 16px; height: 16px; flex: none; }
.steps__ctrl[aria-pressed="false"] .i-play,
.steps__ctrl[aria-pressed="true"] .i-pause { display: none; }
@media (hover: hover) {
  .steps__ctrl:hover { background: var(--ice); border-color: rgba(39, 56, 86, 0.4); }
}

.steps__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.steps__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  min-width: 0;
  min-height: 5.4rem;
  padding: 0.85rem 0.85rem 1.35rem;
  border: 0;
  border-radius: 14px;
  background: #EEF2F6;
  color: var(--sc-ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.steps__tab svg { width: 22px; height: 22px; flex: none; }
.steps__tab::after,
.steps__fill {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.65rem;
  height: 3px;
  border-radius: 3px;
}
.steps__tab::after { background: rgba(39, 56, 86, 0.14); }
.steps__fill {
  z-index: 1;
  display: block;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.steps__tab.is-past { background: var(--tint); color: var(--navy); }
.steps__tab.is-past .steps__fill { transform: scaleX(1); }
.steps__tab[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 22px -14px rgba(27, 42, 66, 0.85);
}
.steps__tab[aria-selected="true"]::after { background: rgba(255, 255, 255, 0.22); }
.steps__tab[aria-selected="true"] .steps__fill { background: #fff; transform: scaleX(1); }
@media (hover: hover) {
  .steps__tab:not([aria-selected="true"]):hover { background: var(--tint); color: var(--navy); }
}

.steps__panels { min-height: 12.5rem; }
.steps__panel.is-active { display: grid; }
.steps__panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 1.1rem;
}
.steps__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--tint);
  box-shadow: var(--sc-edge);
  color: var(--navy);
}
.steps__icon svg { width: 26px; height: 26px; }
.steps__title {
  margin: 0.1rem 0 0.4rem;
  color: var(--sc-ink);
  font-family: var(--sc-font-display);
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem);
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.steps__text {
  margin: 0;
  max-width: 52ch;
  color: var(--sc-ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
  border-radius: 6px;
  text-wrap: pretty;
}

@container steps (max-width: 430px) {
  .steps__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__tab {
    flex-direction: row;
    align-items: center;
    min-height: 3.4rem;
    padding: 0.7rem 0.8rem 1.15rem;
  }
  .steps__tab::after, .steps__fill { left: 0.8rem; right: 0.8rem; bottom: 0.5rem; }
  .steps__panels { min-height: 15rem; }
  .steps__panel { grid-template-columns: minmax(0, 1fr); }
  .steps__icon { grid-row: auto; width: 44px; height: 44px; margin-bottom: 0.75rem; }
}

/* -------------------------------------------------------------------- sobre -- */
.sobre { background: var(--sc-canvas); }
.sobre__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.sobre__photos {
  position: relative;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 1 / 0.98;
}
.photo {
  position: absolute;
  margin: 0;
  padding: 8px;
  border-radius: 20px;
  background: #fff;
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
}
/* a do consultório abre num recorte: sem sombra externa (o clip-path cortaria) */
.photo--wide {
  left: 0;
  top: 3%;
  width: 79%;
  aspect-ratio: 560 / 440;
  box-shadow: inset 0 0 0 1px rgba(27, 42, 66, 0.1);
}
.photo--wide img { object-position: 50% 30%; }
.photo--tall {
  right: 1%;
  bottom: 0;
  width: 40%;
  aspect-ratio: 338 / 560;
  rotate: 2deg;
  box-shadow: var(--sc-e3);
}
.photo--tall img { object-position: 50% 20%; }
/* um clipe prende o retrato à ficha */
.photo--tall::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  z-index: 2;
  width: 32%;
  height: 26px;
  translate: -50% 0;
  border-radius: 8px 8px 11px 11px;
  background: var(--metal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 3px 6px rgba(16, 24, 40, 0.25);
}

.sobre__text { min-width: 0; max-width: 36rem; }
.facts {
  margin: 1.75rem 0 0;
  border-top: 1px solid var(--sc-hairline);
}
.facts__row {
  display: grid;
  gap: 0.3rem 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--sc-hairline);
}
.facts dt { padding-top: 0.2rem; }
.facts dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  margin: 0;
  color: var(--sc-ink);
  font-weight: 500;
  line-height: 1.5;
}
.facts__seal { width: 22px; height: 22px; flex: none; margin-right: -0.4rem; color: var(--blue); }
.facts__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(39, 56, 86, 0.35);
  text-underline-offset: 0.25em;
}
.facts__link svg { width: 15px; height: 15px; flex: none; }
@media (hover: hover) { .facts__link:hover { text-decoration-color: currentColor; } }

/* -------------------------------------------------------------------- onde -- */
.onde { background: var(--paper-warm); border-top: 1px solid rgba(27, 42, 66, 0.06); }
.onde__title { margin-bottom: clamp(2rem, 4vw, 3rem); }
.onde__grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
.place {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border: 1px solid var(--sc-hairline);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--sc-e2);
}
.place__main { min-width: 0; }
.place__kind {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  color: var(--blue);
}
.place__kind svg { width: 17px; height: 17px; flex: none; }
.place__kind--ok { color: var(--ok-ink); }
.place__name {
  margin: 0 0 0.6rem;
  color: var(--sc-ink);
  font-family: var(--sc-font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.place__addr { margin: 0 0 0.75rem; color: var(--sc-ink); font-size: 1.05rem; line-height: 1.55; }
.place__ref { margin: 0; max-width: 40ch; color: var(--sc-ink-soft); font-size: 0.96rem; }
.place__hours {
  padding-top: 1.5rem;
  border-top: 1px dashed var(--sc-hairline-strong);
}
.week {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.week li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dotted var(--sc-hairline-strong);
  font-size: 0.98rem;
}
.week span { color: var(--sc-ink-soft); }
.week strong { color: var(--sc-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.week__off strong { color: var(--sc-ink-soft); font-weight: 500; }
.place__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sc-hairline);
}
.onde__side { display: grid; gap: 1.25rem; align-content: start; }
.spot {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  padding: clamp(1.3rem, 2.6vw, 1.75rem);
  border: 1px solid var(--sc-hairline);
  border-radius: 22px;
  background: #fff;
}
.spot .place__kind { margin: 0; }
.spot--online { background: var(--ice); border-color: rgba(72, 101, 143, 0.18); }
.spot__text { margin: 0; color: var(--sc-ink-soft); font-size: 0.98rem; }

/* --------------------------------------------------------------------- faq -- */
.faq { background: var(--sc-canvas); }
.faq__grid { display: grid; gap: 2rem; }
.faq__head { min-width: 0; }
.faq__head .h2 { max-width: 12ch; }
.faq__list { border-top: 1px solid var(--sc-hairline); }
.qa { border-bottom: 1px solid var(--sc-hairline); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.15rem;
  color: var(--sc-ink);
  font-family: var(--sc-font-display);
  font-size: clamp(1.03rem, 0.98rem + 0.25vw, 1.16rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.012em;
  list-style: none;
  cursor: pointer;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--sc-hairline-strong);
  border-radius: 50%;
  background:
    linear-gradient(var(--navy), var(--navy)) center / 12px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 2px 12px no-repeat,
    #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.qa[open] summary::after {
  border-color: var(--navy);
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    var(--navy);
}
@media (hover: hover) { .qa summary:hover { color: var(--navy); } }
.qa p {
  margin: 0 0 1.3rem;
  max-width: 62ch;
  padding-right: 3rem;
  color: var(--sc-ink-soft);
}

/* -------------------------------------------- fechamento: a prancheta azul -- */
.close {
  position: relative;
  overflow-x: clip;
  color: #fff;
  background:
    radial-gradient(60rem 36rem at 88% -10%, rgba(72, 101, 143, 0.55), rgba(72, 101, 143, 0) 70%),
    linear-gradient(180deg, #273856 0%, #1F2E48 100%);
}
.close .wrap {
  display: grid;
  gap: 2.25rem;
  grid-template-areas: "intro" "sheet" "place";
}
.close__intro { grid-area: intro; max-width: 40rem; }
.close__title { color: #fff; }
.close__lede {
  margin: 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 0.99rem + 0.25vw, 1.15rem);
  text-wrap: pretty;
}
.close :focus-visible { outline-color: #fff; }
.close .sheet :focus-visible { outline-color: var(--navy); }

.sheet {
  grid-area: sheet;
  position: relative;
  container: sheet / inline-size;
  margin: 17px 0 0;
}
.sheet__paper {
  padding: 2.75rem clamp(1.1rem, 3.2vw, 2.25rem) clamp(1.25rem, 3.2vw, 2.25rem);
  border-radius: 20px;
  background: var(--paper);
  color: var(--sc-ink);
  box-shadow: 0 2px 4px rgba(5, 12, 25, 0.2),
              0 30px 60px -24px rgba(5, 12, 25, 0.55);
}
.sheet__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 3px double rgba(39, 56, 86, 0.18);
}
.sheet__top img { width: 46px; height: 46px; flex: none; }
.sheet__top span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--sc-ink-soft);
  font-size: 0.86rem;
  line-height: 1.35;
}
.sheet__top strong {
  color: var(--sc-ink);
  font-family: var(--sc-font-display);
  font-size: 1.15rem;
  font-weight: 720;
  letter-spacing: -0.015em;
}
.sheet__nojs {
  margin: 0 0 1.25rem;
  padding: 0.8rem 1rem;
  border: 1px solid #E7D3A6;
  border-radius: 12px;
  background: #FFF7E6;
  color: #5A430E;
  font-size: 0.95rem;
}
.sheet__fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.sheet__fields[disabled] { opacity: 0.6; }
.sheet__cols { display: grid; gap: 1.75rem; }
.sheet__main { container: sheetmain / inline-size; min-width: 0; }

.sf {
  min-width: 0;
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
}
.sf__label {
  display: block;
  float: left;
  width: 100%;
  margin: 0 0 0.55rem;
  padding: 0;
  color: var(--sc-ink);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.35;
}
.sf__label span { color: var(--sc-ink-soft); font-weight: 400; }
.sf__label + * { clear: both; }
.sf__input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(39, 56, 86, 0.24);
  border-radius: 12px;
  background: #fff;
  color: var(--sc-ink);
  font-size: max(1rem, 16px);
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sf__input::placeholder { color: #64748B; opacity: 1; }
.sf__input:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(39, 56, 86, 0.12); }
.sf__input:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.sf__input[aria-invalid="true"] {
  border-color: var(--err);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1);
}
.sf__area { min-height: 96px; resize: vertical; }
.sf__error {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.55rem 0 0;
  color: var(--err);
  font-size: 0.9rem;
  font-weight: 500;
}
.sf__error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--err);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.sf--name { margin-bottom: 1.5rem; }
.sf--rotina { padding: 0.9rem 1rem 1rem; border-radius: 14px; background: var(--ice); }
.sf__pair { display: grid; gap: 0 1.25rem; }
@container sheetmain (min-width: 600px) {
  .sf__pair { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}
.chips--sheet .chip > span { min-height: 40px; font-size: 0.92rem; }
.chips--days .chip > span {
  justify-content: center;
  min-width: 3.4rem;
  padding-inline: 0.8rem;
}
.chips--days .chip > span::before { display: none; }

/* a rotina que veio da prancheta */
.carried {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.carried li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem 0.35rem 0.6rem;
  border-radius: 999px;
  background: #DDE7F2;
  color: var(--navy-deep);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.3;
}
.carried li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 5px;
  margin-top: -3px;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}

.sheet__side { display: grid; gap: 0.9rem; align-content: start; min-width: 0; }
.preview {
  overflow: hidden;
  border: 1px solid var(--sc-hairline);
  border-radius: 18px;
  background: #E9EFF5;
}
.preview__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.7rem 0.9rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  line-height: 1.3;
}
.preview__head img {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
}
.preview__head span { display: flex; flex-direction: column; min-width: 0; }
.preview__head strong { color: #fff; font-size: 0.95rem; font-weight: 600; }
.preview__chat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 11rem;
  padding: 1.1rem 0.9rem 1.25rem 1.25rem;
  background:
    radial-gradient(rgba(39, 56, 86, 0.07) 1px, transparent 1.6px) 0 0 / 14px 14px,
    #E9EFF5;
}
.bubble {
  position: relative;
  align-self: flex-end;
  max-width: 100%;
  margin: 0;
  padding: 0.7rem 0.85rem 0.75rem 0.95rem;
  border-radius: 14px 14px 4px 14px;
  background: #D6E4F2;
  color: var(--sc-ink);
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-line;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 1px rgba(27, 42, 66, 0.12);
}
.bubble::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 0;
  width: 12px;
  height: 14px;
  background: inherit;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}
.sheet__note { margin: 0; color: var(--sc-ink-soft); font-size: 0.84rem; line-height: 1.5; }

@container sheet (min-width: 700px) {
  .sheet__cols {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.25rem;
    align-items: start;
  }
}

.close__place {
  grid-area: place;
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.close__place p {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  line-height: 1.5;
}
.close__place p svg { width: 19px; height: 19px; flex: none; margin-top: 0.15rem; color: var(--sky); }
.close__place strong { color: #fff; font-weight: 600; }
.close__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-self: start;
  min-height: 44px;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 0.3em;
}
.close__link svg { width: 16px; height: 16px; flex: none; }
@media (hover: hover) { .close__link:hover { text-decoration-color: #fff; } }

/* ------------------------------------------------------------------ rodapé -- */
.foot {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  border-top: 1px solid var(--sc-hairline);
  background: var(--paper-warm);
  color: var(--sc-ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.foot__grid { display: grid; gap: 2rem; }
.foot__id { display: flex; align-items: flex-start; gap: 1rem; }
.foot__id img { width: 64px; height: 64px; flex: none; }
.foot__id p { margin: 0; }
.foot__id strong { color: var(--sc-ink); font-family: var(--sc-font-display); font-size: 1.08rem; font-weight: 720; }
.foot__label { margin: 0 0 0.6rem; color: var(--sc-ink); }
.foot__col p { margin: 0 0 0.6rem; }
.foot a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(39, 56, 86, 0.32);
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}
@media (hover: hover) { .foot a:hover { text-decoration-color: currentColor; } }
.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sc-hairline);
  font-size: 0.85rem;
}
.foot__base p { margin: 0; }
.foot__demo { color: var(--sc-ink-soft); }

/* ============================================================== larguras -- */
@media (min-width: 640px) {
  .place { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 2rem; }
  .place__hours { padding: 0 0 0 2rem; border-top: 0; border-left: 1px dashed var(--sc-hairline-strong); }
  .place__actions { grid-column: 1 / -1; }
  .facts__row { grid-template-columns: 11.5rem minmax(0, 1fr); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__id { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--bar-h));
    min-height: calc(100svh - var(--bar-h));
    padding-block: 2rem 2.5rem;
  }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
  }
  .hero__scene {
    width: min(100%, 44rem, calc((100vh - var(--bar-h) - 3.5rem) * 0.92));
    width: min(100%, 44rem, calc((100svh - var(--bar-h) - 3.5rem) * 0.92));
  }
  .hero__actions .btn--navy { min-height: 56px; padding-inline: 1.75rem; }
}

@media (min-width: 1024px) {
  .areas__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .areas__head { padding-top: 0.5rem; }
  .como__stage { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .sobre__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); }
  .onde__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; }
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .foot__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
  .foot__id { grid-column: auto; }
}

@media (min-width: 1200px) {
  .close .wrap {
    grid-template-columns: minmax(0, 1fr) 18.5rem;
    grid-template-areas: "intro intro" "sheet place";
    column-gap: clamp(2.5rem, 4vw, 4rem);
    align-items: start;
  }
  .close__place {
    margin-top: 17px;
    padding: 1.6rem 0 0;
  }
}

/* -------------------------------------------- barra no celular e no tablet -- */
@media (max-width: 1023px) {
  :root { --bar-h: 64px; }
  .brand__logo { width: 42px; height: 42px; }
  .bar__wa,
  .bar__menu {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .bar__wa {
    background: var(--navy);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 16px -10px rgba(27, 42, 66, 0.8);
  }
  .bar__wa svg { width: 24px; height: 24px; }
  .bar__menu {
    padding: 0;
    border: 1px solid var(--sc-hairline-strong);
    background: #fff;
    color: var(--sc-ink);
    cursor: pointer;
  }
  .bar__menu svg { width: 22px; height: 22px; }
  .bar__menu .ico-close,
  .bar__menu[aria-expanded="true"] .ico-open { display: none; }
  .bar__menu[aria-expanded="true"] .ico-close { display: block; }
  html:not(.js) .bar__menu { display: none; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--sc-gutter) 1.25rem;
    border-bottom: 1px solid var(--sc-hairline);
    background: #FBFBF8;
    box-shadow: 0 28px 40px -28px rgba(27, 42, 66, 0.45);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease, visibility 0s linear 0s;
  }
  .nav__link {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--sc-hairline);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .nav__link::after { left: 0.25rem; right: auto; width: 1.5rem; bottom: 0.55rem; }
  .nav__cta { margin: 1rem 0 0; }
}

@media (max-width: 380px) {
  .brand__id { display: none; }
  .bar__inner { gap: 0.5rem; }
}

@media (max-width: 959px) {
  .hero__copy { max-width: 36rem; }
}

@media (max-width: 639px) {
  .hero__actions { gap: 0.5rem 1rem; }
  .qa p { padding-right: 0; }
  .areas__list { border-radius: 20px; }
}

/* ============================================================ movimento -- */
@media (prefers-reduced-motion: no-preference) {
  /* a cena chega em camadas: painel, Rafael, prancheta, selo */
  .plane--panel > .depth { animation: rr-rise 900ms var(--sc-ease-out) both; }
  .subject > .depth { animation: rr-rise 1100ms 120ms var(--sc-ease-out) both; --rise: 6cqw; }
  .plane--ficha > .depth { animation: rr-rise 900ms 300ms var(--sc-ease-out) both; }
  .plane--seal > .depth { animation: rr-pop 800ms 460ms var(--sc-ease-out) both; }

  .steps__panel.is-active { animation: rr-step 420ms var(--sc-ease-out) both; }
  .is-updated { animation: rr-flash 1100ms ease-out; }
  .bubble.is-updated { animation: rr-bubble 460ms var(--sc-ease-out); transform-origin: 100% 100%; }
  .btn:active { transform: translateY(1px) scale(0.985); }

  @supports selector(::details-content) {
    .qa { interpolate-size: allow-keywords; }
    .qa::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 0.34s var(--sc-ease-out), content-visibility 0.34s allow-discrete;
    }
    .qa[open]::details-content { block-size: auto; }
  }
}
/* resposta ao ponteiro: só com mouse e com movimento permitido (site.js
   escreve --px/--py na cena; cada plano anda conforme o seu --d) */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .depth {
    transform: translate3d(calc(var(--px, 0) * var(--d, 0) * -0.75px),
                           calc(var(--py, 0) * var(--d, 0) * -0.55px), 0);
  }
}
@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
  .nav {
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.26s var(--sc-ease-out), visibility 0s linear 0.26s;
  }
  .nav.is-open {
    transform: none;
    transition: opacity 0.2s ease, transform 0.26s var(--sc-ease-out), visibility 0s linear 0s;
  }
}

@keyframes rr-rise {
  from { opacity: 0; translate: 0 var(--rise, 3cqw); }
}
@keyframes rr-pop {
  from { opacity: 0; scale: 0.86; translate: 0 2cqw; }
}
@keyframes rr-step {
  from { opacity: 0; translate: 0 8px; }
}
@keyframes rr-bubble {
  from { scale: 0.965; opacity: 0.55; }
}
@keyframes rr-flash {
  0%, 18% { background-color: rgba(138, 172, 200, 0.42); }
  100% { background-color: rgba(138, 172, 200, 0); }
}

/* reduzido: nada toca sozinho, nada desloca, tudo visível desde o início */
@media (prefers-reduced-motion: reduce) {
  [data-sc-in],
  [data-sc-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .depth { transform: none !important; animation: none !important; }
  .steps__ctrl { display: none !important; }
  .steps__fill { transition: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------- cores forçadas -- */
@media (forced-colors: active) {
  .chip input:checked + span,
  .area.is-on,
  .steps__tab[aria-selected="true"] { outline: 3px solid Highlight; outline-offset: 2px; }
  .area__pick input:checked + .tick { background: Highlight; }
  .panel__pin, .panel__light { display: none; }
}

/* Revisora r1: registro sem quebra */
.crn { white-space: nowrap; }

/* 04/12 Lucas: hero sem a foto do Rafael; a prancheta vira a peça central do painel */
.plane--ficha { left: 26%; bottom: 13%; width: 48%; scale: 1.22; transform-origin: 50% 60%; }
@container scene (max-width: 499px) {
  .plane--ficha { left: 17%; bottom: 12%; width: 62%; scale: 1.08; }
}
