/* =========================================================
   Familie Clínica Médica
   Paleta oficial: #EBEBEB · #D0BCA2 · #EAD7D5 · #F2DCDC · #9E7579
   ========================================================= */

:root {
  /* Paleta da marca */
  --nevoa: #EBEBEB;
  --areia: #D0BCA2;
  --rosa-po: #EAD7D5;
  --blush: #F2DCDC;
  --malva: #9E7579;

  /* Derivados */
  --porcelana: #F8F2F1;      /* fundo principal */
  --malva-escuro: #7D5559;   /* hover / texto de destaque */
  --tinta: #3A2629;          /* texto principal (ameixa-cacau, do degradê do logo) */
  --tinta-suave: #6B5557;
  --linha: rgba(158, 117, 121, .22);

  /* Rosé-gold do coração do logo */
  --rose-gold: linear-gradient(100deg, #F3DCBA 0%, #D2A98A 30%, #A86F55 55%, #6E3A2C 80%, #A9735A 100%);

  /* Vidro */
  --glass-bg: rgba(255, 250, 249, .52);
  --glass-brd: rgba(255, 255, 255, .7);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 20px 50px -24px rgba(92, 52, 58, .35);

  /* Tipografia */
  --serif: "Poppins", sans-serif;
  --sans: "Poppins", sans-serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + .35vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.25rem + .9vw, 2rem);
  --step-3: clamp(2rem, 1.55rem + 2.1vw, 3.25rem);
  --step-4: clamp(2.5rem, 1.6rem + 4.4vw, 5.25rem);

  --gutter: clamp(1rem, .6rem + 2vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --max: 1240px;
  --nav-h: 68px;

  --r-lg: 28px;
  --r-md: 18px;
  --r-pill: 999px;

  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--tinta);
  background: var(--porcelana);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
strong, b { font-weight: 500; }

:focus-visible { outline: 2px solid var(--malva); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--tinta); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.section { position: relative; padding-block: var(--section); }
.section__head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 4rem); }
.section__head .lead { margin-top: 1.1rem; }

.h2 {
  font-family: var(--serif);
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--tinta-suave); max-width: 38em; }

/* ---------- Vidro ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}

/* Auras de cor por trás do vidro */
.aura { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aura i {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75;
}
.aura i:nth-child(1) { width: 46vmax; height: 46vmax; background: var(--blush); top: -18vmax; right: -12vmax; }
.aura i:nth-child(2) { width: 30vmax; height: 30vmax; background: #E8D3BE; bottom: -10vmax; left: -10vmax; opacity: .6; }
.aura i:nth-child(3) { width: 22vmax; height: 22vmax; background: var(--rosa-po); top: 40%; left: 38%; opacity: .5; }
.aura--soft i:nth-child(1) { top: 10%; right: -20vmax; }
.aura--soft i:nth-child(2) { top: 45%; left: -14vmax; background: var(--areia); opacity: .45; }
.aura--app i:nth-child(1) { top: 5%; right: -6vmax; width: 38vmax; height: 38vmax; background: #EBC9C6; }
.aura--app i:nth-child(2) { bottom: -8vmax; left: 20%; background: var(--areia); opacity: .5; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem;
  border-radius: var(--r-pill);
  font: 400 .98rem/1 var(--sans); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--malva); color: #fff; box-shadow: 0 14px 30px -14px rgba(126, 74, 80, .75); }
.btn--primary:hover { background: var(--malva-escuro); }
.btn--primary:active { transform: scale(.98); }
.btn--ghost { border-color: var(--linha); color: var(--tinta); background: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--malva); background: rgba(255,255,255,.7); }
.btn--block { width: 100%; }

.link {
  display: inline-block; margin-top: .4rem;
  color: var(--malva-escuro); text-decoration: none; font-weight: 400;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link:hover { color: var(--tinta); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 10px var(--gutter);
  padding-top: max(10px, env(safe-area-inset-top));
  transition: padding .4s var(--ease);
}
.nav__inner {
  display: flex; align-items: center; gap: 1rem;
  max-width: var(--max); margin-inline: auto;
  height: 56px; padding: 0 .5rem 0 .6rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.nav.is-scrolled .nav__inner,
.nav.is-open .nav__inner {
  background: rgba(252, 246, 245, .62);
  border-color: rgba(255,255,255,.75);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
}

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-style: italic; font-size: 1.45rem; letter-spacing: .01em; color: var(--malva-escuro); }
.brand__sub { font-size: .62rem; letter-spacing: .32em; color: var(--tinta-suave); margin-top: .3rem; text-transform: uppercase; }

.nav__links { display: none; gap: .25rem; }
.nav__links a {
  text-decoration: none; font-size: .93rem; padding: .5rem .8rem; border-radius: var(--r-pill);
  color: var(--tinta-suave); transition: color .25s, background-color .25s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--tinta); background: rgba(255,255,255,.6); }
.nav__cta { display: none; min-height: 44px; padding: .6rem 1.2rem; font-size: .9rem; }

.nav__toggle {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-content: center; gap: 6px;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8);
  cursor: pointer;
}
.nav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--tinta); transition: transform .35s var(--ease); }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Menu móvel */
.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1.4rem;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: rgba(248, 238, 237, .72);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
  opacity: 0; transition: opacity .35s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu nav { display: flex; flex-direction: column; margin-bottom: auto; }
