/* ===== Sistema Psi — identidade: navy profundo, névoa azul, papel quente ===== */
@font-face { font-family: 'Fraunces'; src: url(../fonts/fraunces.woff2) format('woff2-variations'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url(../fonts/nunito-sans.woff2) format('woff2-variations'); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'Parisienne'; src: url(../fonts/parisienne.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --navy: #0f3550;
  --navy-2: #164764;
  --petroleo: #1f5d78;
  --nevoa: #e4eef3;
  --nevoa-2: #d3e3eb;
  --papel: #fbf8f3;
  --creme: #f3ede4;
  --areia: #e5dacb;
  --tinta: #182833;
  --muted: #5b6d78;
  --linha: #dfe6ea;
  --ok: #2f7a5b;
  --alerta: #a5662a;
  --erro: #a33a3a;
  --raio: 18px;
  --sombra: 0 1px 2px rgba(15, 53, 80, .06), 0 12px 32px -12px rgba(15, 53, 80, .18);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  --script: 'Parisienne', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--tinta); background: var(--papel); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--petroleo); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); line-height: 1.1; margin: 0 0 .5em; font-variation-settings: 'SOFT' 50; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.centro { text-align: center; margin-top: 2.5rem; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* grão sutil de papel */
.pg-site::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.2 0 0 0 0 0.3 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Botões ===== */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.5em; border-radius: 999px; font: 700 .95rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-cheio { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(15, 53, 80, .7); }
.btn-cheio:hover { background: var(--navy-2); }
.btn-linha { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-linha:hover { background: var(--navy); color: #fff; }
.btn-claro { background: #fff; color: var(--navy); }
.btn-perigo { border-color: var(--erro); color: var(--erro); background: transparent; }
.btn-perigo:hover { background: var(--erro); color: #fff; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-sm { padding: .6em 1.1em; font-size: .85rem; }
.btn-bloco { width: 100%; justify-content: center; }
.btn[disabled], .btn.desab { opacity: .45; pointer-events: none; }
.link-seta { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.link-seta .ico { transition: transform .2s; }
.link-seta:hover .ico { transform: translateX(4px); }

/* ===== Marca ===== */
.marca { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy); }
.marca span { display: flex; flex-direction: column; line-height: 1.15; }
.marca strong { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.marca small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mono { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; font-family: var(--serif); font-size: 1.15rem; letter-spacing: -.02em; flex: none; }
.mono-xl { width: 120px; height: 120px; font-size: 3rem; border-width: 1px; }
.marca-clara, .marca-clara small { color: #fff; }
.marca-clara small { opacity: .7; }

/* ===== Topo do site ===== */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.topo.rolou { border-color: var(--linha); }
.topo-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.topo-nav { display: flex; gap: 2rem; }
.topo-nav a { color: var(--tinta); text-decoration: none; font-weight: 600; font-size: .92rem; position: relative; }
.topo-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.topo-nav a:hover::after { transform: scaleX(1); }

/* ===== Hero ===== */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; background: radial-gradient(60% 70% at 78% 45%, var(--nevoa) 0%, rgba(228, 238, 243, 0) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.script { font-family: var(--script); font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--navy); line-height: 1.2; margin-bottom: .6rem; transform: rotate(-3deg); transform-origin: left; display: inline-block; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); letter-spacing: -.025em; font-weight: 400; margin-bottom: 1.4rem; }
.hero h1 em { display: block; font-style: normal; font-weight: 500; background: linear-gradient(100deg, var(--navy) 10%, var(--petroleo) 60%, var(--navy) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.selos { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.selos li { display: inline-flex; align-items: center; gap: .5em; background: var(--nevoa); color: var(--navy); padding: .55em 1em; border-radius: 999px; font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 34em; color: #2d3e49; }
.hero-lead strong { color: var(--navy); }
.hero-acoes { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.6rem; }
.hero-crp { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.hero-visual { position: relative; padding: 0 3rem 2rem 0; }
.arco { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--raio) var(--raio); overflow: hidden; background: linear-gradient(170deg, var(--nevoa-2), var(--creme)); box-shadow: var(--sombra); max-width: 460px; margin-left: auto; }
.arco img { width: 100%; height: 100%; object-fit: cover; }
.arco-vazio { height: 100%; display: grid; place-content: center; justify-items: center; gap: 1rem; color: var(--navy); text-align: center; font-weight: 600; }
.arco-vazio small { font-weight: 400; color: var(--muted); }
.quadro { position: absolute; right: 0; bottom: 4.5rem; background: var(--papel); border: 6px solid #c9a87e; outline: 1px solid rgba(0, 0, 0, .06); padding: 1.1rem 1.2rem; font-family: var(--serif); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; line-height: 1.5; color: var(--navy); text-align: center; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .45); transform: rotate(2.5deg); display: grid; justify-items: center; gap: .4rem; }
.quadro .ico { width: 14px; height: 14px; fill: var(--navy); }
.lema { position: absolute; left: -1rem; top: 2.5rem; list-style: none; margin: 0; padding: 1rem 1.3rem; background: var(--navy); color: #fff; border-radius: 14px; font-family: var(--serif); letter-spacing: .28em; text-transform: uppercase; font-size: .72rem; line-height: 2; box-shadow: var(--sombra); }

/* animação de entrada */
.revela { opacity: 0; transform: translateY(18px); animation: sobe .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
.revela.script { transform: translateY(18px) rotate(-3deg); animation-name: sobe-script; }
@keyframes sobe { to { opacity: 1; transform: none; } }
@keyframes sobe-script { to { opacity: 1; transform: rotate(-3deg); } }
.revela-scroll { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.revela-scroll.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .revela, .revela-scroll { animation: none; opacity: 1; transform: none; transition: none; } }

/* ===== Faixa de ícones ===== */
.faixa-icones { border-block: 1px solid var(--linha); background: #fff; }
.icones-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.icone-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .8rem; padding: 2rem .8rem; font-size: .92rem; color: #2d3e49; line-height: 1.3; position: relative; }
.icone-item + .icone-item::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--linha); }
.icone-item small { display: block; font-size: .76rem; color: var(--muted); margin-top: .2rem; }
.icone-bolha { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--nevoa); color: var(--navy); }
.icone-bolha .ico { width: 30px; height: 30px; }

/* ===== Seções ===== */
.secao { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.rotulo { display: inline-block; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 800; color: var(--petroleo); margin-bottom: 1rem; }
.rotulo::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: .7rem; }
.titulo-secao { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.015em; max-width: 18em; margin-bottom: 2.5rem; }

.sobre-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.sobre-cartao { background: var(--navy); color: #fff; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--raio); position: relative; overflow: hidden; }
.sobre-cartao::after { content: "Ψ"; position: absolute; right: -.1em; bottom: -.35em; font-family: var(--serif); font-size: 13rem; line-height: 1; color: rgba(255, 255, 255, .06); }
.sobre-cartao .rotulo { color: #a9c9d8; }
.sobre-cartao h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: .2rem; }
.sobre-crp { color: #a9c9d8; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; margin-bottom: 2rem; }
.fichas { margin: 0; display: grid; gap: 1.1rem; position: relative; z-index: 1; }
.fichas div { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: .9rem; }
.fichas dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #a9c9d8; }
.fichas dd { margin: .2rem 0 0; font-family: var(--serif); font-size: 1.2rem; }
.sobre-texto { font-size: 1.12rem; color: #2d3e49; padding-top: 1rem; }
.sobre-texto p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.2em; line-height: .85; padding: .08em .1em 0 0; color: var(--navy); }

.modalidades { background: var(--creme); }
.mod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mod-card { background: var(--papel); border-radius: var(--raio); padding: clamp(1.8rem, 3vw, 2.6rem); border: 1px solid var(--areia); display: flex; flex-direction: column; gap: .3rem; }
.mod-card h3 { font-size: 2rem; margin: 1rem 0 .4rem; }
.mod-card-escuro { background: var(--navy-2); border-color: var(--navy-2); color: #dbe8ef; }
.mod-card-escuro h3 { color: #fff; }
.mod-card-escuro .icone-bolha { background: rgba(255, 255, 255, .1); color: #fff; }
.mod-end { display: flex; gap: .5rem; color: var(--muted); font-size: .95rem; }
.mini-lista { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .5rem; font-size: .95rem; }
.mini-lista li { display: flex; gap: .6rem; align-items: center; }

.passos-lista { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: p; }
.passos-lista li { position: relative; padding-top: 1.4rem; border-top: 1px solid var(--navy); }
.passo-n { font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--nevoa-2); position: absolute; right: 0; top: .6rem; }
.passos-lista h3 { font-size: 1.5rem; margin-top: .4rem; }
.passos-lista p { color: var(--muted); }

.onda { background: var(--navy); color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) 0; position: relative; clip-path: ellipse(120% 100% at 50% 100%); margin-top: 1rem; }
.onda-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center; }
.script-clara { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.beneficios { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.beneficios li { display: flex; flex-direction: column; gap: .8rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #cfe0e8; border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 1rem; }
.beneficios .ico { width: 34px; height: 34px; color: #fff; }

.duvidas-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.acordeao details { border-bottom: 1px solid var(--linha); padding: .2rem 0; }
.acordeao summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); padding: 1.1rem 2.5rem 1.1rem 0; position: relative; }
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.8rem; transition: transform .3s; }
.acordeao details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acordeao p { color: #3a4b55; padding-right: 2rem; }

.contato { background: linear-gradient(120deg, var(--petroleo), var(--navy)); color: #fff; padding: clamp(3.5rem, 7vw, 5rem) 0; }
.contato-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.contato h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0; max-width: 12em; }
.contato-acoes { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.contato-link { color: #fff; text-decoration: none; display: inline-flex; gap: .5em; align-items: center; font-weight: 600; }

.whats-flutuante { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .45); z-index: 60; transition: transform .2s; }
.whats-flutuante:hover { transform: scale(1.07); }
.whats-flutuante .ico { width: 28px; height: 28px; }

/* ===== Rodapé ===== */
.rodape { background: #0b2a40; color: #b9ccd6; padding: 3rem 0 1.5rem; font-size: .92rem; }
.rodape-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.rodape-nota { margin-top: 1rem; max-width: 34em; }
.rodape-urgencia { background: rgba(255, 255, 255, .05); border-radius: 14px; padding: 1.2rem 1.4rem; }
.rodape-urgencia strong { color: #fff; }
.rodape-urgencia a, .rodape a { color: #fff; }
.rodape-fim { display: flex; justify-content: space-between; padding-top: 1.2rem; font-size: .82rem; }

/* ===== Formulários ===== */
.campo { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.campo label, .rot { font-weight: 700; font-size: .88rem; color: var(--navy); }
.campo small, .dica { color: var(--muted); font-size: .82rem; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=time], input[type=number], input[type=datetime-local], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .8em 1em; border: 1.5px solid var(--linha); border-radius: 12px; background: #fff; color: var(--tinta); transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--petroleo); box-shadow: 0 0 0 4px rgba(31, 93, 120, .12); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; margin: 1rem 0; }
.check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--navy); }
.grade-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.grade-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }

/* ===== Flash ===== */
.flash { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.5rem; font-weight: 600; border-left: 4px solid; }
.flash-ok { background: #e8f3ee; color: var(--ok); border-color: var(--ok); }
.flash-erro { background: #f8e9e9; color: var(--erro); border-color: var(--erro); }
.flash-aviso { background: #f8efe3; color: var(--alerta); border-color: var(--alerta); }

/* ===== Páginas internas (agendar, entrar, app) ===== */
.pg-app { background: var(--creme); min-height: 100vh; display: flex; flex-direction: column; }
.pg-app main { flex: 1; }
.app-topo { background: var(--papel); border-bottom: 1px solid var(--areia); position: sticky; top: 0; z-index: 40; }
.app-topo-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.app-nav { display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
.app-nav a { text-decoration: none; color: var(--tinta); font-weight: 600; font-size: .9rem; padding: .5em .9em; border-radius: 999px; }
.app-nav a:hover { background: var(--nevoa); }
.app-nav a.on { background: var(--navy); color: #fff; }
.app-nav a.sair { color: var(--erro); }
.menu-btn { display: none; }
.app-main { padding: clamp(1.5rem, 4vw, 3rem) 0 4rem; }
.cab-pagina { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.cab-pagina h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: 0; }
.cab-pagina p { margin: .3rem 0 0; color: var(--muted); }

.cartao { background: var(--papel); border: 1px solid var(--areia); border-radius: var(--raio); padding: clamp(1.3rem, 3vw, 2rem); margin-bottom: 1.5rem; }
.cartao h2 { font-size: 1.5rem; }
.cartao-titulo { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.cartao-titulo h2 { margin: 0; }
.vazio { text-align: center; color: var(--muted); padding: 2rem 1rem; }
.colunas { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }

.metricas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.metrica { background: var(--papel); border: 1px solid var(--areia); border-radius: var(--raio); padding: 1.2rem 1.4rem; }
.metrica b { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 400; color: var(--navy); line-height: 1.1; }
.metrica span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.metrica-destaque { background: var(--navy); border-color: var(--navy); }
.metrica-destaque b, .metrica-destaque span { color: #fff; }

/* Lista de sessões */
.sessoes { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.sessao { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--linha); border-radius: 14px; background: #fff; }
.sessao-data { text-align: center; min-width: 62px; padding: .4rem .3rem; border-radius: 12px; background: var(--nevoa); color: var(--navy); line-height: 1.1; }
.sessao-data b { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.sessao-data span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.sessao-info strong { display: block; color: var(--navy); }
.sessao-info span { color: var(--muted); font-size: .9rem; }
.sessao-acoes { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.etiqueta { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3em .7em; border-radius: 999px; background: var(--nevoa); color: var(--navy); vertical-align: middle; }
.st-pendente { background: #f8efe3; color: var(--alerta); }
.st-confirmada { background: #e3f0ea; color: var(--ok); }
.st-realizada { background: var(--nevoa); color: var(--navy); }
.st-falta, .st-cancelada, .st-recusada { background: #f3e6e6; color: var(--erro); }

/* Tabela */
.tabela { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabela th { text-align: left; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .6rem .8rem; border-bottom: 1px solid var(--areia); }
.tabela td { padding: .85rem .8rem; border-bottom: 1px solid var(--linha); vertical-align: middle; }
.tabela tr:hover td { background: #fff; }
.tabela-rolagem { overflow-x: auto; }

/* ===== Agendamento ===== */
.agenda-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.5rem; align-items: start; }
.etapa-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .85rem; margin-right: .6rem; }
.mod-escolha { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.5rem; }
.mod-escolha label { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; border: 1.5px solid var(--linha); border-radius: 14px; cursor: pointer; background: #fff; font-weight: 700; color: var(--navy); transition: .2s; }
.mod-escolha input { position: absolute; opacity: 0; pointer-events: none; }
.mod-escolha label:has(input:checked) { border-color: var(--navy); background: var(--nevoa); box-shadow: inset 0 0 0 1px var(--navy); }
.dias { display: flex; gap: .55rem; overflow-x: auto; padding-bottom: .6rem; margin-bottom: 1rem; scroll-snap-type: x mandatory; }
.dia { flex: none; scroll-snap-align: start; width: 72px; padding: .7rem .3rem; border: 1.5px solid var(--linha); border-radius: 14px; background: #fff; text-align: center; cursor: pointer; font: inherit; color: var(--tinta); line-height: 1.15; transition: .2s; }
.dia small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.dia b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--navy); }
.dia.on { background: var(--navy); border-color: var(--navy); }
.dia.on small, .dia.on b { color: #fff; }
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .55rem; }
.hora { padding: .75rem .4rem; border: 1.5px solid var(--linha); border-radius: 12px; background: #fff; font: 700 1rem var(--sans); color: var(--navy); cursor: pointer; transition: .15s; }
.hora:hover { border-color: var(--navy); }
.hora.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.resumo { background: var(--nevoa); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; color: var(--navy); }
.resumo b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.abas { display: flex; gap: .4rem; background: var(--creme); padding: .3rem; border-radius: 999px; margin-bottom: 1.3rem; }
.abas button { flex: 1; border: 0; background: transparent; padding: .6em; border-radius: 999px; font: 700 .9rem var(--sans); color: var(--muted); cursor: pointer; }
.abas button.on { background: #fff; color: var(--navy); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.aviso-sigilo { display: flex; gap: .7rem; font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* Entrar */
.caixa-login { max-width: 460px; margin: clamp(2rem, 8vh, 5rem) auto; }
.caixa-login h1 { font-size: 2.3rem; text-align: center; }
.caixa-login .script { display: block; text-align: center; transform: rotate(-2deg); transform-origin: center; }

/* Sucesso */
.sucesso { text-align: center; max-width: 620px; margin: 2rem auto; }
.sucesso .icone-bolha { width: 84px; height: 84px; background: #e3f0ea; color: var(--ok); margin-bottom: 1rem; }
.sucesso .icone-bolha .ico { width: 40px; height: 40px; }

/* Sala */
.pg-sala { background: #0b2231; color: #fff; height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.sala-topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; background: #0f3550; }
.sala-topo .marca, .sala-topo .marca small { color: #fff; }
.sala-topo .mono { width: 36px; height: 36px; font-size: .95rem; }
.sala-quadro { flex: 1; position: relative; }
.sala-quadro iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sala-espera { flex: 1; display: grid; place-content: center; text-align: center; padding: 2rem; gap: 1rem; max-width: 560px; margin: auto; }
.sala-espera h1 { color: #fff; }

/* Estrelas (feedback) */
.estrelas { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.estrelas input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.estrelas label { font-size: 2rem; color: var(--areia); cursor: pointer; line-height: 1; transition: color .15s; }
.estrelas label:hover, .estrelas label:hover ~ label, .estrelas input:checked ~ label { color: #c9a26a; }
.nota-fixa { color: #c9a26a; letter-spacing: .1em; }

/* Foto upload */
.foto-bloco { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: center; }
.foto-previa { aspect-ratio: 4/5; border-radius: 999px 999px 14px 14px; overflow: hidden; background: linear-gradient(170deg, var(--nevoa-2), var(--creme)); display: grid; place-items: center; color: var(--navy); }
.foto-previa img { width: 100%; height: 100%; object-fit: cover; }
.soltar { border: 2px dashed var(--nevoa-2); border-radius: 14px; padding: 1.4rem; text-align: center; background: #fff; cursor: pointer; transition: .2s; display: block; }
.soltar:hover, .soltar.arrastando { border-color: var(--navy); background: var(--nevoa); }
.soltar input { display: none; }

.nota-prontuario { border-left: 3px solid var(--nevoa-2); padding: .4rem 0 .4rem 1rem; margin-bottom: 1.2rem; }
.nota-prontuario time { font-size: .8rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.nota-prontuario p { white-space: pre-wrap; margin: .3rem 0 0; }

.grade-horarios .linha-h { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr auto; gap: .6rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--linha); }
.inline { display: inline; }

/* ===== Responsivo ===== */
@media (max-width: 980px) {
  .topo-nav { display: none; }
  .hero-grid, .sobre-grid, .duvidas-grid, .onda-grid, .agenda-wrap, .colunas { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; padding-right: 2rem; }
  .icones-grid { grid-template-columns: repeat(3, 1fr); }
  .icone-item:nth-child(4)::before { display: none; }
  .metricas { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: inline-flex; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); font: 700 .85rem var(--sans); padding: .55em 1em; border-radius: 999px; }
  .app-nav:not(.app-nav-simples) { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--papel); flex-direction: column; align-items: stretch; padding: .8rem 20px 1.2rem; border-bottom: 1px solid var(--areia); box-shadow: var(--sombra); }
  .app-nav.aberto { display: flex; }
  .grade-horarios .linha-h { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topo-in { height: 66px; }
  .marca small { display: none; }
  .marca strong { font-size: 1rem; }
  .mod-grid, .passos-lista, .beneficios, .grade-2, .grade-3, .mod-escolha { grid-template-columns: 1fr; }
  .icones-grid { grid-template-columns: 1fr 1fr; }
  .icone-item::before { display: none; }
  .lema { left: 0; font-size: .62rem; padding: .7rem .9rem; }
  .quadro { font-size: .66rem; bottom: 3rem; }
  .sessao { grid-template-columns: auto 1fr; }
  .sessao-acoes { grid-column: 1 / -1; justify-content: stretch; }
  .sessao-acoes .btn, .sessao-acoes form { flex: 1; }
  .sessao-acoes form .btn { width: 100%; justify-content: center; }
  .foto-bloco { grid-template-columns: 1fr; }
  .foto-previa { max-width: 200px; }
  .rodape-grid { grid-template-columns: 1fr; }
  .rodape-fim { flex-direction: column; gap: .5rem; }
  .hero-acoes .btn { flex: 1; justify-content: center; }
  .onda { clip-path: none; }
}

/* evita que listas roláveis (dias) estiquem as colunas do grid */
.agenda-wrap > *, .colunas > *, .hero-grid > *, .sobre-grid > * { min-width: 0; }
@media (max-width: 640px) {
  .app-topo .marca > span:not(.mono) { display: none; }
  .app-nav-simples { flex-wrap: nowrap; gap: .1rem; }
  .app-nav-simples a { padding: .45em .7em; font-size: .85rem; }
}
