/* Dr. Rômulo Freire — landing page
   Direção "Névoa Esmeralda": vidro fosco sobre luz verde, lavanda só em detalhes.
   A virada 3D com brilho ([data-tilt] + .glare + .lit) é a assinatura comum a todos os cards. */

@property --edge-ang { syntax: "<angle>"; inherits: false; initial-value: 135deg; }
@property --px { syntax: "<length>"; inherits: true; initial-value: 0px; }

:root {
  --paper: #FAFAF8;
  --white: #FFFFFF;
  --mist: #EEF2EF;
  --surface: #F3F6F4;
  --ink: #10201A;
  --text: #33403A;
  --muted: #5E6B65;
  --green: #0B7850;
  --green-bright: #129163;
  --green-700: #09663F;
  --green-800: #08452F;
  --mint: #7ED3AC;
  --deep: #06281D;
  --deep-2: #041C14;
  --lav: #BFCAE8;
  --star: #F6B700;
  --alert: #C2412D;
  --line: rgba(6, 40, 29, .12);
  --line-soft: rgba(6, 40, 29, .08);

  --display: "Instrument Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(34px, 2.6vw + 20px, 66px);
  --fs-h2: clamp(28px, 1.3vw + 19px, 42px);
  --fs-h3-lg: clamp(24px, 1vw + 18px, 32px);
  --fs-h3: clamp(19px, .45vw + 15px, 23px);
  --fs-lead: clamp(16.5px, .3vw + 15px, 18.5px);
  --fs-body: clamp(15.5px, .15vw + 15px, 16.5px);
  --fs-nota: clamp(40px, 1.6vw + 22px, 48px);
  --fs-menu: clamp(28px, 7vw, 34px);

  --wrap: 1280px;
  --gut: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); /* respeita o recorte do iPhone deitado */
  --gap: clamp(16px, 2vw, 24px);
  --sec: clamp(52px, 5.2vw, 76px);
  --head-gap: clamp(28px, 3.2vw, 48px);
  --hdr: 72px;

  --r-sm: 12px;
  --r-md: 18px;
  --r-tilt: 20px;
  --r-lg: 24px;
  --r-frame: 28px;

  --sh-rest: 0 1px 0 rgba(6, 40, 29, .04), 0 28px 56px -40px rgba(6, 40, 29, .32);
  --sh-hover: 0 2px 0 rgba(6, 40, 29, .05), 0 44px 80px -44px rgba(6, 40, 29, .48);
  --sh-dark: inset 0 1px 0 rgba(255, 255, 255, .14), 0 32px 64px -32px rgba(0, 0, 0, .55);
  --sh-photo: inset 0 0 0 1px rgba(255, 255, 255, .22);
  --photo-filter: saturate(.92) contrast(1.03);

  --glare-light: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(11, 120, 80, .09), transparent 60%);
  --glare-dark: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 55%);
  --glare-photo: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 50%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--text);
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
svg { flex: none; }
strong { font-weight: 600; }
p, li { text-wrap: pretty; }
::selection { background: var(--lav); color: var(--deep); }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 88%;
  font-optical-sizing: auto;
  color: var(--ink);
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.06; letter-spacing: -.024em; }
/* máscaras do SplitText: folga para as descendentes (g, p, q) não serem cortadas */
[data-split] > div, .hero__h > div { padding-bottom: .14em; margin-bottom: -.14em; }
h3 { font-size: var(--fs-h3); font-weight: 560; line-height: 1.2; letter-spacing: -.012em; font-stretch: 92%; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); }
.sec--mist { background: var(--mist); }

/* ---------- Superfícies ---------- */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(115deg, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, 0) 32%), linear-gradient(160deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .40));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(11, 120, 80, .06), var(--sh-rest);
}
.glass--dark {
  position: relative; isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 42%), rgba(6, 40, 29, .40);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: var(--sh-dark);
}
.glass--faux { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .7)); }

/* Borda iluminada: segue o cursor no próprio card e acende "em grupo" pelos vizinhos (--bx/--by) */
.lit { --rim: rgba(11, 120, 80, .7); --edge-hi: rgba(255, 255, 255, .9); --edge-lo: rgba(255, 255, 255, .1); }
.glass--dark.lit, .tile--a .lit, .tile--h .lit, .insta__slab .lit { --rim: rgba(255, 255, 255, .6); --edge-hi: rgba(255, 255, 255, .45); --edge-lo: rgba(255, 255, 255, .05); }
.lit::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background:
    radial-gradient(240px circle at var(--bx, -999px) var(--by, -999px), var(--rim), rgba(191, 202, 232, .5) 40%, transparent 70%),
    linear-gradient(var(--edge-ang, 135deg), var(--edge-hi), var(--edge-lo) 38%, rgba(255, 255, 255, .03) 62%, rgba(191, 202, 232, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .75; transition: opacity .5s, --edge-ang .8s var(--ease);
}
.is-lit > .lit::after, .lit.is-lit::after { opacity: 1; }
@media (hover: hover) { .lit:hover::after { opacity: 1; } }

/* Brilho da virada */
.glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: var(--glare-light); opacity: 0; transition: opacity .45s;
}
.glass--dark > .glare, .tile--a .glare, .tile--h .glare, .post__in .glare, .sobre__form .glare { background: var(--glare-dark); }
.glare--photo { background: var(--glare-photo); mix-blend-mode: soft-light; }
[data-tilt].is-lit > .glare, .is-lit > [data-tilt] > .glare { opacity: 1; }
@media (hover: hover) { [data-tilt]:hover > .glare { opacity: 1; } }

.grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background-image: var(--grain); background-size: 160px; mix-blend-mode: overlay; opacity: .06;
}