.menu nav a {
  font-family: var(--serif); font-size: clamp(1.7rem, 7vw, 2.3rem); line-height: 1.2;
  text-decoration: none; padding: .45rem 0; border-bottom: 1px solid var(--linha);
  transform: translateY(14px); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.menu.is-open nav a { transform: none; opacity: 1; }
.menu.is-open nav a:nth-child(2) { transition-delay: .03s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .06s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .09s; }
.menu.is-open nav a:nth-child(5) { transition-delay: .12s; }
.menu.is-open nav a:nth-child(6) { transition-delay: .15s; }
.menu.is-open nav a:nth-child(7) { transition-delay: .18s; }
.menu.is-open nav a:nth-child(8) { transition-delay: .21s; }
.menu__foot { margin: 0; font-size: var(--step--1); color: var(--tinta-suave); text-align: center; }
body.menu-open { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, #FBF5F4 0%, var(--porcelana) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  display: grid; gap: 2.5rem;
}
.hero__copy { order: 2; }
.hero__place { font-size: var(--step--1); letter-spacing: .14em; color: var(--malva-escuro); margin-bottom: 1.1rem; }
.hero__title {
  font-family: var(--serif);
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { font-size: var(--step-1); color: var(--tinta-suave); max-width: 33em; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__actions .btn { flex: 1 1 220px; }

/* Portal circular: eco do emblema da marca */
.portal {
  order: 1; position: relative; margin: 0 auto;
  width: min(80vw, 440px); aspect-ratio: 1;
}
.portal__ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: spin 60s linear infinite;
}
.portal__ring text {
  font-family: var(--sans); font-size: 15px; font-weight: 400; letter-spacing: 0;
  fill: var(--malva);
}
.portal__img {
  position: absolute; inset: 11%;
  border-radius: 50%; overflow: hidden;
  background: var(--rosa-po);
  box-shadow: 0 0 0 6px rgba(255,255,255,.6), 0 40px 80px -30px rgba(92, 52, 58, .55);
}
.portal__img::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55);
}
.portal__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }

