/* ═══════════════════════════════════════════════════════════════════════
   site.css — site público da HighMedia (landing, agendamento, privacidade).
   Linguagem do kit de design (riscos finos, letra leve, movimento calmo),
   com a cor da marca: azul. Claro por omissão, com uma faixa escura em baixo.
   Só se anima transform e opacity.
   ═══════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('fontes/geist/geist-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('fontes/geist/geist-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #f6f7fb; --surf: #ffffff; --surf-2: #fafbfe; --surf-3: #eef1f9;
  --line: rgba(16, 24, 56, 0.08); --line-2: rgba(16, 24, 56, 0.15);
  --t1: #0c1224; --t2: #444b62; --t3: #697088; --t4: #a2a8ba;
  --acc: #2f5ff2; --acc-2: #5a83ff; --acc-t: #2147c9; --acc-bg: rgba(47, 95, 242, 0.08); --acc-line: rgba(47, 95, 242, 0.32);
  --acc-grad: linear-gradient(180deg, #4b76fa 0%, #2c58ea 55%, #2148cc 100%);
  --ok: #16a34a; --ok-bg: rgba(22, 163, 74, 0.1); --bad: #dc2626; --bad-bg: rgba(220, 38, 38, 0.08); --warn: #b45309;
  --navy: #070d24; --navy-2: #0d1636; --navy-line: rgba(255, 255, 255, 0.09); --navy-t2: rgba(226, 232, 255, 0.72); --navy-t3: rgba(226, 232, 255, 0.5);
  --f: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --m: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', 'Roboto Mono', Menlo, Consolas, monospace;
  --w: 1200px;
  --pad: clamp(20px, 3.6vw, 48px);
  --r: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bump: cubic-bezier(0.34, 1.3, 0.64, 1);
}

/* ═══ base ═══ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--t1); font-family: var(--f); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--t1); color: #fff; font-size: 14px; text-decoration: none; transition: transform 0.2s var(--ease); }
.saltar:focus { transform: translateY(72px); }

/* ═══ moldura: uma coluna com um risco de cada lado ═══ */
.q { position: relative; width: min(var(--w), 100% - 32px); margin-inline: auto; border-inline: 1px solid var(--line); }
.s { position: relative; border-top: 1px solid var(--line); }
.dentro { padding: var(--pad); }
.alto { padding-block: clamp(56px, 8vw, 112px); }
.centro { text-align: center; }
.centro .lead, .centro .t2 { margin-inline: auto; }
.g { display: grid; gap: 1px; background: var(--line); }
.g > * { min-width: 0; background: var(--bg); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-12 { grid-template-columns: 5fr 7fr; }
@media (max-width: 980px) { .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-12 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3 { grid-template-columns: minmax(0, 1fr); } }

/* ═══ letra ═══ */
.mono { font-family: var(--m); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t3); }
.etq { display: inline-flex; align-items: center; gap: 9px; }
.etq::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: var(--acc); }
.t1 { margin: 0; font-size: clamp(40px, 6vw, 78px); font-weight: 500; line-height: 0.99; letter-spacing: -0.046em; text-wrap: balance; }
.t2 { margin: 0; max-width: 22ch; font-size: clamp(30px, 4vw, 50px); font-weight: 500; line-height: 1.04; letter-spacing: -0.038em; text-wrap: balance; }
.t3 { margin: 0; font-size: clamp(19px, 1.9vw, 23px); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.t4 { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.apag { color: var(--t4); }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.lead { margin: 18px 0 0; max-width: 58ch; color: var(--t2); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; text-wrap: pretty; }
.txt { margin: 0; color: var(--t2); font-size: 14.5px; text-wrap: pretty; }
.txt b, .lead b { color: var(--t1); font-weight: 500; }
.pq { color: var(--t3); font-size: 12.5px; line-height: 1.5; }
.num { font-variant-numeric: tabular-nums; }
.cab { display: flex; flex-direction: column; gap: 14px; }
/* degradê suave só na parte escura dos títulos (kit.js → .gr) */
.gr { background-image: linear-gradient(180deg, var(--t1) 30%, color-mix(in srgb, var(--t1) 62%, var(--t3)) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: 0.08em; }
.it.gr, .gr .it { padding-right: 0.06em; }

/* ═══ botões ═══ */
.b { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--t1); font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, color 0.2s, filter 0.2s; }
.b:active { transform: scale(0.97); }
.b svg { width: 15px; height: 15px; flex: none; transition: transform 0.25s var(--bump); }
.b:hover svg.seta { transform: translateX(2px); }
.b-a { background: var(--acc-grad); color: #fff; box-shadow: 0 10px 26px -12px rgba(33, 72, 204, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(20, 50, 170, 0.35); }
.b-a:hover { filter: brightness(1.07); }
.b-p { background: var(--t1); color: #fff; }
.b-p:hover { background: color-mix(in srgb, var(--t1) 86%, var(--acc)); }
.b-s { background: var(--surf); box-shadow: inset 0 0 0 1px var(--line-2); }
.b-s:hover { box-shadow: inset 0 0 0 1px var(--t4); }
.b-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.b-lg { height: 52px; padding: 0 26px; font-size: 15.5px; }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.vivo { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--surf); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t2); font-size: 12.5px; }
.vivo::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); animation: pulsar 1.6s var(--ease) infinite; }
@keyframes pulsar { 50% { box-shadow: 0 0 0 6px transparent; } }

/* ═══ barra de cima ═══ */
.topo { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); view-transition-name: topo; }
.topo .q { display: flex; align-items: center; gap: 22px; height: 64px; padding: 0 18px; }
.marca { display: inline-flex; align-items: center; text-decoration: none; }
.marca img { width: 128px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav a { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; color: var(--t2); font-size: 13.5px; text-decoration: none; transition: color 0.15s, background-color 0.15s; }
.nav a:hover { color: var(--t1); background: var(--surf-3); }
.topo-d { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 420px) { .topo-d .b { padding: 0 14px; } .marca img { width: 112px; } }

/* ═══ herói ═══ */
.heroi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); min-height: min(740px, calc(100svh - 64px)); }
.heroi-t { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: clamp(44px, 6vw, 84px) var(--pad); }
.heroi-t .lead { margin: 0; }
.confianca { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--t3); font-size: 13px; }
.confianca li { display: inline-flex; align-items: center; gap: 7px; }
.confianca svg { width: 14px; height: 14px; color: var(--acc); }
.heroi-v { position: relative; display: grid; place-items: center; min-height: 520px; border-left: 1px solid var(--line); overflow: hidden; background:
  radial-gradient(60% 55% at 55% 45%, rgba(90, 131, 255, 0.22), transparent 70%),
  radial-gradient(40% 40% at 30% 85%, rgba(47, 95, 242, 0.12), transparent 70%); }
