/* ==========================================================================
   Maria Júlia do Egito · Psicóloga — landing page
   Identidade: neutros quentes, Chau Philomene One (títulos) + Quicksand (texto)
   ========================================================================== */

@font-face {
  font-family: "Chau Philomene One";
  src: url("../fonts/chau-philomene-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #EFE9E4;
  --bg-soft: #F7F3EF;
  --ink: #5E5343;
  --ink-deep: #43392C;
  --muted: #746B5E;
  --line: #D5CFC8;
  --nude: #C9BBB3;
  --clay: #B1907E;
  --amber: #C8711A;
  --dark: #2F2017;
  --dark-2: #3B2A1F;
  --on-dark: #EFE9E4;
  --on-dark-muted: #C9BBB3;

  --display: "Chau Philomene One", "Arial Narrow", Impact, sans-serif;
  --body: "Quicksand", "Trebuchet MS", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;
  --radius: 28px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 clamp(1rem, .96rem + .2vw, 1.0625rem)/1.7 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
strong, b { font-weight: 700; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 6px; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: fixed; left: 16px; top: 12px; transform: translateY(-300%); z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: transform .2s; }
.skip:focus { transform: none; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero__eyebrow::before { display: none; }
.dot { --cor-bolinha: 50 205 50; /* RGB de #22c55e */ width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--cor-bolinha)); box-shadow: 0 0 0 0 rgb(var(--cor-bolinha) / 50%); animation: pulse 2.4s infinite; }

.title {
  font: 400 clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem)/1.14 var(--display);
  text-transform: uppercase; letter-spacing: .01em; color: var(--ink); margin-top: 14px; text-wrap: balance;
}
.title--xl { font-size: clamp(2.8rem, 1.6rem + 6vw, 5.6rem); }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); line-height: 1.65; margin-top: 20px; max-width: 56ch; text-wrap: pretty; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--bg); --btn-fill: var(--dark);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 .95rem/1 var(--body); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--btn-fill);
  transform: translateY(102%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:active { transform: scale(.97); }
.btn .i { transition: transform .45s var(--ease); }
.btn:hover .i { transform: translateX(5px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-fill: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--bg); }
.btn--light { --btn-bg: var(--bg); --btn-fg: var(--dark); --btn-fill: var(--nude); border-color: var(--bg); }
.btn--whatsapp {
  --btn-bg: #25d366;
  --btn-fg: #10271b;
  --btn-fill: #20bd5c;
  border-color: var(--btn-bg);
  padding-inline: clamp(12px, 4vw, 28px);
  box-shadow: 0 0 18px rgba(37, 211, 102, .42);
}
.btn--whatsapp:hover .i:first-child { transform: none; }
.btn--whatsapp::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 35%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  transform: translateX(-160%) skewX(-20deg);
}
@media (prefers-reduced-motion: no-preference) {
  .btn--whatsapp {
    animation: whatsapp-halo 3s ease-out infinite;
  }
  .btn--whatsapp::after {
    animation: whatsapp-reflexo 4.8s ease-in-out infinite;
  }
}
.link-limpo { text-decoration: none;}

