/* AHBB · Onco Dermato Goiânia — site público (landing page + agendamento)
   Identidade: azul-marinho institucional, verde AHBB, fundo areia. */

:root {
  --navy: #263f65;
  --navy-deep: #172d4b;
  --navy-ink: #10223a;
  --green: #4f813f;
  --green-dark: #37652e;
  --green-soft: #eaf3e7;
  --green-line: #c9dcc1;
  --ice: #eaf3f5;
  --sand: #f8faf8;
  --sand-deep: #eef2ee;
  --paper: #ffffff;
  --ink: #1b2b3c;
  --muted: #536472;
  --faint: #6f7f8b;
  --line: #dfe5e3;
  --warning: #fbf3d8;
  --danger: #a84646;
  --danger-soft: #fcecec;
  --success: #2c7a4b;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(23, 45, 75, .06), 0 2px 8px rgba(23, 45, 75, .04);
  --shadow: 0 12px 32px rgba(23, 45, 75, .10), 0 2px 6px rgba(23, 45, 75, .05);
  --shadow-lg: 0 30px 70px rgba(10, 24, 42, .28), 0 6px 18px rgba(10, 24, 42, .12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --topo: 76px;
}

/* ---------- Base e superfícies do navegador ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-anchor: none; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 8px); scrollbar-color: #b7c4c9 var(--sand); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--sand);
  font-family: var(--font); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: #d5e8cd; color: var(--navy-ink); }
input, textarea { caret-color: var(--green); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
img { max-width: 100%; }
svg.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--navy-deep); color: #fff; font-weight: 700; text-decoration: none; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
h2 { margin: 0 0 14px; color: var(--navy-deep); font-size: clamp(1.9rem, 3.1vw, 2.85rem); line-height: 1.08; letter-spacing: -.022em; font-weight: 750; }
h3 { letter-spacing: -.008em; }
section { padding: 104px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.06rem; text-wrap: pretty; }

/* ---------- Botões ---------- */
.button {
  position: relative; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-weight: 700; font-size: .95rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .18s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s, border-color .2s, color .2s;
}
.button .ic { transition: transform .25s var(--ease-out); }
.button:hover .ic:last-child { transform: translateX(3px); }
.button:active { transform: translateY(0) scale(.985); transition-duration: .08s; }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 20px -6px rgba(55, 101, 46, .55); }
.button-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 14px 26px -8px rgba(55, 101, 46, .6); }
.button-quiet, .button-secondary { color: var(--navy); background: #fff; border: 1px solid rgba(38, 63, 101, .18); }
.button-quiet:hover, .button-secondary:hover { border-color: rgba(38, 63, 101, .38); background: #fbfcfc; }
.button-danger { color: var(--danger); background: #fff; border: 1px solid #ecc9c9; }
.button-danger:hover { background: #fdf4f4; border-color: #e0b1b1; }
.button-small { min-height: 40px; padding: 8px 15px; border-radius: 10px; font-size: .87rem; }
.button-lg { min-height: 54px; padding: 14px 24px; font-size: 1rem; }
.button[disabled] { background: #a7bba0; box-shadow: none; cursor: not-allowed; transform: none; }
.button[disabled] .ic:last-child { transform: none; }
.button.is-loading { pointer-events: none; }
.button.is-loading::after { content: ""; width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: girar .7s linear infinite; }
.link-seta { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--green-dark); font-weight: 700; text-decoration: none; }
.link-seta .ic { transition: transform .25s var(--ease-out); }
.link-seta:hover .ic { transform: translateX(4px); }

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 30; height: var(--topo);
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease-out), border-color .3s;
}
.topo.is-scrolled { border-bottom-color: rgba(32, 61, 101, .08); box-shadow: 0 8px 24px -16px rgba(23, 45, 75, .35); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 134px; height: auto; display: block; }
.brand-divider { height: 28px; width: 1px; background: #ccd5db; }
.brand-text { font-family: var(--font-display); font-size: .8rem; line-height: 1.15; color: var(--navy); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.brand-text span { display: block; color: var(--green); font-size: .68rem; margin-top: 3px; letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: 6px; color: #445563; font-size: .9rem; font-weight: 600; }
.nav-links a { position: relative; padding: 8px 12px; border-radius: 8px; text-decoration: none; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav-links a:hover, .nav-links a.is-current { color: var(--navy-deep); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); }
.nav-acoes { display: flex; align-items: center; gap: 8px; }
.nav-area .ic { width: 18px; height: 18px; }
.button.nav-area:hover .ic:last-child { transform: none; }

/* ---------- Abertura ---------- */
.hero { position: relative; overflow: hidden; padding: 0; background: var(--paper); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 72px; background: var(--sand); clip-path: ellipse(62% 50% at 50% 100%); z-index: 3; }
.hero-grid { min-height: min(680px, calc(100svh - var(--topo))); display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.hero-copy { position: relative; z-index: 2; padding: 72px 48px 116px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-title { margin: 0 0 22px; max-width: 600px; font-size: clamp(2.75rem, 4.9vw, 4.6rem); line-height: 1; letter-spacing: -.03em; font-weight: 800; color: var(--navy-deep); }
.hero-title em { font-style: normal; color: var(--green); }
.hero-title .linha { display: block; }
.hero-lede { max-width: 540px; margin: 0; color: #485b69; font-size: clamp(1.02rem, 1.4vw, 1.14rem); line-height: 1.6; text-wrap: pretty; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin: 26px 0 0; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .88rem; }
.hero-area { margin: 10px 0 0; max-width: 460px; color: var(--muted); font-size: .88rem; line-height: 1.55; text-wrap: pretty; }
.hero-area a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }
.ic-ok { width: 18px; height: 18px; color: var(--green); stroke-width: 2.4; }
.hero-photo { position: relative; margin: 0 calc((min(1180px, 100vw - 48px) - 100vw) / 2) 0 0; overflow: hidden; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .75) 8%, rgba(255, 255, 255, 0) 34%), linear-gradient(0deg, rgba(16, 34, 58, .22), rgba(16, 34, 58, 0) 40%); }
.hero-photo picture { display: block; height: 100%; }
.hero-photo img { display: block; width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: 58% center; }
.photo-card {
  position: absolute; z-index: 2; right: 28px; bottom: 92px; width: min(330px, calc(100% - 44px));
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 18px 20px; border-radius: 16px; color: #fff;
  background: rgba(16, 34, 58, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg);
}
.photo-card .ic { width: 22px; height: 22px; color: #abd29e; margin-top: 1px; }
.photo-card p { margin: 0; font-size: .92rem; line-height: 1.45; color: #e7eef3; }

/* Ajuste de foco: a foto entra desfocada e ganha nitidez, como um dermatoscópio. */
@keyframes foco { from { filter: blur(16px) saturate(.7); transform: scale(1.07); opacity: .4; } to { filter: blur(0) saturate(1); transform: scale(1); opacity: 1; } }
@keyframes subir-linha { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes surgir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes girar { to { transform: rotate(360deg); } }
.hero-photo img { animation: foco 1.25s var(--ease-out) both; }
.photo-card { animation: surgir .7s var(--ease-out) .95s both; }
.hero-title .linha { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .linha > * { display: inline-block; animation: subir-linha .95s var(--ease-out) .1s both; }
.hero-title .linha + .linha > * { animation-delay: .22s; }
.hero-lede, .hero-actions, .hero-meta, .hero-area { animation: surgir .8s var(--ease-out) both; }
.hero-lede { animation-delay: .35s; }
.hero-actions { animation-delay: .45s; }
.hero-meta, .hero-area { animation-delay: .55s; }

/* ---------- Pilares ---------- */
.pilares { padding: 36px 0 84px; }
.pilares-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); gap: 48px; align-items: center; }
.pilares-lede { margin: 0; color: var(--navy); font-size: 1.1rem; line-height: 1.5; font-weight: 600; text-wrap: balance; }
.pilares-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pilares-lista li { display: flex; gap: 14px; align-items: flex-start; padding: 6px 24px; }
.pilares-lista li + li { border-left: 1px solid #e2e8e3; }
.pilares-lista .ic { width: 26px; height: 26px; color: var(--green); margin-top: 1px; }
.pilares-lista strong { display: block; color: var(--navy-deep); font-size: .98rem; }
.pilares-lista span { display: block; margin-top: 3px; color: var(--muted); font-size: .86rem; line-height: 1.45; }

/* ---------- Sinais de alerta ---------- */
.sinais { background: var(--paper); }
.sinais-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.sinais .section-head { margin: 0; position: sticky; top: calc(var(--topo) + 32px); }
.sinais-card { padding: 32px; border: 1px solid #efe3b8; border-radius: var(--radius-lg); background: linear-gradient(160deg, #fffdf6 0%, var(--warning) 100%); }
.sinais-card h3 { display: flex; gap: 10px; align-items: center; margin: 0 0 20px; color: #4f4113; font-size: 1.08rem; }
.sinais-card h3 .ic { width: 22px; height: 22px; color: #9a7b18; }
.sinais-lista { list-style: none; margin: 0; padding: 0; display: grid; }
.sinais-lista li { position: relative; padding: 13px 0 13px 30px; color: #4c4225; font-size: .98rem; border-top: 1px solid rgba(154, 123, 24, .16); }
.sinais-lista li:first-child { border-top: 0; }
.sinais-lista li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--green); background: #fff; }
.sinais-nota { margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed rgba(154, 123, 24, .3); color: #6e6038; font-size: .86rem; }

/* ---------- Jornada (linha que se desenha com a rolagem) ---------- */
.jornada-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.jornada-head { position: sticky; top: calc(var(--topo) + 32px); margin: 0; }
.passos { --progresso: 1; position: relative; list-style: none; margin: 0; padding: 0; counter-reset: passo; }
.passos::before, .passos::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; }
.passos::before { background: #e2e8e3; }
.passos::after { background: var(--green); transform-origin: top; transform: scaleY(var(--progresso)); }
.passo { position: relative; padding: 4px 0 34px 72px; counter-increment: passo; }
.passo:last-child { padding-bottom: 0; }
.passo::before {
  content: counter(passo); position: absolute; left: 0; top: 0; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 6px var(--sand); transition: background-color .4s var(--ease-out), color .4s, box-shadow .4s;
}
.passo h3 { margin: 9px 0 6px; color: var(--navy-deep); font-size: 1.12rem; }
.passo p { margin: 0; max-width: 54ch; color: var(--muted); font-size: .97rem; text-wrap: pretty; }
/* Com JS ativo, os passos ainda não alcançados ficam em contorno. */
.passos.is-animado .passo:not(.is-ativo)::before { background: var(--sand); color: var(--navy); box-shadow: 0 0 0 6px var(--sand), inset 0 0 0 2px #c5cdd2; }
.passos.is-animado .passo.is-ativo::before { background: var(--green); }
.passos.is-animado .passo:not(.is-ativo) h3 { color: var(--navy); }

/* ---------- Chamada para agendar (landing page) ---------- */
.chamada { padding: 96px 0; background: var(--navy-deep); background-image: radial-gradient(120% 80% at 85% 0%, rgba(79, 129, 63, .22) 0%, rgba(79, 129, 63, 0) 55%), radial-gradient(90% 70% at 0% 100%, rgba(63, 127, 140, .18) 0%, rgba(63, 127, 140, 0) 60%); }
.chamada-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.chamada .section-head { margin: 0; }
.chamada .section-head .button { margin-top: 30px; }
.section-head-claro h2 { color: #fff; }
.section-head-claro p { color: #c4d0d9; }
.chamada-vazio { margin: 0; padding: 22px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .25); color: #c4d0d9; }
.chamada-locais { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.chamada-locais li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.chamada-locais a {
  position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 20px; row-gap: 2px;
  padding: 20px 44px 20px 12px; margin: 0 -12px; border-radius: 12px; color: #fff; text-decoration: none; transition: background-color .25s;
}
.chamada-locais a:hover { background: rgba(255, 255, 255, .05); }
.chamada-data { grid-row: span 2; display: inline-flex; align-items: center; gap: 8px; align-self: start; padding-top: 2px; color: #abd29e; font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums; }
.chamada-nome { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.chamada-nome small { display: block; margin-bottom: 2px; font-family: var(--font); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9fb2c2; }
.chamada-end { color: #b9c8d4; font-size: .88rem; }
.chamada-seta { position: absolute; right: 6px; top: 50%; margin-top: -10px; width: 20px; height: 20px; color: #abd29e; transition: transform .3s var(--ease-out); }
.chamada-locais a:hover .chamada-seta { transform: translateX(4px); }

/* ---------- Página /agendar (etapas) ---------- */
[hidden] { display: none !important; }
.link-voltar { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; color: var(--navy); font-size: .9rem; font-weight: 650; text-decoration: none; transition: background-color .2s; }
.link-voltar:hover { background: #f1f4f2; }
.agendar { padding: 56px 0 104px; background: var(--sand); min-height: calc(100svh - var(--topo)); }
.agendar-shell { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.agendar-head h1 { margin: 0 0 8px; color: var(--navy-deep); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.05; letter-spacing: -.025em; }
.agendar-head > p { margin: 0; color: var(--muted); }

.progresso { list-style: none; margin: 28px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.progresso li { position: relative; display: flex; align-items: center; gap: 8px; padding-top: 12px; color: var(--faint); font-size: .84rem; font-weight: 650; }
.progresso li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: #e3e9e4; transition: background-color .4s var(--ease-out); }
.progresso li::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; border-radius: 4px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.progresso li.is-atual::after { transform: scaleX(.5); }
.progresso li.is-feita::after { transform: scaleX(1); background: var(--green); }
.progresso li.is-feita { color: var(--green-dark); }
.progresso li.is-atual { color: var(--navy-deep); }

.wizard { display: grid; gap: 12px; align-content: start; }
.etapa { padding: 0; scroll-margin-top: calc(var(--topo) + 16px); border-radius: var(--radius-lg); background: #fff; border: 1px solid #e5ebe6; box-shadow: var(--shadow-sm); }
.etapa.is-atual { box-shadow: var(--shadow); border-color: #e2e8e3; }
@keyframes etapa-entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.etapa-corpo { padding: 28px 30px 30px; }
.etapa-corpo h2 { margin: 0 0 18px; font-size: 1.35rem; letter-spacing: -.015em; outline: 0; }
.etapa-dica { margin: -8px 0 20px; color: var(--muted); font-size: .92rem; }
.etapa-resumo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 20px; }
.etapa-ok { display: flex; color: var(--green); }
.etapa-ok .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.etapa-rotulo { display: block; color: var(--faint); font-size: .76rem; font-weight: 650; }
.etapa-resumo strong { display: block; color: var(--navy-deep); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.etapa-alterar { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid rgba(38, 63, 101, .16); border-radius: 10px; background: #fff; color: var(--navy); font-size: .84rem; font-weight: 650; transition: border-color .2s, background-color .2s; }
.etapa-alterar:hover { border-color: rgba(38, 63, 101, .35); background: #fbfcfc; }
.etapa-alterar .ic { width: 15px; height: 15px; }
.etapa-msg { margin: 0; padding: 18px; border-radius: 12px; border: 1px dashed #c9d3d1; background: #fafbfa; color: var(--muted); font-size: .94rem; }
.etapa-msg.is-loading::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px; border-radius: 50%; border: 2px solid #cedbd8; border-top-color: var(--green); animation: girar .8s linear infinite; }
.link-acao { padding: 0; border: 0; background: none; color: var(--green-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.etapa-vazia { padding: 40px 32px; text-align: center; }
.etapa-vazia > .ic { width: 40px; height: 40px; color: var(--green); }
.etapa-vazia h2 { margin: 14px 0 8px; font-size: 1.4rem; }
.etapa-vazia p { margin: 0 0 22px; color: var(--muted); }

/* opções de local */
.opcoes-local { display: grid; gap: 10px; }
.opcao-local {
  position: relative; display: grid; gap: 2px; width: 100%; padding: 18px 56px 18px 20px; text-align: left;
  border: 1px solid #dce5e5; border-radius: 16px; background: #fff;
  transition: border-color .2s, background-color .25s, box-shadow .25s var(--ease-out), transform .15s var(--ease-out);
}
.opcao-local:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.opcao-local:active { transform: scale(.995); }
.opcao-local.is-selected { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 1px var(--green); }
.opcao-tipo { color: var(--green-dark); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.opcao-nome { color: var(--navy-deep); font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; }
.opcao-end { color: var(--muted); font-size: .88rem; }
.opcao-meta { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--navy); font-size: .86rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.opcao-meta .ic { color: var(--green); }
.opcao-seta { position: absolute; right: 20px; top: 50%; margin-top: -11px; color: #9fb4ae; transition: transform .25s var(--ease-out), color .2s; }
.opcao-seta .ic { width: 22px; height: 22px; }
.opcao-local:hover .opcao-seta, .opcao-local.is-selected .opcao-seta { color: var(--green); transform: translateX(3px); }

/* opções de data */
.opcoes-data { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.opcao-data {
  display: grid; justify-items: start; padding: 16px 16px 14px; border: 1px solid #dce5e5; border-radius: 16px; background: #fff; text-align: left;
  transition: border-color .2s, background-color .25s, box-shadow .25s var(--ease-out), transform .15s var(--ease-out);
}
.opcao-data:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.opcao-data:active { transform: scale(.98); }
.opcao-data.is-selected { border-color: var(--navy); background: var(--navy); color: #fff; }
.opcao-semana { color: var(--muted); font-size: .8rem; font-weight: 650; }
.opcao-dia { margin-top: 2px; color: var(--navy-deep); font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.opcao-mes { color: var(--navy); font-size: .9rem; font-weight: 650; }
.opcao-vagas { margin-top: 10px; padding: 3px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: .74rem; font-weight: 700; }
.opcao-data.is-selected .opcao-semana, .opcao-data.is-selected .opcao-mes, .opcao-data.is-selected .opcao-dia { color: #fff; }
.opcao-data.is-selected .opcao-vagas { background: rgba(255, 255, 255, .16); color: #d6ebcf; }

/* horários */
.slot-group + .slot-group { margin-top: 20px; }
.slot-group-title { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; color: var(--navy-deep); font-size: .92rem; font-weight: 700; }
.slot-group-title span { color: var(--faint); font-size: .8rem; font-weight: 600; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot {
  min-height: 44px; border-radius: 10px; border: 1px solid #cedbd8; background: #fff; color: var(--navy);
  font-size: .9rem; font-weight: 700; font-variant-numeric: tabular-nums;
  transition: background-color .15s, border-color .15s, color .15s, transform .12s var(--ease-out);
}
.slot:hover { border-color: var(--green); color: var(--green-dark); background: #f7fbf5; }
.slot:active { transform: scale(.95); }
.slot.is-active { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 6px 14px -6px rgba(55, 101, 46, .7); }
.slot[aria-disabled="true"], .slot[aria-disabled="true"]:hover { background: var(--danger-soft); border-color: #f0d0d0; color: #b06a6a; text-decoration: line-through; cursor: not-allowed; transform: none; }

/* formulário */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
label { color: #3f5263; font-size: .8rem; font-weight: 700; }
input:not([type="checkbox"]) {
  min-height: 48px; width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid #ccd8d9; outline: 0;
  color: var(--ink); background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .2s;
}
input:not([type="checkbox"]):hover { border-color: #aebfc1; }
input:not([type="checkbox"]):focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(79, 129, 63, .14); }
input::placeholder { color: #8d9aa3; }
#nome_completo { text-transform: uppercase; }
#email { text-transform: lowercase; }
#nome_completo::placeholder, #email::placeholder { text-transform: none; }
.dica-enter { display: none; margin: -6px 0 18px; color: var(--muted); font-size: .8rem; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .dica-enter { display: block; } }
kbd {
  display: inline-block; padding: 1px 6px; border: 1px solid #ccd8d9; border-bottom-width: 2px; border-radius: 5px;
  background: #fff; color: var(--ink); font: 700 .74rem/1.4 var(--font); letter-spacing: .02em;
}
input.is-invalid, input.is-invalid:hover { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(168, 70, 70, .1); }
.field-error { color: var(--danger); font-size: .78rem; font-weight: 600; }
.field-error:empty { display: none; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-top: 18px; color: var(--muted); font-size: .84rem; font-weight: 500; line-height: 1.45; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.form-error { display: none; margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--danger-soft); color: #8b3a3a; font-size: .86rem; font-weight: 600; }
.form-error.is-visible { display: block; animation: surgir .25s var(--ease-out); }
.form-actions { margin-top: 20px; display: grid; }

/* confirmação */
.sucesso { margin-top: 28px; padding: 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid #e5ebe6; box-shadow: var(--shadow); animation: etapa-entra .5s var(--ease-out) both; }
.sucesso-icone { display: flex; color: var(--green); }
.sucesso-icone .ic { width: 44px; height: 44px; stroke-width: 2.2; stroke-dasharray: 24; stroke-dashoffset: 24; animation: tracar .5s var(--ease-out) .25s forwards; }
@keyframes tracar { to { stroke-dashoffset: 0; } }
.sucesso h2 { margin: 20px 0 8px; font-size: clamp(1.7rem, 3vw, 2.2rem); outline: 0; }
.sucesso > p { margin: 0; color: var(--muted); }
.sucesso-nota { margin: 20px 0 0 !important; font-size: .88rem; }
.sucesso > .sucesso-email { margin-top: 12px; color: var(--green-dark); font-size: .92rem; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Motivos ---------- */
.motivos-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 56px; align-items: start; }
.motivos h2 { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.motivos-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.motivos-lista li { padding-top: 22px; border-top: 1px solid #dfe6e0; }
.motivos-lista .ic { width: 28px; height: 28px; color: var(--green); }
.motivos-lista h3 { margin: 16px 0 8px; color: var(--navy-deep); font-size: 1.08rem; }
.motivos-lista p { margin: 0; color: var(--muted); font-size: .94rem; text-wrap: pretty; }

/* ---------- Dúvidas ---------- */
.faq { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 64px; align-items: start; }
.faq-main h2 { margin-bottom: 18px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0;
  color: var(--navy-deep); cursor: pointer; font-weight: 650; font-size: 1.02rem; list-style: none; transition: color .2s;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--green-dark); }
.faq-ic { width: 22px; height: 22px; color: var(--green); stroke-width: 2; transition: transform .35s var(--ease-out); }
details[open] .faq-ic { transform: rotate(45deg); }
details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease-out), content-visibility .35s allow-discrete; }
details[open]::details-content { height: auto; }
.faq-resposta p { margin: 0 48px 22px 0; color: var(--muted); font-size: .97rem; max-width: 62ch; }
.faq-cue { position: sticky; top: calc(var(--topo) + 32px); padding: 30px; border-radius: var(--radius-lg); background: var(--navy-deep); color: #c9d5de; box-shadow: var(--shadow); }
.faq-cue h3 { margin: 0 0 10px; color: #fff; font-size: 1.45rem; line-height: 1.18; letter-spacing: -.015em; }
.faq-cue p { margin: 0 0 22px; font-size: .95rem; }

/* ---------- Rodapé ---------- */
.rodape { padding: 56px 0 30px; color: #c9d5de; background: var(--navy-ink); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; align-items: start; }
.footer-brand img { width: 144px; height: auto; display: block; }
.footer-brand p { max-width: 420px; margin: 16px 0 0; color: #a9bac8; font-size: .86rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: .87rem; font-weight: 600; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: #8ea2b5; font-size: .76rem; }

/* ---------- Aviso flutuante ---------- */
.toast { position: fixed; z-index: 60; right: 22px; bottom: 22px; max-width: 360px; padding: 14px 16px; border-radius: 12px; background: #1e344f; color: #fff; box-shadow: var(--shadow-lg); font-size: .9rem; transform: translateY(130%); opacity: 0; transition: transform .35s var(--ease-out), opacity .25s; }
.toast.is-showing { transform: none; opacity: 1; }

/* ---------- Comprovante e cancelamento ---------- */
.page-plain { padding: 72px 0 104px; background: var(--sand); min-height: calc(100svh - var(--topo) - 180px); }
.receipt { width: min(600px, 100%); margin: 0 auto; padding: 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid #e5ebe6; box-shadow: var(--shadow); animation: surgir .5s var(--ease-out) both; }
.receipt h1 { margin: 20px 0 8px; color: var(--navy-deep); font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -.022em; }
.receipt > p { margin: 0; color: var(--muted); }
.receipt > p a, .sucesso > p a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }
.receipt-icon { display: flex; color: var(--green); }
.receipt-icon .ic { width: 40px; height: 40px; stroke-width: 2.1; }
.receipt-icon.is-muted { color: var(--danger); }
.receipt-list { margin: 26px 0; padding: 20px 22px; border-radius: 14px; background: var(--ice); border: 1px solid #d9e9ea; display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; font-size: .94rem; }
.receipt-list dt { color: #5a6a72; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.receipt-list dd { margin: 0; color: var(--navy-deep); font-weight: 650; }
.receipt .receipt-note { margin: 0 0 24px; color: var(--muted); font-size: .9rem; }
.receipt-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.receipt-actions form { margin: 0; }

/* ---------- Responsivo ---------- */
/* ---------- Meus agendamentos ---------- */
.meus-form { display: grid; gap: 16px; margin-top: 26px; }
.meus-form .form-error { margin: 0; }
.meus-form .button { margin-top: 4px; }
.meus-nota { margin: 18px 0 0 !important; color: var(--muted); font-size: .88rem; }
.meus-nota a { color: var(--navy); font-weight: 700; }
.meus { width: min(720px, 100%); margin: 0 auto; animation: surgir .5s var(--ease-out) both; }
.meus-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.meus-topo h1 { margin: 0 0 6px; color: var(--navy-deep); font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -.022em; }
.meus-topo p { margin: 0; color: var(--muted); }
.meus-topo form { margin: 0; }
.meus-topo .link-voltar { border: 0; background: none; cursor: pointer; font-family: inherit; }
.meus-eyebrow { display: block; margin-bottom: 8px; color: var(--green-dark); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.meus-perfil { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; padding: 20px 24px; border-radius: var(--radius-lg); background: var(--ice); border: 1px solid #d9e9ea; }
.meus-perfil dl { flex: 1 1 300px; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.meus-perfil dt { color: #5a6a72; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.meus-perfil dd { margin: 2px 0 0; color: var(--navy-deep); font-weight: 650; font-variant-numeric: tabular-nums; }
.meus-perfil-nome { flex-basis: 100%; }
.meus-secao { margin: 30px 0 12px; color: #5a6a72; font-family: var(--font); font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.meus-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.meu-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 6px 24px; padding: 22px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid #e5ebe6; box-shadow: var(--shadow); }
.meu-item.is-passado { box-shadow: none; background: #fbfcfb; }
.meu-quando strong { display: block; color: var(--navy-deep); font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; }
.meu-quando span { display: block; margin-top: 2px; color: var(--green-dark); font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.meu-item.is-passado .meu-quando span { color: #5a6a72; font-size: 1.2rem; }
.meu-onde span { display: block; color: var(--ink); font-weight: 650; }
.meu-onde small { display: block; margin-top: 2px; color: var(--muted); font-size: .86rem; }
.meu-rodape { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; padding-top: 14px; border-top: 1px solid #edf1ee; }
.meu-protocolo { color: #5a6a72; font-size: .84rem; font-weight: 700; letter-spacing: .03em; }
.meu-status { padding: 3px 10px; border-radius: 999px; background: #eef2ef; color: #4a5a63; font-size: .78rem; font-weight: 700; }
.meu-status.is-cancelado { background: var(--danger-soft); color: #8b3a3a; }
.meu-acoes { display: flex; gap: 8px; margin-left: auto; }
.meus-vazio { padding: 24px; border-radius: var(--radius-lg); border: 1px dashed #ccd8d9; background: #fff; }
.meus-vazio p { margin: 0 0 14px; color: var(--muted); }
.chamada-meus { margin: 18px 0 0; color: #b9c8d4; font-size: .92rem; }
.chamada-meus a { color: #fff; font-weight: 700; }

@media (max-width: 1080px) {
  .pilares-grid { grid-template-columns: 1fr; gap: 24px; }
  .pilares-lista li:first-child { padding-left: 0; }
  .motivos-layout { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 920px) {
  :root { --topo: 68px; }
  .nav-links { display: none; }
  section { padding: 80px 0; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 56px 0 40px; }
  .hero-photo { margin: 0 -24px; }
  .hero-photo img { object-position: 40% center; }
  .hero-photo img { min-height: 420px; max-height: 520px; }
  .hero-photo::before { background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 22%), linear-gradient(0deg, rgba(16, 34, 58, .3), rgba(16, 34, 58, 0) 45%); }
  .photo-card { bottom: 84px; }
  .sinais-layout, .jornada-layout, .faq-layout, .chamada-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sinais .section-head, .jornada-head, .faq-cue { position: static; }
}
@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 1180px); }
  .hero-photo { margin: 0 -16px; }
  .brand img { width: 108px; }
  .brand-divider, .brand-text { display: none; }
  .hero-title { font-size: 2.85rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  section { padding: 64px 0; }
  .pilares { padding: 24px 0 56px; }
  .pilares-lista { grid-template-columns: 1fr; gap: 18px; }
  .pilares-lista li { padding: 0; }
  .pilares-lista li + li { border-left: 0; padding-top: 18px; border-top: 1px solid #e2e8e3; }
  .motivos-lista { grid-template-columns: 1fr; gap: 0; }
  .motivos-lista li { padding: 20px 0 22px; display: grid; grid-template-columns: 28px 1fr; column-gap: 16px; }
  .motivos-lista li .ic { grid-row: span 2; }
  .motivos-lista h3 { margin: 2px 0 6px; }
  .sinais-card { padding: 24px 20px; }
  .passo { padding-left: 62px; }
  .chamada { padding: 64px 0; }
  .chamada-locais a { grid-template-columns: minmax(0, 1fr); padding-right: 36px; }
  .chamada-data { grid-row: auto; margin-bottom: 4px; }
  .footer-grid { align-items: start; flex-direction: column; }
  .agendar { padding: 32px 0 72px; }
  .agendar-shell { width: calc(100% - 24px); }
  .progresso { gap: 6px; }
  .progresso li { font-size: .76rem; }
  .etapa-corpo { padding: 22px 18px 24px; }
  .etapa-corpo h2 { font-size: 1.18rem; }
  .etapa-resumo { padding: 14px 16px; gap: 12px; }
  .etapa-alterar { padding: 7px 10px; }
  .opcoes-data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sucesso { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .photo-card { right: 16px; left: 16px; width: auto; bottom: 72px; }
  .faq-resposta p { margin-right: 0; }
  .receipt { padding: 26px 22px; }
  .receipt-list { grid-template-columns: 1fr; gap: 2px; }
  .receipt-list dd { margin-bottom: 8px; }
  .receipt-actions .button { width: 100%; }
  .meu-item { grid-template-columns: 1fr; padding: 20px 18px; }
  .meu-acoes { width: 100%; margin-left: 0; }
  .meu-acoes .button { flex: 1; }
  .so-largo { display: none; }
  .nav { gap: 12px; }
  .nav-acoes { gap: 6px; }
  .nav-acoes .button-small { padding: 8px 12px; }
  .nav-area .ic { display: none; }
  .meus-perfil { padding: 18px; }
  .meus-perfil .button { width: 100%; }
}

/* Menos movimento: sem deslocamentos nem desfoque; o estado final aparece direto. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .toast { transition-duration: .15s !important; }
  .sucesso-icone .ic { stroke-dashoffset: 0; }
}

@media print {
  .topo, .rodape, .receipt-actions, .skip { display: none !important; }
  body, .page-plain { background: #fff; }
  .receipt { box-shadow: none; border: 0; animation: none; }
}
