/* ==========================================================================
   CONECTAR Pilates — folha de estilo única
   Base: Dra. Cláudia Barrios (mesma estrutura), identidade própria
   Paleta tirada do logo do estúdio: turquesa da flor de lótus, verde-azulado
   escuro no texto e off-white quente de fundo, com a madeira do piso no detalhe.
   Layout do hero no mesmo formato de card do último site.
   Tipografia: General Sans (títulos) + SF Pro / Inter (texto)
   Ícones: Phosphor (light; logos de marca em fill), via sprite SVG no index.html
   ========================================================================== */
:root {
  --ivory: #f7f8f6;
  --linen: #e9f4f6;
  --sand: #d5e7eb;
  --line: #dfe9ea;
  --navy: #0d3540;
  --navy-soft: #134553;
  --ink: #103a45;
  --muted: #5a6f74;
  --accent: #0b788f;
  --accent-deep: #0b6b80;
  --teal: #0f8ba5;
  --aqua: #3ac1de;
  --aqua-soft: #e3f4f8;
  --pink: #c9a179;
  --pink-soft: #ecdfcd;
  --gold: #dba63a;
  --mark: #b7e7f2;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "General Sans", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --header-h: 76px;
  --radius: 18px;
  --radius-sm: 12px;
  --arch: 999px 999px 22px 22px;
  --shadow: 0 26px 50px -28px rgba(16, 58, 69, .32);
}

/* Base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }

/* Parágrafos curtos com linhas equilibradas (sem palavra sobrando na última linha) */
.lead,
.section-head > p,
.extra p,
.steps p,
.faq-head > p,
.contact-copy > p,
.locations p,
.credentials li,
.faq-list summary span { text-wrap: balance; }
.review p { text-wrap: pretty; }

.nowrap { white-space: nowrap; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--accent-deep);
  font-weight: 600;
}
.skip:focus { top: 1rem; }

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

/* Tipografia ------------------------------------------------------------ */

h1, h2 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.04;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h1 em, h2 em { font-style: normal; color: var(--accent); }
h2 .line { display: block; }

h3 {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.25;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Botões e links -------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .8rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.012em;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.button .icon { width: 1.35em; height: 1.35em; }
.button:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(21, 81, 102, .55); }
.button:active { transform: translateY(0) scale(.98); }

.button-sm { min-height: 2.65rem; padding: .5rem 1.1rem; font-size: .92rem; }

.button.outline { background: transparent; border-color: rgba(31, 111, 139, .34); color: var(--accent-deep); }
.button.outline:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.button.pale { background: var(--ivory); color: var(--navy); }
.button.pale:hover { background: #fff; color: var(--accent-deep); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .45); }

.link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(31, 111, 139, .3);
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  transition: text-decoration-color .25s var(--ease);
}
.link .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
/* Área clicável mínima no desktop também (no toque já sobe para 44px) */
.link, .contact-phone { min-height: 32px; }
.link:hover { text-decoration-color: currentColor; }
.link:hover .icon { transform: translate(2px, -2px); }

/* Marca: a flor de lótus do logo do estúdio + CONECTAR com Pilates embaixo */

.brand-mark {
  flex: none;
  width: auto;
  height: 2.5rem;
  object-fit: contain;
  object-position: left center;
}

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Sem backdrop-filter: o desfoque sobre a hero com parallax custava um repaint por quadro */
  background: rgba(247, 248, 246, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: rgba(16, 48, 61, .1); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.brand { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; }
.brand-text { display: grid; gap: .22rem; }
.brand-text { gap: .3rem; }
.brand-text strong { color: var(--ink); font-family: var(--display); font-size: 1.22rem; font-weight: 600; letter-spacing: .06em; line-height: .95; }
.brand-text small { color: var(--accent); font-size: .64rem; font-weight: 600; letter-spacing: .34em; line-height: 1; text-transform: uppercase; }

.nav { display: flex; flex: 1; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.5rem); font-size: .94rem; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.25rem); margin-inline: auto; }
.nav-links > a { white-space: nowrap; }
.nav .button { flex: none; gap: .5rem; }
.nav .button .icon { width: 1.15rem; height: 1.15rem; }
.nav-extra { display: none; }
.nav-links > a { position: relative; padding-block: .4rem; color: rgba(16, 48, 61, .82); transition: color .2s var(--ease); }
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links > a:hover { color: var(--accent-deep); }
.nav-links > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .button { margin-left: 0; background: var(--aqua-soft); color: var(--ink); }
.nav .button .icon { color: var(--accent); }
.nav .button:hover { background: var(--accent); color: #fff; }
.nav .button:hover .icon { color: #fff; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--sand);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .icon { width: 1.35rem; height: 1.35rem; }
.menu-toggle .icon-close { display: none; }
.is-open .menu-toggle .icon-open { display: none; }
.is-open .menu-toggle .icon-close { display: block; }

/* Hero ------------------------------------------------------------------ */
/* Card claro sobre o fundo azul-gelo: texto à esquerda (título com marca-texto
   na última palavra) e a foto alta à direita, com dois cartões de vidro.
   Hero + letreiro cabem juntos numa tela de 1440×900. */

.hero {
  --marquee-h: 5.75rem;
  padding: .25rem clamp(.5rem, 1.2vw, 1rem) clamp(.75rem, 1.5vw, 1.25rem);
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: stretch;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1400px;
  min-height: clamp(34rem, calc(100vh - var(--header-h) - var(--marquee-h) - clamp(1rem, 2.7vw, 2.25rem)), 54rem);
  /* svh não muda quando a barra do navegador some ao rolar (dvh mudava e redesenhava a hero) */
  min-height: clamp(34rem, calc(100svh - var(--header-h) - var(--marquee-h) - clamp(1rem, 2.7vw, 2.25rem)), 54rem);
  margin-inline: auto;
  padding: clamp(.75rem, 1.2vw, 1rem);
  /* % do padding mede a seção (tela toda), não o card: limita a 1400px */
  padding-left: max(clamp(1.5rem, 5vw, 5rem), (min(100%, 1400px) - var(--container)) / 2);
  border: 1px solid rgba(31, 111, 139, .1);
  border-radius: 32px;
  background:
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(191, 230, 236, .55), rgba(191, 230, 236, 0) 70%),
    #fff;
  box-shadow: 0 30px 60px -44px rgba(16, 48, 61, .35);
}

.hero-copy { display: flex; flex-direction: column; justify-content: center; padding-block: 2rem; }

.hero-eyebrow { margin-bottom: 1.6rem; color: var(--muted); }
.city-short { display: none; }

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.048em;
  line-height: 1.02;
}
.hero-title .line { display: block; white-space: nowrap; }

