/* ==========================================================
   Michele Anadão, Psicóloga Clínica
   Linguagem: a do Instagram dela. Azul-petróleo e névoa,
   Zodiak leve com ênfase em
   negrito sublinhado, Ranade no apoio, seta longa e fina.
   ========================================================== */

@font-face {
  font-family: "Ranade";
  src: url("assets/fonts/Ranade-Variable.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ranade";
  src: url("assets/fonts/Ranade-VariableItalic.woff2") format("woff2");
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #1b3644;
  --ink-2: #24495b;
  --slate: #4c6971;
  --mist: #d9e0e8;
  --mist-2: #ccd5de;
  --paper: #f2f4f6;
  --white: #f9fafb;
  --brick: #a03b3b;
  --blush: #ead7d7;
  --ink-deep: #0c1b23;

  --text: rgba(27, 54, 68, 0.84);
  --text-soft: rgba(27, 54, 68, 0.64);
  --line: rgba(27, 54, 68, 0.16);
  --line-paper: rgba(242, 244, 246, 0.22);

  --serif: "Zodiak", "Iowan Old Style", Georgia, serif;
  --sans: "Ranade", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);

  --r-xl: 2rem;
  --r-lg: 1.5rem;
  --r-md: 1rem;

  --max: 1320px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(5.5rem, 11vw, 9.5rem);
  --header-h: 84px;

  --z-header: 20;
  --z-menu: 30;
  --z-float: 15;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* grão, como nas artes do Instagram */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.2 0 0 0 0 0.26 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 300; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
dl, dd { margin: 0; }
blockquote { margin: 0; }

::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }

.skip {
  position: fixed; top: 1rem; left: 1rem; z-index: 200;
  padding: .7rem 1.1rem; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  transform: translateY(-200%);
  transition: transform .4s var(--ease);
}
.skip:not(:focus) { clip-path: inset(50%); opacity: 0; }
.skip:focus { transform: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section) calc(var(--section) * 1.06); position: relative; }
.sticky { position: sticky; top: 7rem; }

/* ---------- tipografia ---------- */

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 1.4rem;
}
.h2 strong, .h3 strong { font-weight: 700; }

/* a ênfase do Instagram: negrito sublinhado */
.u {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .14em;
}

.lead { font-size: 1.22rem; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.muted { color: var(--text-soft); max-width: 46ch; text-wrap: pretty; }
.prose { display: grid; gap: 1.1rem; max-width: 60ch; text-wrap: pretty; }
.prose a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- poltrona do logo ---------- */

.chair {
  display: inline-block;
  width: 1em;
  aspect-ratio: 400 / 349;
  background: currentColor;
  -webkit-mask: url("assets/img/poltrona-ink.png") center / contain no-repeat;
          mask: url("assets/img/poltrona-ink.png") center / contain no-repeat;
  flex: none;
}
.chair-rule {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: min(520px, 72vw);
  margin: 0 auto 2.6rem;
  color: var(--ink);
  font-style: normal;
}
.chair-rule::before, .chair-rule::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .55; }
.chair-rule .chair { font-size: 2.2rem; }
.chair-rule--paper { color: var(--paper); }

/* ---------- seta longa (a do Instagram) ---------- */

.arrow {
  --aw: 1.5rem;
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--aw);
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  transition: width .5s var(--ease);
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: .42rem; height: .42rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translate(-1px, -50%) rotate(45deg);
}
.arrow--long { --aw: 3rem; }

/* ---------- botões ---------- */