/* ---------- Barra de progresso ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--clay), var(--amber)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.header.is-stuck { background: rgba(239, 233, 228, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); height: 66px; }
.header.is-hidden { transform: translateY(-100%); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; position: relative; z-index: 2; }
.brand__mark {
  display: block; width: 30px; aspect-ratio: 360 / 517; background: currentColor;
  -webkit-mask: url("../img/monograma-mask.png") center / contain no-repeat; mask: url("../img/monograma-mask.png") center / contain no-repeat;
  transition: transform .6s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: grid; line-height: 1.15; }
.brand__text strong { font-size: .9rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.brand__text small { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav ul a { position: relative; display: block; padding: 8px 0; font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease); }
.nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__cta { min-height: 44px; padding: 0 22px; font-size: .88rem; }

.burger { display: none; position: relative; z-index: 2; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - 72px); display: flex; align-items: center; padding: calc(var(--header-h) + 28px) 0 72px; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(32px, 5vw, 80px); position: relative; }

.hero__copy { container-type: inline-size; }
.hero__title { font: 400 clamp(1.5rem, 8cqi, 3.5rem)/.98 var(--display); white-space: nowrap; text-transform: uppercase; letter-spacing: .005em; margin-top: 18px; }
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: block; }
.swash { font-style: normal; color: var(--clay); }

.hero__lead { margin-top: 24px; max-width: 46ch; font-size: clamp(.9375rem, .9rem + .2vw, 1rem); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 18px clamp(20px, 3vw, 40px); margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; align-items: center; gap: 12px; }
.hero__facts b { font: 400 2rem/1 var(--display); color: var(--ink-deep); }
.hero__facts span { font-size: .78rem; font-weight: 600; line-height: 1.35; color: var(--muted); }

.hero__visual { position: relative; justify-self: center; width: min(100%, 420px); }
.arch { position: relative; }
.arch__img { position: relative; aspect-ratio: 4 / 5.3; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--nude); }
.arch__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 85% center; }
.arch__line { position: absolute; inset: 0; border: 1.5px solid var(--ink); border-radius: 999px 999px var(--radius) var(--radius); transform: translate(16px, -16px); opacity: .55; }

.badge { position: absolute; left: -46px; bottom: 56px; width: 132px; height: 132px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); box-shadow: 0 18px 40px -18px rgba(47, 32, 23, .45); }
.badge svg { position: absolute; inset: 6px; width: auto; animation: spin 26s linear infinite; }
.badge text { font: 600 9.2px var(--body); letter-spacing: .19em; fill: var(--ink); }
.badge__mark { width: 30px; aspect-ratio: 360 / 517; background: var(--ink); -webkit-mask: url("../img/monograma-mask.png") center / contain no-repeat; mask: url("../img/monograma-mask.png") center / contain no-repeat; }

.chip { position: absolute; right: -52px; top: 7%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 18px; background: rgba(247, 243, 239, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -20px rgba(47, 32, 23, .5); font-size: .74rem; font-weight: 600; line-height: 1.35; color: var(--muted); animation: float 6s var(--ease-io) infinite; }
.chip b { display: block; font-size: .84rem; color: var(--ink-deep); }
.chip .i { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--ink); color: var(--bg); }

.orbit { position: absolute; border: 1px solid var(--line); border-radius: 999px; pointer-events: none; }
.orbit--a { width: clamp(280px, 38vw, 560px); aspect-ratio: 360 / 517; right: -8%; top: -12%; }
.orbit--b { width: clamp(160px, 20vw, 300px); aspect-ratio: 360 / 517; left: -6%; bottom: -16%; }
.orbit--c { width: clamp(260px, 34vw, 520px); aspect-ratio: 360 / 517; right: -10%; top: -20%; border-color: rgba(94, 83, 67, .22); }

.scrollcue { position: absolute; left: 50%; bottom: 20px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--ink); border-radius: 999px; opacity: .6; }
.scrollcue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--ink); animation: cue 2s var(--ease-io) infinite; }

/* ---------- Faixa animada ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; background: var(--bg-soft); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 400 clamp(1.1rem, .9rem + 1vw, 1.6rem)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.marquee i { width: 13px; aspect-ratio: 360 / 517; border: 1.5px solid var(--clay); border-radius: 999px; flex: none; }

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }

.frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--nude); transition: background-color .6s; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* Quem sou eu */
.about__in { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; max-width: 440px; }
.about__media .frame { aspect-ratio: 4 / 5.1; border-radius: var(--radius) var(--radius) 999px 999px; }
.about__media .frame img { object-position: 50% 30%; }
.about__media::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--ink); opacity: .45; border-radius: var(--radius) var(--radius) 999px 999px; transform: translate(-16px, 16px); }
.about__tag { position: absolute; right: -18px; top: 34px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.about__tag .brand__mark { width: 14px; }

.about__cards {
  container-type: inline-size;
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 8px;
  overflow-x: auto;
}
.experience-card {
  flex: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  width: max-content;
  padding: clamp(10px, 1vw, 14px) clamp(12px, 1.4vw, 20px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  box-shadow: 0 12px 28px -20px rgba(47, 32, 23, .4);
}
.experience-card__icon {
  display: grid;
  place-items: center;
  width: clamp(32px, 3.5vw, 40px);
  aspect-ratio: 1;
  border-radius: 30%;
  background: var(--bg);
  color: var(--ink);
}
.experience-card__icon .i { width: 18px; height: 18px; }
.experience-card__value {
  display: block;
  color: var(--ink-deep);
  font: 400 clamp(1.5rem, 1.25rem + 1vw, 2rem)/1 var(--display);
}
.experience-card__value--title {
  font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem);
  line-height: 1.15;
}
.experience-card__label {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .875rem;
  overflow-wrap: anywhere;
  font-weight: 600;
  line-height: 1.35;
}
.experience-card--international {
  row-gap: 3px;
}
.experience-card--international .experience-card__icon {
  grid-row: span 2;
}
.experience-card--international .experience-card__label {
  margin-top: 0;
  white-space: nowrap;
}
.experience-card__country svg {
  display: inline-block;
  width: auto;
  height: .85em;
  vertical-align: -.08em;
  border-radius: 2px;
}
@container (max-width: 360px) {
  .experience-card--international .experience-card__icon {
    grid-row: auto;
  }
  .experience-card--international .experience-card__label {
    grid-column: 1 / -1;
    font-size: .8125rem;
  }
}
.creds { margin-top: 36px; border-top: 1px solid var(--line); }
.creds li { display: flex; align-items: baseline; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding-left .5s var(--ease); }
.creds li:hover { padding-left: 10px; }
.creds__n { font: 400 1.05rem/1 var(--display); color: var(--clay); letter-spacing: .06em; }
.creds h3 { font: 700 1.05rem/1.3 var(--body); color: var(--ink-deep); }
.creds p { font-size: .95rem; color: var(--muted); }
.sign { margin-top: 30px; font-size: .9rem; font-weight: 600; line-height: 1.5; }
.sign span { color: var(--muted); letter-spacing: .08em; }

/* Psicoterapia */
.therapy { background: var(--bg-soft); }
.therapy__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.blob { max-width: 420px; justify-self: end; width: 100%; aspect-ratio: 5 / 4.4; overflow: hidden; background: var(--nude); border-radius: 62% 38% 46% 54% / 54% 44% 56% 46%; animation: morph 14s var(--ease-io) infinite alternate; }
.blob img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.card { position: relative; padding: 30px 28px 32px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; transition: border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease); }
.card:hover { transform: translateY(-8px); border-color: var(--ink); background: var(--ink); color: var(--bg); box-shadow: 0 30px 50px -30px rgba(47, 32, 23, .55); }
.card__n { position: absolute; right: 24px; top: 20px; font: 400 3.2rem/1 var(--display); color: var(--line); transition: color .5s var(--ease); }
.card:hover .card__n { color: rgba(239, 233, 228, .2); }
.card__i { width: 50px; height: 50px; padding: 12px; border: 1.5px solid currentColor; border-radius: 50%; }
.card h3 { font: 400 1.5rem/1.16 var(--display); text-transform: uppercase; letter-spacing: .02em; margin-top: 26px; }
.card p { margin-top: 10px; font-size: .97rem; line-height: 1.6; }