.heroi-v::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 55% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(70% 60% at 55% 50%, #000 10%, transparent 75%); opacity: 0.6; }
.telemovel { position: relative; width: min(400px, 84%); filter: drop-shadow(0 40px 60px rgba(16, 32, 90, 0.28)); }
.notif { position: absolute; z-index: 2; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 10px; align-items: center; width: min(290px, 70%); padding: 12px 14px; border-radius: 16px; background: rgba(13, 22, 54, 0.92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 40px -18px rgba(8, 16, 50, 0.6); color: #fff; }
.notif i { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--acc-grad); font-size: 12px; font-style: normal; font-weight: 600; }
.notif b { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 600; }
.notif b small { color: rgba(255, 255, 255, 0.5); font-weight: 400; }
.notif span { color: rgba(255, 255, 255, 0.78); font-size: 12.5px; line-height: 1.35; }
.notif-1 { top: 14%; left: 4%; }
.notif .troca { display: block; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.notif .troca.sai { opacity: 0; transform: translateY(-6px); }
.pilula { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 8px; border-radius: 999px; background: var(--surf); box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 30px -18px rgba(16, 32, 90, 0.45); font-size: 13px; font-weight: 500; white-space: nowrap; }
.pilula i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--acc-bg); color: var(--acc); font-style: normal; }
.pilula i svg { width: 13px; height: 13px; }
.pilula-1 { right: 6%; top: 52%; }
.pilula-2 { right: 10%; top: 62%; }
@keyframes flutua { 50% { translate: 0 -10px; } }
.flutua { animation: flutua 7s ease-in-out infinite; }
.flutua.d2 { animation-delay: -2.4s; }
.flutua.d3 { animation-delay: -4.6s; }
@media (max-width: 980px) {
  .heroi { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .heroi-v { min-height: 460px; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) { .heroi-v { min-height: 400px; } .notif { left: 3%; top: 8%; } .pilula-1 { right: 3%; } .pilula-2 { right: 5%; } }

/* ═══ faixa de números ═══ */
.numeros > div { display: flex; flex-direction: column; gap: 4px; padding: 26px 22px 24px; }
.numeros b { font-size: clamp(30px, 3.2vw, 40px); font-weight: 500; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.numeros > div > span { color: var(--t3); font-size: 13px; line-height: 1.4; }

/* ═══ blocos ═══ */
.cel { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.8vw, 34px); }
.cel .txt { margin-top: 2px; }
.ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 11px; background: var(--surf); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--acc); }
.ic svg { width: 19px; height: 19px; }
.passo-n { color: var(--acc-t); }
.foto { position: relative; overflow: hidden; min-height: 380px; background: radial-gradient(70% 70% at 60% 40%, rgba(90, 131, 255, 0.18), transparent 70%), var(--surf-2); }
.foto img { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.beneficios { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.beneficios > div { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px clamp(20px, 2.6vw, 30px); background: var(--bg); }
.beneficios .ic { margin: 0; width: 36px; height: 36px; }
.beneficios b { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.beneficios small { display: block; color: var(--t3); font-size: 13px; }
.beneficios em { font-style: normal; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--acc-t); }

/* ═══ faixa escura (perguntas, Clinic Score) ═══
   Sem cortes secos: o azul (no ::before) entra e sai em fade, com o fundo da página a aparecer
   por baixo. O fade fica no espaço de cima da primeira secção e no de baixo da última, por isso
   nunca apanha o texto, e as linhas laterais (.q) atravessam-no e ligam às das secções vizinhas. */
.escuro { --line: var(--navy-line); --t1: #f3f5ff; --t2: var(--navy-t2); --t3: var(--navy-t3); --t4: rgba(226, 232, 255, 0.34);
  --fade: clamp(130px, 15vw, 230px); --linha-clara: rgba(16, 24, 56, 0.08);
  position: relative; color: var(--t1); isolation: isolate; overflow: hidden; }
.escuro::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 40% at 50% var(--fade), rgba(47, 95, 242, 0.35), transparent 70%), radial-gradient(50% 35% at 50% calc(100% - var(--fade)), rgba(47, 95, 242, 0.22), transparent 70%), var(--navy);
  --mascara: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.06) calc(var(--fade) * 0.18), rgba(0, 0, 0, 0.22) calc(var(--fade) * 0.36), rgba(0, 0, 0, 0.5) calc(var(--fade) * 0.56), rgba(0, 0, 0, 0.8) calc(var(--fade) * 0.78), #000 var(--fade), #000 calc(100% - var(--fade)), rgba(0, 0, 0, 0.8) calc(100% - var(--fade) * 0.78), rgba(0, 0, 0, 0.5) calc(100% - var(--fade) * 0.56), rgba(0, 0, 0, 0.22) calc(100% - var(--fade) * 0.36), rgba(0, 0, 0, 0.06) calc(100% - var(--fade) * 0.18), transparent 100%);
  -webkit-mask-image: var(--mascara); mask-image: var(--mascara); }