.btn {
  --bg: var(--brick); --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.6rem 1rem 1.7rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.btn:hover { background: var(--ink); }
.btn:hover .arrow { width: calc(var(--aw) + .7rem); }
.btn:active { transform: scale(.98); }
.btn--paper { --bg: var(--brick); --fg: var(--paper); }
.btn--paper:hover { background: var(--paper); color: var(--ink); }
.btn--sm { padding: .7rem 1.15rem .7rem 1.25rem; font-size: .92rem; gap: .7rem; }
.btn--sm .arrow { --aw: 1.1rem; }
.btn--lg { padding: 1.15rem 1.9rem 1.15rem 2rem; font-size: 1.08rem; }

/* secundário: texto + seta longa, sem caixa */
.more {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  padding: calc(1rem - 1px) calc(1.6rem - 1px) calc(1rem - 1px) calc(1.7rem - 1px);
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.more:hover { background: var(--ink); color: var(--paper); }
.more .arrow { --aw: 1.6rem; }
.more:hover .arrow { width: calc(var(--aw) + 1rem); }

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  transition: transform .6s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.header__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  transition: height .4s var(--ease);
}
.header__brand img { width: 148px; height: auto; transition: width .4s var(--ease); }
.header__nav { display: flex; gap: 2rem; }
.header__nav a {
  position: relative;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  padding-block: .35rem;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.header__nav a:hover::after,
.header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__cta { justify-self: end; }

.header.is-scrolled {
  background: rgba(242, 244, 246, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-scrolled .header__inner { height: 68px; }
.header.is-scrolled .header__brand img { width: 130px; }
.header.is-hidden { transform: translateY(-100%); }

.header__menu {
  display: none;
  justify-self: end;
  align-items: center;
  gap: .7rem;
  padding: .55rem .2rem;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
}
.header__menu-lines { position: relative; width: 1.6rem; height: .7rem; }
.header__menu-lines span {
  position: absolute; left: 0; right: 0;
  height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.header__menu-lines span:first-child { top: 0; }
.header__menu-lines span:last-child { top: calc(100% - 1.5px); }
.header__menu[aria-expanded="true"] .header__menu-lines span:first-child { top: calc(50% - .75px); transform: rotate(45deg); }
.header__menu[aria-expanded="true"] .header__menu-lines span:last-child { top: calc(50% - .75px); transform: rotate(-45deg); }

/* menu (tablet e celular): abre em círculo a partir do botão */
body.menu-open .header { z-index: calc(var(--z-menu) + 1); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header__brand { position: relative; }
.header__brand img.header__logo-paper { position: absolute; left: 0; top: 0; opacity: 0; transition: width .4s var(--ease), opacity .4s var(--ease); }
.header__brand img:first-child { transition: width .4s var(--ease), opacity .4s var(--ease); }
body.menu-open .header__brand img:first-child { opacity: 0; }
body.menu-open .header__logo-paper { opacity: 1; }
body.menu-open .header__menu { color: var(--paper); }

.menu {
  position: fixed; inset: 0;
  z-index: var(--z-menu);
  display: flex; flex-direction: column;
  gap: 2rem;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  overflow-y: auto;
  background: var(--ink);
  color: var(--paper);
  clip-path: circle(0 at var(--mx, calc(100% - 3rem)) var(--my, 2.6rem));
  transition: clip-path .8s var(--ease);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: circle(150% at var(--mx, calc(100% - 3rem)) var(--my, 2.6rem)); visibility: visible; }
.menu__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(12rem, 28vw, 20rem);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  width: 100%; max-width: 64rem; margin-inline: auto;
}
.menu__links { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu__link {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(.9rem, 2.2vh, 1.4rem) 0;
  color: var(--paper);
  text-decoration: none;
  transition: opacity .45s var(--ease);
}
.menu__num { font-size: .74rem; font-weight: 500; letter-spacing: .2em; color: rgba(217, 224, 232, .5); }
.menu__label { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.menu__label-i {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  line-height: 1.05;
  white-space: nowrap;
  letter-spacing: -0.025em;
  translate: 0 110%;
  transition: translate .9s var(--ease), padding .6s var(--ease);
}
.menu.is-open .menu__label-i { translate: 0 0; transition-delay: calc(var(--k) * 60ms + .25s), 0s; }
.menu__num, .menu__link .arrow { opacity: 0; transition: opacity .6s var(--ease), width .5s var(--ease); }
.menu.is-open .menu__num { opacity: 1; transition-delay: calc(var(--k) * 60ms + .45s); }
.menu__link .arrow { --aw: 1.4rem; color: var(--mist); }
.menu__links:hover .menu__link:not(:hover), .menu__links:focus-within .menu__link:not(:focus-visible):not(:hover) { opacity: .4; }
.menu__link:hover .menu__label-i, .menu__link:focus-visible .menu__label-i { padding-left: .35em; }
.menu.is-open .menu__link:hover .arrow, .menu.is-open .menu__link:focus-visible .arrow { opacity: 1; width: calc(var(--aw) + 1rem); transition-delay: 0s; }
.menu__link:focus-visible { outline: none; }

.menu__visual {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-2);
  opacity: 0; scale: .92;
  transition: opacity .5s var(--ease), scale .7s var(--ease);
}
/* a foto só aparece enquanto um item está apontado (ou focado no teclado) */
.menu.is-open .menu__inner:has(.menu__link:hover, .menu__link:focus-visible) .menu__visual { opacity: 1; scale: 1; }
.menu__visual img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), scale 1.2s var(--ease); }
.menu__visual img.is-swapping { opacity: 0; scale: 1.06; }
.menu__caption { position: absolute; left: 1rem; bottom: 1rem; }
.menu__caption span {
  display: inline-block;
  padding: .55em 1.05em;
  border-radius: 999px;
  background: rgba(27, 54, 68, .7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--paper);
}

.menu__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem 2rem;
  width: 100%; max-width: 64rem; margin-inline: auto;
  opacity: 0; translate: 0 12px;
  transition: opacity .7s var(--ease), translate .7s var(--ease);
}
.menu.is-open .menu__foot { opacity: 1; translate: 0 0; transition-delay: .55s; }
.menu__where { flex: 1 1 14rem; font-size: .9rem; color: rgba(217, 224, 232, .65); }
.menu__social { display: flex; gap: .7rem; }
.menu__icon {
  display: grid; place-items: center;
  width: 3.2rem; height: 3.2rem;
  border: 1px solid rgba(217, 224, 232, .3);
  border-radius: 50%;
  color: var(--mist);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.menu__icon:hover, .menu__icon:focus-visible { background: var(--mist); border-color: var(--mist); color: var(--ink); }
@media (max-width: 700px) {
  .menu__inner { grid-template-columns: 1fr; align-items: start; }
  .menu__visual { display: none; }
  .menu__link { grid-template-columns: 2.2rem minmax(0, 1fr) auto; }
  .menu__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.1rem 1rem; padding-top: 1.4rem; border-top: 1px solid var(--line-paper); }
  .menu__foot .btn { grid-column: 1 / -1; justify-content: center; order: -1; }
  .menu__where { flex: none; font-size: .84rem; line-height: 1.5; }
  .menu__icon { width: 2.9rem; height: 2.9rem; }
}

/* ---------- animação de texto: palavras sobem de uma máscara ---------- */

.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .06em .22em 0;
  margin: 0 -.06em -.22em 0;
}
.split .w__i { display: inline-block; }
.js .split .w__i {
  translate: 0 108%;
  transition: translate .95s var(--ease);
  transition-delay: calc(var(--i, 0) * 35ms + var(--d0, 0s));
}
.js .split.is-in .w__i { translate: 0 0; }
.split .u { text-decoration: none; }
.split .u .w {
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - .2em) / 0 .06em no-repeat;
  transition: background-size .9s var(--ease) 1s;
}
.split .u .w:not(:last-child) { padding-right: .3em; margin-right: -.3em; }
.split.is-in .u .w, html:not(.js) .split .u .w { background-size: 100% .06em; }

/* texto que se acende conforme a rolagem */
.fw { opacity: .24; transition: opacity .5s var(--ease); }
.fw.on { opacity: 1; }

/* imagem que se abre */
.img-reveal { overflow: hidden; border-radius: var(--r-img, var(--r-xl)); }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; }
.js .img-reveal { clip-path: inset(10% 8% 10% 8% round var(--r-img, var(--r-xl))); transition: clip-path 1.1s var(--ease); }
.js .img-reveal img { transform: scale(1.18); transition: transform 1.9s var(--ease); }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0 round var(--r-img, var(--r-xl))); }
.js .img-reveal.is-in img { transform: scale(1.08); }
.img-reveal img[data-parallax-img], [data-parallax] img { position: relative; top: -8%; height: 116%; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: center;
  min-height: calc(min(100vh, 960px) - var(--header-h) - 4rem);
  min-height: calc(min(100dvh, 960px) - var(--header-h) - 4rem);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: min(3.6rem, 4.2vw);
  font-size: min(3.6rem, 9.1cqi);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.9rem;
}
.hero__copy { container-type: inline-size; min-width: 0; }
.hero__line { display: block; white-space: nowrap; }
.hero__line--bold { font-weight: 700; margin-bottom: .1em; }
.hero__lede {
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  line-height: 1.65;
  max-width: 40ch;
  color: var(--text-soft);
  margin-bottom: 2.4rem;
  text-wrap: pretty;
}
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.2rem; }

.hero__visual { position: relative; }
.hero__photo {
  position: relative;
  height: clamp(520px, 82vh, 860px);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--mist);
}
.hero__photo img { width: 100%; height: 116%; position: relative; top: -8%; object-fit: cover; object-position: 45% 40%; }

