/* ITOC Cariri. Tudo nasce do símbolo (articulação com raios), do ouro escovado e da arquitetura da clínica:
   parede facetada, linha de luz, ripado. Uma família só: Encode Sans, larga nos títulos, normal no texto. */

@font-face { font-family: "ES Larga Reserva"; src: local("Arial"), local("Roboto"), local("Helvetica Neue"); size-adjust: 121%; ascent-override: 84%; descent-override: 22%; line-gap-override: 0%; font-weight: 400 700; }
@font-face { font-family: "ES Texto Reserva"; src: local("Arial"), local("Roboto"), local("Helvetica Neue"); size-adjust: 104%; ascent-override: 97%; descent-override: 25%; line-gap-override: 0%; }

:root {
  --noite: #0A1728; --marinho: #12263F; --marinho-claro: #1B3A5E; --breu: #060D18;
  --ouro: #CFA866; --ouro-claro: #E9D2A4; --ouro-escuro: #A87B2E; --ouro-tinta: #7A5718;
  --perola: #F4EEE3; --areia: #E8DCC8; --tinta: #0E1B2C;
  --coral: #FF6A4D; --whats: #25D366; --whats-tinta: #05240F; --luz: #FFC98A;
  --larga: "Encode Sans", "ES Larga Reserva", system-ui, sans-serif;
  --texto: "Encode Sans", "ES Texto Reserva", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --macio: cubic-bezier(.22, .8, .26, 1);
  --margem: 16px;
  --raios: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg%3E%3Cpath d='M11.5 10.4h8.2c.5.5.5 2.7 0 3.2h-8.2c.5-.9.5-2.3 0-3.2z'/%3E%3Cpath transform='rotate(-31 4 12)' d='M11.5 10.4h8.2c.5.5.5 2.7 0 3.2h-8.2c.5-.9.5-2.3 0-3.2z'/%3E%3Cpath transform='rotate(-62 4 12)' d='M11.5 10.4h8.2c.5.5.5 2.7 0 3.2h-8.2c.5-.9.5-2.3 0-3.2z'/%3E%3C/g%3E%3C/svg%3E");
  --facetas-noite: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='190'%3E%3Cpath d='M60 0L60 95H0zM120 190H60l60-95z' fill='%23112540'/%3E%3Cpath d='M60 0l60 95H60zM0 190h60L0 95z' fill='%230d1d33'/%3E%3Cpath d='M0 95h60v95zM120 0H60l60 95z' fill='%230b192c'/%3E%3Cpath d='M60 95h60l-60 95zM0 0h60L0 95z' fill='%2308131f'/%3E%3C/svg%3E");
  --facetas-breu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='190'%3E%3Cpath d='M60 0L60 95H0zM120 190H60l60-95z' fill='%230f1a2a'/%3E%3Cpath d='M60 0l60 95H60zM0 190h60L0 95z' fill='%230a1420'/%3E%3Cpath d='M0 95h60v95zM120 0H60l60 95z' fill='%2307101a'/%3E%3Cpath d='M60 95h60l-60 95zM0 0h60L0 95z' fill='%23050b13'/%3E%3C/svg%3E");
  --facetas-perola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='190'%3E%3Cpath d='M60 0L60 95H0zM120 190H60l60-95z' fill='%23faf6ee'/%3E%3Cpath d='M60 0l60 95H60zM0 190h60L0 95z' fill='%23f4eee3'/%3E%3Cpath d='M0 95h60v95zM120 0H60l60 95z' fill='%23efe8da'/%3E%3Cpath d='M60 95h60l-60 95zM0 0h60L0 95z' fill='%23ebe3d3'/%3E%3C/svg%3E");
  --facetas-areia: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='190'%3E%3Cpath d='M60 0L60 95H0zM120 190H60l60-95z' fill='%23eee4d2'/%3E%3Cpath d='M60 0l60 95H60zM0 190h60L0 95z' fill='%23e8dcc8'/%3E%3Cpath d='M0 95h60v95zM120 0H60l60 95z' fill='%23e3d6bf'/%3E%3Cpath d='M60 95h60l-60 95zM0 0h60L0 95z' fill='%23decfb6'/%3E%3C/svg%3E");
}
@property --fecha { syntax: "<number>"; inherits: false; initial-value: 1; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--breu); color: var(--tinta); font: 400 17px/1.5 var(--texto); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--luz); outline-offset: 3px; border-radius: 6px; }
.logo { display: block; width: 92px; aspect-ratio: 898 / 266; background: var(--ouro); -webkit-mask: url(assets/img/logo-mask.png) center / contain no-repeat; mask: url(assets/img/logo-mask.png) center / contain no-repeat; }