.escuro .q { border-color: var(--navy-line); }
.escuro > .q:first-child { padding-top: var(--fade); border-top: 0; border-image: linear-gradient(180deg, var(--linha-clara) 0, var(--navy-line) var(--fade)) 1; }
.escuro > .q:last-child { padding-bottom: var(--fade); border-image: linear-gradient(180deg, var(--navy-line) calc(100% - var(--fade)), var(--linha-clara) 100%) 1; }
.escuro > .q:only-child { border-image: linear-gradient(180deg, var(--linha-clara) 0, var(--navy-line) var(--fade), var(--navy-line) calc(100% - var(--fade)), var(--linha-clara) 100%) 1; }
/* página inicial: por cima das perguntas está a caixa do Clinic Score (mais clara); o fade começa nessa cor */
@media (max-width: 980px) { .escuro > #perguntas { background: linear-gradient(180deg, var(--surf-2) 0, rgba(250, 251, 254, 0.5) calc(var(--fade) * 0.14), rgba(250, 251, 254, 0) calc(var(--fade) * 0.34)); } }
.escuro .gr { background-image: linear-gradient(180deg, #fff 30%, rgba(226, 232, 255, 0.7) 100%); }
.escuro .mono { color: var(--navy-t3); }
.comp-c { overflow-x: auto; margin-top: 36px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--navy-line); background: rgba(255, 255, 255, 0.02); scrollbar-width: thin; }
.comp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.comp th { padding: 18px 14px 14px; color: var(--navy-t3); font-family: var(--m); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; white-space: nowrap; }
.comp th:first-child, .comp td:first-child { text-align: left; padding-left: 22px; }
.comp td { padding: 15px 14px; border-top: 1px solid var(--navy-line); color: var(--navy-t2); text-align: center; }
.comp td:first-child { color: #f3f5ff; }
.comp .hm { background: rgba(47, 95, 242, 0.14); }
.comp th.hm { color: #fff; border-radius: 12px 12px 0 0; }
.comp th.hm span { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--acc-grad); color: #fff; font-size: 9.5px; }
.comp tr:last-child .hm { border-radius: 0 0 12px 12px; }
.sim, .nao, .meio { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.sim { background: rgba(74, 222, 128, 0.14); color: #4ade80; }
.nao { background: rgba(248, 113, 113, 0.12); color: #f87171; }
.meio { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }
.sim svg, .nao svg, .meio svg { width: 13px; height: 13px; }

/* perguntas */
.perg { margin-top: 32px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; text-align: left; }
.perg details { border-top: 1px solid var(--line); }
.perg details:first-child { border-top: 0; }
.perg summary { display: flex; align-items: center; gap: 16px; padding: 19px 22px; font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; list-style: none; transition: background-color 0.15s; }
.perg summary:hover { background: rgba(255, 255, 255, 0.03); }
.perg summary::-webkit-details-marker { display: none; }
.perg summary .mono { flex: none; width: 22px; }
.perg summary::after { content: ''; flex: none; width: 9px; height: 9px; margin-left: auto; border-right: 1.5px solid var(--t3); border-bottom: 1.5px solid var(--t3); transform: rotate(45deg) translateY(-3px); transition: transform 0.25s var(--ease); }
.perg details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.perg details p { margin: 0; padding: 0 22px 20px 60px; max-width: 78ch; color: var(--t2); font-size: 14.5px; }
.perg-mais { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; color: var(--t3); font-size: 14px; }
.perg-mais a { color: var(--t1); font-weight: 500; }
@media (max-width: 560px) { .perg details p { padding-left: 22px; } }

/* ═══ chamada final ═══ */
.cta { position: relative; overflow: hidden; margin: var(--pad); border-radius: 22px; background: linear-gradient(180deg, #0f1a44 0%, #070d24 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); color: #f3f5ff; isolation: isolate; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 85% 100%, rgba(47, 95, 242, 0.5), transparent 70%); }
.cta-c { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
.cta-t { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px); }
.cta .t2 { color: #fff; max-width: 16ch; }
.cta .t2 .gr { background-image: linear-gradient(180deg, #fff 30%, rgba(226, 232, 255, 0.72) 100%); }
.cta p { margin: 0; max-width: 46ch; color: var(--navy-t2); font-size: 16px; }
.cta-img { position: relative; align-self: end; min-height: 320px; }
.cta-img img { position: absolute; right: 0; bottom: 0; width: 112%; max-width: none; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
@media (max-width: 860px) { .cta-c { grid-template-columns: minmax(0, 1fr); } .cta-img { min-height: 240px; } .cta-img img { width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%); mask-image: linear-gradient(180deg, transparent 0%, #000 40%); } }

/* faixa de palavras a rolar */
.rolo { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surf); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rolo-i { display: flex; gap: 44px; width: max-content; padding: 15px 0; animation: rolar 48s linear infinite; }
.rolo-i span { display: inline-flex; align-items: center; gap: 10px; color: var(--t2); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.rolo-i span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc-2); }
@keyframes rolar { to { transform: translateX(-50%); } }

/* ═══ rodapé ═══ */
.pe { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px; padding: clamp(40px, 5vw, 64px) var(--pad) 32px; }
.pe img { width: 132px; }
.pe p { margin: 14px 0 0; max-width: 36ch; color: var(--t3); font-size: 13.5px; }
.pe h2 { margin: 0 0 12px; color: var(--t3); font-size: 12.5px; font-weight: 500; }
.pe ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.pe ul a { color: var(--t1); font-size: 14px; text-decoration: none; transition: color 0.15s; }
.pe ul a:hover { color: var(--acc-t); }
.pe-baixo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px; padding: 18px var(--pad) 26px; border-top: 1px solid var(--line); color: var(--t3); font-size: 12.5px; }
.pe-baixo a { color: var(--t2); text-decoration: none; }
.pe-baixo a:hover { color: var(--t1); text-decoration: underline; }
@media (max-width: 760px) { .pe { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pe-m { grid-column: 1 / -1; } }

/* ═══ aviso de cookies ═══ */
.cookies { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: grid; gap: 12px; width: min(400px, calc(100vw - 32px)); padding: 16px; border-radius: 16px; background: var(--surf); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px -24px rgba(16, 32, 90, 0.4); color: var(--t2); font-size: 13.5px; line-height: 1.5; opacity: 0; transform: translateY(14px); transition: opacity 0.3s var(--ease), transform 0.5s var(--ease); }
.cookies.on { opacity: 1; transform: none; }
.cookies p { margin: 0; }
.cookies p b { display: block; margin-bottom: 2px; color: var(--t1); font-weight: 500; }
.cookies-b { display: flex; justify-content: flex-end; gap: 8px; }

/* ═══ página legal ═══ */
.legal { max-width: 760px; padding: clamp(40px, 6vw, 80px) var(--pad); }
.legal h1 { margin: 10px 0 8px; }
.legal h2 { margin: 40px 0 10px; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--t2); font-size: 15px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--acc-t); }
.legal table { width: 100%; margin: 12px 0; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--t2); }
.legal th { color: var(--t3); font-family: var(--m); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.legal .tab-c { overflow-x: auto; }

/* ═══ entradas ═══ */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.rv.visto { opacity: 1; transform: none; }
.palavras .pl { display: inline-block; opacity: 0; transform: translateY(0.35em); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.palavras.visto .pl { opacity: 1; transform: none; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-sai 0.26s var(--ease) both; }
::view-transition-new(root) { animation: vt-entra 0.42s var(--ease) both; }
@keyframes vt-sai { to { opacity: 0; } }
@keyframes vt-entra { from { opacity: 0; } }
html.a-sair body { opacity: 0; transition: opacity 0.2s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .rv, .palavras .pl { transform: none; }
  .flutua, .rolo-i, .vivo::before { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   agendamento: perguntas → horário → contacto → confirmado
   ═══════════════════════════════════════════════════════════════════════ */
.ag-heroi { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.ag-t { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: clamp(36px, 5vw, 72px) var(--pad); }
.ag-t .t1 { font-size: clamp(36px, 4.6vw, 60px); }
.ag-t .lead { margin: 0; }
.ag-f { padding: clamp(18px, 3vw, 40px); border-left: 1px solid var(--line); background: radial-gradient(70% 60% at 50% 0%, rgba(90, 131, 255, 0.16), transparent 70%); }
@media (max-width: 980px) { .ag-heroi { grid-template-columns: minmax(0, 1fr); } .ag-f { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .ag-f { padding: 12px; } }

.cartao { position: relative; overflow: hidden; border-radius: 20px; background: var(--surf); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -36px rgba(16, 32, 90, 0.4); }
.cartao-topo { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.cartao-topo .mono { flex: 1; }
.voltar { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 6px; border: 0; border-radius: 8px; background: transparent; color: var(--t2); font-size: 13px; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.voltar:hover { background: var(--surf-3); color: var(--t1); }
.voltar svg { width: 15px; height: 15px; }
.progresso { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: transparent; }
.progresso i { display: block; height: 100%; background: var(--acc-grad); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.6s var(--ease); }
.passo-c { padding: clamp(22px, 3vw, 32px); }
.passo-c > h2 { margin: 0 0 6px; font-size: clamp(20px, 2.2vw, 25px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; text-wrap: balance; }
.passo-c > p { margin: 0 0 20px; color: var(--t3); font-size: 14px; }
.entra { animation: entra 0.5s var(--ease) both; }
@keyframes entra { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .entra { animation: none; } }

.opcoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.opcao { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--surf-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t1); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-align: left; cursor: pointer; transition: box-shadow 0.18s, background-color 0.18s, transform 0.2s var(--ease); }
.opcao:hover { background: var(--surf); box-shadow: inset 0 0 0 1px var(--acc-line), 0 8px 20px -14px rgba(33, 72, 204, 0.5); }
.opcao:active { transform: scale(0.98); }
.opcao[aria-pressed="true"] { background: var(--acc-bg); box-shadow: inset 0 0 0 1.5px var(--acc); }
.opcao i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--surf); box-shadow: inset 0 0 0 1px var(--line); color: var(--acc); font-style: normal; }
.opcao i svg { width: 17px; height: 17px; }
.opcao.so-txt { justify-content: center; text-align: center; }
@media (max-width: 480px) { .opcoes.lista { grid-template-columns: minmax(0, 1fr); } }

/* dias e horas */
.dias-c { position: relative; margin: 0 -4px; }
.dias { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dias::-webkit-scrollbar { display: none; }
.dia { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; width: 66px; padding: 10px 0 9px; border: 0; border-radius: 14px; background: var(--surf-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t1); cursor: pointer; scroll-snap-align: start; transition: box-shadow 0.18s, background-color 0.18s, transform 0.2s var(--ease); }
.dia small { color: var(--t3); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.dia b { font-size: 21px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.dia span { color: var(--t3); font-size: 11.5px; }
.dia:hover { box-shadow: inset 0 0 0 1px var(--acc-line); background: var(--surf); }
.dia:active { transform: scale(0.97); }
.dia[aria-pressed="true"] { background: var(--acc-grad); box-shadow: 0 10px 22px -12px rgba(33, 72, 204, 0.8); color: #fff; }
.dia[aria-pressed="true"] small, .dia[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.8); }
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-top: 14px; }
.hora { height: 44px; border: 0; border-radius: 11px; background: var(--surf); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t1); font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; cursor: pointer; transition: box-shadow 0.15s, background-color 0.15s, color 0.15s, transform 0.2s var(--ease); }
.hora:hover { box-shadow: inset 0 0 0 1.5px var(--acc); color: var(--acc-t); }
.hora:active { transform: scale(0.96); }
.hora[aria-pressed="true"] { background: var(--acc); box-shadow: none; color: #fff; }
.fuso { display: flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--t3); font-size: 12.5px; }
.fuso svg { width: 14px; height: 14px; }
.vazio { padding: 26px 18px; border-radius: 14px; background: var(--surf-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--t2); font-size: 14px; text-align: center; }
.esq { border-radius: 12px; background: linear-gradient(90deg, var(--surf-3) 25%, #f6f8fd 50%, var(--surf-3) 75%); background-size: 300% 100%; animation: esq 1.4s linear infinite; }
@keyframes esq { from { background-position: 100% 0; } to { background-position: -200% 0; } }

/* resumo do horário escolhido */
.escolhido { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 12px 14px; border-radius: 14px; background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.escolhido > i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--acc-grad); color: #fff; font-style: normal; }
.escolhido > i svg { width: 18px; height: 18px; }
.escolhido span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.escolhido b { font-size: 14.5px; font-weight: 500; }
.escolhido small { color: var(--t3); font-size: 12.5px; }
.escolhido button { border: 0; background: none; color: var(--acc-t); font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* campos */
.form { display: grid; gap: 14px; }
.duas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 520px) { .duas { grid-template-columns: minmax(0, 1fr); } }
.campo { display: grid; gap: 6px; }
.campo > span { color: var(--t1); font-size: 13.5px; font-weight: 500; }
.campo input { width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--surf-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t1); font: inherit; font-size: 15.5px; transition: box-shadow 0.15s, background-color 0.15s; }
.campo input:hover { box-shadow: inset 0 0 0 1px var(--t4); }
.campo input:focus { outline: 0; background: var(--surf); box-shadow: inset 0 0 0 1.5px var(--acc); }
.campo input::placeholder { color: var(--t4); }
.campo [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--bad) !important; }
.campo .erro { color: var(--bad); font-size: 12.5px; }
.tel { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.tel > span { display: grid; place-items: center; padding: 0 12px; border-radius: 12px 0 0 12px; background: var(--surf-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t2); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.tel input { border-radius: 0 12px 12px 0; }
.consent { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 11px; margin-top: 4px; color: var(--t2); font-size: 13px; line-height: 1.5; cursor: pointer; }
.consent input { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; margin: 0; opacity: 0; }
.consent > i { width: 20px; height: 20px; border-radius: 6px; background: var(--surf-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 0.15s, box-shadow 0.15s; }
.consent:hover > i { box-shadow: inset 0 0 0 1px var(--t4); }
.consent input:checked + i { background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }
.consent input:focus-visible + i { outline: 2px solid var(--acc-2); outline-offset: 2px; }
.consent.erro-c > i { box-shadow: inset 0 0 0 1.5px var(--bad); }
.aviso-erro { padding: 12px 14px; border-radius: 12px; background: var(--bad-bg); color: var(--bad); font-size: 13.5px; }
.b-enviar { width: 100%; margin-top: 6px; }
.b-enviar[disabled] { opacity: 0.7; cursor: progress; }
.roda { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: rodar 0.8s linear infinite; }
@keyframes rodar { to { transform: rotate(1turn); } }
.honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* fim: confirmado / não qualificado */
.fim { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: clamp(32px, 5vw, 52px) clamp(22px, 4vw, 40px); text-align: center; }
.fim h2 { margin: 6px 0 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 500; letter-spacing: -0.03em; }
.fim p { margin: 0; max-width: 42ch; color: var(--t2); font-size: 15px; }
.fim-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.fim-ic svg { width: 30px; height: 30px; }
.fim-ic.neutro { background: var(--surf-3); color: var(--t2); }
.fim-ic path.desenha { stroke-dasharray: 30; stroke-dashoffset: 30; animation: desenha 0.6s 0.2s var(--ease) forwards; }
@keyframes desenha { to { stroke-dashoffset: 0; } }
.fim-quando { display: flex; flex-direction: column; gap: 2px; margin: 6px 0; padding: 14px 20px; border-radius: 14px; background: var(--surf-2); box-shadow: inset 0 0 0 1px var(--line); }
.fim-quando b { font-size: 16px; font-weight: 500; }
.fim-quando small { color: var(--t3); font-size: 13px; }
.selos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; padding: 14px 20px 18px; border-top: 1px solid var(--line); color: var(--t3); font-size: 12.5px; }
.selos span { display: inline-flex; align-items: center; gap: 6px; }
.selos svg { width: 14px; height: 14px; color: var(--acc); }

/* método */
.metodo .cel { min-height: 230px; }
.metodo .n { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 50%; background: var(--acc-grad); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 8px 18px -10px rgba(33, 72, 204, 0.9); }
.nota { color: var(--t3); font-size: 12.5px; text-align: center; padding: 18px var(--pad); }
.det-c { overflow: hidden; }
/* telemóvel: o formulário aparece logo no primeiro ecrã (quem vem do anúncio quer marcar) */
@media (max-width: 640px) {
  .ag-t { gap: 10px; padding: 22px 18px 18px; }
  .ag-t .t1 { font-size: clamp(28px, 8.4vw, 34px); }
  .ag-t .lead { font-size: 15px; }
  .ag-t .confianca, .ag-t .mono.etq { display: none; }
  .passo-c { padding: 20px 18px; }
  .opcao { min-height: 54px; padding: 12px 14px; font-size: 14.5px; }
}

/* ═══ página de confirmação (vídeo depois de marcar) ═══ */
.conf-topo { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: clamp(22px, 4vw, 64px); padding-bottom: clamp(28px, 4vw, 44px); }
.conf-topo .lead { margin: 4px auto 0; }
.conf-ic { width: 60px; height: 60px; }
.conf-ic svg { width: 28px; height: 28px; }
.conf-quando { margin: 2px 0 0; }
.conf-video-c { width: min(920px, 100% - 2 * var(--pad)); margin: 0 auto clamp(48px, 7vw, 88px); }
.conf-video, .conf-video-c iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: var(--navy); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(16, 32, 90, 0.55); cursor: pointer; }
.conf-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.conf-video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 13, 36, 0) 45%, rgba(7, 13, 36, 0.55) 100%); }
.conf-video:hover img { transform: scale(1.02); }
.conf-play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--acc-grad); color: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.16), 0 20px 40px -12px rgba(33, 72, 204, 0.9); transition: transform 0.3s var(--bump); }
.conf-play svg { width: 30px; height: 30px; margin-left: 4px; }
.conf-video:hover .conf-play { transform: scale(1.06); }
.conf-video:active .conf-play { transform: scale(0.96); }
.conf-video-l { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: rgba(255, 255, 255, 0.85); }
.conf-passos .n { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 8px; border-radius: 50%; background: var(--acc-grad); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 8px 18px -10px rgba(33, 72, 204, 0.9); }
@media (max-width: 640px) { .conf-play { width: 62px; height: 62px; margin: -31px 0 0 -31px; } .conf-video, .conf-video-c iframe { border-radius: 12px; } }

/* ═══ /gerir: o lead muda a hora ou cancela ═══ */
.gerir-c { max-width: 600px; margin-inline: auto; padding-block: clamp(32px, 6vw, 72px); }
.gerir-acoes { display: grid; gap: 10px; margin-top: 4px; }
.gerir-acoes .b { width: 100%; }
.gerir-cancelar { color: var(--t3); font-size: 14px; }
.gerir-cancelar:hover { color: var(--bad); }
.troca-h { display: grid; gap: 1px; margin-bottom: 18px; overflow: hidden; border-radius: 14px; background: var(--line-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.troca-h > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--surf); }
.troca-h > div:last-child { background: var(--acc-bg); }
.troca-h small { color: var(--t3); font-size: 12px; }
.troca-h b { font-size: 15px; font-weight: 500; }
.riscado { color: var(--t3); text-decoration: line-through; text-decoration-color: var(--t4); }
.link-txt { padding: 0; border: 0; background: none; color: var(--acc-t); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.motivo { width: 100%; min-height: 84px; padding: 11px 14px; border: 0; border-radius: 12px; background: var(--surf-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t1); font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; }
.motivo:focus { outline: 0; background: var(--surf); box-shadow: inset 0 0 0 1.5px var(--acc); }
.conf-gerir { margin: 0; color: var(--t3); font-size: 14px; }
.conf-gerir a { color: var(--acc-t); }

/* ═══════════════════════════════════════════════════════════════════════
   diagnóstico gratuito (/diagnostico)
   ═══════════════════════════════════════════════════════════════════════ */
:root { --verde: #16a34a; --amarelo: #d97706; --vermelho: #dc2626; }
.diag-areas { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.diag-areas li { display: flex; align-items: center; gap: 10px; color: var(--t2); font-size: 14px; }
.diag-areas i { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 0%, transparent); }
@media (max-width: 640px) { .diag-areas { display: none; } }
.volta { animation: volta 0.45s var(--ease) both; }
@keyframes volta { from { opacity: 0; transform: translateX(-14px); } }
.entra { animation-name: entra-d; }
@keyframes entra-d { from { opacity: 0; transform: translateX(14px); } }
@media (prefers-reduced-motion: reduce) { .volta, .entra { animation: none; } }

/* opções com caixa (várias) ou bola (uma) */
.opcao .caixa, .opcao .bola { display: grid; place-items: center; flex: none; width: 20px; height: 20px; box-shadow: inset 0 0 0 1.5px var(--t4); color: transparent; background: var(--surf); transition: background-color 0.15s, box-shadow 0.15s, color 0.15s; }
.opcao .caixa { border-radius: 6px; }
.opcao .caixa svg { width: 12px; height: 12px; }
.opcao .bola { border-radius: 50%; }
.opcao[aria-pressed="true"] .caixa { background: var(--acc); box-shadow: none; color: #fff; }
.opcao[aria-pressed="true"] .bola { box-shadow: inset 0 0 0 6px var(--acc); }
.diag-ops { margin-top: 14px; }
.diag-ops .opcao { min-height: 54px; font-size: 14.5px; line-height: 1.35; }
.diag-ops .opcao span { min-width: 0; }
.diag-grupo { grid-column: 1 / -1; margin: 6px 0 -2px; color: var(--t3); font-family: var(--m); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.diag-grupo:first-child { margin-top: 0; }
@media (max-width: 560px) { .diag-ops { grid-template-columns: minmax(0, 1fr); } }

/* cidades em "chips" */
.chips-c { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 52px; padding: 7px 8px; border-radius: 12px; background: var(--surf-2); box-shadow: inset 0 0 0 1px var(--line-2); cursor: text; transition: box-shadow 0.15s, background-color 0.15s; }
.chips-c:focus-within { background: var(--surf); box-shadow: inset 0 0 0 1.5px var(--acc); }
.chips { display: contents; }
.chip-c { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 6px 0 12px; border-radius: 999px; background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); color: var(--acc-t); font-size: 14px; font-weight: 500; animation: entra-d 0.3s var(--ease); }
.chip-c button { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.chip-c button:hover { background: rgba(47, 95, 242, 0.14); }
.chip-c button svg { width: 12px; height: 12px; }
.chips-c input { flex: 1; min-width: 140px; height: 36px; padding: 0 6px; border: 0; outline: 0; background: transparent; color: var(--t1); font: inherit; font-size: 15.5px; }
.chips-c input::placeholder { color: var(--t4); }
.chips-add { justify-self: start; }
.chips-add svg { width: 13px; height: 13px; }

/* investimento em anúncios */
.diag-invest { margin-top: 14px; animation: entra 0.4s var(--ease); }
.euro { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.euro input { border-radius: 12px 0 0 12px !important; }
.euro > span { display: grid; place-items: center; padding: 0 14px; border-radius: 0 12px 12px 0; background: var(--surf-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t2); font-size: 14px; white-space: nowrap; }

/* gate */
.diag-pronto { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.diag-pronto svg { width: 22px; height: 22px; }
.diag-nota { margin: 2px 0 0; color: var(--t3); font-size: 12.5px; line-height: 1.5; text-align: center; }

/* resultados */
.diag-res { opacity: 0; transition: opacity 0.5s var(--ease); }
.diag-res.on { opacity: 1; }
.diag-res-cab { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: clamp(36px, 6vw, 72px); text-align: center; }
.diag-res-cab .t2 { max-width: 20ch; margin-inline: auto; }
.diag-res-cab .lead { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; }
.diag-res-cab .lead svg { width: 17px; height: 17px; flex: none; color: var(--acc); }
.diag-resumo { display: grid; gap: 12px; width: min(460px, 100%); margin-top: 10px; }
.diag-barra { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.diag-barra i { height: 10px; border-radius: 999px; transform-origin: left; animation: barra 0.7s var(--ease) both; animation-delay: calc(0.2s + var(--i) * 0.1s); }
@keyframes barra { from { transform: scaleX(0); opacity: 0; } }
.diag-barra .verde { background: var(--verde); } .diag-barra .amarelo { background: var(--amarelo); } .diag-barra .vermelho { background: var(--vermelho); }
.diag-contas { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.diag-contas span { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surf); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t2); font-size: 13px; }
.diag-contas b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.diag-contas .vermelho b { color: var(--vermelho); } .diag-contas .amarelo b { color: var(--amarelo); } .diag-contas .verde b { color: var(--verde); }
.diag-grelha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 8px var(--pad) clamp(28px, 4vw, 44px); }
@media (max-width: 760px) { .diag-grelha { grid-template-columns: minmax(0, 1fr); } }
.diag-c { --c: var(--amarelo); position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; overflow: hidden; border-radius: 18px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 7%, var(--surf)) 0%, var(--surf) 70%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 28%, var(--line)), 0 20px 40px -30px rgba(16, 32, 90, 0.35); animation: entra 0.6s var(--ease) both; animation-delay: calc(0.3s + var(--i) * 0.08s); }
.diag-c::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.diag-c.verde { --c: var(--verde); } .diag-c.vermelho { --c: var(--vermelho); }
.diag-c h3 { margin: 4px 0 0; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.diag-c p { margin: 0; color: var(--t2); font-size: 14.5px; line-height: 1.6; text-wrap: pretty; }
.diag-c-topo { display: flex; align-items: center; gap: 10px; }
.diag-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, var(--surf)); color: var(--c); }
.diag-ic svg { width: 18px; height: 18px; }
.diag-estado { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, transparent); color: color-mix(in srgb, var(--c) 82%, #000); font-size: 12.5px; font-weight: 600; }
.diag-estado i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.diag-estado svg { width: 13px; height: 13px; margin-left: -2px; }
.diag-n { margin-left: auto; color: var(--t4); }
/* a área de aquisição a vermelho fica em destaque: largura toda, borda mais forte */
.diag-c.destaque { grid-column: 1 / -1; padding: 24px 26px 26px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 10%, var(--surf)) 0%, var(--surf) 80%); box-shadow: inset 0 0 0 2px var(--c), 0 24px 50px -28px color-mix(in srgb, var(--c) 60%, transparent); }
.diag-c.destaque::before { width: 6px; }
.diag-c.destaque h3 { font-size: 23px; }
.diag-c.destaque p { font-size: 15.5px; max-width: 72ch; }
.diag-c.destaque .diag-estado i { animation: pulsar-v 1.6s var(--ease) infinite; }
@keyframes pulsar-v { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--vermelho) 25%, transparent); } }
.diag-cta { margin-top: 0; }
.diag-cta .cta-t { padding-block: clamp(36px, 5vw, 64px); }
.diag-cta .b svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .diag-c, .diag-barra i { animation: none; } .diag-c.destaque .diag-estado i { animation: none; } }
/* pré-visualização do diagnóstico na página principal */
.diag-prev-c { display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); background: radial-gradient(60% 60% at 50% 40%, rgba(90, 131, 255, 0.16), transparent 70%), var(--surf-2); }
.diag-prev { display: grid; gap: 8px; width: min(380px, 100%); }
.diag-prev > div { --c: var(--amarelo); display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; background: var(--surf); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, var(--line)), 0 14px 30px -24px rgba(16, 32, 90, 0.4); }
.diag-prev .verde { --c: var(--verde); } .diag-prev .vermelho { --c: var(--vermelho); }
.diag-prev .destaque { box-shadow: inset 0 0 0 2px var(--c), 0 18px 34px -22px color-mix(in srgb, var(--c) 60%, transparent); }
.diag-prev i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.diag-prev b { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.diag-prev small { color: color-mix(in srgb, var(--c) 80%, #000); font-size: 12px; font-weight: 600; }

/* ═══ Clinic Score: página de apresentação ═══ */
.cs-heroi { display: flow-root; overflow: hidden; overflow-x: clip; overflow-y: visible; background: radial-gradient(70% 38% at 50% 60%, rgba(90, 131, 255, 0.2), transparent 70%); }
.cs-heroi-t { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(28px, 4vw, 44px); }
.cs-heroi-t .t1 { max-width: 14ch; margin-inline: auto; font-size: clamp(38px, 6.2vw, 76px); }
.cs-heroi-t .lead { margin: 0 auto; max-width: 56ch; }
.cs-acc { background: var(--acc-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; }
.escuro .cs-acc { background: linear-gradient(180deg, #8eaaff 0%, #5a83ff 100%); -webkit-background-clip: text; background-clip: text; }
.cs-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); color: var(--t2); font-size: 13.5px; }
.cs-pill b { color: var(--acc-t); font-weight: 600; }
.cs-pill i { width: 14px; height: 14px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(47, 95, 242, 0.18); animation: pulsar-a 2s var(--ease) infinite; }
@keyframes pulsar-a { 50% { box-shadow: 0 0 0 7px rgba(47, 95, 242, 0); } }
/* o botão grande, com o círculo escuro à direita */
.cs-cta { position: relative; display: inline-flex; align-items: center; justify-content: center; width: min(520px, 100%); height: 70px; margin-top: 6px; padding: 0 76px 0 30px; border: 0; border-radius: 22px; background: var(--acc-grad); color: #fff; font: inherit; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; cursor: pointer; box-shadow: 0 22px 44px -18px rgba(33, 72, 204, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(20, 50, 170, 0.35); transition: transform 0.2s var(--ease), filter 0.2s; }
.cs-cta:hover { filter: brightness(1.07); }
.cs-cta:active { transform: scale(0.98); }
.cs-cta i { position: absolute; right: 10px; top: 50%; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #0c1224; color: #fff; transform: translateY(-50%); transition: transform 0.3s var(--bump); }
.cs-cta i svg { width: 20px; height: 20px; }
.cs-cta:hover i { transform: translateY(-50%) translateX(3px); }
.cs-garantias { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 0; padding: 0; list-style: none; color: var(--t3); font-size: 13.5px; }
.cs-garantias li { display: inline-flex; align-items: center; gap: 7px; }
.cs-garantias svg { width: 15px; height: 15px; color: var(--acc); }
/* a imagem em destaque */
.cs-imagem { position: relative; width: min(500px, calc(100% - 2 * var(--pad))); margin: 0 auto clamp(40px, 6vw, 72px); }
.cs-imagem::before { content: ''; position: absolute; inset: 8% -12% -4%; z-index: -1; background: radial-gradient(closest-side, rgba(47, 95, 242, 0.42), transparent); filter: blur(10px); }
/* a imagem tem 34px transparentes de cada lado (1080 → cartão de 1012): o recorte tira-os */
.cs-recorte { overflow: hidden; border-radius: 26px; background: #000; box-shadow: 0 50px 90px -40px rgba(12, 18, 50, 0.65); animation: flutua 7s ease-in-out infinite; }
.cs-recorte img { display: block; width: 106.72%; max-width: none; height: auto; margin-left: -3.36%; }
@media (prefers-reduced-motion: reduce) { .cs-recorte, .cs-pill i { animation: none; } }
/* os passos, na faixa escura */
.cs-passos-c { max-width: 900px; margin-inline: auto; }
.cs-passos { margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cs-passos li { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 16px; padding: clamp(22px, 3vw, 32px) 0; border-bottom: 1px solid var(--line); }
.cs-passos .n { color: var(--t3); font-size: clamp(26px, 3vw, 34px); font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cs-passos h3 { margin: 0 0 6px; color: var(--t1); font-size: clamp(19px, 2vw, 23px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.cs-passos p { margin: 0; color: var(--t2); font-size: 15.5px; line-height: 1.6; max-width: 56ch; }
@media (max-width: 560px) { .cs-passos li { grid-template-columns: 52px minmax(0, 1fr); align-items: start; gap: 10px; } .cs-passos .n { font-size: 22px; padding-top: 2px; } }
.cs-final { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(36px, 5vw, 56px); padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 40px); border-radius: 22px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.cs-final h3 { margin: 0; color: var(--t1); font-size: clamp(22px, 2.6vw, 28px); font-weight: 500; letter-spacing: -0.025em; }
.cs-final p { margin: 0; max-width: 50ch; color: var(--t2); font-size: 15.5px; }
.cs-final .acoes { justify-content: center; margin-top: 8px; }
.cs-final .b svg { width: 16px; height: 16px; }
.cs-sec { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); color: #fff; }
.cs-sec:hover { background: rgba(255, 255, 255, 0.1); }
@media (max-width: 560px) { .cs-final .acoes { flex-direction: column; width: 100%; } .cs-final .acoes .b { width: 100%; } }
/* o quiz, centrado */
.cs-quiz .dentro { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 640px; margin-inline: auto; padding-block: clamp(28px, 5vw, 60px); }
.cs-quiz .cartao { width: 100%; }
@media (max-width: 560px) { .cs-quiz .dentro { padding: 16px 12px 32px; } }

/* ═══ ajustes de 13/11 ═══ */
/* itálico (Instrument Serif) em fundo claro: azul da marca, como o "Clinic Score" */
.it, .it.gr, .gr .it { background-image: var(--acc-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--acc); padding-right: 0.06em; }
.escuro .it, .escuro .it.gr { background-image: linear-gradient(180deg, #fff 30%, rgba(226, 232, 255, 0.7) 100%); }
/* faixa de palavras a rolar: fundo azul, texto branco */
.rolo { border-color: transparent; background: linear-gradient(90deg, #2148cc 0%, #2f5ff2 50%, #2148cc 100%); -webkit-mask-image: none; mask-image: none; }
.rolo-i span { color: #fff; }
.rolo-i span::before { background: rgba(255, 255, 255, 0.7); }
/* caixa do formulário de agendamento: cinzento escuro metálico.
   Texto branco por cima do cinzento; as superfícies brancas (respostas, dias, horas, campos)
   voltam às cores normais, com texto escuro. Os ícones mantêm o azul. */
.ag-f .cartao {
  --t1: #fff; --t2: rgba(255, 255, 255, 0.78); --t3: rgba(255, 255, 255, 0.6); --t4: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.1); --line-2: rgba(255, 255, 255, 0.16); --surf-2: #fff; --surf-3: rgba(255, 255, 255, 0.08);
  --acc-t: #9db4ff; --acc-bg: rgba(90, 131, 255, 0.16); --acc-line: rgba(120, 155, 255, 0.45); --bad: #ff8a8a;
  color: var(--t1);
  background: radial-gradient(90% 60% at 12% 0%, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0) 60%), linear-gradient(155deg, #3d424d 0%, #22262d 38%, #30353e 60%, #16191e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 34px 70px -30px rgba(10, 13, 22, 0.6); }
.ag-f .cartao :is(.opcao, .dia, .hora, .campo input, .vazio, .fim-quando, .tel > span, .b-s) {
  --t1: #0c1224; --t2: #444b62; --t3: #697088; --t4: #a2a8ba; --line: rgba(16, 24, 56, 0.08); --line-2: rgba(16, 24, 56, 0.15);
  --surf: #fff; --surf-3: #eef1f8; --acc-t: #2147c9; --acc-bg: rgba(47, 95, 242, 0.08); --acc-line: rgba(47, 95, 242, 0.32); }
.ag-f .cartao .tel > span { background: #eef1f8; }
.ag-f .cartao .opcao[aria-pressed="true"] { background: #e9eeff; }
.ag-f .cartao .dia[aria-pressed="true"] small, .ag-f .cartao .dia[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.8); }
.ag-f .cartao .campo .erro, .ag-f .cartao [data-erro] { color: #ff8a8a !important; }
.ag-f .cartao .consent a, .ag-f .cartao .passo-c a:not(.b) { color: #9db4ff; }
.ag-f .cartao .esq { background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0.06) 75%); background-size: 300% 100%; }
/* quadriculado leve no fundo (agendamento e Clinic Score) */
body[data-pagina="agendamento"]::before, body[data-pagina="diagnostico"]::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(16, 32, 90, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 32, 90, 0.055) 1px, transparent 1px);
  background-size: 46px 46px; background-position: center top;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 20%, #000 40%, rgba(0, 0, 0, 0.35) 100%); mask-image: radial-gradient(120% 90% at 50% 20%, #000 40%, rgba(0, 0, 0, 0.35) 100%); }
/* sem o brilho azul por cima da caixa do formulário */
.ag-f { background: none; }
/* a faixa azul ocupa a largura toda do ecrã */
.rolo { width: 100vw; margin-inline: calc(50% - 50vw); }
/* no agendamento, a faixa fica mais afastada da caixa do formulário */
body[data-pagina="agendamento"] .rolo { margin-top: clamp(28px, 5vw, 56px); }