.hero__badge {
  position: absolute;
  left: 1.5rem; right: 1.5rem; bottom: 1.5rem;
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 1.4rem .85rem .9rem;
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  box-shadow: 0 18px 40px -24px rgba(27, 54, 68, .5);
}
.hero__badge small { display: block; font-weight: 400; color: var(--text-soft); font-size: .86rem; }
.hero__badge-icon {
  display: grid; place-items: center;
  width: 2.8rem; height: 2.8rem;
  border-radius: var(--r-md);
  background: var(--mist);
  font-size: 1.6rem;
}

.js .hero__photo { clip-path: inset(100% 0 0 0 round var(--r-img, var(--r-xl))); transition: clip-path 1.1s var(--ease) .05s; }
.js .hero__photo img { transform: scale(1.12); transition: transform 1.6s var(--ease) .05s; }
.js .hero__badge { opacity: 0; translate: 0 20px; transition: opacity .7s var(--ease) .55s, translate .7s var(--ease) .55s; }
.is-loaded .hero__badge { opacity: 1; translate: 0 0; }
.is-loaded .hero__photo { clip-path: inset(0 0 0 0 round var(--r-img, var(--r-xl))); }
.is-loaded .hero__photo img { transform: none; }

/* números */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
}
.stats__item { display: flex; flex-direction: column-reverse; gap: .3rem; padding: 1.8rem 1.5rem 0 0; }
.stats__item + .stats__item { padding-left: clamp(1rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
.stats dt { color: var(--text-soft); font-size: .98rem; }
.stats dd {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}

/* faixa */
.ribbon {
  overflow: hidden;
  background: var(--brick);
  color: var(--paper);
  padding-block: 1.25rem;
  margin: 2rem 0;
}
.ribbon__track {
  display: flex; align-items: center; gap: 2rem;
  width: max-content;
  animation: marquee 48s linear infinite;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  white-space: nowrap;
}
.ribbon__dot { flex: none; width: .4rem; height: .4rem; border-radius: 50%; background: var(--mist); opacity: .5; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sobre ---------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.about__photo { position: sticky; top: 6rem; }
.about__frame { aspect-ratio: 4 / 5.2; }
.about__frame img { object-position: 50% 30%; }
.about__photo figcaption {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
}
.about__photo figcaption span { display: block; font-family: var(--sans); font-size: .9rem; color: var(--text-soft); }
.about__copy { padding-top: clamp(0rem, 3vw, 2.5rem); }
.about__copy .prose { margin-bottom: 3rem; }

.cred { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; margin-bottom: 3rem; }
.cred__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; margin-bottom: .6rem; }
.cred li { padding: .8rem 0; border-top: 1px solid var(--line); color: var(--ink); font-size: .98rem; line-height: 1.45; }
.cred li span { display: block; color: var(--text-soft); font-size: .9rem; margin-top: .15rem; }

/* ---------- áreas: a rolagem acende cada tema ---------- */

.areas { position: relative; height: calc(100vh + var(--n) * 32vh); }
.areas__pin {
  position: sticky; top: 0;
  height: 100vh;
  display: grid; align-items: center;
  padding-top: 2rem;
}
.areas__stage { text-align: center; }
.areas__title { margin-bottom: clamp(3rem, 6vh, 4.75rem); }
.areas__cloud {
  max-width: 1100px;
  margin: 0 auto;
  line-height: 1.8;
}
.area { display: inline; white-space: nowrap; }
.area__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, min(3.1vw, 5vh), 2.7rem);
  letter-spacing: -0.02em;
  color: rgba(27, 54, 68, .22);
  text-decoration: underline transparent;
  text-decoration-thickness: .05em;
  text-underline-offset: .16em;
  transition: color .6s var(--ease), text-decoration-color .6s var(--ease);
}
.area.is-past .area__name { color: rgba(27, 54, 68, .5); }
.area.is-active .area__name { color: var(--ink); font-weight: 700; text-decoration-color: currentColor; }
.area__name { display: inline-grid; white-space: nowrap; }
.area__name::after { content: attr(data-name); font-weight: 700; height: 0; overflow: hidden; visibility: hidden; }
.area--more .area__name { font-style: italic; }
.area__desc { display: none; }
.areas__panel { max-width: 44rem; min-height: 7rem; margin: clamp(1.5rem, 4vh, 3rem) auto 0; }
.areas__bar { display: block; position: relative; height: 1px; background: var(--line); margin-bottom: 1.6rem; }
.areas__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.areas__text { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.areas__text.is-swapping { animation: swap .6s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }

/* sem fixação: lista com tudo à mostra (celular e movimento reduzido) */
.areas--list { height: auto; padding-block: var(--section); }
.areas--list .areas__pin { position: static; height: auto; display: block; padding: 0; }
.areas--list .areas__stage { text-align: left; }
.areas--list .areas__cloud { max-width: none; }
.areas--list .area { display: block; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.areas--list .area__name { color: var(--ink); font-size: clamp(1.5rem, 5.5vw, 2rem); text-decoration: none; }
.areas--list .area__desc { display: block; text-wrap: pretty; margin-top: .4rem; color: var(--text-soft); font-size: 1rem; line-height: 1.55; max-width: 60ch; }
.areas--list .areas__panel { display: none; }
.psi .img-reveal { --r-img: var(--r-lg); }

/* ---------- psicoterapia ---------- */

.psi {
  margin-inline: clamp(.5rem, 1.5vw, 1.5rem);
  padding-block: clamp(4rem, 9vw, 8rem);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: rgba(242, 244, 246, .74);
}
.psi__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.psi__photo { aspect-ratio: 4 / 5; }
.psi__photo img { object-position: 50% 40%; }
.psi__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--paper);
  text-wrap: balance;
  margin-bottom: 2rem;
}
.psi__title strong { font-weight: 700; }
.psi__body { display: grid; gap: 1.1rem; max-width: 50ch; margin-bottom: 2.4rem; font-size: 1.08rem; line-height: 1.7; text-wrap: pretty; }

/* ---------- como funciona: linha do tempo ---------- */

