/* Rehab+ · landing */
body.site { background: var(--navy-900); color: var(--ink); overflow-x: hidden; }

/* Reveal: entra suave quando aparece na tela */
[data-r] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
[data-r].is-in { opacity: 1; transform: none; }
.no-js [data-r] { opacity: 1; transform: none; }

.cross { display: inline-block; width: 12px; height: 12px; position: relative; flex: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--gold-500); border-radius: 1.5px; }
.cross::before { inset: 4px 0; }
.cross::after { inset: 0 4px; }

/* ---------- Navegação ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s; }
.nav.is-solid { background: rgba(3, 27, 48, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 14px; font-weight: 600; position: relative; padding: 6px 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; align-items: center; justify-content: center; }
.nav__mobile { display: grid; gap: 4px; padding: 8px var(--gutter) 22px; background: rgba(3, 27, 48, .97); }
.nav__mobile[hidden] { display: none; }
.nav__mobile > a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav__mobile .btn { margin-top: 10px; }

@media (max-width: 1020px) {
	.nav__links { display: none; }
	.nav__cta { margin-left: auto; }
}
@media (max-width: 640px) {
	.nav__in { height: 64px; }
	.nav__cta .btn--line-light span { display: none; }
	.nav__cta .btn--line-light { padding: 0 11px; }
	.nav__wa { display: none; }
	.nav__burger { display: inline-flex; }
	.logo img { height: 28px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, #0E5A93 0%, var(--navy-800) 46%, var(--navy-900) 100%); color: #fff; padding: 128px 0 40px; overflow: hidden; isolation: isolate; }
.hero__glow { position: absolute; width: 760px; height: 760px; right: -180px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(46, 134, 201, .38), transparent 62%); filter: blur(10px); z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero__h { font-family: var(--font-d); font-weight: 700; font-style: italic; font-size: clamp(42px, 4.9vw, 74px); line-height: 1; letter-spacing: -.005em; margin: 22px 0 26px; }
.hero__h .ln { display: block; }
.hero__h .ln:nth-child(2) { margin-bottom: 12px; }
@media (min-width: 901px) { .hero__h .ln { white-space: nowrap; } }

/* Assinatura de movimento: faixa dourada varre por trás do texto, como nos posts.
   Fundo inline com box-decoration-break: se a linha quebrar, cada pedaço ganha a própria faixa. */
.hl { line-height: 1.12; }
.hl > span {
	color: var(--navy-900); padding: 0 .14em .02em; margin-left: -.06em;
	background: linear-gradient(var(--gold-500), var(--gold-500)) no-repeat left center / 0% 100%;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
	transition: background-size .9s var(--ease) var(--d, 0s), color .4s ease calc(var(--d, 0s) + .3s);
}
.hl:not(.is-in) > span { color: transparent; }
.hl.is-in > span { background-size: 100% 100%; }
.hl + .hl { margin-top: 2px; }
.no-js .hl > span { background-size: 100% 100%; color: var(--navy-900); }

.hero__sub { font-size: clamp(16px, 1.4vw, 18px); color: rgba(255,255,255,.78); max-width: 520px; line-height: 1.65; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__pills { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.7); font-size: 14px; font-weight: 600; }
.hero__pills li { display: inline-flex; align-items: center; gap: 8px; }
.hero__pills .ic { width: 17px; height: 17px; color: var(--gold-500); }

