/* Clínica Sakae Maki. Identidade visual: azul #113355, dourado #D2A675, off-white #F9F5F2, pêssego #F9E7D7 (Montserrat). */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #113355;
  --navy-deep: #0b2340;
  --navy-soft: #1c4673;
  --gold: #d2a675;
  --gold-soft: #ebd3b8;
  --paper: #f9f5f2;
  --paper-2: #f3ece6;
  --peach: #f9e7d7;
  --white: #ffffff;
  --ink: #1a2b42;
  --muted: #4e5d74;
  --line: rgba(17, 51, 85, 0.14);

  --r-lg: 32px;
  --r-md: 20px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 4vw, 3.7rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.2; }
em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 62%, var(--gold-soft) 62%); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: var(--r-pill); }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--muted); max-width: 34em; }
.kicker { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy-soft); margin-bottom: 1.1rem; line-height: 1.4; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 58px; padding: 0 30px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font: 600 1.02rem/1 var(--font); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { box-shadow: 0 14px 34px -14px rgba(17, 51, 85, 0.55); }
.btn:active { transform: scale(0.98); }
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 12px 22px; max-width: 100%; } }
.btn--gold { --bg: var(--gold); --fg: var(--navy-deep); --bd: var(--gold); }
.btn--gold:hover { --bg: #dbb485; --bd: #dbb485; }
.btn--navy:hover { --bg: var(--navy-soft); --bd: var(--navy-soft); }
.btn--ghost { --bg: transparent; --fg: var(--navy); --bd: var(--navy); }
.btn--ghost:hover { --bg: var(--navy); --fg: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.55); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--sm { min-height: 48px; padding: 0 22px; font-size: 0.95rem; }
.btn .icon { width: 1.35em; height: 1.35em; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.6em; font-weight: 600; text-decoration: none; color: var(--navy); border-bottom: 1.5px solid var(--gold); padding-bottom: 4px; transition: gap 0.3s var(--ease); }
.link-arrow:hover { gap: 1em; }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease), transform 0.5s var(--ease);
}
.header.is-scrolled { background: rgba(249, 245, 242, 0.86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); height: 68px; }
.header.is-hidden { transform: translateY(-100%); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 46px; height: 46px; }
.brand__txt { display: block; padding-left: 14px; border-left: 1.5px solid rgba(17, 51, 85, 0.35); line-height: 1.1; }
.brand__name { display: block; font-weight: 400; font-size: 1.3rem; letter-spacing: 0.04em; }
.brand__sub { display: block; font-size: 0.58rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 4px; color: var(--navy-soft); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-weight: 500; font-size: 0.95rem; text-decoration: none; color: var(--navy); padding: 10px 14px; border-radius: var(--r-pill); transition: background 0.3s var(--ease); white-space: nowrap; }
.nav a:hover { background: rgba(17, 51, 85, 0.07); }
.nav a[aria-current="page"] { background: rgba(17, 51, 85, 0.1); font-weight: 600; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.burger .icon { width: 26px; height: 26px; }

.nav__item { position: relative; }
.nav__btn { font: 500 0.95rem var(--font); color: var(--navy); background: none; border: 0; padding: 10px 14px; border-radius: var(--r-pill); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background 0.3s var(--ease); }
.nav__btn:hover, .nav__btn.is-current { background: rgba(17, 51, 85, 0.08); }
.nav__btn .icon { width: 0.9em; height: 0.9em; transition: transform 0.35s var(--ease); }
.nav__item:hover .nav__btn .icon, .nav__item:focus-within .nav__btn .icon { transform: rotate(180deg); }
.mega { position: absolute; left: 50%; top: calc(100% + 8px); width: min(660px, 92vw); transform: translate(-50%, 10px); opacity: 0; visibility: hidden; background: var(--white); border-radius: var(--r-md); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; box-shadow: 0 30px 70px -20px rgba(17, 51, 85, 0.35); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s; }
.mega::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav__item:hover .mega, .nav__item:focus-within .mega, .mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; text-decoration: none; transition: background 0.3s var(--ease); }
.mega a:hover, .mega a[aria-current="page"] { background: var(--peach); }
.mega__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); color: var(--navy); display: grid; place-items: center; flex: none; }
.mega a > span:last-child { min-width: 0; }
.mega strong { display: block; font-weight: 600; color: var(--navy); line-height: 1.2; }
.mega small { display: block; color: var(--muted); font-size: 0.84rem; line-height: 1.3; margin-top: 2px; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 520px) {
  .header__cta .btn { display: none; }
  .brand__sub { display: none; }
}