.how__head { text-align: center; max-width: 760px; margin: 0 auto clamp(3.5rem, 7vw, 6rem); }
.how__head .muted { margin-inline: auto; }
.tl { position: relative; display: grid; gap: clamp(4rem, 9vw, 8rem); }
.tl__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); transform: translateX(-50%); }
.tl__line i { position: absolute; inset: 0; background: var(--brick); transform-origin: top; transform: scaleY(var(--p, 0)); }
.tl__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(4rem, 12vw, 10rem);
  align-items: center;
}
.tl__item::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: linear-gradient(var(--line), var(--line)), var(--paper);
  transform: translate(-50%, -50%);
  transition: background-color .5s var(--ease), transform .5s var(--ease);
}
.tl__item.is-reached::before { background: var(--brick); transform: translate(-50%, -50%) scale(1.25); }
.tl__photo { width: min(100%, 400px); aspect-ratio: 4 / 5; justify-self: end; }
.tl__text { max-width: 30rem; }
.tl__item:nth-child(odd) .tl__photo { order: 2; justify-self: start; }
.tl__item:nth-child(odd) .tl__text { justify-self: end; }
.tl__step { font-weight: 600; color: var(--slate); margin-bottom: .5rem; }
.tl__verb {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.tl__text p:last-child { color: var(--text-soft); text-wrap: pretty; }

/* ---------- sinais: uma frase de cada vez ---------- */

.signs {
  margin: clamp(.5rem, 1.5vw, 1.5rem) clamp(.5rem, 1.5vw, 1.5rem) 0;
  padding-block: clamp(5rem, 10vw, 8.5rem);
  border-radius: var(--r-xl);
  background: var(--mist);
  text-align: center;
  overflow: hidden;
}
.signs__inner { display: grid; justify-items: center; container-type: inline-size; }
.signs__title { margin-bottom: .8rem; }
.signs__stage {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 1080px;
  min-height: 2.3em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.sign { grid-area: 1 / 1; align-self: start; white-space: nowrap; }
.sign .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.sign .w__i { display: inline-block; translate: 0 110%; opacity: 0; transition: translate .9s var(--ease), opacity .5s var(--ease); transition-delay: calc(var(--i) * 35ms); }
.sign .w:first-child .w__i::before { content: "“"; margin-right: .14em; color: var(--brick); }
.sign .w:last-child .w__i::after { content: "”"; margin-left: .1em; color: var(--brick); }
.sign.is-active .w__i { translate: 0 0; opacity: 1; transition-delay: calc(var(--i) * 45ms + .35s); }
.sign.is-leaving .w__i { translate: 0 -160%; opacity: 0; transition: translate .6s var(--ease), opacity .35s var(--ease); transition-delay: calc(var(--i) * 25ms); }
html:not(.js) .sign { display: none; }
html:not(.js) .sign.is-active { display: block; }


/* ---------- onde atendo: bento ---------- */

.where__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.where__head .h2 { margin-bottom: 0; }
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  min-height: clamp(560px, 72vh, 700px);
}
.loc--photo { grid-row: 1 / 3; color: var(--paper); background: var(--ink); }
.loc__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.loc__media img { width: 100%; height: 116%; object-fit: cover; position: relative; top: -8%; transition: scale 1.2s var(--ease); }
.loc--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(27, 54, 68, .9) 100%); }
.loc--photo:hover .loc__media img { scale: 1.05; }
.loc--navy { background: var(--ink); color: var(--paper); }
.loc--mist { background: var(--mist); }
.loc__city {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.loc__text { font-size: .98rem; line-height: 1.5; opacity: .82; max-width: 38ch; }
.loc__go { display: inline-flex; align-items: center; gap: .8rem; margin-top: .6rem; font-weight: 600; }
.loc__go .arrow { --aw: 2rem; }
.loc:hover .loc__go .arrow { width: calc(var(--aw) + 1rem); }
/* ---------- depoimentos ---------- */

.voices {
  margin: clamp(.5rem, 1.5vw, 1.5rem) clamp(.5rem, 1.5vw, 1.5rem) 0;
  border-radius: var(--r-xl);
  background: var(--mist);
}
.voices__title { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.voice { display: none; }
.voice.is-active { display: block; }
.voice blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  line-height: 1.38;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.voice__who small { display: block; font-weight: 400; color: var(--text-soft); font-size: .86rem; }
.voice__avatar { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--blush); color: var(--brick); font-size: 1.25rem; }

/* ---------- tag ---------- */

.tag {
  display: inline-flex; align-items: center;
  width: max-content;
  padding: .55em 1.05em;
  border-radius: 999px;
  background: var(--white);
  color: var(--slate);
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1;
  text-transform: uppercase;
}
.tag--dark { background: rgba(242, 244, 246, .1); color: rgba(242, 244, 246, .78); }

/* ---------- paginação (barras com progresso + setas) ---------- */

.pager { display: flex; align-items: center; justify-content: center; gap: 1.4rem; }
.pager__bars { display: flex; gap: .4rem; }
.pager__bar { position: relative; width: 2rem; height: 1.4rem; padding: 0; border: 0; background: none; cursor: pointer; }
.pager__bar::before, .pager__bar::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; border-radius: 2px; background: var(--line); }
.pager__bar::after { background: var(--brick); transform: scaleX(0); transform-origin: left; }
.pager__bar.is-done::after { transform: scaleX(1); }
.pager__bar[aria-selected="true"]::after { animation: fillbar var(--dur, 8s) linear forwards; }
.is-paused .pager__bar[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes fillbar { to { transform: scaleX(1); } }
.pager__btn {
  display: grid; place-items: center;
  flex: none;
  width: 2.9rem; height: 2.9rem;
  border: 1px solid var(--brick);
  border-radius: 50%;
  background: var(--brick);
  color: var(--paper);
  cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.pager__btn .arrow { --aw: 1.1rem; }
.pager__btn--prev .arrow { transform: scaleX(-1); }
.pager__btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pager__btn:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }

/* ---------- sinais: ajustes ---------- */

.signs { --dur: 4.6s; }
.signs__title { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.signs__tag { margin-bottom: clamp(1.4rem, 2.5vw, 2rem); }
.signs__stage { min-height: 0; grid-template-rows: minmax(0, 1fr); max-width: 1120px; font-size: clamp(1.1rem, 4.6vw, 3.7rem); font-size: clamp(1.1rem, 5.4cqi, 3.7rem); transition: height .7s var(--ease); }
.sign .w { padding-top: .4em; margin-top: -.4em; }
.sign .w:first-child .w__i::before,
.sign .w:last-child .w__i::after,
.sign__q {
  font-weight: 700;
  font-size: 1.55em;
  line-height: 0;
  vertical-align: -.2em;
  color: var(--brick);
}
.signs__pager {
  justify-content: space-between;
  width: min(100%, 28rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(27, 54, 68, .14);
}
.signs__foot {
  display: grid; justify-items: center; gap: 1.6rem;
  max-width: 34ch;
  margin-top: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text); font-size: 1.1rem; line-height: 1.6;
}
.signs__foot strong { color: var(--ink); font-weight: 600; }

/* sinais e depoimentos: painel bordeaux com a estampa tom sobre tom */
.signs, .voices {
  background: url("assets/zebra-tone-brick-dark.svg") 0 0 / 1100px auto repeat, var(--brick);
  color: rgba(242, 244, 246, .84);
}
.signs__title, .voices__title, .signs__stage, .signs__foot strong { color: var(--paper); }
.signs .sign .w:first-child .w__i::before,
.signs .sign .w:last-child .w__i::after,
.signs .sign__q { color: var(--mist); }
.signs__foot { color: rgba(242, 244, 246, .84); }
.signs__foot .btn { --bg: var(--paper); --fg: var(--ink); }
.signs__foot .btn:hover { background: var(--white); }
.signs__pager { border-top-color: rgba(242, 244, 246, .2); }
.signs .pager__bar::before { background: rgba(242, 244, 246, .25); }
.signs .pager__bar::after { background: var(--paper); }
.signs .pager__btn { background: var(--paper); border-color: var(--paper); color: var(--brick); }
.signs .pager__btn:hover { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.signs .pager__btn:focus-visible { outline-color: var(--paper); }

/* ---------- timeline: legenda como tag ---------- */

.tl__step { padding: 0; background: none; color: var(--brick); margin-bottom: 1rem; }

/* ---------- atendimento ---------- */

.loc {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  gap: 2rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--r-xl);
  text-decoration: none;
  color: var(--ink);
  transition: transform .6s var(--ease);
}
.loc:hover { transform: translateY(-4px); }
.loc--navy { background: var(--brick); }
.loc.loc--photo, .loc.loc--navy { color: var(--paper); }
.loc__kind { position: relative; }
.loc--photo .loc__kind { background: rgba(242, 244, 246, .92); color: var(--ink); }
.loc--navy .loc__kind { background: rgba(242, 244, 246, .1); color: rgba(242, 244, 246, .8); }
.loc--mist .loc__kind { background: var(--white); }
.loc__body { position: relative; display: grid; justify-items: start; gap: .55rem; max-width: 30rem; }
.loc__go { padding-top: .9rem; margin-top: .5rem; border-top: 1px solid rgba(27, 54, 68, .18); width: 100%; }
.loc--photo .loc__go, .loc--navy .loc__go { border-top-color: rgba(242, 244, 246, .24); }

/* ---------- depoimentos ---------- */

.voices { --dur: 8s; }
.voices__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "mark" "stage";
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.8rem);
  border-radius: var(--r-lg);
  background: var(--white);
}
.voices__mark {
  grid-area: mark;
  height: .55em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(6rem, 10vw, 8rem);
  line-height: .9;
  color: var(--brick);
  user-select: none;
}
.voices__btns { display: flex; gap: .6rem; }
.voices__nav {
  grid-area: stage;
  align-self: end; justify-self: end;
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 1.2rem;
  margin-bottom: -.15rem;
}
.voices__stage { grid-area: stage; position: relative; margin-top: clamp(1.4rem, 3vw, 2rem); transition: height .7s var(--ease); }
.voices.is-ready .voice {
  display: block;
  position: absolute; top: 0; left: 0; right: 0;
  visibility: hidden;
}
.voices.is-ready .voice.is-active, .voices.is-ready .voice.is-leaving { visibility: visible; }
/* troca palavra por palavra, igual às frases de Sinais */
.voice .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.voices.is-ready .voice .w__i { display: inline-block; translate: 0 110%; opacity: 0; transition: translate .8s var(--ease), opacity .45s var(--ease); transition-delay: calc(var(--i) * 10ms); }
.voices.is-ready .voice.is-active .w__i { translate: 0 0; opacity: 1; transition-delay: calc(var(--i) * 14ms + .4s); }
.voices.is-ready .voice.is-leaving .w__i { translate: 0 -140%; opacity: 0; transition: translate .55s var(--ease), opacity .3s var(--ease); transition-delay: calc(var(--i) * 6ms); }
.voices.is-ready .voice .voice__who { opacity: 0; transition: opacity .35s var(--ease); }
.voices.is-ready .voice.is-active .voice__who { opacity: 1; transition: opacity .6s var(--ease) .7s; }
.voice blockquote { font-size: clamp(1.4rem, 2.5vw, 2.1rem); line-height: 1.36; }
.voice__who {
  display: flex; align-items: center; gap: .8rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

/* ---------- cta ---------- */

.cta__text { max-width: 46ch; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; color: rgba(242, 244, 246, .8); text-wrap: pretty; }

/* ---------- footer ---------- */

.footer__lead {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 2rem 3rem;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line-paper);
}
.footer__slogan {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.footer__slogan .u { font-weight: 700; }
.footer__info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4rem);
}
.footer__block { display: grid; align-content: start; justify-items: start; gap: .5rem; }
.footer__block .tag { margin-bottom: 1rem; padding: 0; background: none; color: rgba(217, 224, 232, .78); }
.footer__block .footer__tag-gap { margin-top: 2rem; }
.footer__nav { display: grid; justify-items: start; gap: 1rem; margin-bottom: 2rem; }
.footer__nav a { font-weight: 500; color: var(--paper); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.footer__nav a:hover { background-size: 100% 1px; }
.footer .footer__cta, .footer .footer__top-link { color: var(--paper); }
.footer .footer__cta:hover, .footer .footer__top-link:hover { color: var(--ink); }
.footer__social { display: flex; gap: .7rem; margin-top: .6rem; }
.footer .footer__icon {
  display: grid; place-items: center;
  width: 3.2rem; height: 3.2rem;
  border: 1px solid rgba(217, 224, 232, .3);
  border-radius: 50%;
  color: var(--mist);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.footer .footer__icon:hover { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.footer__brand { flex: none; width: 15rem; height: auto; }
.footer__big {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 3.6vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: .6rem;
}
.footer__mid { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.2; color: var(--paper); }
.footer__small { font-size: .95rem; line-height: 1.5; color: rgba(242, 244, 246, .6); margin-bottom: .9rem; }
.footer__big, a.footer__mid {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.footer__big:hover, a.footer__mid:hover { background-size: 100% 1px; }
.footer__dot { color: var(--brick); }
.footer__word .ch { display: inline-block; transition: translate 1.2s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 55ms), 0s; }
.js .footer__word .ch { translate: 0 105%; }
.js .footer__word.is-in .ch { translate: 0 0; }
.footer__word .ch:hover { transform: translateY(-.08em) rotate(-3deg); }

@media (max-width: 900px) {
  .footer__info { grid-template-columns: 1fr; gap: 2.5rem; }
  .voices__card { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "mark btns" "stage stage" "bars bars"; }
  .voices__nav { margin-top: 1.6rem; }
}

/* ---------- faq ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}
.faq__head .muted { margin-bottom: 1.4rem; }
.qa + .qa { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex: none; width: 2.6rem; height: 2.6rem; border: 1px solid var(--brick); border-radius: 50%; background: none; transition: background-color .4s var(--ease); }
.qa summary:hover .qa__icon { background: var(--brick); }
.qa summary:hover .qa__icon::before, .qa summary:hover .qa__icon::after { background: var(--paper); }
.qa__icon::before, .qa__icon::after {
  content: "";
  position: absolute; left: .85rem; right: .85rem; top: 50%;
  height: 1.5px;
  margin-top: -.75px;
  background: var(--brick);
  transition: transform .5s var(--ease);
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__body { display: grid; gap: 1rem; padding: 0 2.5rem 1.8rem 0; color: var(--text-soft); text-wrap: pretty; }
.qa__body a { color: var(--ink); font-weight: 600; }
.qa[open] .qa__body { animation: swap .6s var(--ease); }

/* ---------- justiceiras ---------- */

.justice { padding-top: 0; }
.justice__grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--r-xl);
  background: var(--mist);
  max-width: min(calc(var(--max) - 2 * var(--gutter)), calc(100% - 2 * clamp(.5rem, 1.5vw, 1.5rem)));
}
.justice__art img { border-radius: var(--r-lg); width: 100%; }
.justice__copy .prose { margin-bottom: 1.5rem; font-size: 1rem; }

/* ---------- cta: o único lugar com a estampa ---------- */

.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(6rem, 13vw, 11rem);
  text-align: center;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.cta__pattern {
  position: absolute;
  inset: -15% 0;
  z-index: -1;
  background: url("assets/zebra-tone-navy-dark.svg") 0 0 / 1100px auto repeat;
}
.cta__inner { display: grid; justify-items: center; gap: 2.4rem; }
.cta__mark { display: flex; align-items: center; gap: 1.8rem; width: min(100%, 27rem); }
.cta__mark::before, .cta__mark::after { content: ""; flex: 1; height: 1px; background: rgba(217, 224, 232, .45); }
.cta__chair { font-size: 4.2rem; color: var(--mist); }
.cta__title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--paper);
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.cta__title em { font-weight: 300; color: var(--mist); }
/* ---------- footer ---------- */