/* Como funciona */
.how { background: var(--dark); color: var(--on-dark); }
.how .title { color: var(--on-dark); }
.how .eyebrow, .how .lead { color: var(--on-dark-muted); }
.how__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.how__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.how__aside .frame { margin-top: 36px; max-width: 400px; aspect-ratio: 4 / 3.5; background: var(--dark-2); }

.steps { position: relative; padding-left: 68px; }
.steps::before, .steps__fill { content: ""; position: absolute; left: 22px; top: 24px; bottom: 24px; width: 1.5px; }
.steps::before { background: rgba(239, 233, 228, .16); }
.steps__fill { background: linear-gradient(var(--clay), var(--amber)); transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
.step { position: relative; padding: 4px 0 44px; }
.step:last-child { padding-bottom: 0; }
.step__dot { position: absolute; left: -68px; top: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(239, 233, 228, .3); background: var(--dark); font: 400 1.15rem/1 var(--display); color: var(--on-dark-muted); transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), transform .6s var(--ease); }
.step h3 { font: 400 clamp(1.4rem, 1.2rem + .8vw, 1.8rem)/1.16 var(--display); text-transform: uppercase; letter-spacing: .02em; padding-top: 8px; }
.step p { margin-top: 10px; color: var(--on-dark-muted); max-width: 50ch; }
.js .step { opacity: .35; transition: opacity .7s var(--ease), transform .7s var(--ease); transform: translateX(14px); }
.js .step.is-in { opacity: 1; transform: none; }
.step.is-in .step__dot, html:not(.js) .step__dot { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); transform: scale(1.06); }