/* Menu mobile */
.drawer { position: fixed; inset: 0; z-index: 120; background: var(--navy); color: #fff; padding: 22px var(--gutter) 40px; display: flex; flex-direction: column; visibility: hidden; opacity: 0; transition: opacity 0.4s var(--ease), visibility 0.4s; overflow-y: auto; }
.drawer.is-open { visibility: visible; opacity: 1; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.drawer__close { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.5); background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-size: clamp(1.7rem, 6vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); display: flex; align-items: center; justify-content: space-between; }
.drawer nav a .icon { opacity: 0.6; }
.drawer .btn { margin-top: 32px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 36px) 0 72px; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before { content: ""; position: absolute; width: 62vw; height: 62vw; right: -14vw; top: -18vw; border-radius: 50%; background: radial-gradient(closest-side, var(--peach), rgba(249, 231, 215, 0)); }
.hero__bg::after { content: ""; position: absolute; width: 36vw; height: 36vw; left: -12vw; bottom: -14vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(210, 166, 117, 0.22), rgba(210, 166, 117, 0)); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero h1 .kicker { margin-bottom: 1.4rem; font-size: 0.82rem; }
.hero h1 .h1-main { display: block; }
.hero .lead { margin: 1.6rem 0 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { position: relative; }
/* Regra de forma: imagens de abertura (hero) têm topo em arco, como uma janela. Demais superfícies: cantos suaves de 32px. */
.hero__visual .slot, .page-hero .slot { border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.hero__visual .slot { aspect-ratio: 4 / 5; }
.hero__flower { position: absolute; width: 30%; height: auto; right: -4%; bottom: -5%; pointer-events: none; filter: drop-shadow(0 18px 24px rgba(17, 51, 85, 0.18)); }
.hero__ring { position: absolute; inset: 8% auto auto -9%; width: 30%; aspect-ratio: 1; border: 1.5px solid var(--gold); border-radius: 50%; pointer-events: none; }
.hero__orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hero__orb--a { width: 30vw; height: 30vw; left: 30%; top: 4%; background: radial-gradient(closest-side, rgba(210, 166, 117, 0.16), rgba(210, 166, 117, 0)); animation: drift 14s ease-in-out infinite alternate; }
.hero__orb--b { width: 16vw; height: 16vw; left: 6%; top: 62%; background: radial-gradient(closest-side, rgba(249, 231, 215, 0.95), rgba(249, 231, 215, 0)); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(3vw, -2vw, 0); } }
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 24px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; }
  .hero__visual .slot { aspect-ratio: 5 / 4; }
  .hero__flower { display: none; }
}