.footer {
  overflow: hidden;
  background: var(--ink);
  color: rgba(242, 244, 246, .64);
  font-size: .95rem;
}
.footer a { color: var(--paper); text-decoration: none; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1rem 2.5rem;
  padding-block: 1.8rem 2rem;
  border-top: 1px solid var(--line-paper);
  font-size: .85rem;
  color: rgba(242, 244, 246, .55);
}
.footer__logo { width: 150px; height: auto; }
.crisis {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem;
  margin-top: 1.4rem;
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: var(--r-lg);
  background: rgba(242, 244, 246, .05);
}
.crisis__text { flex: 1 1 100%; font-size: .98rem; line-height: 1.5; color: rgba(242, 244, 246, .72); }
.crisis__text strong { display: block; margin-bottom: .2rem; color: var(--paper); font-weight: 600; }
.crisis__calls { display: flex; flex-wrap: wrap; gap: .6rem; }
.footer a.crisis__call {
  display: inline-flex; align-items: baseline; gap: .5rem;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  background: rgba(242, 244, 246, .08);
  font-size: .88rem;
  color: rgba(242, 244, 246, .75);
  transition: background-color .4s var(--ease);
}
.crisis__call b { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--paper); line-height: 1; }
.footer a.crisis__call:hover { background: rgba(242, 244, 246, .16); }
.footer__top-link .arrow { --aw: 1.1rem; transform: rotate(-90deg); }