/* Contato */
.contact { background: var(--nude); overflow: hidden; }
.contact .eyebrow, .contact .lead { color: var(--ink-deep); }
.contact .title { color: var(--dark); }
.contact__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.contact .btn { margin-top: 32px; }
.links { border-top: 1.5px solid rgba(47, 32, 23, .3); }
.links a { display: flex; align-items: center; gap: 18px; padding: 22px 6px; border-bottom: 1.5px solid rgba(47, 32, 23, .3); color: var(--dark); text-decoration: none; transition: padding .5s var(--ease), background-color .5s var(--ease); }
.links a:hover { padding-inline: 18px; background: rgba(239, 233, 228, .45); }
.links span { display: grid; min-width: 0; flex: 1; font-size: clamp(1rem, .9rem + .5vw, 1.2rem); font-weight: 700; overflow-wrap: anywhere; line-height: 1.3; }
.links small { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.links__go { transition: transform .5s var(--ease); }
.links a:hover .links__go { transform: translate(4px, -4px); }

/* Rodapé */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: 64px 0 28px; font-size: .88rem; }
.footer__in { display: grid; justify-items: center; text-align: center; gap: 28px; }
.footer__logo { width: min(320px, 78vw); aspect-ratio: 900 / 373; background: var(--on-dark); -webkit-mask: url("../img/logo-mask.png") center / contain no-repeat; mask: url("../img/logo-mask.png") center / contain no-repeat; }
.footer__care { max-width: 60ch; line-height: 1.6; }
.footer__care strong { color: var(--on-dark); }
.footer__base { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid rgba(239, 233, 228, .14); font-size: .8rem; }
.footer__base a { text-decoration: none; color: var(--on-dark); }
.footer__base a:hover { text-decoration: underline; }

/* WhatsApp flutuante */
.wa { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); box-shadow: 0 16px 34px -14px rgba(47, 32, 23, .7); transition: transform .6s var(--ease), opacity .4s, background-color .3s; }
.wa svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--ink); animation: ring 2.6s var(--ease) infinite; }
.wa:hover { background: var(--dark); transform: scale(1.08); }
.js .wa:not(.is-on) { opacity: 0; transform: translateY(24px) scale(.8); pointer-events: none; }

/* ==========================================================================
   Animações
   ========================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(14px); opacity: 0; } }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 10px rgb(var(--cor-bolinha) / 0%); } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes whatsapp-halo {
  0%, 100% {
    box-shadow: 0 0 18px rgba(37, 211, 102, .42), 0 0 0 0 rgba(37, 211, 102, 0);
  }
  12% {
    box-shadow: 0 0 22px rgba(37, 211, 102, .55), 0 0 0 2px rgba(37, 211, 102, .28);
  }
  70% {
    box-shadow: 0 0 18px rgba(37, 211, 102, .42), 0 0 0 12px rgba(37, 211, 102, 0);
  }
}
@keyframes whatsapp-reflexo {
  0%, 12% { transform: translateX(-160%) skewX(-20deg); }
  38%, 100% { transform: translateX(420%) skewX(-20deg); }
}
@keyframes morph {
  0% { border-radius: 62% 38% 46% 54% / 54% 44% 56% 46%; }
  50% { border-radius: 44% 56% 60% 40% / 46% 58% 42% 54%; }
  100% { border-radius: 54% 46% 38% 62% / 60% 40% 60% 40%; }
}

/* Revelação ao rolar (só com JS ativo) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease), clip-path 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal="zoom"] { transform: scale(.86); }
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"]:not(.is-in) { background: none; }
.js [data-reveal="clip"] img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: transform 1.6s var(--ease), clip-path 1.3s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in img { clip-path: inset(0); transform: scale(1.12); }
.js .blob img { transform: scale(1.12); }
/* efeitos de hover não herdam o atraso da entrada */
.js .card.is-in, .js .creds li.is-in { transition-delay: 0s; }