.float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem 1rem; border-radius: var(--r-md);
  font-size: .82rem; line-height: 1.25;
}
.float strong { display: block; font-weight: 500; color: var(--tinta); }
.float span { color: var(--tinta-suave); }
.float img { width: 34px; height: 34px; border-radius: 50%; }
.float--a { left: -2%; bottom: 6%; }
.float--b { right: -3%; top: 12%; flex-direction: column; align-items: flex-start; gap: 0; }
.float--b strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Sequência de entrada (único momento orquestrado) */
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero__place, .js .hero__lead, .js .hero__actions { opacity: 0; transform: translateY(12px); }
.js .portal__img { clip-path: circle(0% at 50% 50%); }
.js .portal__ring, .js .float { opacity: 0; }
.is-loaded .hero__title .line > span { transform: none; transition: transform 1.1s var(--ease); }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.is-loaded .hero__place, .is-loaded .hero__lead, .is-loaded .hero__actions { opacity: 1; transform: none; transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.is-loaded .portal__img { clip-path: circle(50% at 50% 50%); transition: clip-path 1.4s var(--ease) .1s; }
.is-loaded .portal__ring { opacity: 1; transition: opacity 1.2s ease .7s; }
.is-loaded .float { opacity: 1; transition: opacity .8s ease 1.1s; }

/* ---------- Faixa ---------- */
.ticker {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--linha);
  background: rgba(255,255,255,.4);
  padding-block: 1.05rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker span {
  font-family: var(--serif); font-style: italic; font-size: var(--step-1);
  color: var(--malva-escuro); white-space: nowrap; padding-inline: 1.4rem;
  display: inline-flex; align-items: center; gap: 2.8rem;
}
.ticker span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--areia); margin-left: 1.4rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   A CLÍNICA
   ========================================================= */
.about__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.about__media { position: relative; padding-right: 18%; padding-bottom: 14%; }
.about__main { border-radius: 240px 240px var(--r-lg) var(--r-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; }
.about__inset {
  position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--r-md); border: 6px solid var(--porcelana);
  box-shadow: 0 30px 60px -30px rgba(92, 52, 58, .5);
}
.about__copy .h2 { margin-bottom: 1.4rem; max-width: 15em; }
.about__copy .lead { margin-bottom: 1.2rem; }
.about__copy > p:not(.lead) { color: var(--tinta-suave); max-width: 36em; }

.pillars { margin-top: 2.2rem; display: grid; gap: 0; border-top: 1px solid var(--linha); }
.pillars > div { padding: 1.15rem 0; border-bottom: 1px solid var(--linha); display: grid; gap: .25rem; }
.pillars dt { font-family: var(--serif); font-size: var(--step-1); }
.pillars dd { color: var(--tinta-suave); font-size: .97rem; }

/* =========================================================
   ESPECIALIDADES
   ========================================================= */
.specialties { background: linear-gradient(180deg, var(--porcelana), #F4E6E4 50%, var(--porcelana)); overflow: hidden; }
.specialties .wrap { position: relative; z-index: 1; }
.spec { display: grid; gap: 1.25rem; }
.spec__panel { border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.75rem); }
.spec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; padding-bottom: 1.25rem; margin-bottom: .5rem; position: relative; }
.spec__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--rose-gold); opacity: .8; }
.spec__head h3 { font-family: var(--serif); font-size: var(--step-2); line-height: 1.1; }
.spec__head p { margin: 0; font-size: var(--step--1); color: var(--malva-escuro); }
.spec__list li { padding: 1.1rem 0; border-bottom: 1px solid var(--linha); }
.spec__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec__list h4 { font-weight: 500; font-size: 1.02rem; margin-bottom: .2rem; }
.spec__list p { margin: 0; color: var(--tinta-suave); font-size: .96rem; }

/* =========================================================
   MÉDICOS
   ========================================================= */
.doc { display: grid; gap: 2rem; align-items: center; }
.doc + .doc { margin-top: clamp(4rem, 8vw, 7rem); }
.doc__media { position: relative; padding-bottom: 12%; padding-left: 14%; }
.doc__media > img:first-child { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%; border-radius: var(--r-lg); }
.doc__inset {
  position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 200px 200px var(--r-md) var(--r-md);
  border: 6px solid var(--porcelana);
  box-shadow: 0 30px 60px -30px rgba(92, 52, 58, .5);
}
.doc--alt .doc__media { padding-left: 0; padding-right: 14%; }
.doc--alt .doc__inset { left: auto; right: 0; }
.doc__name { font-family: var(--serif); font-size: var(--step-3); line-height: 1.05; letter-spacing: -.01em; }
.doc__role { font-size: var(--step-1); color: var(--malva-escuro); margin: .5rem 0 .2rem; }
.doc__crm { font-size: var(--step--1); color: var(--tinta-suave); letter-spacing: .04em; margin-bottom: 1.5rem; }
.doc__body > p:not([class]) { color: var(--tinta-suave); max-width: 34em; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1.25rem; }
.tags li {
  font-size: .85rem; padding: .4rem .9rem; border-radius: var(--r-pill);
  border: 1px solid var(--linha); background: rgba(255,255,255,.55);
}

