/* ============================================================
   Instituto BioEquilíbrio — style.css  (v2 — edição imersiva)
   Paleta derivada do logotipo: ameixa, oliva, marrom-raiz,
   rosa-lótus e branco-quente. Tipografia ampliada, movimento
   fluido e respeito total a prefers-reduced-motion.
   ============================================================ */

:root {
  --ameixa: #96376E;
  --ameixa-escuro: #6E2450;
  --ameixa-suave: #B95F94;
  --rosa-claro: #E7B9D4;
  --oliva: #75793E;
  --oliva-escuro: #565A2C;
  --raiz: #5C4432;
  --tinta: #3B322B;
  --tinta-suave: #6F645B;
  --rosa-palido: #F9EEF4;
  --rosa-borda: #EDD6E4;
  --creme: #FDFAF8;
  --branco: #FFFFFF;
  --dourado: #C9A227;
  --verde-whats: #107C3E;

  --grad-ameixa: linear-gradient(120deg, #6E2450, #96376E 45%, #B95F94 80%, #D18AB6);
  --grad-texto: linear-gradient(100deg, #96376E, #B95F94 55%, #75793E 130%);

  --fonte-display: "Cormorant Garamond", "Times New Roman", serif;
  --fonte-corpo: "Karla", "Segoe UI", Arial, sans-serif;

  --largura-max: 1180px;
  --raio: 20px;
  --sombra: 0 18px 44px rgba(110, 68, 92, 0.14);
  --sombra-alta: 0 30px 70px rgba(110, 36, 80, 0.22);
  --transicao: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-corpo);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--tinta);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ameixa); text-decoration: none; transition: color var(--transicao); }
a:hover { color: var(--ameixa-escuro); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ameixa-suave);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--ameixa); color: var(--branco); }

/* ---------- Tipografia (escala ampliada) ---------- */
h1, h2, h3, h4 {
  font-family: var(--fonte-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--raiz);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem, 7.5vw, 5.4rem); }
h2 { font-size: clamp(2.3rem, 4.8vw, 3.5rem); }
h3 { font-size: clamp(1.55rem, 2.6vw, 1.95rem); }

.destaque-ameixa {
  font-style: italic;
  background: var(--grad-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oliva);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--oliva);
  border-radius: 2px;
}

.intro-secao {
  max-width: 660px;
  font-size: 1.2rem;
  color: var(--tinta-suave);
  margin-top: 1.1rem;
}