.hero__pics { position: relative; height: clamp(380px, 34vw, 470px); align-self: end; }
.hero__plus { position: absolute; width: 50%; aspect-ratio: 1; left: 25%; top: -6%; }
.hero__plus::before, .hero__plus::after { content: ""; position: absolute; border-radius: 18px; background: linear-gradient(180deg, rgba(224, 169, 27, .30), rgba(224, 169, 27, .06) 55%, rgba(224, 169, 27, 0) 80%); }
.hero__plus::before { inset: 33% 0; }
.hero__plus::after { inset: 0 33%; }
.pic { position: absolute; bottom: 0; margin: 0; width: 74%; will-change: transform; }
.pic img { width: 100%; height: auto; mask-image: linear-gradient(180deg, #000 72%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.pic--a { left: -6%; z-index: 2; }
.pic--b { right: -8%; z-index: 1; bottom: 9%; }
.pic { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.pic--b { transition-delay: .15s; }
.is-ready .pic { opacity: 1; transform: none; }
.no-js .pic, .no-js .chip { opacity: 1; transform: none; }

.chip { position: absolute; z-index: 3; display: grid; padding: 10px 14px 10px 16px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.35; box-shadow: var(--sh-3); opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease) .9s, transform .8s var(--ease) .9s; }
.chip strong { color: #fff; font-size: 14px; }
.chip::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--gold-500); }
.chip--a { left: -2%; bottom: 4%; }
.chip--b { right: -2%; bottom: 13%; transition-delay: 1.05s; }
.is-ready .chip { opacity: 1; transform: none; }

.pilares { list-style: none; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pilares li { display: flex; gap: 14px; align-items: baseline; }
.pilares__n { font-family: var(--font-d); font-weight: 700; color: var(--gold-500); font-size: 18px; }
.pilares strong { display: block; font-size: 16px; }
.pilares span { color: rgba(255,255,255,.62); font-size: 14px; }

@media (max-width: 900px) {
	.hero { padding-top: 104px; }
	.hero__grid { grid-template-columns: 1fr; }
	.hero__pics { height: min(84vw, 400px); margin-top: 8px; }
}
@media (max-width: 640px) {
	.hero__ctas .btn { flex: 1 1 100%; }
	.pilares { grid-template-columns: 1fr; gap: 14px; }
	.chip { font-size: 11px; padding: 8px 12px 8px 14px; }
	.chip--a { left: 0; bottom: -4px; }
	.chip--b { right: 0; bottom: -4px; }
	.hero__pics { margin-bottom: 8px; }
	.chip strong { font-size: 13px; }
	.pic { width: 70%; }
}

/* ---------- Seções ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec--tight { padding-top: 0; }
.sec--light { background: var(--bg); }
.sec--navy { background: var(--navy-900); color: #fff; }
.sec__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sec__head--row > div { max-width: 640px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.kicker--light { color: rgba(255,255,255,.7); }
.sec__h { font-family: var(--font-d); font-weight: 700; font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -.005em; color: var(--navy-800); }
.sec--navy .sec__h, .contato .sec__h { color: #fff; }
.sec__h em { font-style: italic; color: var(--blue-500); }
.sec--navy .sec__h em, .contato .sec__h em { color: var(--gold-500); }
.sec__lead { margin-top: 18px; font-size: 17px; color: var(--muted); max-width: 600px; }
.sec--navy .sec__lead { color: rgba(255,255,255,.72); }

/* Método */
.passos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: p; }
.passo { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px 28px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.passo:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.passo__n { font-family: var(--font-d); font-weight: 700; font-size: 44px; line-height: 1; color: var(--line); transition: color .4s var(--ease); }
.passo:hover .passo__n { color: var(--gold-500); }
.passo h3 { font-size: 18px; margin: 18px 0 8px; color: var(--navy-800); }
.passo p { color: var(--muted); font-size: 15px; }
.passo:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -12px; width: 8px; height: 8px; border-top: 2px solid var(--gold-500); border-right: 2px solid var(--gold-500); transform: rotate(45deg); z-index: 1; }
@media (max-width: 960px) {
	.passos { grid-template-columns: repeat(2, 1fr); }
	.passo::after { display: none; }
}
@media (max-width: 560px) { .passos { grid-template-columns: 1fr; } }

/* Tratamentos (bento) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.tile .ic { width: 28px; height: 28px; color: var(--blue-500); margin-bottom: 8px; }
.tile h3 { font-size: 19px; color: var(--navy-800); }
.tile p { color: var(--muted); font-size: 15px; }
.tile--big { grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 320px; }
.tile--big h3 { font-family: var(--font-d); font-size: 40px; font-style: italic; }
.tile--dark { background: radial-gradient(120% 120% at 100% 0%, #0E5A93, var(--navy-800) 60%); border-color: transparent; color: #fff; }
.tile--dark h3 { color: #fff; }
.tile--dark p { color: rgba(255,255,255,.75); font-size: 16px; max-width: 460px; }
.tile--dark .ic { color: var(--gold-500); width: 34px; height: 34px; margin-bottom: auto; }
.tile__tag { align-self: flex-start; margin-top: 10px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.tile--wide { grid-column: span 4; flex-direction: row; align-items: center; gap: 18px; }
.tile--wide .ic { margin: 2px 0 0; }
.tile--gold { border-left: 3px solid var(--gold-500); }
.tile--gold .ic { color: var(--gold-600); }
@media (max-width: 960px) {
	.bento { grid-template-columns: repeat(2, 1fr); }
	.tile--big { min-height: 280px; }
	.tile--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
	.bento { grid-template-columns: 1fr; }
	.tile--big, .tile--wide { grid-column: auto; grid-row: auto; }
	.tile--big h3 { font-size: 34px; }
}

/* Equipe */
.equipe { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.membro { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; }
.membro__foto { position: relative; height: 340px; background: radial-gradient(90% 90% at 50% 100%, #0E5A93, transparent 70%); overflow: hidden; }
.membro__foto::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(3,27,48,.9)); z-index: 1; }
.membro__foto img { position: absolute; left: 50%; bottom: -10px; width: auto; height: 108%; max-width: none; transform: translateX(-50%); transition: transform 1s var(--ease); }
.membro:hover .membro__foto img { transform: translateX(-50%) scale(1.03); }
.membro__txt { padding: 4px 28px 30px; position: relative; z-index: 2; margin-top: -28px; }
.membro h3 { font-family: var(--font-d); font-size: 32px; font-weight: 700; }
.membro__cargo { color: var(--gold-500); font-size: 14px; font-weight: 700; margin: 6px 0 18px; }
.membro ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.membro li { display: flex; gap: 10px; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.45; }
.membro li .ic { width: 18px; height: 18px; color: var(--gold-500); margin-top: 2px; }
@media (max-width: 860px) { .equipe { grid-template-columns: 1fr; } }

/* Agenda online */
.app-promo { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.lista-check { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-weight: 500; }
.lista-check .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--navy-800); color: var(--gold-500); flex: none; }

.phone { justify-self: center; width: min(340px, 100%); padding: 12px; border-radius: 44px; background: linear-gradient(160deg, #102B44, #04172A); box-shadow: var(--sh-3), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone__screen { border-radius: 34px; background: var(--bg); padding: 26px 18px 22px; display: grid; gap: 10px; }
.mock-plan { display: flex; gap: 14px; align-items: center; background: var(--navy-800); color: #fff; border-radius: 18px; padding: 16px; }
.mock-plan small { display: block; font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.mock-plan strong { display: block; font-size: 17px; }
.mock-plan span { font-size: 12px; color: var(--gold-400); font-weight: 600; }
.mock-ring { width: 54px; height: 54px; transform: rotate(-90deg); flex: none; }
.mock-ring circle { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 7; }
.mock-ring .v { stroke: var(--gold-500); stroke-linecap: round; stroke-dasharray: 60 100; stroke-dashoffset: 60; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.phone.is-in .mock-ring .v { stroke-dashoffset: 0; }
.mock-lbl { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 6px; }
.mock-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mock-days span { display: grid; justify-items: center; padding: 8px 0; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 11px; color: var(--muted); font-weight: 600; }
.mock-days b { font-size: 16px; color: var(--navy-800); }
.mock-days .on { background: var(--navy-800); border-color: var(--navy-800); color: rgba(255,255,255,.7); }
.mock-days .on b { color: #fff; }
.mock-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-slots span { text-align: center; padding: 9px 0; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 13px; color: var(--navy-800); }
.mock-slots .on { border-color: var(--gold-500); box-shadow: 0 0 0 2px var(--gold-500) inset; }
.mock-who { margin-top: 6px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.mock-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--navy-700); }
.mock-who small { display: block; font-size: 11px; color: var(--muted); }
.mock-who strong { font-size: 14px; color: var(--navy-800); }
.mock-ok { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.mock-ok .ic { width: 16px; height: 16px; }
@media (max-width: 900px) { .app-promo { grid-template-columns: 1fr; } }

/* Contato */
.contato { border-radius: var(--r-xl); background: radial-gradient(120% 140% at 0% 0%, #0E5A93, var(--navy-800) 55%, var(--navy-900)); color: #fff; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; overflow: hidden; position: relative; }
.contato__info { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; z-index: 1; }
.contato__info li { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.contato__info .ic { color: var(--gold-500); margin-top: 2px; }
.contato__info strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.contato__info a, .contato__info span { color: #fff; text-decoration: none; font-weight: 600; }
.contato__info a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .contato { grid-template-columns: 1fr; } }

/* Rodapé */
.foot { background: var(--navy-950); color: rgba(255,255,255,.6); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; justify-content: space-between; }
.foot__in img { height: 46px; width: auto; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: rgba(255,255,255,.8); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot p { width: 100%; }

.fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-500); color: var(--navy-900); box-shadow: var(--sh-3); transform: scale(0); transition: transform .45s var(--ease); }
.fab.is-on { transform: scale(1); }
.fab .ic { width: 26px; height: 26px; }

/* Página de texto (privacidade) */
.doc-page { background: var(--bg); }
.doc { max-width: 760px; padding-top: 120px; padding-bottom: 80px; }
.doc h1 { font-family: var(--font-d); font-size: clamp(40px, 6vw, 60px); color: var(--navy-800); }
.doc h2 { font-size: 19px; color: var(--navy-800); margin: 32px 0 8px; }
.doc p { color: var(--ink-2); margin-bottom: 10px; }
.doc .muted { color: var(--muted); }
.doc .small { font-size: 13px; margin-top: 28px; }
.doc a:not(.btn) { color: var(--blue-500); font-weight: 600; }
.doc .btn { margin-top: 18px; }