/* =========================================================
   JORNADA
   ========================================================= */
.journey { background: var(--tinta); color: #F6EAE8; overflow: hidden; }
.journey::before {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  right: -25vmax; top: -25vmax; background: radial-gradient(closest-side, rgba(158,117,121,.45), transparent);
}
.journey .wrap { position: relative; }
.journey .lead { color: rgba(246, 234, 232, .75); }
.steps { display: grid; gap: 0; counter-reset: s; }
.steps li {
  position: relative; padding: 1.5rem 0 1.5rem 4rem;
  border-top: 1px solid rgba(234, 215, 213, .18);
}
.steps__n {
  position: absolute; left: 0; top: 1.35rem;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.15rem;
  color: #2B1B1E; background: var(--rose-gold);
}
.steps h3 { font-family: var(--serif); font-size: var(--step-2); line-height: 1.15; margin-bottom: .35rem; }
.steps p { margin: 0; color: rgba(246, 234, 232, .72); max-width: 30em; }

/* =========================================================
   ESTRUTURA
   ========================================================= */
.section__head--split { max-width: none; display: grid; gap: 1rem; }
.bento { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
.bento figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--rosa-po); }
.bento img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento figure:hover img { transform: scale(1.04); }
.bento figcaption {
  position: absolute; left: .7rem; bottom: .7rem; right: .7rem;
  width: fit-content; max-width: calc(100% - 1.4rem);
  padding: .45rem .85rem; border-radius: var(--r-pill);
  font-size: .8rem; line-height: 1.3; color: var(--tinta);
}
.bento__a { grid-column: 1 / -1; aspect-ratio: 4/5; }
.bento__b { aspect-ratio: 3/4; }
.bento__c { aspect-ratio: 3/4; }
.bento__c img { object-position: 60% 50%; }
.bento__d { grid-column: 1 / -1; aspect-ratio: 16/10; }

/* =========================================================
   APLICATIVO
   ========================================================= */
.app { overflow: hidden; background: linear-gradient(180deg, var(--porcelana), #F3E3E1); }
.app__grid { position: relative; z-index: 1; display: grid; gap: 3.5rem; align-items: center; }
.app__copy .h2 { max-width: 13em; margin-bottom: 1.1rem; }
.feats { margin: 2rem 0 2.25rem; display: grid; gap: 1.1rem; }
.feats li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.feats svg {
  width: 44px; height: 44px; padding: 11px; border-radius: 50%;
  fill: none; stroke: var(--malva-escuro); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9);
}
.feats h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: .1rem; }
.feats p { margin: 0; color: var(--tinta-suave); font-size: .95rem; }