/* Ornamento do logotipo: →——•——← */
.ornamento {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--ameixa);
  margin: 1.5rem auto;
  width: fit-content;
}
.ornamento::before, .ornamento::after {
  content: "";
  height: 1px;
  width: 74px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.ornamento::after { background: linear-gradient(90deg, currentColor, transparent); }
.ornamento span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(150, 55, 110, 0.15);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--largura-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.secao { padding: 6.5rem 0; position: relative; }
.secao--rosa { background: linear-gradient(180deg, var(--rosa-palido), #FBF3F8); }
.secao--branca { background: var(--branco); }

.cabecalho-secao { text-align: center; max-width: 780px; margin: 0 auto 3.6rem; }
.cabecalho-secao .intro-secao { margin-left: auto; margin-right: auto; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.06rem;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transicao), box-shadow var(--transicao), background var(--transicao), color var(--transicao);
}
.botao::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
}
.botao:hover::after { transform: translateX(110%); }
.botao:hover { transform: translateY(-3px) scale(1.02); }

.botao--primario { background: var(--grad-ameixa); background-size: 160% 160%; color: var(--branco); box-shadow: 0 12px 30px rgba(150, 55, 110, 0.35); }
.botao--primario:hover { color: var(--branco); box-shadow: 0 18px 40px rgba(150, 55, 110, 0.45); }

.botao--whats { background: var(--verde-whats); color: var(--branco); box-shadow: 0 12px 30px rgba(16, 124, 62, 0.32); }
.botao--whats:hover { background: #0B5E2F; color: var(--branco); box-shadow: 0 18px 40px rgba(16, 124, 62, 0.42); }

.botao--contorno { border-color: var(--ameixa); color: var(--ameixa); background: transparent; }
.botao--contorno:hover { background: var(--ameixa); color: var(--branco); box-shadow: 0 14px 32px rgba(150, 55, 110, 0.3); }

.botao--claro { background: var(--branco); color: var(--ameixa); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.botao--claro:hover { color: var(--ameixa-escuro); }

.botao svg { flex-shrink: 0; }

/* ---------- Barra de progresso de leitura (injetada via JS) ---------- */
.progresso-scroll {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0;
  background: var(--grad-ameixa);
  z-index: 120;
  border-radius: 0 4px 4px 0;
}

/* ---------- Header ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--rosa-borda);
  transition: box-shadow var(--transicao);
}
.topo.compacto { box-shadow: 0 10px 30px rgba(110, 36, 80, 0.10); }

.topo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  max-width: var(--largura-max);
  margin: 0 auto;
  transition: padding var(--transicao);
}
.topo.compacto .topo__inner { padding-top: 0.45rem; padding-bottom: 0.45rem; }

.marca {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.05;
}
.marca svg { width: 48px; height: 48px; flex-shrink: 0; transition: transform var(--transicao); }
.marca:hover svg { transform: rotate(-6deg) scale(1.06); }
.marca__texto { font-family: var(--fonte-display); }
.marca__instituto {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--oliva);
  font-weight: 600;
}
.marca__nome {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ameixa);
}

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tinta);
  padding: 0.3rem 0;
  position: relative;
}
.nav a:not(.botao)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--grad-ameixa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transicao);
}
.nav a:hover { color: var(--ameixa); }
.nav a:hover::after, .nav a.ativo::after { transform: scaleX(1); }
.nav a.ativo { color: var(--ameixa); }
.nav .botao { padding: 0.6rem 1.35rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 46px; height: 46px;
  cursor: pointer;
  color: var(--raiz);
}

/* ---------- Hero imersivo ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 6rem;
  background:
    radial-gradient(52vw 52vw at 12% 8%, rgba(231, 185, 212, 0.5), transparent 60%),
    radial-gradient(46vw 46vw at 92% 20%, rgba(185, 95, 148, 0.22), transparent 62%),
    radial-gradient(60vw 46vw at 60% 110%, rgba(117, 121, 62, 0.16), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--rosa-palido) 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  animation: respirar 16s ease-in-out infinite alternate;
}

@keyframes respirar {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
  100% { background-position: 30% 20%, 70% 30%, 40% 80%, 0 0; }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero h1 span.linha { display: block; }

/* Entrada orquestrada do hero */
.hero__texto > * {
  opacity: 0;
  transform: translateY(34px);
  animation: subir 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero__texto > *:nth-child(1) { animation-delay: 0.05s; }
.hero__texto > *:nth-child(2) { animation-delay: 0.18s; }
.hero__texto > *:nth-child(3) { animation-delay: 0.32s; }
.hero__texto > *:nth-child(4) { animation-delay: 0.46s; }
.hero__texto > *:nth-child(5) { animation-delay: 0.60s; }
.hero__texto > *:nth-child(6) { animation-delay: 0.74s; }

@keyframes subir {
  to { opacity: 1; transform: none; }
}

.hero__lema {
  font-family: var(--fonte-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-style: italic;
  color: var(--ameixa);
  margin-top: 1.5rem;
}

.hero__texto p.apoio {
  margin-top: 1.1rem;
  font-size: 1.18rem;
  color: var(--tinta-suave);
  max-width: 560px;
}

.hero__acoes { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero__logo {
  justify-self: center;
  position: relative;
  will-change: transform;
}
.hero__logo::before {
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ameixa), var(--rosa-claro), var(--oliva), var(--ameixa-suave), var(--ameixa));
  opacity: 0.5;
  filter: blur(1px);
  animation: girar 22s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}
.hero__logo::after {
  content: "";
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 55, 110, 0.16), transparent 65%);
  z-index: -1;
  animation: pulsar 6s ease-in-out infinite;
}

@keyframes girar { to { transform: rotate(360deg); } }
@keyframes pulsar {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero__logo img {
  width: min(400px, 78vw);
  border-radius: 50%;
  box-shadow: var(--sombra-alta);
}

.hero__eoe {
  display: block;
  margin-top: 2.6rem;
  font-family: var(--fonte-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  letter-spacing: 0.04em;
  color: var(--raiz);
}
.hero__eoe strong { color: var(--ameixa); font-weight: 700; font-size: 1.25em; }
.hero__eoe .sep { color: var(--oliva); margin: 0 0.45em; }

/* Folhas flutuantes */
.hero__folhas { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__folhas svg {
  position: absolute;
  opacity: 0.4;
  animation: flutuar 10s ease-in-out infinite;
}
.hero__folhas svg:nth-child(1) { top: 12%; left: 4%; width: 58px; animation-delay: 0s; }
.hero__folhas svg:nth-child(2) { top: 68%; left: 44%; width: 42px; animation-delay: -3.4s; animation-duration: 13s; }
.hero__folhas svg:nth-child(3) { top: 20%; right: 5%; width: 50px; animation-delay: -6.8s; animation-duration: 11s; }

@keyframes flutuar {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-30px) rotate(9deg); }
}

/* Indicador de rolagem */
.hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ameixa);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.85;
}
.hero__scroll::after {
  content: "";
  width: 2px;
  height: 34px;
  background: linear-gradient(180deg, var(--ameixa), transparent);
  animation: descer 1.8s ease-in-out infinite;
}
@keyframes descer {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Marquee E.O.E. ---------- */
.marquee {
  background: var(--grad-ameixa);
  color: var(--branco);
  overflow: hidden;
  padding: 1.1rem 0;
  position: relative;
}
.marquee__trilho {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: deslizar 30s linear infinite;
}
.marquee:hover .marquee__trilho { animation-play-state: paused; }
.marquee span {
  font-family: var(--fonte-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-style: italic;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.marquee span::after { content: "❧"; font-style: normal; opacity: 0.6; font-size: 0.9em; }

@keyframes deslizar {
  to { transform: translateX(-50%); }
}

/* ---------- Cards ---------- */
.grade { display: grid; gap: 1.8rem; }
.grade--3 { grid-template-columns: repeat(3, 1fr); }
.grade--2 { grid-template-columns: repeat(2, 1fr); }
.grade--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--branco);
  border: 1px solid var(--rosa-borda);
  border-radius: var(--raio);
  padding: 2.2rem 1.9rem;
  position: relative;
  transition: transform var(--transicao), box-shadow var(--transicao), border-color var(--transicao);
  transform-style: preserve-3d;
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--raio);
  padding: 1.5px;
  background: var(--grad-ameixa);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transicao);
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--sombra-alta); border-color: transparent; }
.card:hover::before { opacity: 1; }