/* Marca-texto atrás da última palavra, que se desenha na entrada */
.mark {
  position: relative;
  z-index: 0;
  color: var(--accent-deep);
}
.mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.06em;
  right: -.1em;
  bottom: .04em;
  height: .36em;
  border-radius: .12em;
  background: var(--mark);
  transform-origin: left;
  animation: mark-in .9s var(--ease) .55s backwards;
}

.lead {
  max-width: 34rem;
  margin: 1.5rem 0 2.25rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  line-height: 1.6;
}
@media (min-width: 1100px) {
  .lead { max-width: none; }
  .lead-line { display: block; }
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.contact-copy .actions { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.hero-actions .button-cta { align-self: auto; }
.hero-quote {
  min-height: 3.6rem;
  gap: .55rem;
  padding-inline: 1.4rem;
  border: 1px solid rgba(16, 58, 69, .18);
  background: transparent;
  color: var(--ink);
  animation: hero-in .6s var(--ease) .3s backwards;
}
.hero-quote .icon { color: var(--accent); }
.hero-quote:hover { border-color: var(--accent); background: var(--aqua-soft); color: var(--ink); box-shadow: none; }

/* CTA escura com o ícone numa bolha branca no fim */
.button-cta { align-self: flex-start; min-height: 3.6rem; gap: 1rem; padding: .5rem .5rem .5rem 1.6rem; background: var(--ink); box-shadow: 0 18px 30px -16px rgba(16, 48, 61, .6); }
.button-cta:hover { background: var(--accent-deep); }
.button-bubble {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  transition: transform .5s var(--ease);
}
.button-cta .button-bubble .icon { width: 1.35rem; height: 1.35rem; }
.button-cta:hover .button-bubble { transform: rotate(-12deg) scale(1.06); }

/* Foto alta de cantos arredondados, com os cartões flutuando por cima */
.hero-media { position: relative; min-height: 26rem; }
.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--linen);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.04); will-change: transform; }

.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1.1rem .8rem .8rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 40px -22px rgba(16, 48, 61, .45);
  animation: float-card 6s ease-in-out infinite;
  will-change: transform;
}
.hero-float-a { left: 1.5rem; bottom: 1.5rem; }
.hero-float-b { right: 1.5rem; bottom: 7rem; animation-delay: -3s; }
.hero-float-icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--aqua-soft); color: var(--accent); }
.hero-float-icon .icon { width: 1.3rem; height: 1.3rem; }
.hero-float-text { display: grid; gap: .1rem; line-height: 1.25; }
.hero-float-text b { color: var(--ink); font-size: .95rem; font-weight: 600; letter-spacing: -.01em; }
.hero-float-text small { color: var(--muted); font-size: .8rem; }

/* Entrada: foto, depois texto e CTA em cascata e os cartões por último */
.hero-photo { animation: hero-photo-in .9s var(--ease) backwards; }
.hero-eyebrow,
.hero-title,
.lead,
.button-cta { animation: hero-in .6s var(--ease) backwards; }
.hero-title { animation-delay: .08s; }
.lead { animation-delay: .16s; }
.button-cta { animation-delay: .24s; }
.hero-float-a { animation: hero-card-in .7s var(--ease) .5s backwards, float-card 6s ease-in-out 1.2s infinite; }
.hero-float-b { animation: hero-card-in .7s var(--ease) .65s backwards, float-card 6s ease-in-out -1.8s infinite; }

@keyframes hero-in { from { opacity: 0; transform: translateY(1.5rem); } }
@keyframes hero-photo-in { from { opacity: 0; clip-path: inset(8% 8% 8% 8% round 24px); } }
@keyframes hero-card-in { from { opacity: 0; transform: translateY(1rem) scale(.94); } }
@keyframes float-card { 50% { transform: translateY(-6px); } }
@keyframes mark-in { from { transform: scaleX(0); } }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tablet e mobile: texto em cima, foto embaixo */
@media (max-width: 960px) {
  .hero-card { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; min-height: 0; padding: 1.5rem clamp(1.25rem, 4.5vw, 3rem) clamp(.75rem, 2vw, 1rem); border-radius: 26px; }
  .hero-copy { padding-block: 1rem 0; }
  .hero-title { font-size: clamp(2.5rem, 9vw, 4.6rem); }
  .hero-media { min-height: 0; aspect-ratio: 4 / 4.4; margin-inline: calc(-1 * clamp(1.25rem, 4.5vw, 3rem) + clamp(.75rem, 2vw, 1rem)); }
}

@media (max-width: 640px) {
  .hero { padding-inline: .5rem; }
  .hero-card { padding: 1.4rem 1.1rem .6rem; border-radius: 22px; }
  .hero-eyebrow { margin-bottom: 1.2rem; }
  .city-full { display: none; }
  .city-short { display: inline; }
  .hero-title { font-size: clamp(1.85rem, 9.6vw, 3.4rem); letter-spacing: -.045em; }
  .lead { margin: 1.1rem 0 1.6rem; font-size: 1.02rem; }
  .button-cta { align-self: stretch; justify-content: space-between; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; gap: .6rem; }
  .hero-actions > * { min-width: 0; max-width: 100%; }
  .button-cta { white-space: normal; text-align: left; line-height: 1.25; }
  .hero-quote { justify-content: center; min-height: 3.25rem; }
  .hero-media { aspect-ratio: 4 / 4.2; margin-inline: -.5rem; }
  .hero-photo { border-radius: 18px; }
  .hero-float { gap: .6rem; padding: .6rem .85rem .6rem .6rem; border-radius: 14px; }
  .hero-float-icon { width: 2.1rem; height: 2.1rem; border-radius: 10px; }
  .hero-float-a { left: .75rem; bottom: .75rem; }
  .hero-float-b { right: .75rem; bottom: auto; top: .75rem; }
  .hero-float-text b { font-size: .88rem; }
  .hero-float-text small { font-size: .76rem; }
}
@media (max-width: 420px) {
  .cta-extra { display: none; }
}

/* Letreiro de procedimentos --------------------------------------------- */