/* Entrada do hero */
.js .line > span { transform: translateY(115%); transition: transform 1.2s var(--ease); }
.js .line:nth-child(2) > span { transition-delay: .1s; }
.js .line:nth-child(3) > span { transition-delay: .2s; }
.js .js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__facts, .js .scrollcue { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero__lead { transition-delay: .45s; }
.js .hero__actions { transition-delay: .6s; }
.js .hero__facts { transition-delay: .75s; }
.js .scrollcue { transition-delay: 1.3s; }
.js .arch__img { clip-path: inset(100% 0 0 0 round 999px 999px var(--radius) var(--radius)); transition: clip-path 1.5s var(--ease) .2s; }
.js .arch__img img { transform: scale(1.06); transition: transform 2s var(--ease) .2s; }
.js .arch__line { opacity: 0; transform: none; transition: opacity 1s var(--ease) 1s, transform 1.2s var(--ease) 1s; }
.js .badge { opacity: 0; transform: scale(.5) rotate(-40deg); transition: opacity .9s var(--ease) 1.1s, transform 1.1s var(--ease) 1.1s; }
.js .chip { opacity: 0; transition: opacity .9s var(--ease) 1.3s; }
.js .header { transform: translateY(-100%); }

.js.is-loaded .line > span { transform: none; }
.js.is-loaded .js.is-loaded .hero__eyebrow, .js.is-loaded .hero__lead, .js.is-loaded .hero__actions, .js.is-loaded .hero__facts { opacity: 1; transform: none; }
.js.is-loaded .scrollcue { opacity: .6; transform: none; }
.js.is-loaded .arch__img { clip-path: inset(0 0 0 0 round 999px 999px var(--radius) var(--radius)); }
.js.is-loaded .arch__img img { transform: none; }
.js.is-loaded .arch__line { opacity: .55; transform: translate(16px, -16px); }
.js.is-loaded .badge { opacity: 1; transform: none; }
.js.is-loaded .chip { opacity: 1; }
.js.is-loaded .header:not(.is-hidden) { transform: none; }

/* ==========================================================================
   Responsivo
   ========================================================================== */

/* Tablet e abaixo: menu em tela cheia */
@media (max-width: 1023px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; height: 100dvh; flex-direction: column; justify-content: center; align-items: flex-start; gap: 36px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px; background: var(--bg);
    clip-path: circle(0 at calc(100% - var(--gutter) - 24px) 38px); visibility: hidden;
    transition: clip-path .8s var(--ease), visibility 0s .8s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 24px) 38px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
  .nav ul { flex-direction: column; gap: 6px; width: 100%; }
  .nav ul a { font: 400 clamp(2.2rem, 9vw, 3.4rem)/1.15 var(--display); text-transform: uppercase; padding: 6px 0; }
  .nav ul a::after { display: none; }
  .nav ul a, .nav__cta { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .nav.is-open ul a, .nav.is-open .nav__cta { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i) * 70ms); }
  .nav__cta { min-height: 54px; padding: 0 28px; font-size: .95rem; }
  .header.is-open { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none !important; }
  body.is-locked { overflow: hidden; }

  .how__aside { position: static; }
}

/* Tablet */
@media (max-width: 1023px) and (min-width: 640px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 36px; }
  .hero__facts li:last-child { display: none; }
  .badge { left: -30px; width: 112px; height: 112px; bottom: 40px; }
  .chip { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: start; }
  .card__i { grid-row: span 2; }
  .card h3 { margin-top: 2px; }
  .how__in { grid-template-columns: 1fr; }
  .how__aside .frame { max-width: none; aspect-ratio: 16 / 8; }
  .contact__in { grid-template-columns: 1fr; align-items: start; }
}

/* Celular */
@media (max-width: 639px) {
  :root { --header-h: 68px; --radius: 24px; }
  .brand__text small { display: none; }
  .brand__text strong { font-size: .8rem; }

  .hero { padding-bottom: 56px; min-height: 0; }
  .hero__in, .about__in, .therapy__top, .how__in, .contact__in { grid-template-columns: 1fr; }
  .hero__visual { width: min(78vw, 340px); margin-top: 20px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { margin-top: 32px; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px; }
  .hero__facts li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero__facts b { font-size: 1.7rem; }
  .badge { left: -22px; bottom: 34px; width: 104px; height: 104px; }
  .badge__mark { width: 24px; }
  .chip { right: -14px; top: 4%; padding: 9px 14px 9px 10px; }
  .chip span { font-size: 0; }
  .chip b { font-size: .78rem; }
  .scrollcue { display: none; }
  .orbit--a { top: auto; bottom: 2%; right: -34%; width: 300px; }

  .about__media { margin-inline: auto; width: min(100%, 360px); }
  .about__media::before { transform: translate(-10px, 10px); }
  .about__tag { right: -6px; }
  .blob { justify-self: center; max-width: 340px; }
  .cards { grid-template-columns: 1fr; }
  .how__aside .frame { max-width: none; aspect-ratio: 4 / 3; }
  .steps { padding-left: 58px; }
  .steps::before, .steps__fill { left: 19px; }
  .step__dot { left: -58px; width: 40px; height: 40px; }
  .step h3 { padding-top: 7px; }
  .contact .btn { width: 100%; }
  .footer__base { justify-content: center; text-align: center; }
  .wa { width: 54px; height: 54px; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .step { opacity: 1; transform: none; }
  .js [data-reveal="clip"] img, .js .blob img { transform: none; clip-path: none; }
}