.card__icone {
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rosa-palido), #F3DFEC);
  color: var(--ameixa);
  margin-bottom: 1.2rem;
  transition: transform var(--transicao), background var(--transicao), color var(--transicao);
}
.card:hover .card__icone {
  transform: scale(1.12) rotate(-6deg);
  background: var(--grad-ameixa);
  color: var(--branco);
}

.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--tinta-suave); font-size: 1.02rem; }
.card .link-mais {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1rem;
  transition: gap var(--transicao);
}
.card .link-mais:hover { gap: 0.7rem; }

.secao--rosa .card { border-color: transparent; box-shadow: 0 10px 30px rgba(110, 68, 92, 0.08); }

/* ---------- Faixa Método E.O.E. ---------- */
.faixa-eoe {
  background: var(--grad-ameixa);
  background-size: 220% 220%;
  animation: ondular 12s ease-in-out infinite alternate;
  color: var(--branco);
  border-radius: calc(var(--raio) + 10px);
  padding: 4rem 3.4rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.8rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sombra-alta);
}
.faixa-eoe::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  top: -160px; right: -120px;
  animation: pulsar 8s ease-in-out infinite;
}

@keyframes ondular {
  0% { background-position: 0% 40%; }
  100% { background-position: 100% 60%; }
}

.faixa-eoe h2, .faixa-eoe h3 { color: var(--branco); }
.faixa-eoe p { color: rgba(255, 255, 255, 0.9); font-size: 1.12rem; }
.faixa-eoe .eyebrow { color: #F2DFA9; }
.faixa-eoe .eyebrow::before { background: #F2DFA9; }

.faixa-eoe ul { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.75rem; }
.faixa-eoe ul li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.08rem;
}
.faixa-eoe ul li::before { content: "❧"; color: #F2DFA9; }

/* Passos E.O.E. */
.passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.passo {
  background: var(--branco);
  border-radius: var(--raio);
  border-top: 5px solid var(--oliva);
  padding: 2.2rem 1.9rem;
  box-shadow: var(--sombra);
  position: relative;
  overflow: hidden;
  transition: transform var(--transicao), box-shadow var(--transicao);
}
.passo:hover { transform: translateY(-6px); box-shadow: var(--sombra-alta); }
.passo:nth-child(2) { border-top-color: var(--raiz); }
.passo:nth-child(3) { border-top-color: var(--ameixa); }
.passo__letra {
  font-family: var(--fonte-display);
  font-size: 4.4rem;
  font-weight: 700;
  color: var(--oliva);
  line-height: 1;
  opacity: 0.9;
}
.passo::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -30px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 55, 110, 0.09), transparent 70%);
}
.passo:nth-child(2) .passo__letra { color: var(--raiz); }
.passo:nth-child(3) .passo__letra { color: var(--ameixa); }
.passo h3 { margin: 0.6rem 0 0.6rem; }
.passo p { color: var(--tinta-suave); font-size: 1.02rem; }