.marquee {
  display: flex;
  overflow: hidden;
  padding-block: 1.2rem;
  background: var(--accent);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.marquee-track {
  display: flex;
  flex: none;
  gap: 2.75rem;
  padding-right: 2.75rem;
  white-space: nowrap;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: .85rem; }
.marquee-track .icon { width: 1.1rem; height: 1.1rem; color: var(--aqua); }

/* Seções ---------------------------------------------------------------- */

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.section-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 1.5rem 4rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.section-head > p { max-width: 30rem; color: var(--muted); font-size: 1.06rem; }

/* Aparelhos (comparação lado a lado) ----------------------------------- */

.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.brace {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.brace { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.brace:hover { --lift: -4px; border-color: rgba(31, 111, 139, .24); box-shadow: var(--shadow); }
.brace.is-featured { border-color: rgba(31, 111, 139, .3); background: var(--aqua-soft); }

.brace-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--aqua-soft);
  color: var(--accent);
}
.brace-icon .icon { width: 1.5rem; height: 1.5rem; }
.brace:has(.brace-icon) { gap: .9rem; }
.brace > h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; }
.brace > h3 + p { color: var(--muted); line-height: 1.6; text-wrap: pretty; }

.tag {
  display: inline-block;
  padding: .32rem .75rem;
  border-radius: 999px;
  background: var(--linen);
  color: var(--accent-deep);
  font-size: .76rem;
  font-weight: 600;
}
.is-featured .tag { background: var(--accent); color: #fff; }

.brace-head h3 { margin-top: 1.1rem; font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.brace-head p { margin-top: .2rem; color: var(--muted); font-size: .92rem; }

.brace-list { margin: 0; }
.brace-list > div { display: grid; gap: .3rem; padding-block: .95rem; border-top: 1px solid var(--line); }
.is-featured .brace-list > div { border-top-color: rgba(31, 111, 139, .16); }
.brace-list dt { display: flex; align-items: center; gap: .45rem; color: var(--accent-deep); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.brace-list dt .icon { width: 1.05rem; height: 1.05rem; }
.brace-list dd { margin: 0; color: var(--ink); font-size: .96rem; line-height: 1.5; text-wrap: balance; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  color: var(--accent-deep);
  font-size: .94rem;
  font-weight: 600;
}
.service-link .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.service-link:hover .icon { transform: translate(2px, -2px); }

.compare-note { max-width: 46rem; margin-top: 1.75rem; color: var(--muted); font-size: .95rem; text-wrap: balance; }

/* Outros tratamentos ----------------------------------------------------- */

.extras-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.extra { padding: 1.75rem 1.5rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.extra-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--aqua-soft); color: var(--accent); }
.extra-icon .icon { width: 1.5rem; height: 1.5rem; }
.extra h3 { margin: 1.25rem 0 .4rem; font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.025em; }
.extra p { color: var(--muted); font-size: .95rem; line-height: 1.55; text-wrap: pretty; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Sobre ----------------------------------------------------------------- */

.about { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--ivory); overflow: clip; }

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.about-image { position: relative; max-width: 30rem; }
.about-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--arch);
  background: var(--linen);
}
.about-image::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid rgba(31, 111, 139, .3);
  border-radius: var(--arch);
}

.about-quote {
  position: absolute;
  right: -2rem;
  bottom: 2.5rem;
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.about-quote em { color: var(--accent); font-style: normal; }

.about-copy > p:not(.eyebrow) { max-width: 34rem; margin-top: 1.25rem; color: var(--muted); font-size: 1.06rem; }

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2.25rem 0 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--sand);
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
}
.credentials b { display: block; margin-bottom: .2rem; color: var(--ink); font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }

/* Consultório ------------------------------------------------------------ */

.results { background: var(--linen); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--linen); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.045); }
.gallery figcaption {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  max-width: calc(100% - 1.7rem);
  padding: .38rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  color: var(--accent-deep);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.results-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2rem;
}
.disclaimer { color: var(--muted); font-size: .9rem; }

/* Avaliações (slider infinito e lento) ---------------------------------- */

.reviews { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--aqua-soft); overflow: clip; }

.rating {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 1.25rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(31, 111, 139, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .7);
}
.rating-score { font-family: var(--display); font-size: 3rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -.03em; }
.rating-info { display: grid; gap: .3rem; color: var(--muted); font-size: .9rem; line-height: 1.3; }
.stars { display: inline-flex; gap: .15rem; color: var(--gold); }
.stars .icon { width: 1rem; height: 1rem; }
.rating .link { font-size: .9rem; }
.rating .link .g { width: 1rem; height: 1rem; }