/* ---------- Botões ---------- */
.btn {
  --h: 52px; --fill: var(--deep);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 6px 0 22px; border-radius: 999px;
  font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: .005em; white-space: nowrap;
  color: #fff;
  background: linear-gradient(180deg, #129163, #0B7850 55%, #096A47);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px -14px rgba(6, 40, 29, .45);
  transition: color .45s var(--ease), background .5s, box-shadow .5s;
}
.btn__fill {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--fill);
  clip-path: circle(0% at var(--bx, 50%) var(--by, 50%)); transition: clip-path .6s var(--ease);
}
@media (hover: hover) { .btn:hover .btn__fill { clip-path: circle(150% at var(--bx, 50%) var(--by, 50%)); } }
.btn__label { display: inline-block; height: 1.4em; line-height: 1.4em; overflow: hidden; }
.btn__label > span { display: flex; flex-direction: column; transition: transform .55s var(--ease); }
@media (hover: hover) { .btn:hover .btn__label > span { transform: translateY(-50%); } }
.btn__icon {
  position: relative; display: grid; place-items: center; flex: none; overflow: hidden;
  width: 40px; height: 40px; border-radius: 50%; background: var(--lav); color: var(--deep);
}
.btn__icon svg { position: absolute; width: 17px; height: 17px; transition: transform .5s var(--ease); }
.btn__icon svg + svg { transform: translate(-170%, 170%); }
@media (hover: hover) { .btn:hover .btn__icon svg:first-child { transform: translate(170%, -170%); } }
@media (hover: hover) { .btn:hover .btn__icon svg + svg { transform: translate(0, 0); } }
.btn--light { --fill: var(--green); background: #fff; color: var(--deep); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45); }
@media (hover: hover) { .btn--light:hover { color: #fff; } }
.btn--glass {
  --fill: #fff; background: rgba(255, 255, 255, .12); color: #fff;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
@media (hover: hover) { .btn--glass:hover { color: var(--deep); } }
.btn--sm { --h: 44px; padding: 0 5px 0 18px; gap: 10px; font-size: 14px; }
.btn--sm .btn__icon { width: 34px; height: 34px; }
.btn--sm .btn__icon svg { width: 15px; height: 15px; }
/* no toque o hover grudaria depois do toque: o efeito roda ao pressionar (.is-press, posta pelo JS) e volta logo depois */
.btn.is-press .btn__fill { clip-path: circle(150% at var(--bx, 50%) var(--by, 50%)); }
.btn.is-press .btn__label > span { transform: translateY(-50%); }
.btn.is-press .btn__icon svg:first-child { transform: translate(170%, -170%); }
.btn.is-press .btn__icon svg + svg { transform: translate(0, 0); }
.btn--light.is-press { color: #fff; }
.btn--glass.is-press { color: var(--deep); }

/* Link com texto que rola */
.roll { position: relative; display: inline-block; height: 1.5em; line-height: 1.5em; overflow: hidden; }
.roll__in { display: flex; flex-direction: column; transition: transform .55s var(--ease); }
@media (hover: hover) { .roll:hover .roll__in { transform: translateY(-50%); } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor__ring {
  position: fixed; top: 0; left: 0; width: 32px; height: 32px; border-radius: 999px;
  border: 1px solid rgba(11, 120, 80, .45); translate: -50% -50%;
  transition: border-color .35s, background-color .35s;
}
.cursor.is-dark .cursor__ring { border-color: rgba(255, 255, 255, .5); }
.cursor.is-box .cursor__ring { border-color: rgba(191, 202, 232, .9); }
.cursor.is-dot .cursor__ring { background: var(--green); border-color: transparent; }
.cursor.is-dot.is-dark .cursor__ring { background: #fff; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr); color: #fff; transition: height .5s var(--ease), color .5s var(--ease); }
.hdr.is-compact { height: 60px; }
.hdr__glass {
  position: absolute; inset: 0; z-index: -1; opacity: 0;
  background-color: rgba(250, 250, 248, .74);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: opacity .6s var(--ease), background-color .6s var(--ease), box-shadow .6s;
}
.hdr__glass::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(6, 40, 29, .12), transparent); }
.hdr:not(.is-top) .hdr__glass { opacity: 1; }
.hdr[data-on="dark"] .hdr__glass { background-color: rgba(6, 40, 29, .52); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.hdr[data-on="dark"] .hdr__glass::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent); }
.hdr[data-on="light"]:not(.is-top) { color: var(--ink); }
.hdr__in { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.hdr__logo { justify-self: start; display: flex; align-items: center; min-height: 44px; color: #fff; transition: color .5s var(--ease); transform-origin: left center; }
.hdr[data-on="light"]:not(.is-top) .hdr__logo { color: var(--green); }
.hdr__logo svg { display: block; height: 24px; width: auto; transition: transform .5s var(--ease); transform-origin: left center; }
.hdr.is-compact .hdr__logo svg { transform: scale(.88); }
.hdr__nav { position: relative; display: flex; gap: 32px; font-size: 14.5px; font-weight: 500; }
.hdr__nav a { opacity: .72; transition: opacity .3s; }
.hdr__nav a[aria-current="true"] { opacity: 1; }
@media (hover: hover) { .hdr__nav a:hover { opacity: 1; } }
.hdr__mark { position: absolute; left: 0; bottom: -9px; width: 5px; height: 5px; border-radius: 50%; background: var(--lav); opacity: 0; }
.hdr__end { justify-self: end; display: flex; align-items: center; gap: 6px; }
.hdr[data-on="light"]:not(.is-top) .hdr__cta {
  --fill: var(--deep); color: #fff;
  background: linear-gradient(180deg, #129163, #0B7850 55%, #096A47);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px -14px rgba(6, 40, 29, .45);
}
.hdr__progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; opacity: .35; transform: scaleX(0); transform-origin: left; }
.hdr__burger { display: none; position: relative; width: 44px; height: 44px; }
.hdr__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.hdr__burger span:first-child { top: 18px; }
.hdr__burger span:last-child { top: 25px; }
.hdr.menu-open { color: #fff !important; }
.hdr.menu-open .hdr__glass { opacity: 0 !important; }
.hdr.menu-open .hdr__logo { color: #fff !important; }
.hdr.menu-open .hdr__burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.hdr.menu-open .hdr__burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: calc(var(--hdr) + 24px) var(--gut) 40px;
  background: rgba(6, 40, 29, .86);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  clip-path: circle(0% at calc(100% - 40px) 36px); visibility: hidden;
  overflow-y: auto; overscroll-behavior: contain;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
@media (max-height: 560px) { .menu { justify-content: flex-start; } }
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu__nav { display: flex; flex-direction: column; }
.menu__link {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--display); font-stretch: 88%; font-size: var(--fs-menu); font-weight: 500; letter-spacing: -.015em; color: #fff;
}
.menu__link::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lav); transform: scale(0); transition: transform .4s var(--ease); }
.menu__link[aria-current="true"]::after { transform: scale(1); }
@media (hover: hover) { .menu__link:hover::after { transform: scale(1); } }
.menu__cta { align-self: stretch; justify-content: space-between; }

/* ---------- 1. Hero ---------- */
.hero { position: relative; z-index: 0; padding: 10px max(10px, env(safe-area-inset-right, 0px)) 10px max(10px, env(safe-area-inset-left, 0px)); background: var(--paper); }
.hero__frame {
  position: relative; isolation: isolate; overflow: hidden;
  height: calc(88svh - 20px); min-height: 600px;
  border-radius: var(--r-frame); background: var(--deep);
  transform-origin: 50% 0%;
}
/* estado inicial da abertura (o JS assume na timeline; o head tira a classe em 4 s se o JS falhar) */
.intro .hdr { opacity: 0; transform: translateY(-100%); }
.intro .hero__frame { clip-path: inset(14% 18% 14% 18% round 44px); }
.intro .hero__img { transform: scale(1.3); }
.hero__pan { position: absolute; inset: -3%; }
.hero__img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 8%; filter: var(--photo-filter); }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(55% 60% at 100% 100%, rgba(4, 12, 9, .62), transparent 72%),
    radial-gradient(55% 65% at 0% 100%, rgba(4, 12, 9, .55), transparent 72%),
    linear-gradient(to top, rgba(4, 12, 9, .72) 0, rgba(4, 12, 9, .28) 34%, transparent 58%),
    linear-gradient(to bottom, rgba(4, 12, 9, .4), transparent 140px);
}
.hero__frame > .grain { z-index: 1; }
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end;
  padding-bottom: clamp(24px, 5vh, 56px);
}
.js .hero__content { opacity: 0; animation: mostrar 0s 3s forwards; }
@keyframes mostrar { to { opacity: 1; } }
.hero__title { grid-column: 1 / span 7; color: #fff; }
.hero__h { display: block; max-width: 18ch; font-size: var(--fs-h1); font-weight: 520; line-height: 1.02; letter-spacing: -.03em; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.hero__name { display: block; margin-top: 14px; font-family: var(--body); font-stretch: 100%; font-size: 15px; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .72); }
.hero__dot { color: var(--lav); }
/* texto solto (sem card de vidro): um fio vertical que se desenha marca o bloco */
.hero__aside {
  position: relative; grid-column: 9 / span 4; justify-self: end; width: min(380px, 100%);
  display: grid; gap: 22px; justify-items: start; padding-left: 26px;
}
.hero__fio {
  position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; transform-origin: top;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .6), rgba(191, 202, 232, .35) 60%, rgba(255, 255, 255, 0));
}
.hero__lead { max-width: 34ch; font-size: var(--fs-lead); line-height: 1.55; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 18px rgba(0, 0, 0, .4); }
.hero__creds {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap;
  color: rgba(255, 255, 255, .66);
  background: linear-gradient(100deg, rgba(255, 255, 255, .66) 40%, #fff 50%, rgba(255, 255, 255, .66) 60%) 100% 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__creds .sep { width: 1px; height: 12px; overflow: hidden; background: rgba(255, 255, 255, .2); color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- 2. Pilares ---------- */
.pilares {
  position: relative; z-index: 2; padding-block: var(--sec);
  background: var(--paper); border-radius: var(--r-frame) var(--r-frame) 0 0;
  box-shadow: 0 -30px 60px -30px rgba(4, 28, 20, .35);
}
.pilares__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.pilares__title { grid-column: 1 / span 5; max-width: 13ch; align-self: start; }
.pilares__list { grid-column: 6 / span 7; }
.pilar__in {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start;
  padding: 30px 28px; border-radius: var(--r-tilt);
}
.pilar__in::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--mist); box-shadow: inset 0 0 0 1px rgba(11, 120, 80, .08);
  opacity: 0; scale: .97; transition: opacity .5s var(--ease), scale .7s var(--ease);
}
.pilar.is-on .pilar__in::before { opacity: 1; scale: 1; }
@media (hover: hover) { .pilar__in:hover::before { opacity: 1; scale: 1; } }
.pilar h3 { transition: color .45s; }
.pilar.is-on h3 { color: var(--green); }
@media (hover: hover) { .pilar__in:hover h3 { color: var(--green); } }
.pilar p { max-width: 42ch; font-size: 16px; color: var(--text); }
.pilar__rule { display: block; height: 1px; margin-inline: 28px; background: var(--line); transform-origin: left; transition: opacity .4s; }
.pilar.is-on .pilar__rule, .pilar:has(+ .pilar.is-on) .pilar__rule { opacity: 0; }
@media (hover: hover) { .pilar:has(.pilar__in:hover) .pilar__rule, .pilar:has(+ .pilar .pilar__in:hover) .pilar__rule { opacity: 0; } }

/* ---------- 3. Sobre ---------- */
.sobre { position: relative; isolation: isolate; overflow: clip; background: var(--deep); color: #fff; }
/* altura da tela com a barra do navegador recolhida (lvh): no iPhone, com svh sobrava uma faixa sem foto no pé da tela */
.sobre__stage { position: sticky; top: 0; z-index: -1; height: 100vh; height: 100lvh; overflow: hidden; }
.sobre__stage img { width: 100%; height: 105%; object-fit: cover; object-position: 26% 28%; filter: var(--photo-filter); }
.sobre__scrim { position: absolute; inset: 0; background: radial-gradient(90% 80% at 80% 55%, rgba(4, 28, 20, .78), rgba(4, 28, 20, .2) 62%), linear-gradient(0deg, rgba(4, 28, 20, .75), transparent 45%); }
.sobre__in {
  position: relative; margin-top: -100vh; margin-top: -100lvh; padding-top: calc(var(--hdr) + 5svh); padding-bottom: var(--sec);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
}
.sobre__panel { grid-column: 7 / span 6; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); }
/* vidro mais fechado aqui: a foto atrás é o rosto dele, e o tom da pele não pode competir com o texto */
.sobre__panel, .sobre__form {
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 42%), rgba(3, 22, 15, .84);
  -webkit-backdrop-filter: blur(30px) saturate(110%); backdrop-filter: blur(30px) saturate(110%);
}
.sobre__panel h2 { color: #fff; }
.h-mute { color: rgba(255, 255, 255, .55); }
.sobre__lead { margin-top: 20px; font-size: var(--fs-lead); line-height: 1.55; color: #fff; }
.sobre__panel p:not(.sobre__lead) { margin-top: 14px; max-width: 54ch; font-size: 15.5px; color: rgba(255, 255, 255, .74); }
.sobre__cred { grid-column: 1 / -1; margin-top: clamp(28px, 5svh, 48px); display: grid; justify-items: start; gap: 18px; }
.sobre__sub { font-size: 18px; font-weight: 600; color: #fff; }
.sobre__plate { width: 100%; perspective: 1200px; }
.sobre__form { border-radius: var(--r-lg); overflow: hidden; }
.sobre__form ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.sobre__form li {
  position: relative; padding: 22px 26px;
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start;
  font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .7);
  border-right: 1px solid rgba(255, 255, 255, .09); border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.sobre__form li:nth-child(3n) { border-right: 0; }
.sobre__form li:nth-child(n+4) { border-bottom: 0; }
.sobre__form li::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .45s; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .1), transparent 60%); }
@media (hover: hover) { .sobre__form li:hover::after { opacity: 1; } }
.sobre__form strong { color: #fff; }
/* logo da instituição numa plaquinha branca: as marcas (azul, teal, verde) somem direto no verde-escuro */
.inst {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 7px; border-radius: 12px; background: #fff;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6), 0 0 0 0 rgba(191, 202, 232, 0);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.inst img { width: 100%; height: 100%; object-fit: contain; }
/* no toque, a plaquinha sobe quando o item passa pelo meio da tela (.is-on, posta pelo JS) */
.sobre__form li.is-on::after { opacity: 1; }
.sobre__form li.is-on .inst { transform: translateY(-2px) scale(1.06); box-shadow: 0 12px 22px -10px rgba(0, 0, 0, .7), 0 0 0 3px rgba(191, 202, 232, .4); }
@media (hover: hover) { .sobre__form li:hover .inst { transform: translateY(-2px) scale(1.06); box-shadow: 0 12px 22px -10px rgba(0, 0, 0, .7), 0 0 0 3px rgba(191, 202, 232, .4); } }

/* ---------- 4. Quando procurar ---------- */
.quando { position: relative; isolation: isolate; overflow: clip; }
.luz { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.luz span { position: absolute; border-radius: 50%; }
.luz__a { width: 600px; height: 600px; left: calc(82% - 300px); top: calc(22% - 300px); background: radial-gradient(closest-side, rgba(126, 211, 172, .32), transparent); }
.luz__b { width: 480px; height: 480px; left: calc(60% - 240px); top: calc(92% - 240px); background: radial-gradient(closest-side, rgba(11, 120, 80, .12), transparent); }
.luz--forte .luz__a { width: 620px; height: 620px; left: calc(18% - 310px); top: calc(55% - 310px); background: radial-gradient(closest-side, rgba(11, 120, 80, .26), transparent); }
.luz--forte .luz__b { width: 460px; height: 460px; left: calc(72% - 230px); top: calc(45% - 230px); background: radial-gradient(closest-side, rgba(126, 211, 172, .3), transparent); }
.quando__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.quando__aside { position: sticky; top: calc(var(--hdr) + 40px); display: grid; gap: 28px; }
.quando__intro h2 { max-width: 15ch; }
.quando__intro p { margin-top: 16px; max-width: 42ch; color: var(--muted); }
.quando__acao { display: grid; gap: 18px; justify-items: start; }
.alerta {
  display: grid; grid-template-columns: 10px 1fr; gap: 12px; align-items: start;
  padding: 14px 18px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(194, 65, 45, .22); font-size: 14.5px; line-height: 1.5; color: var(--ink);
}
.alerta__pulse { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--alert); }
.alerta.is-on .alerta__pulse { animation: pulsoAlerta 1.6s 3; }
@keyframes pulsoAlerta { 0% { box-shadow: 0 0 0 0 rgba(194, 65, 45, .5); } 100% { box-shadow: 0 0 0 12px rgba(194, 65, 45, 0); } }
.quando__label { margin-bottom: 18px; font-size: 15px; font-weight: 600; color: var(--ink); }
/* padding fixo: se dependesse do --off animado, a altura da página mudaria durante a rolagem */
.quando__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-bottom: 24px; perspective: 1200px; }
/* desencontro da coluna par: "top" não é tocado pelo GSAP (translate seria absorvido no transform) */
.sinal:nth-child(even) { position: relative; top: var(--off, 64px); }
.sinal__card {
  display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 16px;
  min-height: 104px; padding: 14px 20px 14px 14px; border-radius: var(--r-tilt);
  transform-style: preserve-3d; transition: box-shadow .5s var(--ease), opacity .5s, filter .5s;
}
@media (hover: hover) { .sinal__card:hover { box-shadow: var(--sh-hover); } }
/* ícone animado no lugar da miniatura de foto */
.sinal__ic {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-sm);
  color: var(--green); background: linear-gradient(150deg, rgba(126, 211, 172, .38), rgba(11, 120, 80, .1));
  box-shadow: inset 0 0 0 1px rgba(11, 120, 80, .1); transform: translateZ(28px);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s;
}
.sinal__ic svg { width: 34px; height: 34px; overflow: visible; }
.sinal__ic svg * { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sinal__ic .cheio { fill: currentColor; stroke: none; }
.sinal__ic .r { opacity: .3; }
.sinal__ic .base { opacity: .45; }
.sinal__ic .m { stroke-width: 2.4; stroke-dasharray: .14 .86; }
.js .sinal__ic .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .sinal__ic .m { opacity: 0; }
.sinal.is-focus .sinal__ic {
  color: #fff; background: linear-gradient(150deg, #14A06B, var(--green)); box-shadow: 0 10px 22px -12px rgba(11, 120, 80, .7);
}
@media (hover: hover) { .sinal__card:hover .sinal__ic {
    color: #fff; background: linear-gradient(150deg, #14A06B, var(--green)); box-shadow: 0 10px 22px -12px rgba(11, 120, 80, .7);
  } }
.sinal p { font-family: var(--display); font-stretch: 92%; font-size: clamp(17px, 1.3vw, 19px); font-weight: 500; line-height: 1.25; color: var(--ink); text-wrap: balance; transform: translateZ(16px); transition: color .4s; }
@media (hover: hover) { .sinal__card:hover p { color: var(--green); } }
@media (hover: hover) { .quando__grid:has(.sinal__card:hover) .sinal__card:not(:hover) { opacity: .7; filter: saturate(.6); } }

/* ---------- 5. Consulta e exames ---------- */
.servicos { background: var(--paper); }
.servicos__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-bottom: var(--head-gap); }
.servicos__head > div { grid-column: 1 / span 8; }
.servicos__head > .btn { grid-column: 10 / span 3; justify-self: end; }
.servicos__kicker { margin-bottom: 12px; font-size: 15px; font-weight: 500; color: var(--green); }
.stack { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px); }
.stack__card {
  position: sticky; top: calc(var(--hdr) + 24px + var(--i) * 14px);
  height: clamp(460px, calc(100svh - var(--hdr) - 110px), 620px);
  transform-origin: 50% 0; will-change: transform;
}
.stack__inner { position: relative; isolation: isolate; height: 100%; overflow: hidden; border-radius: var(--r-lg); background: var(--deep); }
/* Pouso suave: o sticky para o card de uma vez; este deslocamento ligado à rolagem faz ele desacelerar até assentar.
   Fica num elemento só dele (o GSAP transforma o card no tombo e o .stack__inner na virada) e, onde o navegador suporta,
   é uma animação CSS ligada à rolagem: roda no mesmo quadro do sticky, inclusive na rolagem por toque do celular.
   O main.js define o trecho de rolagem (--pouso-ini/--pouso-fim) e o pico; sem suporte, o main.js anima o y. */