/* ---------- Verticais (para quem) ---------- */
.vertical { text-align: center; padding: 2.4rem 1.5rem; }
.vertical .card__icone { margin: 0 auto 1.1rem; }

/* ---------- Depoimentos ---------- */
.depoimento {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 2.4rem 2rem;
  border: 1px solid var(--rosa-borda);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  transition: transform var(--transicao), box-shadow var(--transicao);
}
.depoimento:hover { transform: translateY(-6px); box-shadow: var(--sombra-alta); }
.depoimento p {
  font-family: var(--fonte-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--tinta);
  line-height: 1.45;
}
.depoimento footer {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ameixa);
}
.depoimento footer span { display: block; font-weight: 400; color: var(--tinta-suave); font-size: 0.92rem; }
.depoimento .aspas { color: var(--rosa-claro); line-height: 0; transform: scale(1.3); transform-origin: left top; }

/* ---------- Página interna: hero curto ---------- */
.hero-interno {
  background:
    radial-gradient(46vw 40vw at 88% 0%, rgba(231, 185, 212, 0.4), transparent 62%),
    radial-gradient(40vw 34vw at 6% 100%, rgba(117, 121, 62, 0.12), transparent 60%),
    linear-gradient(180deg, var(--branco), var(--rosa-palido));
  padding: 5.2rem 0 4.4rem;
  text-align: center;
  overflow: hidden;
}
.hero-interno .intro-secao { margin: 1rem auto 0; }
.hero-interno h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); }
.hero-interno > .container > * {
  opacity: 0;
  transform: translateY(26px);
  animation: subir 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-interno > .container > *:nth-child(2) { animation-delay: 0.14s; }
.hero-interno > .container > *:nth-child(3) { animation-delay: 0.28s; }
.hero-interno > .container > *:nth-child(4) { animation-delay: 0.42s; }
.hero-interno > .container > *:nth-child(5) { animation-delay: 0.56s; }

/* ---------- Perfil Paula ---------- */
.perfil {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3.6rem;
  align-items: start;
}
.perfil__foto { position: sticky; top: 110px; }
.perfil__foto img {
  border-radius: var(--raio);
  box-shadow: var(--sombra-alta);
}
.perfil__foto figcaption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--tinta-suave);
}
.perfil__texto > p + p { margin-top: 1.1rem; }
.perfil__texto h2 { margin: 2.5rem 0 0.9rem; font-size: clamp(1.9rem, 3.4vw, 2.5rem); }

/* ---------- Lista de terapias (página) ---------- */
.terapia {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.8rem;
  padding: 2.8rem 0;
  border-bottom: 1px solid var(--rosa-borda);
}
.terapia:last-child { border-bottom: none; }
.terapia__icone {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rosa-palido), #F3DFEC);
  color: var(--ameixa);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transicao);
}
.terapia:hover .terapia__icone { transform: scale(1.1) rotate(-6deg); }
.terapia h3 { margin-bottom: 0.6rem; }
.terapia p { color: var(--tinta-suave); font-size: 1.05rem; }
.terapia p + p { margin-top: 0.8rem; }
.terapia .indicacoes {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.tag {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--oliva-escuro);
  background: #EFF0E0;
  border-radius: 999px;
  padding: 0.32rem 0.95rem;
  transition: transform var(--transicao);
}
.tag:hover { transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq-lista { max-width: 820px; margin: 0 auto; display: grid; gap: 1rem; }
.faq-item {
  background: var(--branco);
  border: 1px solid var(--rosa-borda);
  border-radius: var(--raio);
  overflow: hidden;
  transition: box-shadow var(--transicao);
}
.faq-item[open] { box-shadow: var(--sombra); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 1.6rem;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--raiz);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--fonte-display);
  font-size: 1.9rem;
  color: var(--ameixa);
  line-height: 1;
  transition: transform var(--transicao);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-resposta { padding: 0 1.6rem 1.5rem; color: var(--tinta-suave); font-size: 1.05rem; }