.reviews-marquee {
  display: flex;
  margin-inline: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
.reviews-track {
  display: flex;
  flex: none;
  align-items: stretch;
  gap: 1.25rem;
  padding-right: 1.25rem;
  animation: marquee 46s linear infinite;
}
.reviews-track > li { display: flex; }

.review {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: clamp(290px, 30vw, 390px);
  padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid rgba(31, 111, 139, .12);
  border-radius: var(--radius);
  background: var(--ivory);
}
.review .quote { width: 1.9rem; height: 1.9rem; color: var(--aqua); }
.review p { flex: 1; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.review footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.review cite { display: grid; font-style: normal; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.review cite small { color: var(--muted); font-size: .8rem; font-weight: 400; }

/* Como funciona --------------------------------------------------------- */

.consult {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: var(--navy);
  color: #fff;
}
/* Nome da marca em água, no canto livre embaixo do botão
   para não passar atrás das etapas */
.consult::after {
  content: "Conectar";
  position: absolute;
  left: calc(max(var(--gutter), (100vw - var(--container)) / 2) - .04em);
  bottom: -.2em;
  color: rgba(58, 193, 222, .10);
  font-family: var(--display);
  font-size: clamp(7rem, 14vw, 12.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  pointer-events: none;
}

.consult-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.consult .eyebrow { color: var(--aqua); }
.consult h2 { color: #fff; }
.consult h2 em { color: var(--aqua); }
.consult .button { margin-top: 2.25rem; }

.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.steps li:first-child { padding-top: .25rem; }
.step-n { padding-top: .05rem; color: var(--aqua); font-family: var(--display); font-size: 1.1rem; font-variant-numeric: lining-nums; }
.steps h3 { margin-bottom: .3rem; color: #fff; font-size: 1.15rem; }
.steps p { color: rgba(255, 255, 255, .78); font-size: .98rem; }

/* Palavras importantes em negrito */
main p strong, main dd strong { color: var(--ink); font-weight: 600; }
.consult p strong,
.plans-cta p strong { color: #fff; }

/* Planos e pacotes ------------------------------------------------------ */

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.6rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.pack:hover { transform: translateY(-4px); border-color: rgba(31, 111, 139, .24); box-shadow: var(--shadow); }
.pack.is-featured { border-color: rgba(31, 111, 139, .3); background: var(--aqua-soft); }
.pack-qty { display: flex; align-items: baseline; gap: .4rem; color: var(--accent); }
.pack-qty b { font-family: var(--display); font-size: 3.4rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: lining-nums; }
.pack-qty span { font-size: .95rem; font-weight: 600; }
.pack h3 { margin: 1.1rem 0 .4rem; font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.025em; }
.pack > p:not(.pack-qty) { margin-bottom: 1.6rem; color: var(--muted); font-size: .95rem; line-height: 1.55; text-wrap: pretty; }
.pack-buy { margin-top: auto; justify-content: center; }

.plans-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.25rem 2.5rem;
  margin-top: 1.25rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.plans-copy { display: flex; align-items: center; gap: 1.1rem; }
.plans-copy .extra-icon { flex: none; }
.plans-copy h3 { margin-bottom: .15rem; font-size: 1.15rem; }
.plans-copy p { color: var(--muted); font-size: .95rem; text-wrap: pretty; }
.plans-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.plans-list li { padding: .45rem .95rem; border: 1px solid rgba(31, 111, 139, .22); border-radius: 999px; color: var(--accent-deep); font-size: .9rem; font-weight: 600; }
.plans-strip .link { white-space: nowrap; }

@media (max-width: 820px) {
  .packs { grid-template-columns: 1fr; }
  .pack { padding: 1.5rem 1.4rem 1.4rem; }
  .pack-qty b { font-size: 2.8rem; }
}
@media (max-width: 640px) {
  .plans .plans-strip { grid-template-columns: 1fr; padding: 1.4rem; }
  .plans-copy { align-items: flex-start; }
  .plans-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .plans-list li { padding: .45rem .3rem; font-size: .86rem; text-align: center; }
}

.plans-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin: calc(-1 * clamp(1rem, 2.5vw, 1.75rem)) 0 clamp(1.75rem, 3vw, 2.25rem);
  padding: 1.1rem 1.1rem 1.1rem 1.5rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
}
.plans-cta p { max-width: 40rem; text-wrap: pretty; }
.plans-cta .button { flex: none; background: var(--aqua); color: var(--navy); }
.plans-cta .button:hover { background: #fff; }
@media (max-width: 640px) {
  .plans-cta { flex-direction: column; align-items: stretch; padding: 1.25rem; text-align: center; }
  .plans-cta .button { justify-content: center; }
}

/* Orçamento em story --------------------------------------------------- */
/* Celular: tela cheia. Desktop: card vertical no centro, como um story. */

dialog.quote {
  width: min(94vw, 27.5rem);
  max-width: none;
  height: min(48rem, 92dvh);
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 50px 100px -30px rgba(5, 25, 31, .7);
  overflow: hidden;
}
dialog.quote[open] { display: flex; animation: qs-open .45s var(--ease); }
dialog.quote::backdrop { background: rgba(9, 34, 41, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html:has(dialog.quote[open]) { overflow: hidden; }
@keyframes qs-open { from { opacity: 0; transform: translateY(24px) scale(.97); } }

.qs { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.qs [hidden] { display: none !important; }

/* Topo escuro com as barras de progresso e a "conta" do estúdio */
.qs-head {
  flex: none;
  padding: .85rem 1.1rem 1rem;
  background:
    linear-gradient(180deg, rgba(10, 40, 48, .9), rgba(13, 53, 64, .96)),
    url("../images/estudio-amplo.webp") center / cover;
  color: #fff;
}
.qs-bars { display: flex; gap: 4px; min-height: 3px; }
.qs-bars span { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.qs-bars span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.qs-bars .is-done::after, .qs-bars .is-current::after { transform: scaleX(1); }
.qs-bars .is-current::after { background: var(--aqua); }
.qs-id { display: flex; align-items: center; gap: .7rem; margin-top: .85rem; }
.qs-avatar { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--aqua); }
.qs-avatar img { width: 1.75rem; height: auto; }
.qs-who { display: grid; flex: 1; line-height: 1.25; }
.qs-who b { font-size: .95rem; font-weight: 600; }
.qs-who small { color: rgba(255, 255, 255, .7); font-size: .8rem; }
.qs-close { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background-color .2s var(--ease); }
.qs-close:hover { background: rgba(255, 255, 255, .2); }
.qs-close .icon { width: 1.15rem; height: 1.15rem; }

/* Palco: uma tela por vez, deslizando */
.qs-stage { position: relative; flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.qs-screen { padding: 1.5rem 1.35rem 1.25rem; }
.qs-screen.is-in { animation: qs-in .42s var(--ease); }
.qs-screen.is-in.is-back { animation-name: qs-in-back; }
@keyframes qs-in { from { opacity: 0; transform: translateX(28px); } }
@keyframes qs-in-back { from { opacity: 0; transform: translateX(-28px); } }

.qs-kicker { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .6rem; padding: .3rem .7rem .3rem .5rem; border-radius: 999px; background: var(--aqua-soft); color: var(--accent-deep); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.qs-kicker .icon { width: 1rem; height: 1rem; }
.qs-title { margin-bottom: 1.15rem; font-family: var(--display); font-size: clamp(1.55rem, 6.5vw, 1.85rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; text-wrap: balance; }
.qs-title em { color: var(--accent); font-style: normal; }
.qs-lead { margin: -.5rem 0 1.1rem; color: var(--muted); font-size: .95rem; text-wrap: pretty; }
.qs-note { display: flex; gap: .5rem; align-items: flex-start; margin-top: 1rem; color: var(--muted); font-size: .86rem; line-height: 1.5; text-wrap: pretty; }
.qs-note .icon { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .1rem; color: var(--accent); }

/* Abertura */
.qs-intro-media { margin: -1.5rem -1.35rem 1.4rem; aspect-ratio: 16 / 8.5; overflow: hidden; }
.qs-intro-media img { width: 100%; height: 100%; object-fit: cover; }
.qs-intro .qs-lead { margin-top: -.4rem; }
.qs-perks { display: grid; gap: .55rem; }
.qs-perks li { display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 14px; font-size: .93rem; font-weight: 500; }
.qs-perks .icon { flex: none; width: 1.35rem; height: 1.35rem; color: var(--accent); }

/* Opções: blocos com ícone (grade) e linhas (lista) */
.qs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.qs-list { display: grid; gap: .6rem; }
.qs-opt { position: relative; display: block; cursor: pointer; }
.qs-opt input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.qs-opt-in {
  position: relative;
  display: grid;
  gap: .65rem;
  height: 100%;
  padding: .95rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.qs-opt-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--aqua-soft); color: var(--accent); transition: background-color .2s var(--ease), color .2s var(--ease); }
.qs-opt-icon .icon { width: 1.35rem; height: 1.35rem; }
.qs-opt-num { display: grid; place-items: center; align-content: center; gap: 0; width: 2.9rem; height: 2.9rem; line-height: 1; }
.qs-opt-num b { font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.qs-opt-num small { font-size: .62rem; font-weight: 600; }
.qs-opt-text { display: grid; gap: .1rem; line-height: 1.3; }
.qs-opt-text b { font-size: .95rem; font-weight: 600; }
.qs-opt-text small { color: var(--muted); font-size: .8rem; }
.qs-tick { position: absolute; top: .6rem; right: .6rem; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--accent); color: #fff; opacity: 0; transform: scale(.5); transition: opacity .2s var(--ease), transform .3s var(--ease); }
.qs-tick .icon { width: .85rem; height: .85rem; }
.qs-wide { grid-column: 1 / -1; }
.qs-wide .qs-opt-in, .qs-list .qs-opt-in { grid-template-columns: auto 1fr; align-items: center; padding-right: 2.6rem; }
.qs-list .qs-tick, .qs-wide .qs-tick { top: 50%; right: .9rem; margin-top: -.7rem; }

.qs-opt:hover .qs-opt-in { border-color: rgba(11, 120, 143, .4); }
.qs-opt input:checked + .qs-opt-in { border-color: var(--accent); background: var(--aqua-soft); box-shadow: 0 10px 22px -16px rgba(11, 120, 143, .7); }
.qs-opt input:checked + .qs-opt-in .qs-opt-icon { background: var(--accent); color: #fff; }
.qs-opt input:checked + .qs-opt-in .qs-tick { opacity: 1; transform: none; }
.qs-opt input:active + .qs-opt-in { transform: scale(.98); }
.qs-opt input:focus-visible + .qs-opt-in { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Frequência: números grandes */
.qs-freq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.qs-num { position: relative; cursor: pointer; }
.qs-num input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.qs-num span { display: grid; place-items: center; gap: .1rem; padding: 1.2rem .5rem 1rem; border: 1.5px solid var(--line); border-radius: 18px; transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.qs-num b { font-family: var(--display); font-size: 2.2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.qs-num small { color: var(--muted); font-size: .78rem; }
.qs-num:hover span { border-color: rgba(11, 120, 143, .4); }
.qs-num input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.qs-num input:checked + span small { color: rgba(255, 255, 255, .8); }
.qs-num input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Campos */
.qs-input { width: 100%; min-height: 3.25rem; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--ivory); color: var(--ink); font: inherit; font-size: 1.05rem; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.qs-input:focus { outline: none; border-color: var(--accent); background: #fff; }
textarea.qs-input { min-height: 0; font-size: 1rem; resize: vertical; }
.qs-label { display: block; margin: 1.25rem 0 .5rem; font-size: .9rem; font-weight: 600; }
.qs-label small { color: var(--muted); font-weight: 400; }
.qs-weeks { display: flex; align-items: center; gap: .75rem; }
.qs-weeks .qs-input { width: 7rem; font-family: var(--display); font-size: 1.6rem; font-weight: 700; text-align: center; }
.qs-weeks span { color: var(--muted); font-size: 1.05rem; }

/* Semana: grade de dias e períodos */
.qs-week { display: grid; grid-template-columns: 3rem repeat(2, minmax(0, 1fr)); gap: .45rem; align-items: center; }
.qs-period { display: grid; justify-items: center; gap: .05rem; padding-bottom: .2rem; font-size: .9rem; font-weight: 600; }
.qs-period .icon { width: 1.3rem; height: 1.3rem; color: var(--accent); }
.qs-period small { color: var(--muted); font-size: .75rem; font-weight: 400; }
.qs-day { font-size: .9rem; font-weight: 600; }
.qs-slot { position: relative; display: block; height: 2.9rem; cursor: pointer; }
.qs-slot input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.qs-slot span { display: grid; place-items: center; height: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: var(--ivory); color: transparent; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.qs-slot span .icon { width: 1.1rem; height: 1.1rem; transform: scale(.4); transition: transform .3s var(--ease); }
.qs-slot:hover span { border-color: rgba(11, 120, 143, .4); }
.qs-slot input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.qs-slot input:checked + span .icon { transform: none; }
.qs-slot input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.qs-slot.is-off { display: grid; place-items: center; border: 1.5px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: .78rem; cursor: default; }
.qs-week:has(input:checked) ~ .qs-toggle { opacity: .55; }

.qs-toggle { display: flex; align-items: center; gap: .75rem; margin-top: 1.1rem; min-height: 44px; font-size: .93rem; font-weight: 500; cursor: pointer; transition: opacity .2s var(--ease); }
.qs-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.qs-switch { position: relative; flex: none; width: 2.75rem; height: 1.6rem; border-radius: 999px; background: var(--sand); transition: background-color .25s var(--ease); }
.qs-switch::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(16, 48, 61, .25); transition: transform .3s var(--ease); }
.qs-toggle input:checked + .qs-switch { background: var(--accent); }
.qs-toggle input:checked + .qs-switch::after { transform: translateX(1.15rem); }
.qs-toggle input:focus-visible + .qs-switch { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Resumo */
.qs-summary { display: grid; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.qs-summary li { display: flex; align-items: center; gap: .8rem; padding: .75rem .6rem .75rem .9rem; }
.qs-summary li + li { border-top: 1px solid var(--line); }
.qs-sum-icon { display: grid; place-items: center; flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--aqua-soft); color: var(--accent); }
.qs-sum-icon .icon { width: 1.15rem; height: 1.15rem; }
.qs-sum-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.qs-sum-text small { color: var(--muted); font-size: .76rem; }
.qs-sum-text b { font-size: .93rem; font-weight: 600; overflow-wrap: anywhere; }
.qs-edit { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: none; color: var(--accent-deep); cursor: pointer; transition: background-color .2s var(--ease); }
.qs-edit:hover { background: var(--aqua-soft); }
.qs-edit .icon { width: 1.1rem; height: 1.1rem; }

/* Final */
.qs-done { display: grid; justify-items: center; align-content: center; min-height: 100%; text-align: center; }
.qs-done-icon { display: grid; place-items: center; width: 5rem; height: 5rem; margin-bottom: 1.25rem; border-radius: 50%; background: #e6f6ee; color: #1f9d5a; animation: qs-pop .6s var(--ease); }
.qs-done-icon .icon { width: 2.8rem; height: 2.8rem; }
.qs-done .qs-lead { margin: -.4rem 0 1.5rem; max-width: 22rem; }
.qs-send-again { background: #1f9d5a; }
.qs-send-again:hover { background: #17824a; }
.qs-text-btn { min-height: 44px; margin-top: .5rem; padding: 0 1rem; border: 0; background: none; color: var(--muted); font: inherit; font-size: .93rem; font-weight: 500; cursor: pointer; }
@keyframes qs-pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } }

/* Rodapé fixo: voltar + continuar/enviar */
.qs-foot { display: flex; align-items: center; gap: .6rem; flex: none; padding: .85rem 1.1rem calc(.95rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.qs-back { display: grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s var(--ease); }
.qs-back:hover { border-color: var(--accent); }
.qs-back .icon { width: 1.2rem; height: 1.2rem; }
.qs-next, .qs-send { flex: 1; justify-content: center; min-height: 3.25rem; gap: .55rem; }
.qs-next .icon { width: 1.15rem; height: 1.15rem; transition: transform .3s var(--ease); }
.qs-next:hover .icon { transform: translateX(3px); }
.qs-next:disabled { background: var(--sand); color: rgba(16, 58, 69, .5); box-shadow: none; transform: none; cursor: not-allowed; }
.qs-send { background: #1f9d5a; }
.qs-send:hover { background: #17824a; }

@media (max-width: 640px) {
  dialog.quote { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .qs-opt-in { padding: .85rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.quote[open], .qs-screen.is-in, .qs-done-icon { animation: none; }
}

.faq-list p a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }

/* Dúvidas --------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.faq-head { position: sticky; top: calc(var(--header-h) + 2.5rem); }
.faq-head > p:not(.eyebrow) { margin: 1.25rem 0 1.5rem; color: var(--muted); font-size: 1.06rem; }

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.35rem;
  list-style: none;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.015em;
  transition: color .2s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover,
.faq-list details[open] summary { color: var(--accent-deep); }
.faq-icon { width: 1.3rem; height: 1.3rem; color: var(--accent); transition: transform .35s var(--ease); }
.faq-list details[open] .faq-icon { transform: rotate(45deg); }
.faq-list details p { padding: 0 3rem 1.5rem 0; color: var(--muted); }

/* Contato --------------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background: var(--linen);
}
/* Arco de contorno no canto, ecoando o recorte das fotos */
.contact::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 30rem;
  border: 1px solid rgba(31, 111, 139, .16);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.contact::after { bottom: -22rem; right: -8rem; }

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.contact-copy > p:not(.eyebrow) { margin: 1.25rem 0 2rem; color: var(--muted); font-size: 1.1rem; }

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  transition: color .2s var(--ease);
}
.contact-phone:hover { color: var(--accent-deep); }

.locations { display: grid; gap: 1rem; }
.locations li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
}
.locations li > .icon { width: 2.75rem; height: 2.75rem; padding: .65rem; border-radius: 50%; background: var(--aqua-soft); color: var(--accent); }
.locations h3 { margin-bottom: .15rem; }
.locations p { margin-bottom: .65rem; color: var(--muted); font-size: .95rem; }
.locations .link { font-size: .94rem; }

/* Grade de horário em turnos */
.hours { display: grid; gap: .45rem; margin: .5rem 0 .9rem; font-size: .95rem; }
.hours > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; align-items: center; }
.hours dt { color: var(--ink); font-weight: 600; }
.hours dd { margin: 0; padding: .3rem .6rem; border-radius: 8px; background: var(--aqua-soft); color: var(--accent-deep); text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours .is-off dd { background: transparent; color: var(--muted); text-align: left; padding-inline: 0; }
@media (max-width: 640px) {
  .hours { font-size: .86rem; }
  .hours > div { grid-template-columns: 4.1rem minmax(0, 1fr) minmax(0, 1fr); gap: .35rem; }
  .hours dd { padding-inline: .25rem; }
  .hours .is-off { grid-template-columns: auto 1fr; gap: .6rem; }
  .hours dt { white-space: nowrap; }
}

/* Rodapé ---------------------------------------------------------------- */

.site-footer { padding-top: clamp(3.5rem, 6vw, 5rem); background: var(--navy); color: rgba(255, 255, 255, .7); font-size: .95rem; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.25fr 1fr; gap: 2.5rem; }
.site-footer .brand-mark { filter: brightness(1.25); }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: var(--aqua); }
.footer-brand p { max-width: 22rem; margin-top: 1.3rem; }
.footer-title { margin-bottom: 1rem; color: #fff; font-weight: 600; }

.site-footer ul { display: grid; gap: .6rem; }
.site-footer ul a { display: inline-flex; align-items: center; gap: .55rem; transition: color .2s var(--ease); }
.site-footer ul a .icon { width: 1.15rem; height: 1.15rem; color: var(--aqua); }
.site-footer ul a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .6);
  font-size: .84rem;
}
.footer-bottom small { font-size: inherit; }

/* Crédito da Nobre Designs: centralizado, última coisa da página */
.footer-credit { display: flex; justify-content: center; padding-block: 1rem 6rem; border-top: 1px solid rgba(255, 255, 255, .06); }
.credit { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: rgba(255, 255, 255, .6); transition: color .25s var(--ease); }
.credit img { width: auto; height: 1.6rem; opacity: .8; transition: opacity .25s var(--ease); }
.credit:hover { color: #fff; }
.credit:hover img { opacity: 1; }

/* WhatsApp flutuante ---------------------------------------------------- */

.float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.2rem .75rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  box-shadow: 0 16px 32px -12px rgba(16, 48, 61, .6);
  transition: background-color .25s var(--ease), transform .3s var(--ease), opacity .25s;
  animation: float-in .7s var(--ease) .9s backwards;
}
.float .icon { width: 1.5rem; height: 1.5rem; }
.float:hover { background: var(--accent-deep); transform: translateY(-2px); }
body.menu-open .float { opacity: 0; pointer-events: none; }

/* Interações ------------------------------------------------------------ */

/* Entrada ao rolar (só com JS e sem "reduzir movimento") */
.can-reveal [data-reveal] { opacity: 0; transform: translateY(2rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.can-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
.can-reveal .section-head [data-reveal],
.can-reveal .about-copy[data-reveal],
.can-reveal .steps[data-reveal],
.can-reveal .faq-list[data-reveal],
.can-reveal .locations[data-reveal] { transition-delay: .12s; }
/* Filhos dos grids entram em sequência */
.can-reveal .compare[data-reveal] > *,
.can-reveal .extras-grid[data-reveal] > *,
.can-reveal .packs[data-reveal] > *,
.can-reveal .gallery[data-reveal] > * { opacity: 0; transform: translateY(1.5rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.can-reveal .compare[data-reveal],
.can-reveal .extras-grid[data-reveal],
.can-reveal .packs[data-reveal],
.can-reveal .gallery[data-reveal] { opacity: 1; transform: none; }
.can-reveal [data-reveal].is-visible > * { opacity: 1; transform: none; }
.can-reveal .compare.is-visible > .brace { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), opacity .7s var(--ease); }
.can-reveal [data-reveal] > :nth-child(2) { transition-delay: .1s; }
.can-reveal [data-reveal] > :nth-child(3) { transition-delay: .2s; }
.can-reveal [data-reveal] > :nth-child(4) { transition-delay: .3s; }

/* Ícones dos tratamentos giram de leve no hover */
.extra { transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.extra-icon { transition: transform .5s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.extra:hover { border-color: rgba(31, 111, 139, .24); box-shadow: var(--shadow); }
.extra:hover .extra-icon { transform: rotate(-10deg) scale(1.08); background: var(--accent); color: #fff; }

/* Checklist: o item "salta" ao marcar */

/* Animações ------------------------------------------------------------- */

@keyframes pop { 40% { transform: scale(1.06); } }

@keyframes float-in { from { opacity: 0; transform: translateY(1rem) scale(.9); } }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Responsivo ------------------------------------------------------------ */

/* Menu em gaveta até 1100px: seis links não cabem com folga abaixo disso */
@media (max-width: 1100px) {
  .menu-toggle { display: grid; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ivory);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-.5rem);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .is-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .is-open { background: var(--ivory); }
  .nav-links > a { padding-block: 1rem; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--display); font-size: clamp(1.35rem, 4.5vw, 1.6rem); font-weight: 700; letter-spacing: -.03em; }
  .nav-links > a::after { display: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: min(100%, 36rem); margin: 0 auto; }
  .nav .button { width: min(100%, 36rem); margin: 1.75rem auto 0; min-height: 3.25rem; justify-content: center; font-size: 1rem; background: var(--accent); color: #fff; }
  .nav .button .icon { color: #fff; }
  .nav-extra { display: flex; justify-content: center; gap: .5rem 1.5rem; flex-wrap: wrap; width: min(100%, 36rem); margin: 1.25rem auto 0; color: var(--muted); font-size: .92rem; }
  .nav-extra a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: var(--accent-deep); font-weight: 600; }
  .nav-extra .icon { width: 1.15rem; height: 1.15rem; }
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr 1fr; }
  .compare .brace:first-child { grid-column: 1 / -1; }
  .extras-grid { grid-template-columns: 1fr 1fr; }
  .plans-strip { grid-template-columns: 1fr auto; }
  .plans-copy { grid-column: 1 / -1; }
}

@media (max-width: 960px) {

  .section-head,
  .about-grid,
  .consult-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .section-head { align-items: start; }
  .rating { justify-self: start; }
  .about-image { width: min(100%, 440px); }
  .faq-head { position: static; }
  .footer-grid { gap: 2.25rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .brand { gap: .65rem; }
  .brand-mark { height: 2.2rem; }
  .brand-text strong { font-size: 1.15rem; }
  .brand-text small { font-size: .62rem; letter-spacing: .26em; }

  .actions .button { width: 100%; }

  .marquee { padding-block: 1rem; font-size: .96rem; }

  .compare, .extras-grid { grid-template-columns: 1fr; }
  .brace { padding: 1.5rem 1.35rem 1.35rem; }
  .extra { display: grid; grid-template-columns: 3rem 1fr; gap: 0 1rem; padding: 1.35rem; }
  .extra h3 { margin: .35rem 0 .3rem; }
  .extra p { grid-column: 1 / -1; margin-top: .15rem; text-wrap: pretty; }


  .about-quote { right: .75rem; bottom: .75rem; font-size: 1.25rem; padding: 1rem 1.2rem; }
  .about-image::before { inset: .75rem -.6rem -.75rem .6rem; }
  .credentials { grid-template-columns: 1fr; gap: 1rem; }

  .gallery { gap: .75rem; }
  .gallery figcaption { left: .6rem; bottom: .6rem; max-width: calc(100% - 1.2rem); font-size: .78rem; padding: .3rem .65rem; }
  .results-foot .button { width: 100%; }

  .rating { width: 100%; justify-content: space-between; }
  .review { width: 82vw; padding: 1.35rem 1.35rem 1.2rem; }

  .faq-list summary { font-size: 1.02rem; }
  .faq-list details p { padding-right: 0; }

  .contact .actions { flex-direction: column; align-items: stretch; text-align: center; }
  .contact-phone { justify-content: center; }
  .locations li { padding: 1.25rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; font-size: .8rem; }

  .float { right: 1rem; bottom: 1rem; width: 3.5rem; height: 3.5rem; padding: 0; justify-content: center; }
  .float span { display: none; }
  .float .icon { width: 1.75rem; height: 1.75rem; }
}

/* Mobile centralizado: cabeçalhos, textos e botões no eixo; cards, FAQ e depoimentos seguem à esquerda */
@media (max-width: 640px) {
  /* Mesmo respiro entre todas as seções no celular */
  .section,
  .about,
  .reviews,
  .consult,
  .contact { padding-block: clamp(3.25rem, 11vw, 4.5rem); }
  .section-head { gap: 1rem; }

  .eyebrow { justify-content: center; gap: .55rem; letter-spacing: .13em; }

  .hero-copy,
  .section-head,
  .about-copy,
  .consult-head,
  .faq-head,
  .contact-copy { text-align: center; }
  .hero-copy { align-items: center; }
  .section-head { justify-items: center; }
  .section-head > p,
  .about-copy > p:not(.eyebrow),
  .compare-note { margin-inline: auto; }
  .compare-note { text-align: center; }
  .rating { justify-self: stretch; text-align: left; }
  .actions { justify-content: center; }
  .credentials { justify-content: center; text-align: center; }
  .results-foot { flex-direction: column; text-align: center; }


  .reviews-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }

  /* Rodapé enxuto: endereço e horário já estão no bloco de contato logo acima */
  .site-footer { padding-top: 3rem; text-align: center; }
  .footer-grid { justify-items: center; gap: 1.5rem; }
  .footer-brand .brand { justify-content: center; }
  .footer-brand p { margin: 1rem auto 0; }
  .footer-title, .footer-info { display: none; }
  .site-footer nav ul { display: block; text-wrap: balance; }
  .site-footer nav li { display: inline-block; margin-inline: .55rem; }
  .footer-bottom small { text-wrap: balance; }
  .site-footer ul a { min-height: 44px; }
  .footer-social ul { justify-content: center; }
  .footer-bottom { align-items: center; margin-top: 1.5rem; }
}

/* Telas bem estreitas: a etiqueta perde as linhas para caber numa linha só */
/* Celular bem estreito: o texto da CTA da hero quebra em vez de vazar */
@media (max-width: 359px) {
  .button-cta { gap: .6rem; padding-left: 1.1rem; font-size: .94rem; }
}

@media (max-width: 380px) {
  .hero-eyebrow { letter-spacing: .1em; }
}

@media (max-width: 960px), (pointer: coarse) {
  .link,
  .service-link,
  .contact-phone { min-height: 44px; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { min-height: 44px; }
  .site-footer ul li:not(:has(a)) { padding-block: .35rem; }
}

@media (hover: none) {
  .brace:hover, .button:hover { transform: none; box-shadow: none; }
  .gallery figure:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { justify-content: center; }
  .marquee-track { flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; padding-inline: var(--gutter); white-space: normal; animation: none !important; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .reviews-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .reviews-track { animation: none !important; }
  .reviews-track[aria-hidden="true"] { display: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   Navegação viva, reels, princípios e janela de ampliar
   ========================================================================== */

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--aqua));
  transform: scaleX(0);
  transform-origin: left;
}

/* Header compacto só ganha sombra: mudar a altura empurrava a página no meio da rolagem */
.site-header.is-compact { box-shadow: 0 10px 30px -24px rgba(16, 48, 61, .45); }

.nav-links > a.is-current { color: var(--accent-deep); }
.nav-links > a.is-current::after { transform: scaleX(1); transform-origin: left; }

/* Reels */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.reel {
  display: grid;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.reel-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--linen);
  box-shadow: 0 18px 38px -28px rgba(16, 48, 61, .8);
}
.reel-thumb img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .7s var(--ease); }
.reel-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 53, 64, 0) 45%, rgba(13, 53, 64, .55));
  opacity: .9;
}
.reel-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--accent-deep);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.reel-play .icon { width: 1.35rem; height: 1.35rem; margin-left: .15rem; }
.reel:hover .reel-thumb img { transform: scale(1.05); }
.reel:hover .reel-play { background: #fff; transform: translate(-50%, -50%) scale(1.08); }
.reel:focus-visible .reel-thumb { outline: 2px solid var(--accent); outline-offset: 3px; }
.reel-text { display: grid; gap: .35rem; }
.reel-text b { font-family: var(--display); font-size: 1.14rem; font-weight: 700; letter-spacing: -.02em; }
.reel-text small { color: var(--muted); font-size: .92rem; line-height: 1.55; text-wrap: pretty; }

/* Princípios */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 1rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.principle {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.principle.is-open { border-color: rgba(31, 111, 139, .28); box-shadow: var(--shadow); }
.principle-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
  min-height: 56px;
  padding: 1.15rem 1.35rem;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.principle-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--aqua-soft);
  color: var(--accent-deep);
}
.principle-icon .icon { width: 1.25rem; height: 1.25rem; }
.principle-name { flex: 1; font-family: var(--display); font-size: 1.18rem; font-weight: 700; letter-spacing: -.02em; }
.principle-sign { flex: none; width: 1.1rem; height: 1.1rem; color: var(--accent); transition: transform .35s var(--ease); }
.principle.is-open .principle-sign { transform: rotate(45deg); }
.principle-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.principle.is-open .principle-body { max-height: 22rem; }
.principle-body > p {
  margin: 0;
  padding-inline: 1.35rem;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.principle-body > p { padding-bottom: 1.35rem; }

/* Galeria com ampliar */
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.zoom-sign {
  position: absolute;
  right: .85rem;
  top: .85rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--accent-deep);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.zoom-sign .icon { width: 1rem; height: 1rem; }
.gallery figure:hover .zoom-sign,
.gallery button:focus-visible .zoom-sign { opacity: 1; transform: none; }

/* Janela de ampliar */
.lightbox {
  width: min(92vw, 62rem);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(10, 32, 39, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: zoom-in .35s var(--ease); }
@keyframes zoom-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.lightbox-body { display: grid; gap: .9rem; margin: 0; justify-items: center; }
.lightbox-body img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius);
  background: var(--linen);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.lightbox-body iframe {
  width: min(100%, 26rem);
  height: min(78vh, 42rem);
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}
.lightbox-body figcaption { color: rgba(255, 255, 255, .88); font-size: .95rem; font-weight: 600; }
.lightbox.is-video .lightbox-nav { display: none; }
.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: #fff; transform: scale(1.06); }
.lightbox-close .icon,
.lightbox-nav .icon { width: 1.2rem; height: 1.2rem; }
.lightbox-close { right: -.5rem; top: -3.4rem; }
.lightbox-prev { left: -3.6rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -3.6rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.06); }
body.no-scroll { overflow: hidden; }

/* Balão do WhatsApp */
.float-tip {
  position: fixed;
  right: 1.25rem;
  bottom: 4.6rem;
  z-index: 39;
  max-width: 15rem;
  margin: 0;
  padding: .7rem .95rem;
  border-radius: 1rem 1rem .35rem 1rem;
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.45;
  text-wrap: pretty;
  box-shadow: 0 18px 38px -20px rgba(16, 48, 61, .6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.float-tip.is-visible { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }

@media (max-width: 960px) {
  .reels { gap: 1rem; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
  .lightbox-close { right: .5rem; top: -3.4rem; }
}

@media (max-width: 640px) {
  /* Reels viram carrossel: três vídeos lado a lado em vez de três telas de rolagem */
  .reels {
    display: flex;
    gap: 1rem;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 78%; scroll-snap-align: center; }
  .reel-text { text-align: center; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle-head { padding: 1rem 1.1rem; }
  .principle-body > p { padding-inline: 1.1rem; }
  .principle-body > p { padding-bottom: 1.1rem; }
  .zoom-sign { opacity: 1; transform: none; }
  .lightbox-body iframe { width: 100%; height: min(84vh, 46rem); }
  .float-tip { right: 1rem; left: auto; max-width: 13.5rem; }
}