/* Espaço reservado para foto: coloque o arquivo em img/fotos/ com o nome indicado e ele aparece */
.slot { position: relative; overflow: hidden; background: linear-gradient(155deg, #fbeee0 0%, var(--peach) 45%, #efd3b8 100%); isolation: isolate; }
.slot::before { content: ""; position: absolute; inset: 0; background: url("../img/flor-ouro.png") center 46% / 42% no-repeat; opacity: 0.55; z-index: 0; }
.slot img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.slot__parallax { position: absolute; inset: -5% 0; will-change: transform; }
/* Fundos de marca (aparecem só enquanto a foto real não foi colocada). Cada espaço usa uma composição diferente. */
.slot[data-art="1"] { background: radial-gradient(circle at 82% 18%, rgba(210, 166, 117, 0.42), rgba(210, 166, 117, 0) 46%), linear-gradient(155deg, #fbeee0 0%, var(--peach) 50%, #efd3b8 100%); }
.slot[data-art="2"] { background: repeating-radial-gradient(circle at 18% 84%, rgba(17, 51, 85, 0) 0 34px, rgba(17, 51, 85, 0.07) 34px 35.5px), linear-gradient(200deg, #f6e3d1 0%, var(--paper-2) 60%, #f1ddc9 100%); }
.slot[data-art="2"]::before { background-position: 66% 40%; background-size: 36%; }
.slot[data-art="3"] { background: radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 40%), radial-gradient(circle at 88% 90%, rgba(17, 51, 85, 0.16), rgba(17, 51, 85, 0) 55%), linear-gradient(160deg, var(--peach), #f0d5bb); }
.slot[data-art="3"]::before { background-position: 34% 58%; background-size: 48%; }
.slot[data-art="4"] { background: repeating-radial-gradient(circle at 84% 22%, rgba(210, 166, 117, 0) 0 30px, rgba(210, 166, 117, 0.35) 30px 31.5px), linear-gradient(150deg, #fdf3e8, var(--peach) 55%, #f3dcc6); }
.slot[data-art="4"]::before { background-position: 40% 62%; background-size: 40%; }
body.show-slots .slot::after { content: attr(data-label); position: absolute; inset: 14px; z-index: 3; border: 2px dashed var(--navy); border-radius: 18px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; font-weight: 600; font-size: 0.85rem; color: var(--navy); background: rgba(255, 255, 255, 0.6); }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(96px, 14vw, 200px) 0; }
.manifesto p { font-size: clamp(1.9rem, 4.4vw, 3.9rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.16; color: var(--navy); max-width: 22em; margin: 0; }
.manifesto .w { opacity: 0.2; transition: none; }
.manifesto__foot { margin-top: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Tratamentos: pilha ---------- */
.stack-sec { padding: clamp(56px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); }
.sec-head { max-width: 40em; margin-bottom: clamp(36px, 5vw, 72px); }
.sec-head h2 { margin-bottom: 1.1rem; }
.stack { position: relative; }
.card-stack { position: sticky; top: calc(var(--header-h) + 14px + var(--i) * 18px); margin-bottom: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); overflow: hidden; min-height: min(74vh, 620px); display: grid; grid-template-columns: 1fr 1fr; background: var(--white); box-shadow: 0 30px 60px -40px rgba(17, 51, 85, 0.45); transform-origin: 50% 0; }
.card-stack__txt { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.card-stack__txt p { color: var(--muted); max-width: 30em; margin: 0; }
.card-stack__txt .tag { align-self: flex-start; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 16px; border-radius: var(--r-pill); background: var(--gold); color: var(--navy-deep); }
.card-stack .slot { min-height: 100%; border-radius: 0; }
.card-stack--root { background: var(--navy); }
.card-stack--root h3 { color: #fff; font-size: clamp(2rem, 3.2vw, 3rem); }
.card-stack--root p { color: rgba(255, 255, 255, 0.82); }
.card-stack--root .link-arrow { color: #fff; }
.card-stack--peach { background: var(--peach); }
.card-stack--paper { background: var(--paper-2); }
.card-stack:nth-child(even) .card-stack__txt { order: 2; }
.card-stack:nth-child(even) .slot { order: 1; }
@media (max-width: 860px) {
  .card-stack { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
  .card-stack .slot { aspect-ratio: 16 / 10; order: -1 !important; }
  .card-stack__txt { order: 2 !important; }
}

/* ---------- Números ---------- */
.stats { padding: clamp(40px, 6vw, 90px) 0; }
.stats__row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--navy); }
.stat { padding: clamp(24px, 3vw, 44px) clamp(8px, 2vw, 32px) 0 0; }
.stat + .stat { padding-left: clamp(16px, 3vw, 44px); border-left: 1px solid var(--line); }
.stat__n { font-size: clamp(3.6rem, 9vw, 8rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1; color: var(--navy); display: flex; align-items: baseline; gap: 0.08em; }
.stat__n small { font-size: 0.34em; font-weight: 500; letter-spacing: 0; color: var(--gold); }
.stat p { margin: 0.8rem 0 0; color: var(--muted); font-size: 1rem; max-width: 14em; }
@media (max-width: 700px) { .stats__row { grid-template-columns: 1fr; } .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 24px; } }

/* ---------- Para quem (bento) ---------- */
.bento-sec { padding: clamp(56px, 8vw, 120px) 0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: clamp(14px, 1.6vw, 24px); }
.cell { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.cell--photo { grid-column: 1 / 8; grid-row: 1 / 3; background: var(--white); display: flex; flex-direction: column; }
.cell--photo .slot { flex: 1; min-height: 320px; }
.cell--photo .cell__txt { padding: clamp(24px, 3vw, 44px); }
.cell--navy { grid-column: 8 / 13; background: var(--navy); color: #fff; padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; }
.cell--navy h3 { color: #fff; }
.cell--navy p { color: rgba(255, 255, 255, 0.8); margin: 0; }
.cell--gold { grid-column: 8 / 13; background: var(--gold); color: var(--navy-deep); padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; }
.cell--gold h3 { color: var(--navy-deep); }
.cell--gold p { margin: 0; color: rgba(11, 35, 64, 0.85); }
.cell--navy:has(.cell__photo), .cell--gold:has(.cell__photo) { padding: 0; gap: 0; justify-content: flex-start; }
.cell__photo { aspect-ratio: 16 / 9; width: 100%; flex: none; border-radius: 0; }
.cell__body { padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 1.1rem; flex: 1; justify-content: space-between; }
.cell__ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); }
.cell--gold .cell__ico { background: rgba(11, 35, 64, 0.1); }
.cell__ico .icon { width: 28px; height: 28px; }
.cell__links { display: flex; flex-wrap: wrap; gap: 10px; }
.cell__links a { font-size: 0.92rem; font-weight: 600; text-decoration: none; padding: 9px 16px; border-radius: var(--r-pill); border: 1.5px solid currentColor; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.cell--navy .cell__links a:hover { background: #fff; color: var(--navy); }
.cell--gold .cell__links a:hover { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.cell--photo p { color: var(--muted); max-width: 32em; margin: 0.8rem 0 0; }
@media (max-width: 900px) {
  .bento { display: flex; flex-direction: column; }
  .cell--photo .slot { min-height: 260px; }
}

/* ---------- Primeiro atendimento ---------- */
.steps-sec { padding: clamp(56px, 8vw, 120px) 0; background: var(--paper-2); }
.steps { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.steps__sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.steps__sticky h2 { margin-bottom: 1.2rem; }
.steps__sticky .btn { margin-top: 1.6rem; }
.steps__list { position: relative; padding-left: clamp(36px, 5vw, 72px); }
.steps__rail { position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.steps__fill { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--navy); transform-origin: top; transform: scaleY(0); }
.step { position: relative; padding-bottom: clamp(48px, 9vw, 130px); }
.step:last-child { padding-bottom: 0; }
.step__ico { position: absolute; left: calc(-1 * clamp(36px, 5vw, 72px) - 25px); top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--navy); color: var(--navy); display: grid; place-items: center; }
.step__ico .icon { width: 26px; height: 26px; }
.step h3 { margin-bottom: 0.7rem; padding-top: 6px; }
.step p { color: var(--muted); max-width: 30em; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps__sticky { position: static; }
  .steps__list { margin-left: 28px; }
  .step { padding-bottom: 44px; }
}
@media (max-width: 480px) {
  .btn { padding: 0 24px; }
}

/* ---------- Convênios ---------- */
/* Convênios: apenas um detalhe discreto, sem competir com a clínica */
.convenios { padding: clamp(28px, 4vw, 52px) 0; }
.convenios__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 18px 0; border-block: 1px solid var(--line); }
.convenios__label { margin: 0; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.convenios__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.convenios__list li { font-size: 0.95rem; font-weight: 500; color: var(--navy); padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.6); }
.convenios__note { margin: 0; font-size: 0.9rem; color: var(--muted); flex: 1 1 260px; }

/* ---------- Avaliações ---------- */
.reviews { padding: clamp(24px, 4vw, 56px) 0 clamp(64px, 8vw, 120px); }
.reviews__box { border-radius: var(--r-lg); background: var(--peach); padding: clamp(32px, 5vw, 80px); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.reviews__box::after { content: ""; position: absolute; width: 380px; height: 380px; right: -90px; bottom: -120px; background: url("../img/flor.png") center / contain no-repeat; opacity: 0.08; }
.reviews__box p { color: var(--muted); max-width: 30em; margin: 1rem 0 0; }
.reviews__btns { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }
@media (max-width: 860px) { .reviews__box { grid-template-columns: 1fr; } }

/* ---------- Unidades ---------- */
.units { padding: clamp(56px, 8vw, 120px) 0; }
.units__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.unit { background: var(--white); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.unit .slot { aspect-ratio: 16 / 10; }
.unit__body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 1rem; }
.unit address { font-style: normal; color: var(--muted); }
.unit__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0.4rem; }
@media (max-width: 860px) { .units__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-sec { padding: clamp(40px, 6vw, 100px) 0 clamp(64px, 8vw, 120px); }
.faq { max-width: 56rem; }
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; color: var(--navy); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 28px; height: 28px; transition: transform 0.4s var(--ease); color: var(--navy); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .ans { padding: 0 0 28px; color: var(--muted); max-width: 40em; }
.faq .ans p { margin: 0; }

/* ---------- Chamada final ---------- */
.cta { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: clamp(88px, 12vw, 180px) 0; text-align: center; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -2; background: url("../img/fotos/cta-acolhimento.jpg") center 12% / cover no-repeat; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 51, 85, 0.88), rgba(11, 35, 64, 0.82)); }
.cta::before { content: ""; position: absolute; width: min(90vw, 900px); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); background: url("../img/flor-branca.png") center / contain no-repeat; opacity: 0.06; z-index: -1; }
.cta .wrap { position: relative; }
.cta h2 { color: #fff; font-size: clamp(2.4rem, 6vw, 5.2rem); margin-bottom: 1.2rem; overflow-wrap: break-word; }
@media (max-width: 380px) { .cta h2 { font-size: 2.05rem; } }
.cta p { color: rgba(255, 255, 255, 0.9); max-width: 32em; margin: 0 auto 2.4rem; font-size: 1.2rem; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.78); padding: clamp(56px, 7vw, 96px) 0 32px; font-size: 1rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .brand { margin-bottom: 22px; }
.brand--light { color: #fff; }
.brand--light img { width: 54px; height: auto; }
.brand--light .brand__txt { border-left-color: rgba(255, 255, 255, 0.4); }
.brand--light .brand__sub { color: var(--gold); }
.footer { padding-bottom: 120px; }
.footer h4 { color: #fff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 80; display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 26px 0 20px; border-radius: var(--r-pill); background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 18px 40px -12px rgba(11, 35, 64, 0.6); transition: transform 0.4s var(--ease), background 0.3s var(--ease), opacity 0.4s var(--ease); }
.wa-float:hover { background: var(--navy-soft); transform: translateY(-3px); }
.wa-float .icon { width: 28px; height: 28px; color: var(--gold); }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 62px; justify-content: center; } }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(48px, 7vw, 100px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 56vw; height: 56vw; right: -16vw; top: -22vw; border-radius: 50%; background: radial-gradient(closest-side, var(--peach), rgba(249, 231, 215, 0)); pointer-events: none; }
.page-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.page-hero .lead { margin: 1.4rem 0 2rem; }
.page-hero .slot { aspect-ratio: 5 / 4; }
.crumbs { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero .slot { order: -1; } }

.banner { padding: 0 0 clamp(48px, 7vw, 100px); }
.banner .slot { aspect-ratio: 21 / 8; border-radius: var(--r-lg); }
@media (max-width: 700px) { .banner .slot { aspect-ratio: 16 / 10; } }

.prose-sec { padding: clamp(24px, 4vw, 64px) 0 clamp(56px, 8vw, 120px); }
.prose { max-width: 46rem; }
.prose h2 { margin-bottom: 1.4rem; }
.prose p { color: var(--muted); }

.help-sec { padding: clamp(56px, 8vw, 110px) 0; background: var(--navy); color: #fff; }
.help-sec h2 { color: #fff; margin-bottom: 2.2rem; max-width: 18em; }
.pills { display: flex; flex-wrap: wrap; gap: 14px; }
.pills li { list-style: none; font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 500; padding: 16px 28px; border-radius: var(--r-pill); border: 1.5px solid rgba(255, 255, 255, 0.4); }
.pills { padding: 0; margin: 0; }
.help-sec .note { margin: 2rem 0 0; color: rgba(255, 255, 255, 0.7); max-width: 38em; font-size: 1rem; }

.notice { padding: clamp(40px, 6vw, 80px) 0; }
.notice__box { border-radius: var(--r-lg); background: var(--peach); padding: clamp(28px, 4vw, 56px); display: flex; gap: clamp(18px, 3vw, 40px); align-items: flex-start; }
.notice__ico { width: 60px; height: 60px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--navy); flex: none; }
.notice__ico .icon { width: 30px; height: 30px; }
.notice h3 { margin-bottom: 0.6rem; }
.notice p { margin: 0; color: var(--muted); max-width: 40em; }

.more { padding: clamp(56px, 8vw, 110px) 0; }
.more__row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 6px var(--gutter) 24px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.more__row::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .more__row { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } .more-card { flex: none; padding: 28px; } }
.more-card { scroll-snap-align: start; flex: 0 0 min(78vw, 360px); border-radius: var(--r-lg); background: var(--white); padding: 32px; text-decoration: none; display: flex; flex-direction: column; gap: 14px; min-height: 260px; justify-content: space-between; transition: transform 0.5s var(--ease), background 0.4s var(--ease); }
.more-card:hover { transform: translateY(-6px); background: var(--peach); }
.more-card h3 { font-size: 1.6rem; }
.more-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.more-card .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }

.values { padding: clamp(56px, 8vw, 110px) 0; }
.values__list { display: grid; gap: 0; border-top: 1.5px solid var(--navy); }
.value { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; padding: clamp(24px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.value h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; }
.value p { margin: 0; color: var(--muted); max-width: 34em; }
@media (max-width: 700px) { .value { grid-template-columns: 1fr; gap: 10px; } }

.timeline-sec { padding: clamp(40px, 6vw, 90px) 0 clamp(56px, 8vw, 110px); }
.tl { border-top: 1.5px solid var(--gold); }
.tl__item { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tl__item h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 400; color: var(--navy); }
.tl__item p { margin: 0; color: var(--muted); max-width: 38em; }
.legado { margin: clamp(40px, 6vw, 80px) 0 0; max-width: 34em; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.35; color: var(--navy); font-weight: 400; }
@media (max-width: 700px) { .tl__item { grid-template-columns: 1fr; gap: 10px; } }
.mv-sec { padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 6vw, 80px); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.mv__card { border-radius: var(--r-lg); background: var(--peach); padding: clamp(28px, 4vw, 56px); }
.mv__card h2 { margin-bottom: 1.2rem; }
.mv__card p { color: var(--muted); margin: 1rem 0 0; }
.mv__card .mv__lead { color: var(--navy); font-size: 1.2rem; line-height: 1.5; margin-top: 0; }
.mv__card--navy { background: var(--navy); }
.mv__card--navy h2, .mv__card--navy .mv__lead { color: #fff; }
.mv__card--navy p { color: rgba(255, 255, 255, 0.82); }
@media (max-width: 860px) { .mv { grid-template-columns: 1fr; } }
.portrait-sec { padding: clamp(56px, 8vw, 120px) 0; background: var(--paper-2); }
.portrait { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.portrait .slot { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.portrait p { color: var(--muted); max-width: 34em; }
.cursos__h { margin: 2rem 0 .6rem; font-size: 1.15rem; color: var(--navy); }
.cursos { list-style: none; margin: 0 0 1.8rem; padding: 0; border-top: 1.5px solid var(--navy); max-width: 34em; }
.cursos li { padding: 14px 0; border-bottom: 1px solid rgba(17,51,85,.18); display: grid; gap: 4px; }
.cursos strong { color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.cursos span { color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 860px) { .portrait { grid-template-columns: 1fr; } .portrait .slot { max-width: 420px; } }

/* ---------- Animação: estado inicial só quando o movimento está ativo ---------- */
.js-motion [data-reveal] { opacity: 0; transform: translateY(36px); }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.wi { display: inline-block; }
.step__ico { transition: background 0.5s var(--ease), color 0.5s var(--ease); }
.step.is-on .step__ico { background: var(--navy); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .card-stack { position: relative; top: auto; }
}

/* ---------- Aviso de cookies (LGPD) ---------- */
/* No computador é uma faixa baixa (cobre pouco da página); no celular vira um cartão. */
.consent { position: fixed; left: 50%; transform: translateX(-50%); bottom: clamp(12px, 2vw, 24px); z-index: 110; width: min(1180px, calc(100vw - 24px)); background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 22px 28px; box-shadow: 0 30px 80px -20px rgba(11, 35, 64, 0.5), 0 0 0 1px var(--line); max-height: calc(100dvh - 24px); overflow-y: auto; display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: center; }
.consent__t { grid-column: 1; font-weight: 600; font-size: 1.1rem; color: var(--navy); margin: 0 0 0.2rem; letter-spacing: -0.01em; }
.consent__p { grid-column: 1; font-size: 0.97rem; line-height: 1.5; color: var(--muted); margin: 0; }
.consent__p a { color: var(--navy); font-weight: 600; }
.consent__btns { grid-column: 2; grid-row: 1 / span 2; }
.consent__prefs { grid-column: 1 / -1; order: 5; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0 0; padding: 16px; border-radius: var(--r-md); background: var(--paper); }
@media (max-width: 900px) { .consent__prefs { grid-template-columns: 1fr; } }
.consent__opt { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.consent__opt input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.consent__opt strong { display: block; font-weight: 600; color: var(--navy); }
.consent__opt small { display: block; font-size: 0.88rem; color: var(--muted); line-height: 1.4; }
.consent__btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.consent__link { background: none; border: 0; color: var(--navy); font: 600 0.95rem var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 10px 8px; min-height: 44px; }
body.consent-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 900px) {
  .consent { grid-template-columns: 1fr; left: 8px; right: 8px; bottom: 8px; width: auto; transform: none; padding: 22px 20px 18px; }
  .consent__btns { grid-column: 1; grid-row: auto; margin-top: 16px; }
}

/* ---------- Textos legais ---------- */
.page-hero--text { padding-bottom: 16px; }
.page-hero--text + .prose-sec { padding-top: 0; }
.page-hero--text .lead { margin-bottom: 0; }
.legal { max-width: 46rem; }
.legal__date { font-size: 0.95rem; color: var(--muted); margin-bottom: 2rem; }
.legal h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin: 2.4rem 0 0.8rem; }
.legal p, .legal li { color: var(--ink); font-size: 1.05rem; line-height: 1.75; }
.legal ul { padding-left: 1.3rem; margin: 0 0 1.1em; }
.legal li { margin-bottom: 0.5rem; }
.legal a { color: var(--navy); font-weight: 600; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover, .footer__links a:hover { color: var(--gold); }
.footer__note { flex-basis: 100%; }

/* ---------- 404 ---------- */
.nf { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.nf h1 { margin: 1rem 0 1.2rem; }
.nf p { color: var(--muted); margin: 0 auto 2rem; max-width: 28em; }
