/* Dra. Isabella Ibrahim — cores e tipos tirados das artes do Instagram dela */
:root {
  --bg: #f7f4ef;        /* creme das artes */
  --surface: #efded7;   /* rosado das artes */
  --ink: #1f2c30;       /* azul-petróleo escurecido para texto */
  --muted: #4b6166;
  --wine: #7a2e3a;      /* vinho das artes: ação e campo do rodapé */
  --wine-deep: #642531;
  --wine-soft: #f2cdc6;
  --teal: #3e5b63;      /* azul-petróleo da faixa das artes */
  --teal-ink: #eef2f1;

  --display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --text: 'Montserrat', system-ui, sans-serif;

  --s-hero: clamp(52px, 9.4vw, 152px);
  --s-h2: clamp(40px, 5vw, 80px);
  --s-h3: clamp(26px, 2.6vw, 40px);
  --s-body: 17px;
  --s-small: 14px;

  --m: clamp(20px, 3.2vw, 48px);
  --gap: clamp(112px, 13vw, 200px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --tab-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--wine) var(--surface); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--s-body)/1.6 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: var(--tab-h);
  caret-color: var(--wine);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--wine); color: var(--bg); }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--m); }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.pular { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.pular:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px;
  background: var(--wine); color: var(--bg); border: 0; border-radius: 999px;
  font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer;
  transition: background-color 180ms ease, transform 140ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-escuro { background: var(--ink); }
.btn-claro { background: var(--bg); color: var(--wine); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--wine-deep); }
  .btn-escuro:hover { background: #172226; }
  .btn-claro:hover { background: #fff; }
}
.link-seta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); min-height: 44px; }
.link-seta .ico { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-seta:hover .ico { transform: translateX(4px); } .link-seta:hover { color: var(--wine); } }

/* ---------- Topo ---------- */
.topo { position: relative; z-index: 10; view-transition-name: topo; }
.topo-in { display: flex; align-items: center; gap: 32px; min-height: 88px; }
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wine); margin-right: auto; }
.marca-sim { width: 44px; height: 40px; flex: none; }
.marca-txt { display: grid; line-height: 1.05; }
.marca-nome { font: 600 22px/1.1 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.marca-sub { font-size: 14px; color: var(--muted); }
.nav { display: flex; gap: 8px; }
.nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 14px; transition: background-color 180ms ease, color 180ms ease; }
.nav a[aria-current] { background: var(--surface); color: var(--wine); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--wine); } }