/* ---------- selo giratório ---------- */

.spin {
  position: absolute;
  display: grid; place-items: center;
  width: 8.5rem; height: 8.5rem;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: transform .6s var(--ease);
}
.spin svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.spin text { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .02em; fill: currentColor; text-transform: uppercase; }
.spin .chair { font-size: 2rem; transition: transform .6s var(--ease); }
.spin:hover { transform: scale(1.06); }
.spin:hover .chair { transform: translateY(-3px) rotate(-6deg); }
.spin:hover svg { animation-duration: 8s; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__spin { left: -3.5rem; top: 1.5rem; z-index: 2; box-shadow: 0 20px 40px -24px rgba(27, 54, 68, .5); }
.js .hero__spin { opacity: 0; scale: .6; transition: opacity .6s var(--ease) .65s, scale .8s var(--ease) .65s, transform .6s var(--ease); }
.is-loaded .hero__spin { opacity: 1; scale: 1; }

.chip {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .02em .6em .06em .45em;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.chip::before {
  content: "";
  width: .8em; aspect-ratio: 400 / 349;
  background: currentColor;
  -webkit-mask: url("assets/img/poltrona-ink.png") center / contain no-repeat;
          mask: url("assets/img/poltrona-ink.png") center / contain no-repeat;
}

/* ---------- áreas: imagem na divisão ---------- */

.area__sep {
  position: relative;
  display: inline-block;
  width: 1.1em; height: .9em;
  margin: 0 .15em;
  vertical-align: -.02em;
  font-size: clamp(1.4rem, min(3.1vw, 5vh), 2.7rem);
  transition: width .8s var(--ease), height .8s var(--ease), margin .8s var(--ease), vertical-align .8s var(--ease);
}
.area.is-active .area__sep,
.area.is-prev-of-last .area__sep { width: 2.5em; margin: 0 .45em; }
.area__sep .chair {
  position: absolute; left: 50%; top: 50%;
  font-size: .32em;
  color: var(--slate);
  opacity: .4;
  translate: -50% -50%;
  transition: opacity .4s var(--ease), scale .5s var(--ease);
}
.area__sep img {
  position: absolute; left: 50%; top: 50%;
  width: 2.5em; height: 2.5em;
  margin: -1.25em 0 0 -1.25em;
  object-fit: cover;
  border-radius: .32em;
  opacity: 0;
  scale: .4;
  transition: opacity .5s var(--ease) .1s, scale .9s var(--ease);
}
.area.is-active .area__sep img,
.area.is-prev-of-last .area__sep img { opacity: 1; scale: 1; }
.area.is-active .area__sep .chair,
.area.is-prev-of-last .area__sep .chair { opacity: 0; scale: .4; }
.areas--list .area__sep { display: none; }
/* linhas travadas pelo JS: a foto abre espaço sem empurrar palavra para a linha de baixo */
.areas__cloud.is-locked { white-space: nowrap; }
.areas__cloud.is-measuring .area__sep { width: 1.1em; margin: 0 .15em; transition: none; }
.areas--list .areas__cloud { white-space: normal; }
.areas--list .area::after { content: none; }

/* carrossel em todas as telas (22/10): um card por tema com a foto em cima */
.areas--list .areas__cloud {
  display: flex; gap: .9rem;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.areas--list .areas__cloud::-webkit-scrollbar { display: none; }
.areas--list .area {
  display: flex; flex-direction: column;
  flex: 0 0 min(82%, 360px);
  padding: 0; border: 0;
  white-space: normal;
  scroll-snap-align: start;
}
.areas--list .area .area__sep,
.areas--list .area--more::before {
  content: "";
  display: block; order: -1;
  width: auto; height: auto; margin: 0 0 1.1rem;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 1rem;
  background: var(--mist);
}
.areas--list .area--more::before { background: var(--mist) url("assets/img/menu-areas.webp") center / cover no-repeat; }
.areas--list .area .area__sep .chair { display: none; }
.areas--list .area .area__sep img { position: static; width: 100%; height: 100%; margin: 0; border-radius: 0; opacity: 1; scale: none; }
.areas--list .area .area__name { font-size: clamp(1.5rem, 6vw, 1.9rem); font-weight: 400; white-space: normal; }
.areas__nav { display: flex; justify-content: space-between; margin-top: 1.6rem; }
.areas__count { font-size: .95rem; letter-spacing: .08em; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.areas__count b { color: var(--brick); font-weight: 600; }
/* tablet: 2 cards por vez; desktop: 3 cards por vez (as setas andam uma página) */
@media (min-width: 701px) {
  /* o carrossel termina na margem do conteúdo: só os cards da página aparecem */
  .areas--list .areas__cloud { gap: 1.2rem; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .areas--list .area { flex-basis: calc((100% - 1.2rem) / 2); }
  .areas--list .area .area__name { font-size: 1.9rem; }
}
@media (min-width: 1001px) {
  .areas--list .area { flex-basis: calc((100% - 2 * 1.2rem) / 3); }
}

/* ---------- instagram: posts passando ---------- */

.insta { overflow: hidden; }
.insta__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.insta__head .h2 { margin-bottom: 0; }
.insta__rail { overflow: hidden; }
.insta__track { display: flex; align-items: stretch; width: max-content; margin: 0; padding: .4rem 0 1.6rem; list-style: none; animation: insta 80s linear infinite; }
/* margem em vez de gap: as duas metades ficam iguais e o -50% emenda sem pulo */
.insta__item { flex: none; width: clamp(min(300px, 80vw), 34vw, 460px); margin-right: clamp(1rem, 1.6vw, 1.5rem); }
/* card no formato de um post do Instagram */
.ig {
  display: flex; flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.ig:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(27, 54, 68, .45); }
.ig:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
.ig__head { display: flex; align-items: center; gap: .6rem; padding: .75rem .9rem; }
.ig__avatar { width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--brick); }
.ig__user { flex: 1; min-width: 0; font-size: .92rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig__dots { width: 1.1rem; height: .25rem; background: radial-gradient(circle, currentColor 1.5px, transparent 2px) 0 50% / .37rem 100% repeat-x; }
.ig__media { display: block; overflow: hidden; background: var(--mist); }
.ig__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: scale .8s var(--ease); }
.ig:hover .ig__media img { scale: 1.03; }
.ig__bar { display: flex; gap: .85rem; padding: .75rem .9rem .35rem; }
.ig__bar svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.ig__save { margin-left: auto; }
.ig__cap {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3;
  overflow: hidden;
  margin: 0 .9rem;
  font-size: .95rem; line-height: 1.45; color: var(--text);
}
.ig__cap b { font-weight: 600; color: var(--ink); margin-right: .2rem; }
.ig__link { margin: auto .9rem 0; padding: .55rem 0 .9rem; font-size: .84rem; color: var(--text-soft); }
.ig:hover .ig__link { color: var(--brick); }
@media (hover: hover) and (pointer: fine) {
  .insta__rail:hover .insta__track { animation-play-state: paused; }
}
.insta__rail:focus-within .insta__track { animation-play-state: paused; }
@keyframes insta { to { transform: translateX(-50%); } }
/* movimento reduzido: vira uma fileira que se arrasta com o dedo */
.insta__rail.is-static { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.insta__rail.is-static .insta__track { animation: none; }
.insta__rail.is-static .insta__item { scroll-snap-align: start; }
.figma .insta__track { animation: none; transform: none; }

/* ---------- cta: estampa líquida no hover ---------- */

.cta__liquid {
  position: absolute;
  inset: -15% 0;
  z-index: -1;
  background: var(--ink) url("assets/zebra-tone-navy-lit.svg") 0 0 / 1100px auto repeat;
  filter: url(#liquid);
  opacity: 0;
  -webkit-mask: radial-gradient(circle var(--r, 0px) at var(--x, 50%) var(--y, 50%), #000 35%, transparent 100%);
          mask: radial-gradient(circle var(--r, 0px) at var(--x, 50%) var(--y, 50%), #000 35%, transparent 100%);
  transition: opacity .6s var(--ease);
}
.cta.is-liquid .cta__liquid { opacity: 1; }
/* a estampa some num degradê antes do footer, que é liso */
.cta::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 45%;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(27, 54, 68, 0), var(--ink));
  pointer-events: none;
}
.sr-svg { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- footer: palavra preenchida pela foto ---------- */

.footer__stage { position: relative; padding-top: clamp(3rem, 6vw, 5rem); }
.footer__word {
  overflow: hidden;
  margin: 0;
  max-width: var(--max);
  margin-inline: auto;
  padding: .05em var(--gutter) .1em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(4.5rem, 19.5vw, 20rem);
  line-height: .9;
  letter-spacing: -0.05em;
  text-align: left;
  white-space: nowrap;
  user-select: none;
  color: var(--paper);
}

/* ---------- whatsapp flutuante ---------- */

.wa-float {
  position: fixed;
  right: 1.1rem; bottom: 1.1rem;
  z-index: var(--z-float);
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(27, 54, 68, .7);
  transform: translateY(160%);
  transition: transform .6s var(--ease);
}
.wa-float svg { width: 1.55rem; fill: var(--paper); }
.wa-float.is-visible { transform: none; }

/* ---------- entrada ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */

@media (max-width: 1080px) {
  .header__nav, .header__cta { display: none; }
  .header__inner { grid-template-columns: 1fr auto; }
  .header__menu { display: inline-flex; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__line { white-space: normal; }
  .hero__title { font-size: clamp(2.4rem, 10vw, 3.6rem); font-size: clamp(2.4rem, 11cqi, 3.6rem); }
  .hero__visual { order: -1; width: 100%; max-width: 560px; margin-inline: auto; }
  .hero__photo { height: auto; aspect-ratio: 4 / 4.8; }
  .hero__badge { left: 1rem; right: 1rem; bottom: 1rem; padding: .7rem 1rem .7rem .7rem; font-size: .92rem; }

  .stats { grid-template-columns: 1fr; }
  .stats__item { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
  .stats__item + .stats__item { padding-left: 0; border-left: 0; }
  .stats dd { font-size: 2.4rem; }

  .about__grid, .psi__grid, .faq__grid, .justice__grid { grid-template-columns: 1fr; }
  .sticky, .about__photo { position: static; }
  .about__photo { max-width: 460px; }

  .tl { gap: 3.5rem; }
  .tl__line { left: .5rem; transform: none; }
  .tl__item { grid-template-columns: 1fr; gap: 1.6rem; padding-left: 2.5rem; }
  .tl__item::before { left: .5rem; top: 1.2rem; transform: translate(-50%, 0); }
  .tl__item.is-reached::before { transform: translate(-50%, 0) scale(1.25); }
  .tl__photo, .tl__item:nth-child(odd) .tl__photo { order: 0; justify-self: start; width: min(100%, 420px); }
  .tl__item:nth-child(odd) .tl__text { justify-self: start; }
}

@media (max-width: 900px) {
  .where__head { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; }
  .loc--photo { grid-row: auto; min-height: 460px; }
  .loc--navy, .loc--mist { min-height: 260px; }
  /* foto em cima: o respiro do topo igual ao da lateral */
  .psi { padding-top: var(--gutter); }
  .hero__spin { width: 6.5rem; height: 6.5rem; left: auto; right: 1rem; top: 1rem; }
  .hero__spin text { font-size: 15px; }
  .footer__brand { width: 11rem; }
}
@media (max-width: 700px) { .footer__brand { display: none; } }

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cred { grid-template-columns: 1fr; }
  /* celular: frase maior, quebra natural em vez das duas linhas fixas */
  .signs__stage { font-size: clamp(1.55rem, 7.4vw, 1.9rem); min-height: 3.45em; }
  .sign { white-space: normal; text-wrap: balance; }
  .sign br { display: none; }
  .hero__actions { gap: 1rem 1.6rem; }
  .qa__body { padding-right: 0; }
  .btn { white-space: normal; }
  .footer__base { flex-direction: column; align-items: flex-start; }
  .pager { gap: .8rem; }
  .pager__bars { gap: .3rem; }
  .pager__bar { width: 1.2rem; }
  .pager__btn { width: 2.7rem; height: 2.7rem; }
  .signs__inner > * { max-width: 100%; min-width: 0; }
  .voices__nav { grid-area: 3 / 1; justify-self: stretch; justify-content: space-between; margin: 1.6rem 0 0; }
  .crisis__calls { width: 100%; }
}

@media (min-width: 1081px) { .wa-float { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ==========================================================
   Modo Figma (?figma): estado final, sem animação, sem camadas
   fixas e sem recursos que os importadores de HTML não leem.
   ========================================================== */

.figma *, .figma *::before, .figma *::after { animation: none !important; transition: none !important; }
/* quebra de linha simples, igual à do Figma (balance/pretty não existem lá) */
.figma * { text-wrap-style: auto !important; }
.figma body::after { content: none; }
.figma .header { position: absolute; }
.figma .header__logo-paper { display: none; }
.figma .menu, .figma .wa-float, .figma .cta__liquid, .figma .sr-svg { display: none !important; }
.figma .sticky, .figma .about__photo { position: static; }

/* ícones viram <img> e <svg> (ver main.js) */
.figma .chair--img { display: inline-block; vertical-align: middle; background: none; -webkit-mask: none; mask: none; }
.figma .arrow--svg { display: inline-flex; align-items: center; width: auto; height: auto; background: none; }
.figma .arrow--svg::after { content: none; }
/* setas já desenhadas na direção certa (o importador ignora rotação e espelho) */
.figma .pager__btn--prev .arrow--svg, .figma .footer__top-link .arrow--svg { transform: none; }
.figma .chip::before { content: none; }
.figma .chip .chair--img { margin-right: .1em; }

/* sublinhado como sublinhado de texto */
.figma .u, .figma .split .u {
  text-decoration: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .14em;
}

/* hero */
.figma .spin { background: none; }
.figma .spin img { width: 100%; height: 100%; }

/* imagens com parallax voltam ao lugar */
.figma [data-parallax-img], .figma [data-parallax] img, .figma .loc__media img { top: 0; height: 100%; translate: none; }

/* áreas sem fixação */
.figma .areas { height: auto; padding-block: var(--section); }
.figma .areas__pin { position: static; height: auto; padding-top: 0; }
.figma .area__sep { display: inline-flex; align-items: center; justify-content: center; }
.figma .area__sep .chair--img { position: static; translate: none; transform: none; }
.figma .area:not(.is-active) .area__sep img:not(.chair--img) { display: none; }
.figma .area__sep img:not(.chair--img) { scale: none; }
.figma .area__name::after { content: none; }
.figma .area__name { text-decoration: none; }
.figma .area.is-active .area__name { text-decoration: underline; }
.figma .areas__bar i { transform: none; right: auto; width: 8%; }

/* sinais */
.figma .sign__q { color: var(--brick); line-height: 1; vertical-align: baseline; font-size: 1.3em; }
.figma .sign__q:first-child { margin-right: .14em; }
.figma .sign__q:last-child { margin-left: .1em; }

/* paginação: só elementos simples, sem escala */
.figma .pager__bar::after { content: none; }
.figma .pager__bar.is-done::before { background: var(--brick); }

/* linha do tempo completa */
.figma .tl__line i { transform: none; }
.figma .tl__item::before { background: var(--brick); transform: none; margin: -7.5px 0 0 -7.5px; }
.figma .tl__line { transform: none; margin-left: -.5px; }

/* sem deslocamentos por transform */
.figma .skip { display: none; }
.figma .header__nav a::after { content: none; }
.figma .qa__icon::after { transform: none; left: calc(50% - .75px); right: auto; top: 0; width: 1.5px; height: 100%; }
.figma .qa[open] .qa__icon::after { content: none; }
@media (max-width: 900px) {
  .figma .tl__item::before { margin-top: 0; }
}

/* depoimentos: só o primeiro */
/* cta: estampa como imagem única */
.figma .cta__pattern { inset: 0; background: url("assets/figma/cta-zebra.jpg") center / cover no-repeat; }

/* footer: palavra em cor sólida */
.figma .footer__word { color: var(--paper); }
.figma .footer__dot { color: var(--brick); }