.faq-item .faq-resposta p + p { margin-top: 0.8rem; }

/* ---------- Blog ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--branco);
  border: 1px solid var(--rosa-borda);
  border-radius: var(--raio);
  padding: 2.2rem 1.9rem;
  position: relative;
  transition: transform var(--transicao), box-shadow var(--transicao);
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--sombra-alta); }
.post-card .categoria {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oliva);
}
.post-card h3 { margin: 0.7rem 0 0.7rem; }
.post-card h3 a { color: var(--raiz); }
.post-card h3 a:hover { color: var(--ameixa); }
.post-card p { color: var(--tinta-suave); font-size: 1.02rem; flex-grow: 1; }
.post-card .meta { margin-top: 1.2rem; font-size: 0.92rem; color: var(--tinta-suave); }

/* Artigo */
.artigo { max-width: 760px; margin: 0 auto; }
.artigo header { text-align: center; margin-bottom: 3rem; }
.artigo header h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); }
.artigo header .meta { color: var(--tinta-suave); font-size: 0.98rem; margin-top: 0.9rem; }
.artigo h2 { margin: 2.8rem 0 1rem; font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.artigo p { font-size: 1.14rem; }
.artigo p + p { margin-top: 1.1rem; }
.artigo ul, .artigo ol { margin: 1.1rem 0 1.1rem 1.5rem; color: var(--tinta); font-size: 1.12rem; }
.artigo ul li + li, .artigo ol li + li { margin-top: 0.5rem; }
.artigo blockquote {
  margin: 2.2rem 0;
  padding: 1.5rem 1.9rem;
  border-left: 5px solid var(--ameixa);
  background: var(--rosa-palido);
  border-radius: 0 var(--raio) var(--raio) 0;
  font-family: var(--fonte-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--raiz);
  line-height: 1.4;
}
.aviso-artigo {
  margin-top: 3rem;
  padding: 1.2rem 1.5rem;
  background: #EFF0E0;
  border-radius: var(--raio);
  font-size: 0.98rem;
  color: var(--oliva-escuro);
}

/* ---------- Contato ---------- */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  align-items: start;
}
.bloco-contato {
  background: var(--branco);
  border: 1px solid var(--rosa-borda);
  border-radius: var(--raio);
  padding: 2.3rem 2rem;
  transition: box-shadow var(--transicao);
}
.bloco-contato:hover { box-shadow: var(--sombra); }
.bloco-contato + .bloco-contato { margin-top: 1.5rem; }
.bloco-contato h3 { margin-bottom: 1rem; }
.lista-contato { list-style: none; display: grid; gap: 1rem; }
.lista-contato li { display: flex; gap: 0.9rem; align-items: flex-start; }
.lista-contato svg { flex-shrink: 0; color: var(--ameixa); margin-top: 4px; }
.lista-contato strong { display: block; color: var(--raiz); font-size: 1.05rem; }
.lista-contato span, .lista-contato a { color: var(--tinta-suave); }
.lista-contato a:hover { color: var(--ameixa); }

.mapa {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: var(--raio);
  box-shadow: var(--sombra-alta);
}

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final .botao { margin-top: 2rem; }
.cta-final h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.cta-final p { max-width: 600px; margin: 1rem auto 0; font-size: 1.15rem; color: var(--tinta-suave); }