.abas { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 7vh, 96px); }
.hero-t { font-size: var(--s-hero); line-height: 0.96; letter-spacing: -0.035em; color: var(--ink); }
.hero-l1, .hero-l2 { display: block; white-space: nowrap; }
.hero-l2 { color: var(--wine); padding-left: 0.9em; }
.hero-slot {
  display: inline-block; vertical-align: -0.02em; width: 2.9em; height: 0.74em;
  border-radius: 0.1em; overflow: hidden; background: var(--surface); margin-left: 0.08em;
}
.hero-slot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ecg { display: block; width: 100%; height: clamp(56px, 7vw, 96px); overflow: visible; }
.ecg path { fill: none; stroke: var(--wine); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.ecg-hero { margin-top: 8px; }
.hero-base { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px 24px; align-items: start; padding-top: 24px; }
.hero-sub { grid-column: 1 / span 6; font-size: 20px; line-height: 1.5; max-width: 38ch; }
.hero-sub strong { font-weight: 600; color: var(--wine); }
.hero-acoes { grid-column: 8 / span 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero-reg { grid-column: 1 / -1; font-size: var(--s-small); color: var(--muted); padding-top: 12px; }

/* ---------- Intro com miniaturas na frase ---------- */
.intro { padding-block: var(--gap); display: flex; justify-content: center; }
.intro-p { max-width: 40ch; font: 500 clamp(24px, 2.5vw, 36px)/1.3 var(--display); text-align: center; letter-spacing: -0.01em; text-wrap: balance; }
.thumb { display: inline-block; width: 1.7em; height: 0.9em; vertical-align: -0.1em; border-radius: 0.14em; overflow: hidden; margin-inline: 0.12em; background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Atendimentos em linhas ---------- */
.atend { padding-bottom: var(--gap); }
.atend-cab { padding-left: 35%; padding-bottom: clamp(56px, 8vw, 120px); }
.atend-cab h2 { font-size: var(--s-h2); line-height: 1; }
.linhas { list-style: none; margin: 0; padding: 0 0 0 35%; display: grid; gap: clamp(64px, 8vw, 112px); }
.linha-a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: start; text-decoration: none; }
.linha-txt { display: grid; gap: 14px; max-width: 36ch; }
.linha-t { font: 500 clamp(32px, 3.4vw, 52px)/1.04 var(--display); letter-spacing: -0.02em; transition: color 180ms ease; }
.linha-p { color: var(--ink); font-size: 20px; line-height: 1.5; }
.linha-mais { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--wine); }
.linha-mais .ico { transition: transform 220ms var(--ease-out); }
.linha-img { display: block; overflow: hidden; background: var(--surface); }
.linha-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.linha-0 .linha-img { width: 280px; aspect-ratio: 4 / 5; }
.linha-1 .linha-img { width: 380px; aspect-ratio: 3 / 2; }
.linha-2 .linha-img { width: 220px; aspect-ratio: 1; }
@media (hover: hover) and (pointer: fine) {
  .linha-a:hover .linha-t { color: var(--wine); }
  .linha-a:hover .linha-img img { transform: scale(1.04); }
  .linha-a:hover .linha-mais .ico { transform: translateX(4px); }
}

/* ---------- Vitrine: 12 por 8 ---------- */
.vitrine { background: var(--surface); padding-block: clamp(96px, 11vw, 168px); overflow: hidden; }
.vitrine-in { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.vt-pilha { grid-column: 1 / -1; display: grid; font: 600 clamp(72px, 9.4vw, 156px)/0.88 var(--display); letter-spacing: -0.04em; white-space: nowrap; position: relative; z-index: 1; }
.vt-pilha > * { font: inherit; letter-spacing: inherit; }
.vt-l1 { color: var(--wine); }
.vt-pilha h2 { color: var(--ink); }
.vt-pilha h2 span { display: block; }
.vt-pilha h2 span:first-child { padding-left: 0.6em; }
.vt-obj { position: absolute; right: var(--m); top: -72px; width: min(26vw, 380px); margin: 0; transform: rotate(-4deg); z-index: 2; mix-blend-mode: multiply; }
.vt-fatos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; align-items: start; padding-top: clamp(56px, 7vw, 96px); position: relative; z-index: 3; }
.vt-fatos > p { grid-column: 1 / span 4; font-size: 20px; max-width: 40ch; }
.vt-fatos > .pa { grid-column: 6 / span 7; }

/* ---------- Régua da pressão ---------- */
.pa { display: grid; gap: 16px; }
.pa-rot { font: 500 var(--s-h3)/1.1 var(--display); }
.pa-campo { display: flex; gap: 12px; flex-wrap: wrap; }
.pa-campo input {
  flex: 1 1 220px; min-height: 60px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--ink); font: 500 28px/1 var(--display);
  outline: 2px solid transparent; outline-offset: -2px; transition: outline-color 180ms ease;
}
.pa-campo input::placeholder { color: #6f7f82; }
.pa-campo input:focus-visible { outline: 2px solid var(--wine); outline-offset: -2px; }
.pa-campo .btn { min-height: 60px; }
.pa-dica { font-size: var(--s-small); color: var(--muted); }
.pa-regua { --i: 0; position: relative; list-style: none; margin: 12px 0 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.pa-regua li { display: grid; gap: 6px; align-content: start; font-size: 14px; line-height: 1.3; color: var(--muted); padding-top: 14px; position: relative; transition: color 200ms ease; }
.pa-regua li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px; border-radius: 4px; background: var(--c); }
.pa-regua [data-faixa='normal'] { --c: #8fa7a9; }
.pa-regua [data-faixa='pre'] { --c: #d9b3ab; }
.pa-regua [data-faixa='e1'] { --c: #b06a6f; }
.pa-regua [data-faixa='e2'] { --c: #8f3c47; }
.pa-regua [data-faixa='e3'] { --c: #5a1c26; }
.pa-f-t { font-weight: 600; color: var(--ink); }
.pa-regua li.ativo { color: var(--ink); }
.pa-regua li.ativo .pa-f-t { color: var(--wine); }
.pa-marca { position: absolute; top: 0; left: 0; width: 20%; height: 8px; display: block; opacity: 0; transform: translateX(calc(var(--i) * 100%)); transition: transform 700ms var(--ease-in-out), opacity 200ms ease; pointer-events: none; }
.pa-marca::after { content: ''; position: absolute; left: 50%; top: -12px; width: 16px; height: 16px; margin-left: -8px; background: var(--ink); border-radius: 50%; border: 4px solid var(--surface); box-sizing: content-box; margin-top: -4px; margin-left: -12px; }
.pa.tem .pa-marca { opacity: 1; }
.pa-res { display: block; min-height: 1.6em; font-size: 20px; line-height: 1.5; }
.pa-res strong { color: var(--wine); }
.pa-res.erro { color: #8a2431; }
.pa-nota { font-size: var(--s-small); color: var(--muted); max-width: 60ch; }

/* ---------- Sobre ---------- */
.sobre { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-block: var(--gap) 0; }
.sb-fatos { grid-column: 1 / span 2; display: grid; gap: 22px; align-content: start; padding-top: 12px; font-size: var(--s-small); line-height: 1.45; }
.sb-fatos span { display: block; font-weight: 600; color: var(--wine); }
.sb-txt { grid-column: 4 / span 9; display: grid; gap: 28px; }
.sb-txt h2 { font-size: var(--s-h2); line-height: 1; }
.sb-p { font: 500 clamp(24px, 2.1vw, 30px)/1.3 var(--display); letter-spacing: -0.005em; max-width: 36em; }
.sb-p strong { font-weight: 600; color: var(--wine); }
.sb-p2 { color: var(--muted); }
.sb-p2 a { color: var(--ink); }
.sb-cap { float: left; width: 3.7em; height: 3.7em; margin: 0.2em 0.5em 0 0; overflow: hidden; background: var(--surface); }
.sb-cap img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Dúvidas ---------- */
.faq-campo { background: var(--teal); color: var(--teal-ink); margin-top: var(--gap); }
.faq-campo :focus-visible { outline-color: var(--bg); }
.faq { padding-block: clamp(96px, 10vw, 160px); display: grid; gap: clamp(56px, 6vw, 84px); }
.faq-linha { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px 24px; align-items: baseline; }
.faq-q { grid-column: 1 / span 6; font: 500 var(--s-h3)/1.1 var(--display); letter-spacing: -0.02em; }
.faq-cab { color: var(--wine-soft); }
.faq-a { grid-column: 8 / span 5; font-size: 17px; color: var(--teal-ink); line-height: 1.55; max-width: 40ch; }

/* ---------- Contato ---------- */
.contato { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; padding-block: var(--gap) clamp(96px, 9vw, 128px); }
.ct-frase { grid-column: 1 / span 5; display: grid; gap: 20px; }
.ct-frase h2 { font-size: var(--s-h2); line-height: 1; }
.ct-p { font: 500 clamp(22px, 2.1vw, 30px)/1.3 var(--display); }
.ct-foto { grid-column: 7 / span 2; margin: 0; }
.ct-foto img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ct-foto figcaption, .onde-img figcaption { font-size: 13px; color: var(--muted); padding-top: 8px; }
.ct-links { grid-column: 10 / span 3; display: grid; gap: 10px; }
.ct-q { font-weight: 600; font-size: 17px; padding-bottom: 6px; }
.ct-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; text-decoration: underline; text-decoration-color: rgba(38, 53, 58, 0.35); }
.ct-links .ico { color: var(--wine); }
@media (hover: hover) and (pointer: fine) { .ct-links a:hover { color: var(--wine); text-decoration-color: currentColor; } }

/* ---------- Rodapé ---------- */
.rodape { background: var(--wine); color: var(--bg); min-height: 86svh; display: flex; view-transition-name: rodape; }
.rodape .wrap { display: grid; grid-template-rows: auto 1fr auto auto auto; padding-block: 40px 32px; }
.rod-notas { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; font-size: 14px; line-height: 1.55; }
.rod-notas p:nth-child(1) { grid-column: 1 / span 4; }
.rod-notas p:nth-child(2) { grid-column: 5 / span 4; }
.rod-notas strong { font-weight: 600; }
.rod-topo { grid-column: 11 / span 2; justify-self: end; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; min-height: 44px; align-self: start; margin-top: -10px; }
.rod-fone-rot { grid-row: 3; font-size: 17px; color: var(--wine-soft); padding-top: 64px; }
.rod-fone { grid-row: 4; font: 500 clamp(52px, 10.5vw, 172px)/1 var(--display); letter-spacing: -0.035em; text-decoration: none; white-space: nowrap; transition: color 180ms ease; padding-bottom: 32px; }
@media (hover: hover) and (pointer: fine) { .rod-fone:hover { color: var(--wine-soft); } }
.rod-meta { grid-row: 5; display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 16px 32px; font-size: var(--s-small); color: var(--wine-soft); }
.rod-meta a { color: var(--bg); }
.rod-meta p:last-child { text-align: right; }
.rod-cred { font-size: 14px; max-width: 72ch; }
.rodape :focus-visible { outline-color: var(--bg); }

/* ---------- Páginas internas ---------- */
.pg-cab { padding-block: clamp(40px, 8vh, 112px) clamp(64px, 8vw, 120px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.pg-cab h1 { grid-column: 1 / span 7; font-size: clamp(56px, 8vw, 132px); line-height: 0.95; letter-spacing: -0.035em; }
.pg-cab .pg-lead { grid-column: 8 / span 5; }
.pg-lead { font-size: 20px; line-height: 1.55; max-width: 46ch; }

.sv-hero { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-top: clamp(24px, 5vh, 64px); align-items: center; }
.sv-hero-txt { grid-column: 1 / span 6; display: grid; gap: 28px; justify-items: start; }
.sv-hero h1 { font-size: clamp(48px, 6.4vw, 104px); line-height: 0.98; letter-spacing: -0.035em; }
.sv-hero-img { grid-column: 8 / span 5; margin: 0; background: var(--surface); overflow: hidden; }
.sv-hero-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.voltar { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--wine); min-height: 44px; }
.voltar .ico { transform: scaleX(-1); }

.sv-quem, .sv-como, .sv-extra, .formacao, .outros { padding-top: var(--gap); }
.sv-quem { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.sv-quem h2, .sv-como h2, .sv-extra h2, .formacao h2, .outros h2 { font-size: var(--s-h2); line-height: 1; }
.sv-quem h2 { grid-column: 1 / span 4; }
.quem { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.quem li { font: 500 clamp(24px, 2.3vw, 34px)/1.2 var(--display); display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.quem li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--wine); margin-top: 0.45em; }

.passos { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px 32px; }
.passos li { display: grid; gap: 12px; align-content: start; padding: 28px; background: var(--surface); }
.passos h3 { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; }

.sv-pa { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.sv-pa h2 { grid-column: 1 / span 4; }
.sv-pa .pa { grid-column: 6 / span 7; }
.sv-pa .pa-campo input { background: var(--surface); }
.sv-pa .pa-marca::after { border-color: var(--bg); }

.check { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 18px; max-width: 760px; }
.check li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: center; font: 500 clamp(22px, 2vw, 30px)/1.25 var(--display); }
.check svg { width: 32px; height: 32px; }
.check rect { fill: none; stroke: var(--wine); stroke-width: 1.6; }
.check path { fill: none; stroke: var(--wine); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ecg-check { margin-top: 40px; max-width: 760px; height: 64px; }

.alerta { background: var(--wine); color: var(--bg); padding: clamp(32px, 4vw, 56px); display: grid; gap: 16px; max-width: 980px; }
.alerta h2 { color: var(--bg); }
.alerta p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; max-width: 56ch; }

.sv-cta { background: var(--teal); color: var(--teal-ink); margin-top: var(--gap); padding-block: clamp(80px, 9vw, 136px); }
.sv-cta-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.sv-cta-in .btn { grid-column: 2; grid-row: 1 / span 2; }
.sv-cta h2 { font-size: var(--s-h2); line-height: 1; }
.sv-cta p { font-size: 20px; max-width: 60ch; }
.sv-cta q { font-style: italic; }
.sv-cta :focus-visible { outline-color: var(--bg); }

.outros { padding-bottom: var(--gap); }
.outros-l { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.outros-l a { display: grid; gap: 14px; text-decoration: none; }
.outros-img { display: block; overflow: hidden; background: var(--surface); }
.outros-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 600ms var(--ease-out); }
.outros-t { font: 500 clamp(22px, 1.8vw, 28px)/1.15 var(--display); transition: color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .outros-l a:hover img { transform: scale(1.04); } .outros-l a:hover .outros-t { color: var(--wine); } }

.sb-hero { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-top: clamp(32px, 6vh, 80px); align-items: end; }
.sb-hero h1 { grid-column: 1 / span 7; font-size: clamp(56px, 8vw, 132px); line-height: 0.95; letter-spacing: -0.035em; }
.sb-hero-img { grid-column: 8 / span 5; grid-row: 1 / span 2; margin: 0; overflow: hidden; background: var(--surface); }
.sb-hero-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sb-hero .pg-lead { grid-column: 1 / span 7; font: 500 clamp(24px, 2.2vw, 32px)/1.3 var(--display); max-width: 34ch; }

/* ---------- Agendar ---------- */
.monte { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.monte-f { grid-column: 1 / span 7; display: grid; gap: 48px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; }
legend { font-size: 17px; font-weight: 600; padding: 0 0 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--surface); font-weight: 500; font-size: 17px; transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out); }
.chip input:checked + span { background: var(--wine); color: var(--bg); }
.chip input:focus-visible + span { outline: 3px solid var(--wine); outline-offset: 3px; }
.chip input:active + span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { background: #e6cfc7; } }
.monte-prev { grid-column: 9 / span 4; position: sticky; top: 24px; display: grid; gap: 18px; justify-items: start; }
.monte-rot { font-weight: 600; }
.balao { display: block; background: var(--teal); color: var(--teal-ink); padding: 22px 24px; border-radius: 20px 20px 20px 6px; font-size: 20px; line-height: 1.5; }
.monte-alt { font-size: 14px; color: var(--muted); }

.onde { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-top: var(--gap); align-items: end; }
.onde-txt { grid-column: 1 / span 5; display: grid; gap: 20px; justify-items: start; }
.onde-txt h2 { font-size: var(--s-h2); line-height: 1; }
address { font-size: 20px; line-height: 1.55; font-style: normal; }
.onde-img { grid-column: 7 / span 6; margin: 0; }
.onde-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Celular e tablet ---------- */
@media (max-width: 899px) {
  :root { --tab-h: calc(68px + env(safe-area-inset-bottom)); --gap: 104px; }
  .nav { display: none; }
  .topo-in { min-height: 72px; gap: 12px; }
  .marca-sim { width: 38px; height: 34px; }
  .marca-nome { font-size: 19px; white-space: nowrap; }
  .marca-sub { display: none; }
  .abas {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
    background: var(--bg); box-shadow: 0 -6px 20px rgba(38, 53, 58, 0.1); /* taste-skill-ignore: barra fixa flutua sobre o conteúdo */ padding-bottom: env(safe-area-inset-bottom);
    view-transition-name: abas;
  }
  .abas a { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 68px; text-decoration: none; font-size: 13px; font-weight: 500; color: var(--muted); -webkit-tap-highlight-color: transparent; }
  .abas a .ico { width: 24px; height: 24px; transition: transform 140ms var(--ease-out); }
  .abas a:active .ico { transform: scale(0.9); }
  .abas a[aria-current] { color: var(--wine); font-weight: 600; }

  .hero-t { font-size: 12.4vw; }
  .hero-slot { width: 1.5em; }
  .hero-l2 { padding-left: 0; }
  .hero-base, .sobre, .faq-linha, .contato, .pg-cab, .sv-hero, .sv-quem, .sv-pa, .sb-hero, .monte, .onde, .vitrine-in, .rod-notas, .rod-meta { grid-template-columns: 1fr; }
  .hero-base > *, .sobre > *, .faq-linha > *, .contato > *, .pg-cab > *, .sv-hero > *, .sv-quem > *, .sv-pa > *, .sb-hero > *, .monte > *, .onde > *, .vitrine-in > *, .rod-notas > * { grid-column: 1 / -1; }
  .hero-acoes { padding-top: 8px; }
  .hero-acoes .btn { width: 100%; justify-content: center; }

  .intro { justify-content: flex-start; padding-block: 104px; }
  .intro-p { text-align: left; font-size: 24px; max-width: none; }

  .atend-cab { padding-left: 0; padding-bottom: 56px; }
  .linhas { padding-left: 0; gap: 64px; }
  .linha-a { grid-template-columns: 1fr; gap: 20px; }
  .linha-t { font-size: 30px; }
  .linha-p { font-size: 17px; }
  .linha-img { order: 2; }
  .linha-0 .linha-img { width: 100%; aspect-ratio: 3 / 2; }
  .linha-1 .linha-img { width: 70%; justify-self: end; }
  .linha-2 .linha-img { width: 55%; }

  .vt-pilha { font-size: 15vw; }
  .vt-obj { position: relative; right: auto; top: auto; width: 62vw; margin: 24px 0 0 auto; transform: rotate(-4deg); }
  .vt-fatos { padding-top: 32px; grid-template-columns: 1fr; }
  .vt-fatos > p, .vt-fatos > .pa { grid-column: 1 / -1; }
  .pa-regua { grid-template-columns: 1fr; padding: 0 0 0 28px; gap: 10px; margin-top: 4px; }
  .pa-regua li { padding-top: 0; grid-template-columns: 1fr auto; align-items: baseline; font-size: 14px; }
  .pa-regua li::before { top: 4px; bottom: 4px; left: -28px; right: auto; width: 8px; height: auto; }
  .pa-marca { width: 8px; height: 20%; left: -28px; top: 0; transform: translateY(calc(var(--i) * 100%)); }
  .pa-marca::after { left: 50%; right: auto; top: 50%; margin: -11px 0 0 -11px; width: 14px; height: 14px; }
  .pa-campo .btn { width: 100%; justify-content: center; }

  .sb-fatos { grid-row: 3; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 14px; padding-top: 16px; }
  .sb-p { font-size: 22px; line-height: 1.3; }
  .sb-cap { width: 4.6em; height: 4.6em; }

  .faq { gap: 56px; }
  .faq-q { font-size: 24px; }
  .faq-a { font-size: 17px; }

  .ct-foto { width: 120px; }
  .rod-meta p:last-child { text-align: left; }
  .rod-fone { font-size: 13vw; }
  .rod-topo { justify-self: start; margin: 0; }

  .sv-hero h1 { font-size: 13vw; }
  .sv-hero-img { order: -1; }
  .sv-hero-img img { aspect-ratio: 3 / 2; }
  .sv-hero-txt .btn { width: 100%; justify-content: center; }
  .sv-quem h2, .quem, .sv-pa h2, .sv-pa .pa, .sb-hero h1, .sb-hero .pg-lead, .pg-cab h1, .pg-cab .pg-lead, .rod-notas p:nth-child(n), .monte-f, .monte-prev, .onde-txt, .onde-img, .ct-frase, .ct-foto, .ct-links, .faq-q, .faq-a, .sb-fatos, .sb-txt { grid-column: 1 / -1; }
  .sv-cta-in { grid-template-columns: 1fr; }
  .sv-cta-in .btn { grid-column: 1; grid-row: auto; width: 100%; justify-content: center; }
  .outros-l { grid-template-columns: 1fr 1fr; }
  .sb-hero-img { grid-row: auto; }
  .monte-prev { position: static; }
  .monte-prev .btn { width: 100%; justify-content: center; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .linhas, .atend-cab { padding-left: 22%; }
  .nav a span { display: none; }
}

/* ---------- Movimento ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-sai 160ms cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-entra 320ms var(--ease-out) both; }
@keyframes vt-sai { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-entra { from { opacity: 0; transform: translateY(12px); } }

/* Entrada no scroll: só esconde quando o script já confirmou que roda */
html.rv [data-reveal] { opacity: 0; transform: translateY(24px); }
html.rv [data-reveal].in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out) var(--d, 0ms), transform 900ms var(--ease-out) var(--d, 0ms); }

/* Traçado de ECG que corre como no monitor */
html.rv .ecg { clip-path: inset(-20% 100% -20% 0); }
html.rv .ecg.in { clip-path: inset(-20% 0 -20% 0); transition: clip-path 1800ms cubic-bezier(0.65, 0, 0.35, 1) 200ms; }

/* Imagem que abre como obturador */
html.rv [data-shutter] { clip-path: inset(0 100% 0 0); }
html.rv [data-shutter] img { transform: scale(1.12); }
html.rv [data-shutter].in { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--ease-in-out) 150ms; }
html.rv [data-shutter].in img { transform: none; transition: transform 1400ms var(--ease-out) 150ms; }

/* Lista do risco cirúrgico que se marca */
html.rv [data-check] path { stroke-dashoffset: 1; }
html.rv [data-check] li { opacity: 0.45; transition: opacity 400ms ease var(--d, 0ms); }
html.rv [data-check].in li { opacity: 1; }
html.rv [data-check].in path { stroke-dashoffset: 0; transition: stroke-dashoffset 500ms var(--ease-out) var(--d, 0ms); }

/* Esfigmomanômetro que balança devagar */
@keyframes deriva { from { transform: rotate(-4deg) translateY(0); } to { transform: rotate(-2.5deg) translateY(-10px); } }
.vt-obj { animation: deriva 7s ease-in-out infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 120ms; animation-name: none; }
  html.rv [data-reveal] { transform: none; }
  html.rv [data-reveal].in { transition: opacity 200ms ease; }
  html.rv .ecg { clip-path: none; }
  html.rv [data-check] path { stroke-dashoffset: 0; }
  html.rv [data-shutter] { clip-path: none; }
  html.rv [data-shutter] img { transform: none; }
  .vt-obj { animation: none; }
  .pa-marca { transition: opacity 200ms ease; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