/* ============================== botões ============================== */
.botao { min-height: 56px; padding: 8px 20px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 17px/1.2 var(--texto); text-decoration: none; text-align: center; transition: transform .16s var(--macio), filter .16s; }
.botao:active { transform: scale(.975); }
.botao svg { width: 24px; height: 24px; flex: none; }
.b-whats { background: var(--whats); color: var(--whats-tinta); font-weight: 700; box-shadow: 0 10px 26px -10px rgba(37, 211, 102, .7); }
.b-ouro { background: linear-gradient(100deg, #b98c3e, #e9d2a4 46%, #cfa866 72%, #b98c3e); color: var(--tinta); }
.b-linha { border: 1.5px solid currentColor; }

/* ============================== A EXPERIÊNCIA ============================== */
.exp { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: 100vh; height: 100dvh; min-height: 540px; overflow: hidden; background: var(--noite); color: var(--perola); -webkit-user-select: none; user-select: none; }
.exp-parede, .exp-arte, .exp-canvas, .exp-linhas, .exp-simbolo { position: absolute; inset: 0; }
.exp-parede { z-index: -4; background: radial-gradient(120% 70% at 50% 46%, rgba(27, 58, 94, .5), rgba(10, 23, 40, 0) 62%), linear-gradient(rgba(6, 13, 24, .1), rgba(6, 13, 24, .82)), var(--facetas-noite) 50% 0 / 104px 165px; }
/* a linha de luz na diagonal, a mesma das esculturas */
.exp-parede::after { content: ""; position: absolute; left: -30%; width: 160%; top: 61%; height: 2px; transform: rotate(-36deg); background: linear-gradient(90deg, transparent, rgba(255, 201, 138, .9) 22%, #fff3dc 50%, rgba(255, 201, 138, .9) 78%, transparent); box-shadow: 0 0 10px 1px rgba(255, 170, 80, .6), 0 0 40px 6px rgba(255, 150, 60, .2); opacity: .55; transition: opacity .6s; }
.exp[data-tela="5"] .exp-parede::after, .exp.com-arte .exp-parede::after { opacity: 0; }
.exp-arte { z-index: -3; opacity: 0; transition: opacity 1s; pointer-events: none; }
.exp-arte img { position: absolute; left: 0; top: 0; width: 100%; height: auto; -webkit-mask-image: linear-gradient(#000 30%, transparent 96%); mask-image: linear-gradient(#000 30%, transparent 96%); }
.exp-arte::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(6, 13, 24, .55), rgba(6, 13, 24, .78) 34%, var(--noite) 70%); }
.exp[data-tela="5"].com-arte .exp-arte { opacity: 1; }
.exp-canvas { z-index: -2; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .55s; touch-action: pan-y; outline: none; }
.exp.tem-3d .exp-canvas { opacity: 1; }
.exp[data-tela="5"] .exp-canvas { -webkit-mask-image: linear-gradient(#000 calc(var(--corte, 100%) - 34px), transparent var(--corte, 100%)); mask-image: linear-gradient(#000 calc(var(--corte, 100%) - 34px), transparent var(--corte, 100%)); }
.exp-linhas { z-index: -1; width: 100%; height: 100%; pointer-events: none; overflow: visible; }

/* o símbolo: abre a página (os raios acendem um a um) e fica no lugar do boneco quando não há 3D */
.exp-simbolo { z-index: -1; pointer-events: none; display: grid; place-items: center; transition: opacity .45s; }
.exp-simbolo i { position: absolute; left: var(--sx, 50%); top: var(--sy, 56%); width: var(--st, 150px); aspect-ratio: 480 / 532; transform: translate(-50%, -50%); -webkit-mask: url(assets/img/simbolo-mask.png) center / contain no-repeat; mask: url(assets/img/simbolo-mask.png) center / contain no-repeat; }
.s-corpo { background: linear-gradient(120deg, #a87b2e, #e9d2a4 45%, #cfa866); clip-path: polygon(0 0, 46% 0, 62% 100%, 0 100%); animation: surge .5s var(--macio) both; }
.s-raio { background: var(--ouro-claro); opacity: 0; animation: acende .42s var(--macio) both; }
.s-r1 { clip-path: polygon(64% 46%, 100% 46%, 100% 70%, 64% 70%); animation-delay: .22s; }
.s-r2 { clip-path: polygon(60% 18%, 100% 14%, 100% 45%, 64% 45%); animation-delay: .48s; }
.s-r3 { clip-path: polygon(44% 0, 72% 0, 78% 20%, 50% 30%); animation-delay: .74s; }
@keyframes surge { from { opacity: 0; transform: translate(-50%, -46%); } }
@keyframes acende { 0% { opacity: 0; filter: brightness(2.4); } 60% { opacity: 1; filter: brightness(1.7); } 100% { opacity: 1; filter: none; } }
.exp.tem-3d .exp-simbolo { opacity: 0; }
.exp.dor .s-raio { background: var(--coral); }
.exp.esperando .s-raio { animation: acende .42s var(--macio) both, pulsa 1.5s ease-in-out 1.2s infinite; }
@keyframes pulsa { 50% { opacity: .35; } }

.topo { grid-row: 1; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: max(8px, env(safe-area-inset-top)) 12px 0 var(--margem); }
.marca { display: flex; align-items: center; min-height: 44px; }
.voltar { display: inline-flex; align-items: center; gap: 2px; min-height: 56px; margin: -6px 0 -6px -8px; padding: 0 14px 0 4px; font: 600 16px var(--texto); color: var(--perola); }
.voltar svg { width: 24px; height: 24px; }
.atalho { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 13px 0 10px; border-radius: 12px; border: 1px solid rgba(233, 210, 164, .38); background: rgba(10, 23, 40, .5); color: var(--perola); font: 600 13.5px var(--texto); text-decoration: none; white-space: nowrap; }
.atalho::after { content: ""; position: absolute; inset: -8px -6px; }
.atalho svg { width: 19px; height: 19px; color: var(--whats); }

.t1, .perguntas, .final { grid-row: 2; grid-column: 1; min-height: 0; transition: opacity .3s var(--macio), transform .42s var(--macio); }
.t1.sai, .perguntas.sai, .final.sai, .t1.entra, .final.entra { opacity: 0; }
.final.entra { transform: translateY(18px); }
.t1.sai, .perguntas.sai, .final.sai { pointer-events: none; }

/* ---------- T1: onde dói ---------- */
.t1 { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 4px 0 max(10px, env(safe-area-inset-bottom)); pointer-events: none; }
.t1-intro { padding: 0 var(--margem); }
.t1-linha { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.local { font-size: 13px; line-height: 1.3; font-weight: 500; color: var(--ouro); }
.progresso { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; }
.pg-tracos { display: flex; gap: 4px; }
.pg-tracos i { width: 14px; height: 3px; border-radius: 2px; background: rgba(244, 238, 227, .22); transition: background .4s; }
.t1 .progresso { color: rgba(244, 238, 227, .8); }
.progresso[data-de="1"] i:nth-child(-n+1), .progresso[data-de="2"] i:nth-child(-n+2), .progresso[data-de="3"] i:nth-child(-n+3), .progresso[data-de="4"] i { background: var(--ouro); }
.titulo { margin: 7px 0 5px; font: 600 clamp(27px, 7.7vw, 31px)/1.08 var(--larga); font-stretch: 125%; letter-spacing: -.012em; text-wrap: balance; }
.titulo span { display: block; }
.sub { font-size: 17px; line-height: 1.3; color: var(--areia); }
.t1-palco { position: relative; min-height: 0; container-type: size; }
.rotulo { position: absolute; top: var(--y); transform: translateY(-50%); min-height: 56px; display: flex; align-items: center; pointer-events: auto; font: 600 15.5px/1.16 var(--texto); color: var(--perola); transition: opacity .3s; }
.rotulo span { display: inline-block; padding: 5px 0 6px; border-bottom: 1px solid rgba(207, 168, 102, .8); transition: color .2s, border-color .2s; }
.rotulo.r-dir { left: 12px; right: calc(50% + 70px); right: calc(50% + 17.6cqh + 4px); justify-content: flex-end; text-align: right; }
.rotulo.r-esq { right: 12px; left: calc(50% + 70px); left: calc(50% + 17.6cqh + 4px); text-align: left; }
.rotulo:active span, .rotulo.ardendo span { color: var(--coral); border-color: var(--coral); }
.dica { position: absolute; left: 14px; bottom: 1%; display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--ouro-claro); }
.dica i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--ouro-claro); }
.dica i::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid var(--ouro-claro); animation: onda 1.8s ease-out infinite; }
@keyframes onda { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.t1-base { display: grid; gap: 7px; padding: 0 var(--margem); }
.mais { pointer-events: auto; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 14px; border: 1px solid rgba(207, 168, 102, .6); background: rgba(10, 23, 40, .62); color: var(--perola); font: 600 17px var(--texto); }
.mais svg { width: 22px; height: 22px; color: var(--ouro); }
.mais:active { border-color: var(--coral); }
.mais:active svg { color: var(--coral); }
.t1-pe { display: flex; align-items: center; gap: 8px; }
.idmed { flex: 1; font-size: 11.5px; line-height: 1.36; color: rgba(232, 220, 200, .82); }
.descer { pointer-events: auto; flex: none; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(233, 210, 164, .4); color: var(--ouro-claro); }
.descer::after { content: ""; position: absolute; inset: -8px; }
.descer svg { width: 22px; height: 22px; animation: desce 2.2s ease-in-out infinite; }
@keyframes desce { 50% { transform: translateY(3px); } }
/* pontos e linhas que ligam cada nome à junta */
.exp-linhas g { opacity: 0; transition: opacity .5s; }
.exp.ligado[data-tela="1"] .exp-linhas g { opacity: 1; }
.exp-linhas path { fill: none; stroke: rgba(207, 168, 102, .8); stroke-width: 1; }
.exp-linhas .l-ponto { fill: var(--ouro-claro); stroke: var(--noite); stroke-width: 1.5; }
.exp-linhas .l-anel { fill: none; stroke: var(--ouro-claro); stroke-width: 1.3; transform-box: fill-box; transform-origin: center; animation: onda 2.4s ease-out infinite; animation-delay: calc(var(--i) * .38s); }
.exp-linhas g.ardendo path { stroke: var(--coral); }
.exp-linhas g.ardendo .l-ponto { fill: var(--coral); }
.exp-linhas g.ardendo .l-anel { stroke: var(--coral); }

/* ---------- T2 a T4: a folha das perguntas ---------- */
.perguntas { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.fichas { display: flex; flex-wrap: wrap; gap: 6px; min-height: 34px; padding: 4px var(--margem) 0; transition: opacity .3s; }
.ficha { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 10px 0 7px; border-radius: 7px; border: 1px solid rgba(207, 168, 102, .55); background: rgba(10, 23, 40, .7); color: var(--perola); font: 600 12.5px/1 var(--texto); white-space: nowrap; animation: ficha .38s var(--macio) both; }
.ficha::before { content: ""; width: 14px; height: 14px; background: var(--ouro); -webkit-mask: var(--raios) center / contain no-repeat; mask: var(--raios) center / contain no-repeat; }
.ficha.f-dor::before { background: var(--coral); }
@keyframes ficha { from { opacity: 0; transform: translateY(10px) scale(.92); } }
.palco { min-height: 0; }
.folha { position: relative; padding: 15px var(--margem) max(12px, env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: var(--perola); color: var(--tinta); box-shadow: 0 -22px 44px rgba(3, 8, 16, .5); transition: transform .42s var(--macio); }
/* a linha de luz na base do balcão da recepção, aqui no topo da folha */
.folha::before { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--ouro-claro) 18%, #fff 50%, var(--ouro-claro) 82%, transparent); box-shadow: 0 0 14px 1px rgba(255, 201, 138, .85); }
.folha::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 70vh; background: var(--perola); }
.perguntas.entra .folha { transform: translateY(104%); }
.perguntas.entra .fichas { opacity: 0; }
.perguntas.sai .folha { transform: translateY(104%); }
.folha .progresso { color: rgba(14, 27, 44, .72); justify-content: space-between; }
.folha .pg-tracos { flex: 1; }
.folha .pg-tracos i { flex: 1; width: auto; background: rgba(14, 27, 44, .13); }
.folha .progresso[data-de="2"] i:nth-child(-n+2), .folha .progresso[data-de="3"] i:nth-child(-n+3), .folha .progresso[data-de="4"] i { background: var(--ouro-escuro); }
.passo { animation: passo .36s var(--macio) both; }
@keyframes passo { from { opacity: 0; transform: translateX(22px); } }
.q-titulo { margin: 11px 0 0; font: 600 clamp(21px, 5.9vw, 25px)/1.14 var(--larga); font-stretch: 125%; letter-spacing: -.012em; text-wrap: balance; outline: none; }
.q-sub { margin-top: 5px; font-size: 17px; line-height: 1.34; color: rgba(14, 27, 44, .8); }
.opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.opcao { position: relative; min-height: 60px; padding: 8px 12px; border-radius: 14px; border: 1.5px solid rgba(14, 27, 44, .22); background: #fffdf9; color: var(--tinta); font: 600 17px/1.18 var(--texto); text-align: left; transition: background .18s, color .18s, border-color .18s, transform .14s var(--macio); }
.opcao:active { transform: scale(.975); }
.opcao::after { content: ""; position: absolute; right: 9px; top: 8px; width: 20px; height: 20px; background: var(--ouro); -webkit-mask: var(--raios) center / contain no-repeat; mask: var(--raios) center / contain no-repeat; transform: scale(0) rotate(40deg); transform-origin: 20% 50%; transition: transform .3s var(--macio); }
.opcao.escolhida, .opcao[aria-pressed="true"] { background: var(--marinho); border-color: var(--marinho); color: var(--perola); }
.opcao.escolhida::after, .opcao[aria-pressed="true"]::after { transform: none; }
.marcar .opcao { min-height: 56px; padding: 7px 30px 7px 12px; font-size: 16px; }
.q-urgencia { margin-top: 12px; font-size: 13px; line-height: 1.38; color: rgba(14, 27, 44, .68); }
.decide { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 8px; align-items: stretch; margin-top: 12px; }
.continuar { min-height: 56px; border-radius: 14px; background: var(--marinho); color: var(--perola); font: 600 18px var(--larga); font-stretch: 125%; transition: opacity .2s, transform .14s var(--macio); }
.continuar:disabled { opacity: .32; cursor: default; }
.continuar:not(:disabled):active { transform: scale(.975); }
.pular { min-height: 56px; padding: 0 4px; font-size: 15.5px; line-height: 1.22; font-weight: 500; text-align: left; text-decoration: underline; text-decoration-color: rgba(14, 27, 44, .4); text-underline-offset: 3px; color: rgba(14, 27, 44, .86); }

/* ---------- T5: a mensagem pronta ---------- */
.final { display: grid; grid-template-rows: minmax(84px, 1fr) auto; }
.final-palco { min-height: 0; }
.final-texto { display: grid; gap: 0; padding: 0 var(--margem) max(12px, env(safe-area-inset-bottom)); }
.f-titulo { font: 600 clamp(21px, 5.9vw, 25px)/1.13 var(--larga); font-stretch: 125%; letter-spacing: -.012em; text-wrap: balance; outline: none; }
.f-frase { margin-top: 5px; font-size: 17px; line-height: 1.32; color: var(--areia); }
.balao { position: relative; margin-top: 11px; padding: 10px 42px 11px 13px; border-radius: 16px 16px 4px 16px; background: #fff; color: #111b21; font-size: var(--tb, 15.5px); line-height: 1.32; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); -webkit-user-select: text; user-select: text; }
.balao::after { content: ""; position: absolute; right: -7px; bottom: 0; width: 14px; height: 13px; background: #fff; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.balao-texto { white-space: pre-wrap; overflow-wrap: anywhere; }
.balao-texto .resto { color: transparent; }
.balao-campo { display: block; width: 100%; margin: 0; padding: 0; border: 0; outline: none; resize: none; background: transparent; color: inherit; font: 400 16px/1.32 var(--texto); }
.lapis { position: absolute; right: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; color: #54656f; }
.lapis::after { content: ""; position: absolute; inset: -6px; }
.lapis svg { width: 20px; height: 20px; }
.balao.editando { outline: 2px solid var(--luz); }
.enviar { margin-top: 12px; min-height: 60px; padding: 6px 14px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--whats); color: var(--whats-tinta); font: 700 18px/1.15 var(--texto); text-decoration: none; text-align: center; box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .65); }
.enviar svg { width: 27px; height: 27px; flex: none; }
.enviar:active { transform: scale(.98); }
.enviar.pulso { animation: pulso .95s var(--macio) 1; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .75), 0 12px 30px -10px rgba(37, 211, 102, .65); } 35% { transform: scale(1.035); } 100% { box-shadow: 0 0 0 22px rgba(37, 211, 102, 0), 0 12px 30px -10px rgba(37, 211, 102, .65); } }
.f-micro { margin-top: 9px; font-size: 12.5px; line-height: 1.36; color: rgba(232, 220, 200, .84); }

/* ---------- ponte: vídeo da região, logo abaixo do T5 ---------- */
.ponte { position: relative; padding: 26px var(--margem) 44px; background: linear-gradient(var(--noite), var(--breu)); color: var(--perola); display: grid; justify-items: center; gap: 22px; }
.ponte-video { width: min(74vw, 300px); }
.ponte-descer { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; font: 600 17px/1.3 var(--texto); color: var(--ouro-claro); text-decoration: none; text-align: center; }
.ponte-descer svg { width: 24px; height: 24px; flex: none; animation: desce 2.2s ease-in-out infinite; }

/* ============================== O SITE ============================== */
.sec { position: relative; padding: 68px max(var(--margem), calc((100% - 1120px) / 2)) 76px; overflow: hidden; }
.sec-cab { position: relative; margin-bottom: 30px; }
.sec-titulo { font: 600 clamp(28px, 8vw, 56px)/1.06 var(--larga); font-stretch: 125%; letter-spacing: -.018em; text-wrap: balance; }
.sec-sub { margin-top: 10px; font-size: 18px; line-height: 1.4; max-width: 34em; }
.fonte { font-size: 13px; line-height: 1.4; opacity: .78; }
.link { display: inline-flex; align-items: center; min-height: 56px; font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: var(--ouro-escuro); }

/* revelar em ripas, como a madeira ripada da clínica */
.ripas { position: relative; }
.ripas .comodo-foto, .ripas > img, .medico-consulta { position: relative; }
.ripas .comodo-foto::after, .medico-consulta.ripas::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; --fecha: 1; background: repeating-linear-gradient(90deg, var(--ripa, var(--perola)) 0, var(--ripa, var(--perola)) calc(var(--fecha) * 12.5%), transparent 0, transparent 12.5%); transition: --fecha 1s var(--macio); }
.ripas.visto .comodo-foto::after, .medico-consulta.ripas.visto::before { --fecha: 0; }

/* ---------- o médico ---------- */
.medico { background: var(--perola) var(--facetas-perola) 50% 0 / 120px 190px; color: var(--tinta); padding-top: 54px; }
.medico-cartaz { position: relative; height: 122vw; max-height: 600px; margin: 0 calc(var(--margem) * -1); overflow: hidden; border-bottom: 2px solid var(--ouro); }
.etiqueta { position: absolute; left: var(--margem); top: 0; z-index: 3; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--ouro-tinta); }
.etiqueta svg { width: 20px; height: 20px; color: var(--ouro-escuro); }
.medico-nome { position: absolute; left: var(--margem); top: 36px; z-index: 1; font: 600 13.2vw/.98 var(--larga); font-stretch: 125%; letter-spacing: -.035em; color: var(--marinho); white-space: nowrap; }
.medico-nome span { display: block; }
.medico-foto { position: absolute; right: 0; bottom: 0; z-index: 2; width: 86%; max-width: 470px; filter: drop-shadow(0 22px 26px rgba(14, 27, 44, .25)); }
.medico-corpo { padding-top: 22px; display: grid; gap: 10px; max-width: 40em; }
.medico-id { font-size: 15.5px; line-height: 1.4; font-weight: 600; color: var(--marinho); }
.medico-texto { font-size: 17.5px; line-height: 1.55; }
.pergunta-dele { margin-top: 30px; padding: 30px 0 4px; border-top: 1px solid rgba(14, 27, 44, .18); }
.pergunta-dele blockquote { position: relative; font: 500 clamp(26px, 7.2vw, 50px)/1.13 var(--larga); font-stretch: 125%; letter-spacing: -.02em; color: var(--marinho); text-wrap: balance; }
.pergunta-dele figcaption { margin-top: 12px; font-size: 17px; color: rgba(14, 27, 44, .78); }
.medico-consulta { margin-top: 28px; overflow: hidden; border-radius: 14px; background: var(--areia); }
.medico-consulta img { width: 100%; }
.medico-consulta figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 36px 16px 14px; background: linear-gradient(transparent, rgba(6, 13, 24, .82)); color: var(--perola); font: 600 18px/1.25 var(--larga); font-stretch: 112%; }

/* ---------- números ---------- */
.numeros { background: var(--areia); color: var(--tinta); }
.conta { border-bottom: 1px solid rgba(14, 27, 44, .2); }
.conta li { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; column-gap: 14px; padding: 15px 0 15px; border-top: 1px solid rgba(14, 27, 44, .2); }
.conta b { font: 600 clamp(38px, 10.6vw, 84px)/1 var(--larga); font-stretch: 125%; letter-spacing: -.04em; color: var(--marinho); white-space: nowrap; }
.conta span { font-size: 17px; line-height: 1.3; }
/* os três raios do símbolo abrindo ao lado de cada número */
.conta i { position: absolute; right: 0; top: 10px; width: 26px; height: 26px; }
.conta i, .conta i::before, .conta i::after { background: linear-gradient(var(--ouro-escuro), var(--ouro-escuro)) 62% 50% / 46% 15% no-repeat; }
.conta i::before, .conta i::after { content: ""; position: absolute; inset: 0; transform-origin: 16% 50%; transition: transform .7s var(--macio) .15s; }
.conta li.visto i::before { transform: rotate(-31deg); }
.conta li.visto i::after { transform: rotate(-62deg); }
.numeros .fonte { margin-top: 16px; }

/* ---------- como a gente cuida ---------- */
.cuidado { background: var(--breu) var(--facetas-breu) 50% 0 / 120px 190px; color: var(--perola); }
.cuidado .sec-titulo { color: var(--perola); }
.fio { position: relative; padding-left: 44px; }
/* a linha de luz que desce */
.fio::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 0; width: 2px; border-radius: 2px; background: linear-gradient(#fff3dc, var(--luz) 30%, var(--luz)); box-shadow: 0 0 10px 1px rgba(255, 170, 80, .6), 0 0 34px 5px rgba(255, 150, 60, .2); transform-origin: 50% 0; transform: scaleY(var(--desce, 1)); }
.etapa { position: relative; padding-bottom: 34px; }
.etapa-n { position: absolute; left: -45px; top: -3px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--breu); border: 1.5px solid var(--ouro); color: var(--ouro-claro); font: 600 16px var(--larga); box-shadow: 0 0 0 5px var(--breu), 0 0 18px 4px rgba(255, 170, 80, .28); }
.etapa h3 { font: 600 24px/1.15 var(--larga); font-stretch: 125%; color: var(--ouro-claro); }
.etapa p { margin-top: 7px; font-size: 17.5px; line-height: 1.52; color: rgba(244, 238, 227, .9); max-width: 34em; }
.etapa-foto { margin-top: 16px; width: 100%; max-width: 360px; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 18%; border-radius: 14px; }
.frase { padding: 6px 0 30px; font: 500 clamp(24px, 6.6vw, 44px)/1.16 var(--larga); font-stretch: 125%; letter-spacing: -.018em; color: var(--perola); text-wrap: balance; }

/* a vitrine: uma escultura por região, e a linha de luz passando de uma para a outra */
.vitrine { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 58px; margin: 0 calc(var(--margem) * -1); padding: 34px 26px 30px; }
.vitrine-luz { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.vitrine-luz path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--macio); }
.vitrine-luz path.aceso { stroke-dashoffset: 0; }
.vitrine-luz .v-brilho { stroke: rgba(255, 150, 60, .2); stroke-width: 12; }
.vitrine-luz .v-halo { stroke: rgba(255, 180, 100, .42); stroke-width: 5; }
.vitrine-luz .v-fio { stroke: #ffdfb0; stroke-width: 1.6; }
.peca { position: relative; margin: 0; perspective: 1100px; }
.peca-vidro { position: relative; aspect-ratio: 1122 / 1402; background: #070f1a; box-shadow: 0 0 0 1px rgba(207, 168, 102, .5), 0 34px 60px -26px #000; transform: rotateX(calc(var(--t, 0) * -3.2deg)) translateY(calc(var(--t, 0) * 10px)); will-change: transform; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.peca-vidro img { width: 100%; height: 100%; opacity: 0; transition: opacity .9s; }
.peca.visto .peca-vidro img { opacity: 1; }
.peca.espelho .peca-vidro img { transform: scaleX(-1); }
/* o reflexo no vidro, que anda conforme a peça passa pela tela */
.peca-vidro::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, transparent 36%, rgba(255, 244, 222, .13) 48%, rgba(255, 244, 222, .03) 56%, transparent 64%) 0 0 / 300% 100% no-repeat; background-position-x: calc(50% + var(--t, 0) * 60%); mix-blend-mode: screen; }
.peca figcaption { display: flex; align-items: center; gap: 12px; margin-top: 14px; font: 600 22px/1.1 var(--larga); font-stretch: 125%; color: var(--ouro-claro); transform: translateY(calc(var(--t, 0) * -8px)); }
.peca figcaption::before { content: ""; width: 22px; height: 22px; background: var(--ouro); -webkit-mask: var(--raios) center / contain no-repeat; mask: var(--raios) center / contain no-repeat; }
.cuida-linha { margin-top: 6px; font-size: 18px; line-height: 1.5; color: rgba(244, 238, 227, .9); max-width: 36em; }
.recursos { margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(233, 210, 164, .3); }
.recursos-titulo { font: 600 26px/1.15 var(--larga); font-stretch: 125%; color: var(--ouro-claro); }
.recursos ul { margin-top: 14px; }
.recursos li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid rgba(233, 210, 164, .16); font-size: 17.5px; line-height: 1.3; }
.recursos li::before { content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px; background: var(--ouro); -webkit-mask: var(--raios) center / contain no-repeat; mask: var(--raios) center / contain no-repeat; }

/* ---------- histórias em vídeo ---------- */
.historias { background: var(--perola); color: var(--tinta); }
/* madeira ripada por trás do trilho */
.historias::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: repeating-linear-gradient(90deg, rgba(122, 87, 24, .13) 0 1px, transparent 1px 13px), linear-gradient(rgba(232, 220, 200, 0), var(--areia)); }
.trilho { position: relative; display: flex; gap: 14px; margin: 0 calc(max(var(--margem), (100vw - 1120px) / 2) * -1); padding: 6px max(var(--margem), calc((100vw - 1120px) / 2)) 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margem); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.trilho::-webkit-scrollbar { display: none; }
.hist { flex: 0 0 min(66vw, 270px); margin: 0; scroll-snap-align: start; }
.hist-tela { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 18px; background: var(--noite); box-shadow: 0 22px 40px -22px rgba(14, 27, 44, .7); }
.hist-tela img, .hist-tela video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hist-tela video { opacity: 0; }
.hist.tocando .hist-tela video { opacity: 1; }
.hist.tocando .hist-tela img, .hist.tocando .assistir { opacity: 0; pointer-events: none; }
.assistir { position: absolute; left: 10px; right: 10px; bottom: 10px; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; border: 1px solid rgba(233, 210, 164, .55); background: rgba(8, 16, 28, .78); color: var(--perola); font: 600 17px var(--texto); transition: opacity .25s; }
.assistir svg { width: 20px; height: 20px; color: var(--ouro-claro); }
.hist-legenda { margin-top: 11px; font-size: 16px; line-height: 1.36; }

/* ---------- parede de lembranças ---------- */
.pacientes { background: var(--areia) var(--facetas-areia) 50% 0 / 150px 238px; color: var(--tinta); }
.parede { columns: 2; column-gap: 12px; }
.lembranca { break-inside: avoid; margin: 0 0 14px; padding: 6px 6px 0; border-radius: 3px; background: #fffdf8; box-shadow: 0 14px 24px -12px rgba(60, 40, 10, .55), 0 1px 2px rgba(60, 40, 10, .2); transform: rotate(var(--giro, 0deg)); }
.lembranca img { width: 100%; border-radius: 1px; background: var(--areia); }
.lembranca figcaption { padding: 8px 4px 10px; font-size: 15px; line-height: 1.3; }
.lembranca:nth-child(3n+2) { --giro: -1.2deg; }
.lembranca:nth-child(3n) { --giro: 1.1deg; }
.lembranca:nth-child(4n) { --giro: -.6deg; }
.lembranca.estrela { column-span: all; --giro: -.8deg; margin: 0 auto 22px; padding: 9px 9px 0; max-width: 430px; }
.lembranca.estrela figcaption { padding: 11px 6px 14px; font: 600 19px/1.25 var(--larga); font-stretch: 112%; color: var(--marinho); }
.de-longe { margin-top: 14px; font: 500 clamp(21px, 5.6vw, 32px)/1.24 var(--larga); font-stretch: 125%; letter-spacing: -.012em; color: var(--marinho); text-wrap: balance; }

/* ---------- Google ---------- */
.google { background: var(--noite) var(--facetas-noite) 50% 0 / 120px 190px; color: var(--perola); }
.google::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10, 23, 40, .7), rgba(10, 23, 40, .94)); }
.google > * { position: relative; }
.nota { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.nota b { font: 600 clamp(112px, 35vw, 230px)/.8 var(--larga); font-stretch: 125%; letter-spacing: -.06em; background: linear-gradient(104deg, #a87b2e, #f1ddb4 36%, #cfa866 58%, #8f6722 92%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.nota-lado { display: grid; gap: 7px; padding-bottom: 6px; }
.nota-total { font-size: 17px; font-weight: 600; }
.estrelas { display: inline-flex; gap: 3px; color: var(--ouro); }
.estrelas svg { width: 21px; height: 21px; }
.avaliacao { flex: 0 0 min(82vw, 400px); margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px 20px 20px; border-radius: 18px; background: var(--marinho); border-top: 1px solid rgba(233, 210, 164, .4); }
.avaliacao blockquote { font-size: 18px; line-height: 1.46; }
.avaliacao figcaption { display: grid; gap: 7px; font-size: 15.5px; font-weight: 600; color: var(--ouro-claro); }
.avaliacao .estrelas svg { width: 17px; height: 17px; }
.google-pe { display: grid; gap: 12px; justify-items: start; margin-top: 8px; }

/* ---------- a clínica por dentro ---------- */
.clinica { background: var(--perola); color: var(--tinta); --ripa: var(--perola); }
.passeio { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 10px; align-items: end; }
.comodo { margin: 0; }
.comodo-foto { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 5; background: var(--areia); }
.comodo-foto img, .comodo-foto video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comodo figcaption { margin-top: 7px; font-size: 15.5px; line-height: 1.3; }
.c-filme { grid-column: 1 / 4; }
.c-filme .comodo-foto { aspect-ratio: 9 / 16; }
.c-entrada { grid-column: 4 / 7; }
.c-recepcao { grid-column: 1 / 7; }
.c-repouso, .c-procedimento { grid-column: 1 / 4; }
.c-consultorio, .c-laser { grid-column: 4 / 7; }
.c-equipe { grid-column: 1 / 7; }
.c-equipe .comodo-foto { aspect-ratio: 1200 / 850; }
.c-equipe img { object-position: 50% 0; }

/* ---------- dúvidas, como conversa ---------- */
.duvidas { background: var(--areia); color: var(--tinta); }
.conversa { display: grid; gap: 24px; max-width: 660px; }
.troca { display: grid; gap: 8px; }
.chega { justify-self: start; max-width: 90%; padding: 12px 15px; border-radius: 4px 17px 17px 17px; background: #fffdf9; box-shadow: 0 1px 1.5px rgba(14, 27, 44, .16); font: 600 17.5px/1.36 var(--texto); }
.responde { justify-self: end; max-width: 90%; padding: 12px 15px; border-radius: 17px 17px 4px 17px; background: var(--marinho); color: var(--perola); font-size: 17.5px; line-height: 1.46; }

/* ---------- como chegar ---------- */
.chegar { background: var(--marinho); color: var(--perola); }
.chegar-grade { display: grid; gap: 24px; }
.mapa-moldura { display: block; overflow: hidden; border-radius: 18px; border: 1px solid rgba(233, 210, 164, .34); background: #0c1b2e; }
.mapa { width: 100%; height: auto; }
.m-ruas { fill: none; stroke: #203a58; stroke-width: 2.2; stroke-linecap: round; }
.m-medias { fill: none; stroke: #2b4b70; stroke-width: 3.6; stroke-linecap: round; }
.m-shopping { fill: #15304c; stroke: #40688f; stroke-width: 1.5; }
.m-av { fill: none; stroke: var(--ouro); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.m-cb { stroke-width: 4.2; }
.m-rua-itoc { fill: none; stroke: var(--ouro-claro); stroke-width: 3; stroke-linecap: round; }
.m-rotulos text, .m-itoc text { font-family: var(--texto); fill: var(--perola); paint-order: stroke; stroke: #0c1b2e; stroke-width: 6px; stroke-linejoin: round; }
.m-nome-av { font-size: 22px; font-weight: 600; fill: var(--ouro-claro) !important; }
.m-lugar { font-size: 20px; font-weight: 600; stroke: #15304c !important; }
.m-bairro { font-size: 18px; font-weight: 600; }
.m-rua { font-size: 18px; }
.m-rumo { font-size: 17px; fill: rgba(244, 238, 227, .62) !important; }
.m-ponto { fill: #fff3dc; stroke: #0c1b2e; stroke-width: 3; }
.m-pulso { fill: none; stroke: var(--ouro-claro); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: onda 2.2s ease-out infinite; }
.m-raios { color: var(--ouro-claro); }
.m-itoc-nome { font: 700 27px var(--larga); font-stretch: 125%; fill: #fff !important; }
.m-itoc-sub { font-size: 17px; font-weight: 600; }
.chegar-dados { display: grid; gap: 8px; align-content: start; }
.endereco { font-size: 18px; line-height: 1.5; }
.referencia, .horario { font-size: 17.5px; color: var(--ouro-claro); font-weight: 600; }
.chegar-botoes { display: grid; gap: 10px; margin-top: 14px; }
.contatos { margin-top: 8px; font-size: 17px; }
.contatos a { display: inline-flex; align-items: center; min-height: 48px; text-underline-offset: 4px; }
.fecho { position: relative; margin-top: 56px; overflow: hidden; border-radius: 22px; background: var(--noite); border: 1px solid rgba(233, 210, 164, .3); }
.fecho-foto { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: 50% 8%; }
.fecho-texto { position: relative; margin-top: -84px; padding: 70px 18px 20px; background: linear-gradient(rgba(10, 23, 40, 0), var(--noite) 64px); }
.fecho-titulo { font: 600 clamp(25px, 6.9vw, 44px)/1.12 var(--larga); font-stretch: 125%; letter-spacing: -.018em; text-wrap: balance; }
.fecho-botoes { display: grid; gap: 10px; margin-top: 20px; }

/* ---------- rodapé e barra ---------- */
.rodape { padding: 46px max(var(--margem), calc((100% - 1120px) / 2)) 124px; background: var(--breu); color: rgba(244, 238, 227, .8); font-size: 14.5px; line-height: 1.5; display: grid; gap: 8px; }
.rodape .logo { width: 104px; margin-bottom: 8px; }
.rodape-nome { font: 600 17px/1.3 var(--larga); font-stretch: 112%; color: var(--perola); }
.rodape-lema { color: var(--ouro-claro); }
.rodape-dt { opacity: .72; }
.rodape-aviso { margin-top: 10px; padding-top: 16px; border-top: 1px solid rgba(233, 210, 164, .2); }
.rodape-ano { opacity: .7; }
.barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: center; padding: 22px var(--margem) max(12px, env(safe-area-inset-bottom)); background: linear-gradient(rgba(6, 13, 24, 0), rgba(6, 13, 24, .9) 46%); transform: translateY(110%); transition: transform .36s var(--macio); pointer-events: none; }
.barra.visivel { transform: none; }
.barra .botao { pointer-events: auto; width: 100%; max-width: 440px; font-size: 18px; }

/* ============================== telas largas ============================== */
@media (min-width: 700px) {
  :root { --margem: 28px; }
  .titulo { font-size: clamp(34px, 5.4vw, 46px); }
  .sub { font-size: 20px; }
  .local { font-size: 15px; }
  .rotulo { font-size: 18px; }
  .rotulo.r-dir { left: 6%; }
  .rotulo.r-esq { right: 6%; }
  .dica { left: 6%; font-size: 15px; }
  .idmed { font-size: 13px; }
  .q-titulo, .f-titulo { font-size: 30px; }
  .opcao { min-height: 68px; font-size: 19px; padding: 10px 16px; }
  .marcar .opcao { min-height: 62px; font-size: 18px; }
  .folha { padding: 22px 28px 22px; }
  .perguntas, .final { justify-items: center; }
  .fichas, .folha, .final-texto { width: min(100%, 640px); }
  .folha { border-radius: 24px 24px 0 0; }
  .balao { --tb: 17px; }
  .vitrine { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px 56px; padding: 40px 44px; }
  .parede { columns: 3; column-gap: 18px; }
  .lembranca.estrela { max-width: 520px; }
  .hist { flex-basis: 250px; }
  .passeio { gap: 22px 16px; }
  .chegar-botoes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chegar-botoes .b-whats { grid-column: 1 / -1; }
  .fecho-botoes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .medico-cartaz { height: 78vw; }
  .medico-nome { font-size: 12vw; }
  .medico-foto { width: 58%; max-width: 560px; }
}

@media (min-width: 960px) and (min-height: 560px) {
  :root { --margem: 44px; }
  .exp { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: 600px; }
  .topo { grid-column: 1 / -1; min-height: 72px; padding-right: var(--margem); }
  .logo { width: 124px; }
  .atalho { min-height: 46px; font-size: 15px; padding: 0 18px 0 14px; }
  .t1, .perguntas, .final { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: minmax(0, 1fr) auto; column-gap: 0; }
  .t1 { padding: 0 0 26px; grid-template-rows: minmax(0, 1fr) auto; }
  .t1-intro { grid-column: 1; grid-row: 1; align-self: center; padding: 0 0 0 var(--margem); }
  .titulo { font-size: clamp(44px, 4.6vw, 68px); margin: 16px 0 14px; }
  .sub { font-size: 22px; }
  .t1-palco { grid-column: 2; grid-row: 1 / 3; }
  .t1-base { grid-column: 1; grid-row: 2; padding: 0 0 0 var(--margem); max-width: 520px; gap: 14px; }
  .rotulo { font-size: 19px; }
  .rotulo.r-dir { left: 2%; }
  .rotulo.r-esq { right: 4%; }
  .dica { left: 2%; }
  .perguntas { grid-template-rows: auto minmax(0, 1fr); justify-items: stretch; align-content: center; }
  .fichas { grid-column: 1; grid-row: 1; align-self: end; width: auto; padding: 0 0 12px var(--margem); max-width: 600px; }
  .palco { grid-column: 2; grid-row: 1 / 3; }
  .folha { grid-column: 1; grid-row: 2; align-self: start; width: auto; max-width: 560px; margin-left: var(--margem); border-radius: 24px; padding: 26px 30px 28px; }
  .folha::after { display: none; }
  .perguntas.entra .folha, .perguntas.sai .folha { transform: translateX(-30px); opacity: 0; }
  .folha { transition: transform .42s var(--macio), opacity .3s; }
  .final { grid-template-rows: minmax(0, 1fr); justify-items: stretch; }
  .final-palco { grid-column: 2; grid-row: 1; }
  .final-texto { grid-column: 1; grid-row: 1; align-self: center; width: auto; max-width: 560px; padding: 0 0 30px var(--margem); }
  .exp[data-tela="5"] .exp-canvas { -webkit-mask-image: none; mask-image: none; }
  .exp-arte img { left: auto; right: 0; width: 54%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
  .exp-arte::after { background: linear-gradient(90deg, var(--noite) 44%, rgba(10, 23, 40, .5) 74%, rgba(10, 23, 40, .62)); }
  .ponte { grid-template-columns: auto minmax(0, 420px); justify-content: center; align-items: center; gap: 44px; padding: 60px var(--margem); }

  .sec { padding-top: 110px; padding-bottom: 120px; }
  .sec-cab { margin-bottom: 48px; }
  .medico { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 60px; align-items: start; }
  .medico-cartaz { grid-column: 1 / -1; height: min(56vw, 640px); max-height: none; margin: 0 0 40px; }
  .medico-nome { font-size: min(11.4vw, 150px); top: 50px; left: 0; white-space: normal; }
  .medico-nome span { display: inline; }
  .etiqueta { left: 0; font-size: 19px; }
  .medico-foto { right: 4%; width: auto; height: 96%; max-width: none; }
  .medico-corpo { padding-top: 0; }
  .medico-texto { font-size: 20px; }
  .pergunta-dele { margin-top: 0; padding-top: 0; border-top: 0; grid-column: 2; grid-row: 2; }
  .medico-consulta { grid-column: 1 / -1; margin-top: 60px; max-height: 620px; }
  .medico-consulta img { height: 620px; object-fit: cover; object-position: 50% 62%; }
  .medico-consulta figcaption { font-size: 26px; padding: 60px 30px 24px; }
  .conta { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 0; }
  .conta li { grid-template-columns: 1fr; align-content: start; row-gap: 12px; padding: 26px 20px 0 0; border-top: 2px solid var(--marinho); }
  .conta b { font-size: clamp(44px, 4.9vw, 76px); }
  .conta li:last-child b { letter-spacing: -.05em; }
  .conta i { top: 26px; right: 18px; }
  .conta span { font-size: 18px; }
  .passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
  .etapa-foto { max-width: 300px; }
  .frase { max-width: 20em; padding-top: 20px; }
  .vitrine { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 84px 64px; padding: 50px 50px 46px; margin: 0; }
  .peca figcaption { font-size: 26px; }
  .recursos ul { columns: 2; column-gap: 60px; }
  .recursos li { break-inside: avoid; }
  .hist { flex-basis: 268px; }
  .parede { columns: 4; column-gap: 22px; }
  .lembranca.estrela { column-span: none; max-width: none; margin: 0 0 18px; }
  .nota b { font-size: 250px; }
  .avaliacao { flex-basis: 400px; }
  .passeio { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 34px 22px; }
  .c-filme { grid-column: 1 / 4; }
  .c-entrada { grid-column: 4 / 8; }
  .c-recepcao { grid-column: 8 / 13; }
  .c-repouso { grid-column: 1 / 5; }
  .c-consultorio { grid-column: 5 / 9; }
  .c-procedimento { grid-column: 9 / 13; }
  .c-laser { grid-column: 1 / 5; }
  .c-equipe { grid-column: 5 / 13; }
  .c-equipe .comodo-foto { aspect-ratio: auto; height: 100%; min-height: 380px; }
  .chegar-grade { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
  .endereco { font-size: 21px; }
  .fecho { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: stretch; margin-top: 90px; }
  .fecho-foto { height: 100%; aspect-ratio: auto; max-height: 520px; }
  .fecho-texto { margin: 0; padding: 50px 50px; background: none; align-self: center; }
  .rodape { padding-bottom: 60px; }
  .barra { justify-content: flex-end; background: none; padding-right: 28px; }
  .barra .botao { width: auto; padding-inline: 30px; }
}

@media (max-width: 374px) {
  .atalho { font-size: 12.5px; padding: 0 10px 0 8px; gap: 5px; }
  .logo { width: 84px; }
  .rotulo { font-size: 14.5px; }
  .opcao { font-size: 16px; }
  .marcar .opcao { font-size: 15px; padding-right: 26px; }
  .enviar { font-size: 17px; }
  .f-frase, .q-sub { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .peca-vidro, .peca figcaption { transform: none; }
}