.stack__pouso { height: 100%; }
@keyframes pouso {
  0% { translate: 0 0; animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  25% { translate: 0 var(--pouso-pico, 0px); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  100% { translate: 0 0; }
}
@supports (animation-timeline: scroll()) {
  .stack__pouso.com-pouso {
    animation: pouso auto linear both;
    animation-timeline: scroll(root block);
    animation-range: var(--pouso-ini, 0px) var(--pouso-fim, 0px);
  }
}
/* telas baixas (celular deitado): o card fixo precisa caber na tela */
@media (max-height: 560px) and (min-width: 761px) { .stack__card { height: max(280px, calc(100svh - var(--hdr) - 40px)); } }
/* véu que escurece o card que fica para trás: elemento próprio animado só na opacidade (barato), no lugar de uma variável CSS herdada */
.stack__dim { position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; background: var(--deep-2); opacity: 0; }
.stack__fig { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.stack__fig::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--sh-photo); }
.stack__fig::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(4, 28, 20, .42), transparent 55%); }
.stack__fig img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); }
.stack__txt {
  position: absolute; left: clamp(16px, 2vw, 24px); bottom: clamp(16px, 2vw, 24px); z-index: 2;
  width: min(440px, calc(100% - 32px)); padding: 26px 28px; border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 42%), rgba(6, 40, 29, .66);
}
.stack__card:nth-child(even) .stack__txt { left: auto; right: clamp(16px, 2vw, 24px); }
/* blur menor na legenda: o card gira e escala com a rolagem, e o vidro precisa ser refeito a cada quadro */
.stack__txt.glass--dark { -webkit-backdrop-filter: blur(12px) saturate(130%); backdrop-filter: blur(12px) saturate(130%); }
.stack__txt h3 { font-size: var(--fs-h3-lg); font-weight: 520; line-height: 1.1; letter-spacing: -.02em; font-stretch: 88%; color: #fff; }
.stack__txt p { margin-top: 12px; max-width: 40ch; font-size: 15.5px; color: rgba(255, 255, 255, .92); }

/* ---------- 6. Condições ---------- */
.condicoes { position: relative; isolation: isolate; overflow: clip; }
.condicoes__head { max-width: 760px; margin-bottom: var(--head-gap); }
.h-cont { color: var(--muted); font-weight: 400; }
.condicoes__head p { margin-top: 14px; max-width: 52ch; color: var(--muted); }
.bento {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(172px, auto); gap: 14px;
  grid-template-areas: "a a b c" "a a d e" "a a f g";
  perspective: 1400px;
}
.tile--a { grid-area: a; } .tile--b { grid-area: b; } .tile--c { grid-area: c; } .tile--d { grid-area: d; }
.tile--e { grid-area: e; } .tile--f { grid-area: f; } .tile--g { grid-area: g; }
.condicoes__acao { display: flex; justify-content: flex-end; margin-top: 28px; }
.tile__in {
  position: relative; height: 100%; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 24px; border-radius: var(--r-tilt); transition: box-shadow .5s var(--ease);
}
@media (hover: hover) { .tile__in:hover { box-shadow: var(--sh-hover); } }
.tile__in h3 { position: relative; z-index: 2; max-width: 16ch; }
.tile__in p { position: relative; z-index: 2; max-width: 30ch; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.tile__in p::first-letter { text-transform: uppercase; }
.tile--a .tile__in {
  justify-content: flex-end; padding: clamp(24px, 2.6vw, 34px);
  background: radial-gradient(90% 80% at 0 0, #14A06B, transparent 55%), linear-gradient(160deg, #0B7850, #06281D);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), var(--sh-rest);
}
.tile--a .grain { opacity: .1; }
/* palco verde: foto do tema escolhido sob uma camada verde */
.tile__foto { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); }
/* sem filtro de cor: só uma sombra neutra embaixo, para o texto branco continuar legível */
.tile__foto::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(4, 14, 10, .74) 0%, rgba(4, 14, 10, .4) 30%, rgba(4, 14, 10, 0) 60%);
}
.tile--a .tile__luz { background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, .12), transparent 60%); }
.tile--a .grain { opacity: .05; }
.tile--a h3, .tile--a p { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
/* temas brancos: passar o mouse mostra o tema no palco */
.tile:not(.tile--a) .tile__in:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; }
.tile__in.is-ativo { border-color: rgba(191, 202, 232, 1); box-shadow: var(--sh-hover); }
.tile__seta {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 18px; height: 18px; color: var(--green);
  opacity: 0; transform: translate(6px, -6px) rotate(-90deg); transition: opacity .4s, transform .5s var(--ease);
}
.tile__in:focus-visible .tile__seta, .tile__in.is-ativo .tile__seta { opacity: 1; transform: translate(0, 0) rotate(-90deg); }
@media (hover: hover) { .tile__in:hover .tile__seta { opacity: 1; transform: translate(0, 0) rotate(-90deg); } }
@media (hover: none) { .tile__seta { opacity: .7; transform: rotate(-90deg); } }
.tile__luz { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 20%), rgba(126, 211, 172, .28), transparent 60%); }
.tile--a h3 { max-width: 12ch; font-size: var(--fs-h3-lg); font-weight: 520; line-height: 1.1; letter-spacing: -.02em; font-stretch: 88%; color: #fff; }
.tile--a p { font-size: 16px; color: rgba(255, 255, 255, .82); }

/* ---------- 7. Por que escolher ---------- */
.porque { position: relative; isolation: isolate; overflow: clip; background: var(--deep); color: #fff; padding-block: var(--sec); }
.porque__media {
  /* começa um pouco abaixo do topo da seção (folga para a cabeça) e se estende para baixo; a borda de cima e a direita se fundem no fundo */
  position: absolute; inset: 4% 0 -10% 0; z-index: -2; transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0 42%, transparent 74%), linear-gradient(180deg, transparent 0, #000 7%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 0 42%, transparent 74%), linear-gradient(180deg, transparent 0, #000 7%);
  mask-composite: intersect;
}
/* foto com as cores naturais (sem duotone) */
.porque__media img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 0%; filter: var(--photo-filter); }
.porque::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 40% at 85% 100%, rgba(11, 120, 80, .28), transparent), radial-gradient(60% 50% at 50% 0, rgba(126, 211, 172, .08), transparent); }
.porque > .grain { z-index: -1; opacity: .04; }
.porque__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.porque__col { grid-column: 6 / span 7; }
.porque h2 { max-width: 20ch; margin-bottom: var(--head-gap); color: #fff; }
.porque__list { display: grid; gap: 10px; perspective: 1200px; }
.motivo__in { display: grid; grid-template-columns: 20px 1fr; gap: 16px; align-items: start; padding: 20px 24px; border-radius: var(--r-md); transition: background-color .5s; }
.motivo__check { width: 20px; height: 20px; margin-top: 3px; }
.motivo__check path { fill: none; stroke: var(--lav); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s var(--ease); }
.motivo.is-lit .motivo__check path { stroke-dashoffset: 0; }
@media (hover: hover) { .motivo__in:hover .motivo__check path { stroke-dashoffset: 0; } }
.motivo p { position: relative; z-index: 2; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .62); transition: color .5s; }
.motivo strong { color: #fff; }
.motivo.is-lit .motivo__in { background-color: rgba(255, 255, 255, .09); }
@media (hover: hover) { .motivo__in:hover { background-color: rgba(255, 255, 255, .09); } }
.motivo.is-lit p { color: #fff; }
@media (hover: hover) { .motivo__in:hover p { color: #fff; } }

/* ---------- 8. Depoimentos ---------- */
.depo { background: var(--paper); }
.depo__stage { position: relative; display: grid; }
.depo__wall {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) min(440px, 100%) minmax(0, 1fr); gap: 16px;
  height: 640px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.depo__col { overflow: hidden; }
.depo__track { display: flex; flex-direction: column; will-change: transform; }
.review { padding-bottom: 16px; perspective: 1000px; }
.review__in { position: relative; padding: 24px; border-radius: var(--r-tilt); background: #fff; box-shadow: inset 0 0 0 1px var(--line-soft); transition: background-color .4s, box-shadow .5s var(--ease); }
@media (hover: hover) { .review__in:hover { box-shadow: inset 0 0 0 1px var(--line), var(--sh-hover); } }
.review blockquote { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.review figcaption { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; margin-top: 18px; }
.review__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--mist); color: var(--green); font-family: var(--display); font-weight: 600; }
.review__who { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.review__stars { display: flex; gap: 2px; margin-top: 3px; color: var(--star); }
.review__stars svg { width: 12px; height: 12px; }
.review__g { width: 16px; height: 16px; filter: grayscale(1); opacity: .45; transition: filter .4s, opacity .4s; }
@media (hover: hover) { .review__in:hover .review__g { filter: none; opacity: 1; } }
.depo__panel { grid-area: 1 / 1; place-self: center; z-index: 2; width: min(440px, 100%); padding: 40px 36px; border-radius: var(--r-lg); text-align: center; }
.depo__sub { max-width: 34ch; margin: 14px auto 0; font-size: 16.5px; color: var(--muted); }
.nota { display: inline-flex; align-items: center; gap: 18px; margin-top: 26px; }
.nota__num { font-family: var(--display); font-stretch: 80%; font-size: var(--fs-nota); font-weight: 560; line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--green); }
.nota__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.stars { position: relative; display: block; width: 130px; height: 24px; }
.stars__base, .stars__fill {
  position: absolute; inset: 0;
  --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 24'%3E%3Cpath d='m12 17.75-6.172 3.245 1.179-6.873-5-4.867 6.9-1L12 2l3.086 6.253 6.9 1-5 4.867 1.179 6.873z'/%3E%3Cpath transform='translate(26.5 0)' d='m12 17.75-6.172 3.245 1.179-6.873-5-4.867 6.9-1L12 2l3.086 6.253 6.9 1-5 4.867 1.179 6.873z'/%3E%3Cpath transform='translate(53 0)' d='m12 17.75-6.172 3.245 1.179-6.873-5-4.867 6.9-1L12 2l3.086 6.253 6.9 1-5 4.867 1.179 6.873z'/%3E%3Cpath transform='translate(79.5 0)' d='m12 17.75-6.172 3.245 1.179-6.873-5-4.867 6.9-1L12 2l3.086 6.253 6.9 1-5 4.867 1.179 6.873z'/%3E%3Cpath transform='translate(106 0)' d='m12 17.75-6.172 3.245 1.179-6.873-5-4.867 6.9-1L12 2l3.086 6.253 6.9 1-5 4.867 1.179 6.873z'/%3E%3C/svg%3E");
  -webkit-mask: var(--mask) left center / 130px 24px no-repeat; mask: var(--mask) left center / 130px 24px no-repeat;
}
.stars__base { background: rgba(11, 120, 80, .14); }
.stars__fill { width: 0; background: linear-gradient(100deg, var(--star) 40%, #FFE08A 50%, var(--star) 60%) 100% 0 / 250% 100%; }
.nota__g { width: 26px; height: 26px; }
.depo__pause { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); color: var(--ink); }
.depo__pause svg { width: 18px; height: 18px; }
.depo__pause .ic-play, .depo__pause[aria-pressed="true"] .ic-pause { display: none; }
.depo__pause[aria-pressed="true"] .ic-play { display: block; }

/* ---------- 9. Instagram ---------- */
.insta { overflow: clip; padding-top: calc(var(--sec) + 72px); }
.insta__slab {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  min-height: 460px; padding-inline: clamp(28px, 5vw, 72px);
  clip-path: inset(-400px -400px 0 -400px);
}
.insta__slab::before {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: var(--r-frame);
  background: radial-gradient(70% 90% at 0% 100%, rgba(11, 120, 80, .75), transparent 60%), linear-gradient(160deg, #08452F, #06281D 70%);
}
.insta__slab::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r-frame); pointer-events: none; background: radial-gradient(520px circle at var(--mx, 30%) var(--my, 40%), rgba(126, 211, 172, .14), transparent 60%); }
.insta__slab > .grain { z-index: -1; border-radius: var(--r-frame); opacity: .07; }
.insta__stage { position: relative; align-self: stretch; display: grid; place-items: center; perspective: 1400px; }
.phone {
  position: relative; display: block; width: 280px; height: 580px; margin: -110px 0 -90px; padding: 9px;
  border-radius: 48px; background: linear-gradient(145deg, #2A3631, #0B1310 45%, #1B2622);
  box-shadow: inset 0 0 0 1px rgba(191, 202, 232, .45), 0 60px 100px -40px rgba(0, 0, 0, .6), 0 30px 60px -30px rgba(0, 0, 0, .5);
  transform-style: preserve-3d; will-change: transform;
}
.phone__screen { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 39px; background: #0B1310; }
.phone__reel { position: absolute; inset: 0; display: flex; flex-direction: column; will-change: transform; }
/* cada post aparece inteiro (4:5 ou 9:16) sobre um fundo desfocado da própria imagem, como no Reels */
.reel { position: relative; flex: none; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; background: #0B1310; }
.reel__fundo { position: absolute; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; filter: blur(18px) saturate(1.1) brightness(.72); }
.reel__foto { position: relative; width: 100%; height: 100%; object-fit: contain; }
.phone__bar {
  position: absolute; left: 10px; right: 10px; top: 46px; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: 12.5px; font-weight: 700; color: #111;
}
.phone__bar img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--green), 0 0 0 4.5px var(--lav); }
.phone__island { position: absolute; top: 19px; left: 50%; z-index: 3; width: 84px; height: 24px; border-radius: 20px; background: #05090A; translate: -50% 0; }
.phone__sheen { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .16) 45%, transparent 60%) var(--sx, 60%) 0 / 250% 100%; }
.phone__heart { position: absolute; left: 50%; top: 50%; z-index: 4; width: 56px; height: 56px; margin: -28px; color: #fff; opacity: 0; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.post { position: absolute; z-index: 2; width: 150px; perspective: 900px; }
.post--1 { top: -70px; right: 2%; rotate: 7deg; }
.post--2 { bottom: 24%; left: -2%; rotate: -6deg; }
.post__in { position: relative; padding: 6px; border-radius: var(--r-md); }
.post__in img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); }
.insta__txt { position: relative; padding-block: 56px; color: #fff; }
.insta__txt h2 { margin-bottom: 16px; color: #fff; }
.insta__txt p { max-width: 42ch; margin-bottom: 28px; color: rgba(255, 255, 255, .74); }

/* ---------- 10. FAQ ---------- */
.faq { background: var(--paper); }
.faq__in { max-width: calc(760px + var(--gut) * 2); }
.faq h2 { margin-bottom: var(--head-gap); text-align: center; }
.faq__sigla { color: var(--green); font-weight: 400; }
.faq__item { position: relative; border-radius: var(--r-md); transition: background-color .45s, box-shadow .5s var(--ease), --px .6s var(--ease); }
.faq__item::after, .faq__item::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; transform-origin: left; transition: opacity .4s, transform .8s var(--ease); }
.faq__item::after { background: var(--line); }
.faq__item::before { z-index: 1; background: var(--green); transform: scaleX(0); }
@media (hover: hover) { .faq__item:hover::before { transform: scaleX(1); } }
.faq__item.is-open { --px: 28px; background: #fff; box-shadow: inset 0 0 0 1px rgba(191, 202, 232, .8), var(--sh-rest); }
.faq__item.is-open::after, .faq__item.is-open::before, .faq__item:has(+ .faq__item.is-open)::after, .faq__item:has(+ .faq__item.is-open)::before { opacity: 0; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 32px; width: 100%; padding: 24px var(--px, 0px); text-align: left; }
.faq__qt { font-family: var(--display); font-stretch: 92%; font-size: clamp(18px, 1.4vw, 21px); font-weight: 560; line-height: 1.3; color: var(--ink); transition: color .4s, transform .5s var(--ease); }
@media (hover: hover) { .faq__q:hover .faq__qt { transform: translateX(4px); } }
.faq__item.is-open .faq__qt { color: var(--green); }
@media (hover: hover) { .faq__item:hover .faq__qt { color: var(--green); } }
.faq__ic { position: relative; width: 16px; height: 16px; flex: none; color: var(--ink); transition: transform .6s var(--ease), color .4s; }
@media (hover: hover) { .faq__item:hover .faq__ic { color: var(--green); } }
.faq__ic i { position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px; margin-top: -.75px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease); }
.faq__ic i:last-child { transform: rotate(90deg); }
.faq__item.is-open .faq__ic { transform: rotate(180deg); color: var(--green); }
.faq__item.is-open .faq__ic i:last-child { transform: rotate(90deg) scaleX(0); }
.faq__a { height: 0; overflow: hidden; }
.faq__a-in { max-width: 60ch; padding: 0 var(--px, 0px) 24px; color: var(--text); }
.faq__wa {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(11, 120, 80, .08); color: var(--green); font-weight: 600; transition: background-color .3s;
}
.faq__wa[hidden] { display: none; }
@media (hover: hover) { .faq__wa:hover { background: rgba(11, 120, 80, .14); } }
.faq__wa svg { width: 20px; height: 20px; }

/* ---------- 11. Locais ---------- */
.locais__stage {
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(600px, calc(100svh - var(--hdr) - 48px), 740px);
  border-radius: var(--r-frame); background: #E6ECE8; box-shadow: var(--sh-rest);
}
.locais__map { position: absolute; inset: 0; }
.locais__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.25) hue-rotate(100deg) saturate(1.1); }
.locais__panel {
  position: absolute; top: 16px; left: 16px; bottom: 16px; z-index: 2;
  width: clamp(360px, 36%, 440px); display: flex; flex-direction: column;
  padding: 28px 12px 12px; border-radius: var(--r-tilt);
}
.locais__panel h2 { padding: 0 16px 18px; font-size: clamp(26px, 1.2vw + 18px, 36px); }
.locais__list { position: relative; flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; display: flex; flex-direction: column; gap: 4px; }
.locais__list::-webkit-scrollbar { display: none; }
.locais__hl { position: absolute; left: 0; right: 0; top: 0; height: 0; z-index: 0; border-radius: 14px; pointer-events: none; background: rgba(255, 255, 255, .92); box-shadow: inset 0 0 0 1px #fff, 0 10px 24px -16px rgba(6, 40, 29, .35); }
.local { position: relative; z-index: 1; padding: 16px; border-radius: 14px; cursor: pointer; }
.local__head { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; }
.local__dot { flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: rgba(11, 120, 80, .22); transition: background-color .4s, box-shadow .4s; }
.local.is-active .local__dot { background: var(--green); box-shadow: 0 0 0 4px rgba(191, 202, 232, .75); }
.local__name { font-size: 16.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.local__city { font-weight: 400; color: var(--muted); }
.local__addr { display: inline; margin-left: 20px; font-size: 13.5px; line-height: 1.5; color: var(--muted); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
@media (hover: hover) { .local__addr:hover { color: var(--ink); background-size: 100% 1px; } }
.local__addr svg { display: inline-block; width: 13px; height: 13px; margin-left: 4px; vertical-align: -1px; transition: transform .4s var(--ease); }
@media (hover: hover) { .local__addr:hover svg { transform: rotate(45deg); } }
.local > .local__addr { display: block; width: fit-content; margin: 6px 0 0 20px; }
.local__info { margin: 8px 0 0 20px; font-size: 13.5px; font-weight: 600; color: var(--green-700); }
.local__tel { margin: 6px 0 0 20px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.local__tel a { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
@media (hover: hover) { .local__tel a:hover { color: var(--green); background-size: 100% 1px; } }
.local__btn { margin: 12px 0 0 20px; }
@media (min-width: 961px) {
  /* só o local ativo mostra o botão; os outros recolhem por inteiro */
  .local > .local__btn {
    display: flex; width: fit-content; max-height: 44px;
    transition: max-height .5s var(--ease), margin .5s var(--ease), opacity .4s, visibility 0s, color .45s, background .5s;
  }
  .local:not(.is-active) > .local__btn { max-height: 0; margin-top: 0; opacity: 0; visibility: hidden; transition-delay: 0s, 0s, 0s, .5s, 0s, 0s; }
  .locais__list { -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent); padding-bottom: 28px; }
}
.pin { position: relative; width: 34px; height: 44px; cursor: pointer; }
.pin svg { width: 34px; height: 44px; filter: drop-shadow(0 8px 12px rgba(6, 40, 29, .35)); }
.pin__ring { position: absolute; left: 50%; top: 15px; width: 12px; height: 12px; margin: -6px; border-radius: 50%; }
.pin.is-pulse .pin__ring { animation: pinPulse 1.4s 2; }
@keyframes pinPulse { 0% { box-shadow: 0 0 0 0 rgba(191, 202, 232, .9); } 100% { box-shadow: 0 0 0 18px rgba(191, 202, 232, 0); } }
.pin__tag {
  position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 0; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink);
}
.maplibregl-ctrl-attrib { font-family: var(--body); font-size: 11px; }

/* ---------- 12. Fechamento (cortina) ---------- */
main {
  position: relative; z-index: 2; background: var(--paper); overflow: clip;
  border-radius: 0 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px);
  box-shadow: 0 40px 80px -30px rgba(4, 28, 20, .55);
}
.fim { position: sticky; bottom: 0; z-index: 1; overflow: hidden; isolation: isolate; background: var(--deep); color: #fff; }
.fim.is-solto { position: relative; }
.fim__aura { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.fim__aura span { position: absolute; border-radius: 50%; }
.fim__aura span:first-child { width: 760px; height: 760px; left: 8%; top: -40%; background: radial-gradient(closest-side, rgba(11, 120, 80, .5), transparent); }
.fim__aura span:last-child { width: 620px; height: 620px; right: 4%; bottom: -30%; background: radial-gradient(closest-side, rgba(8, 69, 47, .8), transparent); }
.fim > .grain { z-index: -1; opacity: .07; }
.fim__in { padding-top: clamp(72px, 8vw, 112px); }
.fim__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.fim__frase { grid-column: 1 / span 7; max-width: 18ch; font-family: var(--display); font-stretch: 88%; font-size: var(--fs-h2); font-weight: 500; line-height: 1.06; letter-spacing: -.024em; color: #fff; text-wrap: balance; }
.fim__top > .btn { grid-column: 9 / span 4; justify-self: end; }
.fim__logo { padding-top: clamp(48px, 6vw, 88px); }
.fim__svg { display: block; width: 100%; height: auto; overflow: visible; }
.fim__svg .fim__base { fill: #0B7850; fill-opacity: .55; stroke: rgba(255, 255, 255, .18); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.fim__dot { transform-box: fill-box; transform-origin: center; }
.fim__rodape { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: clamp(28px, 4vw, 48px); padding-block: 24px 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.fim__cred { display: flex; flex-wrap: wrap; gap: 4px 10px; font-variant-numeric: tabular-nums; }
.fim__cred span { white-space: nowrap; }
.fim__cred .sep { opacity: .3; }
.fim__ig { position: relative; display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); transition: color .3s; }
.fim__ig::before { content: ""; position: absolute; inset: -11px -6px; }
.fim__ig svg { width: 18px; height: 18px; color: var(--lav); transition: transform .4s var(--ease); }
.fim__ig span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
@media (hover: hover) { .fim__ig:hover { color: #fff; } }
@media (hover: hover) { .fim__ig:hover svg { transform: scale(1.1); } }
@media (hover: hover) { .fim__ig:hover span { background-size: 100% 1px; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  display: flex; align-items: center; height: 56px; border-radius: 999px; color: #fff;
  background: linear-gradient(180deg, #129163, #0B7850 55%, #096A47);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 18px 40px -16px rgba(6, 40, 29, .6);
  transform: translateY(260%); transition: background .5s, box-shadow .5s;
}
.wa-float.on-dark { background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), 0 18px 40px -16px rgba(0, 0, 0, .5); }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14.5px; font-weight: 600; padding-left: 0; transition: max-width .6s var(--ease), padding .6s var(--ease); }
@media (hover: hover) { .wa-float:hover .wa-float__label { max-width: 220px; padding-left: 22px; } }
.wa-float.is-press .wa-float__label { max-width: 220px; padding-left: 22px; }
.wa-float__ic { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; }
.wa-float__ic::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lav); opacity: 0; }
.wa-float.is-on .wa-float__ic::before { animation: onda 2s var(--ease) 3; }
.wa-float__ic svg { width: 26px; height: 26px; }
@keyframes onda { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c" "d e" "f g"; }
  .depo__stage { display: flex; flex-direction: column; gap: 20px; }
  .depo__panel { order: -1; width: 100%; padding: 28px 22px; }
  .depo__wall { display: flex; flex-direction: column; height: auto; gap: 12px; margin-inline: calc(var(--gut) * -1); padding-bottom: 72px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .depo__col:nth-child(3) { display: none; }
  .depo__track { flex-direction: row; width: max-content; }
  .review { width: min(78vw, 320px); padding: 0 12px 0 0; }
  .depo__pause { bottom: 12px; right: 0; }
  .tile--a { min-height: 320px; }
  .sobre__form ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sobre__form li:nth-child(3n) { border-right: 1px solid rgba(255, 255, 255, .09); }
  .sobre__form li:nth-child(2n) { border-right: 0; }
  .sobre__form li:nth-child(n+4) { border-bottom: 1px solid rgba(255, 255, 255, .09); }
  .sobre__form li:nth-child(n+5) { border-bottom: 0; }
}
@media (max-width: 960px) {
  :root { --hdr: 64px; }
  .hdr.is-compact { height: 56px; }
  .hdr__in { grid-template-columns: auto 1fr; }
  .hdr__nav { display: none; }
  .hdr__burger { display: block; }
  .hero__title { grid-column: 1 / -1; }
  .hero__aside { grid-column: 1 / -1; justify-self: stretch; width: 100%; }
  .hero__content { row-gap: 24px; }
  .pilares__title, .pilares__list { grid-column: 1 / -1; }
  .pilares__title { max-width: 16ch; margin-bottom: 8px; }
  .sobre__panel { grid-column: 1 / -1; }
  .quando__in { grid-template-columns: 1fr; gap: 28px; }
  .quando__aside { display: contents; }
  .quando__intro { order: 1; }
  .quando__main { order: 2; }
  .quando__acao { order: 3; }
  .servicos__head > div, .servicos__head > .btn { grid-column: 1 / -1; justify-self: start; }
  .porque__col { grid-column: 1 / -1; }
  .porque__media { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 52%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 52%, transparent 100%); inset: 0 0 auto 0; height: min(640px, 150vw); }
  .porque__media img { object-position: 0% 0%; }
  /* o título cai sobre o jaleco branco: escurece a foto do peito para baixo */
  .porque__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 26%, rgba(3, 22, 15, .8) 48%, rgba(3, 22, 15, .96) 60%); }
  .porque h2 { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
  .porque__in { padding-top: 32vh; }
  .insta { padding-top: var(--sec); }
  .insta__slab { grid-template-columns: 1fr; padding: 40px 24px 0; clip-path: inset(0 round 24px); }
  .insta__slab::before, .insta__slab::after, .insta__slab > .grain { border-radius: 24px; }
  .insta__txt { order: -1; padding-block: 0; }
  .insta__stage { min-height: 420px; place-items: start center; padding-top: 12px; }
  .phone { width: 236px; height: 482px; margin: 0 0 -120px; border-radius: 42px; }
  .phone__screen { border-radius: 34px; }
  .post { width: 104px; }
  .post--1 { top: 40px; right: 0; }
  .post--2 { bottom: 60px; left: 0; }
  /* sem trilho sobre o mapa: título, mapa e, embaixo, os locais em cartões empilhados; tocar num cartão leva o mapa até ele */
  .locais__stage { display: flex; flex-direction: column; gap: 14px; height: auto; overflow: visible; isolation: auto; border-radius: 0; background: none; box-shadow: none; }
  .locais__map { position: relative; inset: auto; order: 2; height: min(56svh, 440px); overflow: hidden; isolation: isolate; border-radius: 22px; background: #E6ECE8; box-shadow: var(--sh-rest); }
  .locais__panel { display: contents; }
  .locais__panel::after { display: none; }
  .locais__panel h2 { order: 1; padding: 0; font-size: clamp(26px, 7vw, 32px); }
  .locais__list { order: 3; flex: none; overflow: visible; gap: 10px; }
  .locais__hl { display: none; }
  .local {
    min-width: 0; padding: 16px 18px; border-radius: 18px; background: #fff;
    box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .5s var(--ease);
  }
  .local.is-active { box-shadow: inset 0 0 0 1.5px rgba(191, 202, 232, 1), var(--sh-rest); }
  .local__head { min-height: 28px; }
  /* só o local ativo abre endereço, informação e botão */
  .local > :not(.local__head) { max-height: 140px; overflow: hidden; transition: max-height .55s var(--ease), margin .55s var(--ease), opacity .4s, visibility 0s; }
  .local:not(.is-active) > :not(.local__head) { max-height: 0; margin-top: 0; opacity: 0; visibility: hidden; transition-delay: 0s, 0s, 0s, .55s; }
  /* bloco (não inline-flex): recolhido, um botão inline ainda deixaria a altura de uma linha no cartão */
  .local > .local__btn { display: flex; width: fit-content; margin-left: 20px; }
  .pin__tag { white-space: normal; width: max-content; max-width: min(280px, calc(100vw - 72px)); text-align: center; text-wrap: balance; line-height: 1.35; border-radius: 14px; }
  .fim__frase, .fim__top > .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .hero { padding: 8px; }
  /* em celular alto a tela inteira fica alta demais: limita a 760px */
  .hero__frame { height: min(calc(100svh - 16px), 760px); min-height: 600px; border-radius: 22px; }
  .hero__img { object-position: 48% 15%; }
  /* no celular o texto ocupa a metade de baixo: gradiente bem mais escuro por trás dele */
  .hero__scrim {
    background:
      linear-gradient(to top, rgba(4, 12, 9, .95) 0, rgba(4, 12, 9, .86) 38%, rgba(4, 12, 9, .5) 58%, rgba(4, 12, 9, 0) 76%),
      linear-gradient(to bottom, rgba(4, 12, 9, .45), transparent 120px);
  }
  .hero__h { font-size: clamp(30px, 8.4vw, 36px); }
  .hero__aside { gap: 18px; padding-left: 18px; }
  .hero__aside .btn { justify-self: stretch; justify-content: space-between; }
  .hero__creds { gap: 8px; font-size: 12px; }
  .pilares { border-radius: 22px 22px 0 0; }
  .pilar__in { grid-template-columns: 1fr; gap: 10px; padding: 22px 18px; }
  .pilar__rule { margin-inline: 18px; }
  .sobre__in { padding-top: 50svh; }
  /* rosto no meio da tela em qualquer celular: ele fica a 24,25% da largura da foto (2400x1340), que ocupa 105% da altura do palco; 0,2425 x 1,05 x 1,791 x 100lvh = 45,6lvh */
  .sobre__stage img { object-position: min(calc(50vw - 45.6lvh), 0px) 0; transform-origin: 50% 28%; }
  .sobre__panel { padding: 22px 20px; border-radius: 22px; }
  .sobre__form ul { grid-template-columns: 1fr; }
  .sobre__form li { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 18px 14px 14px; border-right: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .09) !important; }
  .sobre__form li:last-child { border-bottom: 0 !important; }
  .inst { width: 42px; height: 42px; padding: 6px; border-radius: 11px; }
  .sobre__cred { margin-top: 32px; }
  .quando__grid { grid-template-columns: 1fr; gap: 10px; padding-bottom: 0; }
  .sinal:nth-child(even) { top: 0; }
  .sinal__card { grid-template-columns: 56px 1fr; min-height: 80px; padding: 12px 16px 12px 12px; }
  .sinal__ic { width: 56px; height: 56px; }
  .sinal__ic svg { width: 30px; height: 30px; }
  .sinal p { font-size: 16px; }
  /* no celular a legenda não cobre a foto: foto em cima, texto embaixo no verde do próprio card */
  .stack__card { top: calc(var(--hdr) + 12px + var(--i) * 10px); height: auto; }
  /* altura mínima comum: com alturas diferentes, um card mais alto que o seguinte se soltava de uma vez no fim da pilha */
  .stack__inner { display: flex; flex-direction: column; height: auto; min-height: calc(clamp(220px, 34svh, 300px) + 236px); border-radius: var(--r-tilt); }
  .stack__fig { position: relative; inset: auto; flex: none; height: clamp(220px, 34svh, 300px); }
  .stack__fig::before { display: none; }
  .stack__txt, .stack__card:nth-child(even) .stack__txt { position: relative; inset: auto; width: auto; padding: 20px 20px 24px; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .stack__txt::after { display: none; }
  .stack__txt { flex: 1; }
  .stack__txt.glass--dark { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .stack__txt h3 { font-size: 24px; }
  .faq__q { min-height: 64px; padding-block: 20px; gap: 20px; }
  .faq__qt { font-size: 18px; }
  /* respiro fixo no celular: ao abrir só a altura anima (o padding animando junto travava a rolagem) */
  .faq__item, .faq__item.is-open { --px: 18px; }
}
@media (max-width: 640px) {
  .hdr__cta { display: none; }
  .hdr__logo svg { height: 21px; }
  /* sem trilho: o palco em cima e os 6 temas como abas compactas em 2 colunas, todos à vista (o texto do tema aparece no palco) */
  .bento { gap: 10px; grid-auto-rows: auto; }
  .tile--a { min-height: 340px; }
  .tile:not(.tile--a) .tile__in { min-height: 78px; justify-content: center; gap: 0; padding: 14px 36px 14px 16px; }
  .tile:not(.tile--a) .tile__in h3 { max-width: none; font-size: 15.5px; line-height: 1.25; }
  .tile:not(.tile--a) .tile__in p { display: none; }
  .tile:not(.tile--a) .tile__in.is-ativo h3 { color: var(--green); }
  .tile__seta { top: 50%; right: 12px; margin-top: -9px; }
  .insta__txt { padding-right: 56px; }
  .fim__rodape { flex-direction: column; padding-right: 72px; }
  .fim__top > .btn { justify-self: stretch; justify-content: space-between; }
  .wa-float { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Safari antigo ---------- */
/* Safari 15 não entende overflow: clip: corta as seções com clip-path (não quebra os sticky, como overflow: hidden quebraria)
   e as máscaras do SplitText, que vêm com overflow: clip inline. Chrome e Safari 16+ ignoram o bloco. */
@supports not (overflow: clip) {
  html { overflow-x: hidden; }
  .sobre, .quando, .condicoes, .porque, .insta { clip-path: inset(0); }
  .locais { border-radius: 0 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px); }
  [data-split] > div, .hero__h > div, .nota__num > div { clip-path: inset(0); }
}
/* WebKit antes do 16.4 não corta, nos cantos arredondados, filhos animados em camada própria: uma máscara opaca força o recorte.
   Só vale no Safari (-apple-system-body) sem a unidade lh (anterior ao 16.4). */
@supports (font: -apple-system-body) and (not (width: 1lh)) {
  .hero__frame, .phone__screen, .tile__foto, .btn__icon { -webkit-mask-image: linear-gradient(#000 0 0); }
}