.stores { display: flex; flex-wrap: wrap; gap: .75rem; }
.store {
  flex: 1 1 150px; display: flex; align-items: center; gap: .8rem;
  padding: .75rem 1.2rem; border-radius: var(--r-md);
  text-decoration: none; color: var(--tinta);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.store:hover { background: rgba(255,255,255,.85); }
.store:active { transform: scale(.98); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; white-space: nowrap; font-size: 1.08rem; font-weight: 500; line-height: 1.15; }
.store small { font-size: .72rem; font-weight: 300; color: var(--tinta-suave); }
.note { margin-top: 1.1rem; font-size: var(--step--1); color: var(--tinta-suave); }

/* Mockup de celular */
.phone { position: relative; justify-self: center; width: min(66vw, 280px); }
.phone__frame {
  position: relative; aspect-ratio: 9 / 19; border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #4A3236, #2A1A1D);
  box-shadow: 0 0 0 1.5px #6E4A4F inset, 0 60px 90px -40px rgba(58, 30, 35, .65);
  transform: rotate(-4deg);
}
.phone__notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 32%; height: 22px; border-radius: 20px; background: #1E1214; z-index: 2; }
.phone__screen {
  height: 100%; border-radius: 36px; overflow: hidden; padding: 52px 14px 14px;
  background: linear-gradient(170deg, #FBF1F0 0%, #F1DCD9 55%, #E6D2C0 100%);
  display: flex; flex-direction: column; gap: 10px; font-size: 12px; line-height: 1.3;
}
.ph-top { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.ph-top img { width: 30px; height: 30px; border-radius: 50%; }
.ph-top small { display: block; color: var(--tinta-suave); font-size: 11px; }
.ph-top b { font-family: var(--serif); font-size: 17px; font-weight: 400; }
.ph-card {
  border-radius: 16px; padding: 11px 12px;
  background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ph-card b { display: block; font-weight: 500; }
.ph-card small, .ph-card span { display: block; color: var(--tinta-suave); font-size: 11px; }
.ph-card--hl { background: var(--malva); border-color: transparent; color: #fff; }
.ph-card--hl small, .ph-card--hl span { color: rgba(255,255,255,.8); }
.ph-card--hl b { font-family: var(--serif); font-weight: 400; font-size: 16px; margin: 2px 0; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-grid .ph-card { aspect-ratio: 1.15; display: flex; flex-direction: column; justify-content: space-between; }
.ph-ic {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: 14px; color: var(--malva-escuro); background: var(--blush);
}
.ph-row { display: flex; gap: 10px; align-items: center; }
.ph-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--areia); flex: none; box-shadow: 0 0 0 4px rgba(208,188,162,.3); }
.phone__badge {
  position: absolute; left: -12%; bottom: 14%;
  padding: .75rem 1rem; border-radius: var(--r-md); font-size: .8rem; line-height: 1.25;
}
.phone__badge strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.phone__badge span { color: var(--tinta-suave); }

/* =========================================================
   DÚVIDAS
   ========================================================= */
.faq__grid { display: grid; gap: 1rem; }
.faq__list { border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-family: var(--serif); font-size: var(--step-1); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--linha);
  background:
    linear-gradient(var(--malva), var(--malva)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--malva), var(--malva)) center / 1.5px 11px no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: #fff; }
.faq details p { color: var(--tinta-suave); padding-bottom: 1.3rem; margin: 0; max-width: 40em; }

/* =========================================================
   CONTATO
   ========================================================= */
.contact { padding-top: 0; }
.contact__grid { display: grid; gap: 1.25rem; }
.contact__card { border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 3rem); }
.contact__logo { width: 140px; height: auto; margin-bottom: 1.25rem; }
.contact__card .lead { margin: .8rem 0 1.5rem; }
.contact__list { margin-bottom: 1.75rem; border-top: 1px solid var(--linha); }
.contact__list li { display: grid; gap: .15rem; padding: .95rem 0; border-bottom: 1px solid var(--linha); }
.contact__list span { font-size: var(--step--1); color: var(--malva-escuro); }
.contact__list a { text-decoration: none; font-size: 1.05rem; font-weight: 400; }
.contact__list a:hover { color: var(--malva-escuro); }
.contact__map { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 340px; background: var(--rosa-po); border: 1px solid rgba(255,255,255,.8); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: saturate(.55) sepia(.12); }

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer {
  background: var(--tinta); color: rgba(246, 234, 232, .78);
  padding: 3.5rem 0 calc(6.5rem + env(safe-area-inset-bottom));
  font-size: .9rem;
}
.footer__grid { display: grid; gap: 2rem; }
.footer__brand { display: flex; gap: 1rem; align-items: center; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer__brand p { margin: 0; color: #F6EAE8; font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; }
.footer__brand em { font-size: .95rem; color: rgba(246, 234, 232, .7); }
.footer__nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer__nav a { text-decoration: none; padding: .3rem 0; }
.footer__nav a:hover { color: #fff; }
.footer__legal p { margin: 0 0 .35rem; font-size: .82rem; }
.footer__legal a { color: inherit; }
.footer__copy { margin-top: 1rem !important; color: rgba(246, 234, 232, .55); }

/* Barra de ação fixa (celular) */
.dock {
  position: fixed; z-index: 30;
  left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 7px;
  border-radius: var(--r-pill);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.dock.is-visible { transform: none; }
.dock__btn {
  display: grid; place-items: center; min-height: 48px; padding: 0 1.2rem;
  border-radius: var(--r-pill); text-decoration: none; font-size: .95rem; font-weight: 400;
  background: rgba(255,255,255,.7); color: var(--tinta);
}
.dock__btn--primary { background: var(--malva); color: #fff; }

/* =========================================================
   Revelação discreta das imagens
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   TABLET+
   ========================================================= */
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento__a { grid-column: 1 / 4; grid-row: span 2; aspect-ratio: auto; }
  .bento__b { grid-column: 4 / 7; aspect-ratio: 4/3; }
  .bento__c { grid-column: 4 / 7; aspect-ratio: 4/3; }
  .bento__d { grid-column: 1 / -1; aspect-ratio: 21/9; }
  .steps { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__legal { grid-column: 1 / -1; }
}

/* =========================================================
   DESKTOP
   ========================================================= */
@media (min-width: 960px) {
  :root { --nav-h: 84px; }
  .nav { padding-top: 14px; }
  .nav__inner { height: 60px; padding: 0 .5rem 0 .8rem; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle, .menu { display: none !important; }

  .hero { min-height: 100svh; display: grid; align-items: center; padding-top: calc(var(--nav-h) + 1rem); }
  .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
  .hero__copy { order: 0; }
  .portal { order: 0; width: min(40vw, 560px); }
  .float { font-size: .88rem; padding: .85rem 1.15rem; }

  .about__grid { grid-template-columns: .9fr 1.1fr; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; border-top: 0; }
  .pillars > div { border-bottom: 0; border-top: 1px solid var(--malva); padding-top: 1rem; }

  .spec { grid-template-columns: 1.15fr .85fr; align-items: start; }

  .doc { grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 6vw, 6rem); }
  .doc--alt .doc__media { order: 2; }

  .steps { grid-template-columns: repeat(5, 1fr); column-gap: 1.5rem; position: relative; }
  .steps li { padding: 4.25rem 0 0; border-top: 0; }
  .steps li::before { content: ""; position: absolute; top: 1.3rem; left: 3.2rem; right: -1.5rem; height: 1px; background: rgba(234, 215, 213, .25); }
  .steps li:last-child::before { display: none; }
  .steps__n { top: 0; }

  .section__head--split { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
  .section__head--split .lead { margin: 0; }
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 15vw; }
  .bento__a { grid-column: 1 / 5; grid-row: 1 / 3; }
  .bento__b { grid-column: 5 / 8; grid-row: 1 / 3; aspect-ratio: auto; }
  .bento__c { grid-column: 8 / 13; grid-row: 1 / 2; aspect-ratio: auto; }
  .bento__d { grid-column: 8 / 13; grid-row: 2 / 3; aspect-ratio: auto; }

  .app__grid { grid-template-columns: 1.1fr .9fr; gap: 5rem; }
  .phone { width: 320px; }

  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
  .faq .section__head { position: sticky; top: calc(var(--nav-h) + 2rem); }

  .contact__grid { grid-template-columns: .9fr 1.1fr; }

  .footer { padding-bottom: 3rem; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.6fr; align-items: start; }
  .footer__legal { grid-column: auto; }
  .footer__nav { flex-direction: column; }

  .dock { display: none; }
}

@media (min-width: 1440px) {
  .bento { grid-auto-rows: 216px; }
}

/* =========================================================
   Acessibilidade e fallbacks
   ========================================================= */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .nav.is-scrolled .nav__inner, .menu { background: rgba(252, 245, 244, .95); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .hero__title .line > span, .js .hero__place, .js .hero__lead, .js .hero__actions,
  .js .portal__ring, .js .float, .js [data-reveal] { opacity: 1; transform: none; }
  .js .portal__img { clip-path: none; }
}