/* ---------- Faixa de números ---------- */
.faixa-numeros {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  text-align: center;
}
.numero__valor {
  font-family: var(--fonte-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  background: var(--grad-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.numero__rotulo {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--tinta-suave);
  max-width: 230px;
  margin-left: auto;
  margin-right: auto;
}
.fonte-dados {
  text-align: center;
  font-size: 0.85rem;
  color: var(--tinta-suave);
  margin-top: 2.2rem;
}

/* ---------- Footer ---------- */
.rodape {
  background:
    radial-gradient(50vw 30vw at 100% 0%, rgba(150, 55, 110, 0.18), transparent 60%),
    #2E2018;
  color: #D8CCC2;
  padding: 4.5rem 0 2.2rem;
  font-size: 1rem;
}
.rodape__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.6rem;
}
.rodape h4 {
  color: var(--branco);
  font-family: var(--fonte-corpo);
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.rodape ul { list-style: none; display: grid; gap: 0.6rem; }
.rodape a { color: #D8CCC2; }
.rodape a:hover { color: var(--branco); }
.rodape .marca__instituto { color: #B9BC8C; }
.rodape .marca__nome { color: #E8A9CE; }
.rodape__sobre p { margin-top: 1.1rem; max-width: 310px; }

.rodape__base {
  margin-top: 3.2rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #B4A79C;
}
.rodape__base a { color: #B4A79C; text-decoration: underline; }

.rodape .aviso {
  margin-top: 1.5rem;
  font-size: 0.86rem;
  color: #B4A79C;
  max-width: 880px;
}

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 70;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--verde-whats);
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(16, 124, 62, 0.45);
  transition: transform var(--transicao);
}
.whats-flutuante::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--verde-whats);
  animation: eco 2.4s ease-out infinite;
}
@keyframes eco {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}
.whats-flutuante:hover { transform: scale(1.1); color: var(--branco); }

/* ---------- Acessibilidade: pular para o conteúdo ---------- */
.pular-conteudo {
  position: absolute;
  left: 1rem;
  top: -110px;
  z-index: 130;
  background: var(--ameixa-escuro);
  color: var(--branco);
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 0 0 12px 12px;
  transition: top 0.2s ease;
}
.pular-conteudo:focus { top: 0; color: var(--branco); }

/* ---------- Balão flutuante de acessibilidade ---------- */
.acess-flutuante {
  position: fixed;
  left: 1.4rem;
  bottom: 1.4rem;
  z-index: 80;
}
.acess-flutuante__botao {
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 50%;
  background: var(--grad-ameixa);
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(110, 36, 80, 0.42);
  transition: transform var(--transicao), box-shadow var(--transicao);
}
.acess-flutuante__botao svg { width: 32px; height: 32px; }
.acess-flutuante__botao:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 34px rgba(110, 36, 80, 0.52);
}
.acess-flutuante__botao[aria-expanded="true"] { transform: scale(0.94); }

.acess-flutuante__painel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.9rem);
  width: min(17rem, calc(100vw - 2.8rem));
  background: var(--branco);
  border: 1px solid var(--rosa-borda);
  border-radius: var(--raio);
  box-shadow: var(--sombra-alta);
  padding: 1.15rem 1.15rem 1rem;
  animation: painel-entrar 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes painel-entrar {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.acess-flutuante__titulo {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oliva);
  margin-bottom: 0.85rem;
}
.acess-flutuante__linha {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.acess-flutuante__linha button { flex: 1; }
.acess-flutuante__painel button {
  font-family: var(--fonte-corpo);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ameixa);
  background: var(--rosa-palido);
  border: 1px solid var(--rosa-borda);
  border-radius: 999px;
  min-height: 44px; /* alvo de toque WCAG 2.5.5 */
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: background var(--transicao), color var(--transicao), border-color var(--transicao);
}
.acess-flutuante__painel > button {
  display: block;
  width: 100%;
  margin-bottom: 0.55rem;
}
.acess-flutuante__painel button:hover,
.acess-flutuante__painel button[aria-pressed="true"] {
  background: var(--ameixa);
  border-color: var(--ameixa);
  color: var(--branco);
}
.acess-flutuante__painel button[aria-pressed="true"]::before { content: "✓ "; }
.acess-flutuante__painel a {
  display: block;
  text-align: center;
  margin-top: 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Menu mobile aberto: recolhe os balões para não cobrir os links */
body.nav-aberto .acess-flutuante,
body.nav-aberto .whats-flutuante {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Ajuste de fonte via html (unidades rem escalam junto) */
html.fonte-maior { font-size: 115%; }
html.fonte-menor { font-size: 88%; }

/* ---------- Alto contraste ---------- */
html[data-contraste="alto"] body {
  --creme: #000000;
  --branco: #0D0D0D;
  --rosa-palido: #0D0D0D;
  --rosa-borda: #6E6E6E;
  --rosa-claro: #FFD75E;
  --tinta: #FFFFFF;
  --tinta-suave: #ECECEC;
  --raiz: #FFFFFF;
  --ameixa: #FFD75E;
  --ameixa-escuro: #FFD75E;
  --ameixa-suave: #FFD75E;
  --oliva: #FFD75E;
  --oliva-escuro: #FFD75E;
  --dourado: #FFD75E;
  --verde-whats: #FFD75E;
  --grad-ameixa: linear-gradient(120deg, #FFD75E, #FFD75E);
  --grad-texto: linear-gradient(120deg, #FFD75E, #FFD75E);
  --sombra: none;
  --sombra-alta: none;
}
html[data-contraste="alto"] body .hero,
html[data-contraste="alto"] body .hero-interno { background: #000; animation: none; }
html[data-contraste="alto"] body .topo { background: #000; border-bottom-color: #6E6E6E; }
html[data-contraste="alto"] body .secao--rosa { background: #000; }
html[data-contraste="alto"] body .marca__nome { color: #FFD75E; }
html[data-contraste="alto"] body .marca__instituto { color: #FFFFFF; }
html[data-contraste="alto"] body .nav a { color: #FFFFFF; }
html[data-contraste="alto"] body .nav a:hover,
html[data-contraste="alto"] body .nav a.ativo { color: #FFD75E; }
html[data-contraste="alto"] body .destaque-ameixa,
html[data-contraste="alto"] body .numero__valor { background: none; -webkit-background-clip: initial; background-clip: initial; color: #FFD75E; }
html[data-contraste="alto"] body .botao--whats,
html[data-contraste="alto"] body .botao--primario,
html[data-contraste="alto"] body .whats-flutuante { background: #FFD75E; color: #000; box-shadow: none; }
html[data-contraste="alto"] body .botao--whats:hover,
html[data-contraste="alto"] body .botao--primario:hover { background: #FFE99B; color: #000; }
html[data-contraste="alto"] body .botao--claro { background: #000; color: #FFD75E; border-color: #FFD75E; box-shadow: none; }
html[data-contraste="alto"] body .botao--contorno { border-color: #FFD75E; color: #FFD75E; }
html[data-contraste="alto"] body .botao--contorno:hover { background: #FFD75E; color: #000; }
html[data-contraste="alto"] body .marquee { background: #0D0D0D; border-top: 1px solid #6E6E6E; border-bottom: 1px solid #6E6E6E; color: #FFD75E; }
html[data-contraste="alto"] body .faixa-eoe { background: #0D0D0D; border: 2px solid #FFD75E; animation: none; box-shadow: none; }
html[data-contraste="alto"] body .faixa-eoe p,
html[data-contraste="alto"] body .faixa-eoe ul li { color: #FFFFFF; }
html[data-contraste="alto"] body .faixa-eoe .eyebrow,
html[data-contraste="alto"] body .faixa-eoe ul li::before { color: #FFD75E; }
html[data-contraste="alto"] body .passo { border: 1px solid #6E6E6E; border-top-width: 5px; box-shadow: none; }
html[data-contraste="alto"] body .card__icone,
html[data-contraste="alto"] body .terapia__icone { background: #262626; color: #FFD75E; }
html[data-contraste="alto"] body .card:hover .card__icone { background: #FFD75E; color: #000; }
html[data-contraste="alto"] body .tag { background: #262626; color: #FFD75E; }
html[data-contraste="alto"] body .rodape { background: #000; color: #FFFFFF; border-top: 1px solid #6E6E6E; }
html[data-contraste="alto"] body .rodape a { color: #FFD75E; }
html[data-contraste="alto"] body .rodape .aviso,
html[data-contraste="alto"] body .rodape__base { color: #ECECEC; }
html[data-contraste="alto"] body .rodape .marca__instituto { color: #FFFFFF; }
html[data-contraste="alto"] body .rodape .marca__nome { color: #FFD75E; }
html[data-contraste="alto"] body .acess-flutuante__botao { background: #FFD75E; color: #000; box-shadow: none; }
html[data-contraste="alto"] body .acess-flutuante__painel { background: #0D0D0D; border-color: #6E6E6E; box-shadow: none; }
html[data-contraste="alto"] body .acess-flutuante__titulo { color: #FFD75E; }
html[data-contraste="alto"] body .acess-flutuante__painel button { background: #262626; border-color: #6E6E6E; color: #FFD75E; }
html[data-contraste="alto"] body .acess-flutuante__painel button:hover,
html[data-contraste="alto"] body .acess-flutuante__painel button[aria-pressed="true"] { background: #FFD75E; border-color: #FFD75E; color: #000; }
html[data-contraste="alto"] body .acess-flutuante__painel .escala-fonte { color: #FFFFFF; }
html[data-contraste="alto"] body .artigo blockquote { background: #0D0D0D; border: 1px solid #6E6E6E; border-left: 5px solid #FFD75E; color: #FFFFFF; }
html[data-contraste="alto"] body .aviso-artigo { background: #262626; color: #FFFFFF; }
html[data-contraste="alto"] body .hero__logo::before,
html[data-contraste="alto"] body .hero__logo::after { display: none; }
html[data-contraste="alto"] body ::selection { background: #FFD75E; color: #000; }
html[data-contraste="alto"] body a:focus-visible,
html[data-contraste="alto"] body button:focus-visible,
html[data-contraste="alto"] body summary:focus-visible { outline-color: #FFD75E; }

/* ---------- Animações de entrada ao rolar ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visivel { opacity: 1; transform: none; }

/* Stagger automático dentro de grades */
.grade .reveal:nth-child(2) { transition-delay: 0.1s; }
.grade .reveal:nth-child(3) { transition-delay: 0.2s; }
.grade .reveal:nth-child(4) { transition-delay: 0.3s; }
.grade .reveal:nth-child(5) { transition-delay: 0.12s; }
.grade .reveal:nth-child(6) { transition-delay: 0.22s; }
.grade .reveal:nth-child(7) { transition-delay: 0.32s; }
.grade .reveal:nth-child(8) { transition-delay: 0.42s; }
.passos .reveal:nth-child(2) { transition-delay: 0.15s; }
.passos .reveal:nth-child(3) { transition-delay: 0.3s; }

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

.escala-fonte {
  min-width: 3.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Destacar links (baixa visão / dificuldade de percepção de cor) */
html.a11y-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
html.a11y-links .nav a:not(.botao),
html.a11y-links .rodape a { font-weight: 700; }

/* Pausar animações (sensibilidade a movimento) */
html.a11y-parado *,
html.a11y-parado *::before,
html.a11y-parado *::after {
  animation-duration: 0.001s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001s !important;
}
html.a11y-parado .reveal,
html.a11y-parado .hero__texto > *,
html.a11y-parado .hero-interno > .container > * { opacity: 1; transform: none; }
html.a11y-parado .marquee__trilho { animation: none !important; transform: none; }
html.a11y-parado .hero { animation: none !important; }
html.a11y-parado .hero__logo { transform: none !important; }

/* Modo de cores forçadas (Alto Contraste do Windows) */
@media (forced-colors: active) {
  .botao, .card, .passo, .post-card, .depoimento, .faq-item, .bloco-contato { border: 1px solid; }
  .acess-flutuante__botao, .acess-flutuante__painel, .whats-flutuante { border: 1px solid; }
  .progresso-scroll { background: Highlight; }
}

/* VLibras: garante que o widget fique acima do conteúdo e abaixo dos modais */
div[vw] { z-index: 90; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal, .hero__texto > *, .hero-interno > .container > * { opacity: 1; transform: none; }
  .marquee__trilho { animation: none; transform: none; }
  .hero { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .grade--3, .grade--4 { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero__texto p.apoio { margin-left: auto; margin-right: auto; }
  .hero__acoes, .hero__eoe { justify-content: center; }
  .hero__logo { order: -1; }
  .hero__logo img { width: min(300px, 68vw); }
  .hero__scroll { display: none; }
  .faixa-eoe { grid-template-columns: 1fr; padding: 2.8rem 2.2rem; }
  .passos { grid-template-columns: 1fr; }
  .perfil { grid-template-columns: 1fr; }
  .perfil__foto { position: static; max-width: 360px; margin: 0 auto; }
  .contato-grid { grid-template-columns: 1fr; }
  .mapa { min-height: 360px; }
  .rodape__grid { grid-template-columns: 1fr 1fr; }
  .faixa-numeros { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .secao { padding: 4.2rem 0; }
  .grade--2, .grade--3, .grade--4 { grid-template-columns: 1fr; }
  .terapia { grid-template-columns: 1fr; }
  .terapia__icone { width: 58px; height: 58px; }
  .acess-flutuante { left: 1rem; bottom: 1rem; }
  .whats-flutuante { right: 1rem; bottom: 1rem; }
  .acess-flutuante__botao, .whats-flutuante { width: 54px; height: 54px; }
  .acess-flutuante__botao svg { width: 28px; height: 28px; }

  .nav {
    position: fixed;
    inset: 0;
    top: 64px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2.8rem;
    gap: 1.7rem;
    background: var(--creme);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 59;
  }
  .nav.aberto { transform: none; }
  .nav a { font-size: 1.3rem; }
  .nav-toggle { display: block; }
  body.nav-aberto { overflow: hidden; }
}
