/* =========================================================
   Suyenne Amaral, psicóloga
   1. Tokens  2. Base  3. Componentes  4. Preloader e header
   5. Seções  6. Utilitários  7. Movimento reduzido
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Paleta tirada do logo: flor de cerejeira, tronco vinho e papel de aquarela */
  /* Fundos */
  --c-nevoa: #FBF6F3;
  --c-areia: #F6E9E7;
  --c-duna: #EDD3D4;
  --c-vinho: #3A1E24;

  /* Texto */
  --c-grafite: #43252A;
  --c-grafite-suave: #74585C;
  --c-vinho-texto: #EAD7D8;

  /* Acento */
  --c-rosa: #E9A6B8;
  --c-rosa-profundo: #A3475F;

  /* Degradês */
  --g-janela: radial-gradient(70% 60% at 75% 25%, rgba(233, 166, 184, 0.24), transparent 70%),
              radial-gradient(50% 50% at 10% 90%, rgba(238, 210, 212, 0.75), transparent 70%);
  --g-areia: linear-gradient(180deg, #FBF6F3 0%, #F6E9E7 100%);
  --g-noite: radial-gradient(60% 70% at 85% 10%, rgba(233, 166, 184, 0.18), transparent 70%);

  /* Linhas e sombras */
  --c-linha: rgba(67, 37, 42, 0.12);
  --c-linha-escura: rgba(234, 215, 216, 0.16);
  --sombra-suave: 0 1px 2px rgba(67, 37, 42, 0.05), 0 16px 40px -18px rgba(67, 37, 42, 0.22);
  --sombra-flutuante: 0 2px 6px rgba(67, 37, 42, 0.06), 0 28px 56px -20px rgba(67, 37, 42, 0.30);

  /* Tipografia */
  --f-titulo: "Playfair Display", Georgia, serif;
  --f-texto: "Onest", "Helvetica Neue", Arial, sans-serif;
  --f-serifa: "Playfair Display", Georgia, serif;

  --t-h1: clamp(2.6rem, 1.4rem + 4.6vw, 5.5rem);
  --t-h2: clamp(1.9rem, 1.3rem + 2.3vw, 3.25rem);
  --t-h3: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --t-destaque: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
  --t-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --t-corpo: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --t-pequeno: 0.875rem;
  --t-botao: 0.9375rem;

  /* Espaço */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;  --s-5: 24px;  --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px; --s-11: 160px;

  /* Raios */
  --r-pill: 999px;
  --r-sm: 10px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-capsula: 999px;

  /* Movimento */
  --ease-saida: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-cortina: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 64px;
  --gutter: clamp(20px, 5vw, 56px);
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

html.is-loading { overflow: hidden; }

body {
  margin: 0;
  background: var(--c-nevoa);
  color: var(--c-grafite);
  font-family: var(--f-texto);
  font-size: var(--t-corpo);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}

/* Grão de papel fotográfico sobre a página */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--f-titulo);
  font-weight: 500;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: 0; }

p { text-wrap: pretty; max-width: 62ch; }

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

a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--c-rosa-profundo);
  outline-offset: 3px;
  border-radius: 4px;
}
.contato :focus-visible,
.rodape :focus-visible { outline-color: var(--c-rosa); }

main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.secao { padding-block: clamp(88px, 11vw, 160px); position: relative; }

/* ---------- 3. Componentes ---------- */

/* Ícones */
.icone {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.icone--16 { width: 16px; height: 16px; }
.icone--20 { width: 20px; height: 20px; }
.icone--28 { width: 28px; height: 28px; }
.icone--36 { width: 36px; height: 36px; }

/* Botões */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--f-texto);
  font-size: var(--t-botao);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 220ms ease, color 220ms ease;
}
.botao--primario { background: var(--c-rosa); color: var(--c-grafite); }
.botao--primario:hover { background: var(--c-grafite); color: var(--c-nevoa); }
.botao--escuro:hover { background: var(--c-nevoa); color: var(--c-grafite); }
.botao--compacto { min-height: 44px; padding: 0 18px; }
.botao--largo { width: 100%; }

/* Link de texto: sublinhado fino que cresce da esquerda */
.link {
  color: var(--c-rosa-profundo);
  font-weight: 500;
  text-decoration: none;
  padding-block: 4px;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(rgba(163, 71, 95, 0.3), rgba(163, 71, 95, 0.3));
  background-size: 0% 1px, 100% 1px;
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 320ms var(--ease-saida);
}
.link:hover { background-size: 100% 1px, 100% 1px; }

/* Fotos */
.foto { position: relative; }
.foto__moldura {
  position: relative;
  overflow: hidden;
  background: var(--g-areia);
  box-shadow: var(--sombra-suave);
}
.foto--hero .foto__moldura { aspect-ratio: 3 / 4; border-radius: var(--r-capsula); }
.foto--sobre .foto__moldura { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }

.foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.foto--hero img { object-position: 50% 30%; }
.foto--sobre img { object-position: 50% 25%; }

.foto__placeholder {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--c-grafite-suave);
}
.foto__placeholder::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1.25px dashed rgba(163, 71, 95, 0.4);
  border-radius: inherit;
}
.foto--hero .foto__placeholder::before { border-radius: var(--r-capsula); }
.foto--sobre .foto__placeholder::before { border-radius: calc(var(--r-lg) - 14px); }
.foto__placeholder .icone { color: var(--c-rosa-profundo); margin-bottom: 6px; }
.foto__placeholder-titulo { font-weight: 500; color: var(--c-grafite); }
.foto--vazia img { display: none; }
.foto--vazia .foto__placeholder { display: flex; }

.foto__legenda {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--c-grafite-suave);
  text-align: right;
}

/* Pular para o conteúdo */
.pular {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--c-grafite);
  color: var(--c-nevoa);
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 500;
}
.pular:focus { top: 16px; }

/* ---------- 4. Preloader ---------- */
.preloader { display: none; }

html.js .preloader {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--g-janela), var(--c-nevoa);
  clip-path: inset(0 0 0 0);
}
html.js:not(.is-loading) .preloader { display: none; }
html.js .preloader.is-saindo {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 600ms var(--ease-cortina);
}

.preloader__centro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.preloader__marca {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 20px;
}
.preloader__curvas { width: 100%; height: 100%; }
.preloader__curvas path {
  fill: none;
  stroke: var(--c-rosa);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-opacity: calc(0.6 - var(--i) * 0.09);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: desenha 900ms var(--ease-saida) forwards;
  animation-delay: calc(var(--i) * 90ms);
}
/* A árvore do logo cresce a partir do chão */
.preloader__arvore {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: auto;
  translate: -50% -52%;
  transform-origin: 50% 100%;
  opacity: 0;
  transform: scale(0.86);
  animation: cresce 900ms var(--ease-saida) forwards 450ms;
}
@keyframes cresce { to { opacity: 1; transform: none; } }
.preloader__nome,
.preloader__crp {
  opacity: 0;
  transform: translateY(8px);
  animation: sobe 700ms var(--ease-saida) forwards;
}
.preloader__nome {
  font-family: var(--f-titulo);
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  animation-delay: 900ms;
}
.preloader__crp {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--c-grafite-suave);
  animation-delay: 980ms;
}
.preloader__tempo {
  display: block;
  width: 120px;
  height: 1px;
  margin-top: 28px;
  background: var(--c-rosa);
  transform: scaleX(0);
  transform-origin: left;
  animation: preenche 2700ms linear forwards;
}

@keyframes desenha { to { stroke-dashoffset: 0; } }
@keyframes aparece { to { opacity: 1; } }
@keyframes sobe { to { opacity: 1; transform: none; } }
@keyframes preenche { to { transform: scaleX(1); } }

/* ---------- 4. Header ---------- */
.sentinela { position: absolute; top: 24px; left: 0; width: 1px; height: 1px; pointer-events: none; }

.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
}
.topo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 246, 243, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-linha);
  opacity: 0;
  transition: opacity 250ms ease;
}
.topo.is-scrolled::before { opacity: 1; }

.topo__barra {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-grafite);
  min-height: 44px;
}
.marca__arvore { width: 46px; height: auto; margin-block: -4px; }
.marca__texto { display: flex; flex-direction: column; white-space: nowrap; }
.marca__nome {
  font-family: var(--f-titulo);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.marca__crp { font-size: 0.75rem; line-height: 1.3; color: var(--c-grafite-suave); }

.nav { display: none; }
.topo__cta { display: none; }

.menu-botao {
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  border-radius: 50%;
}
.menu-botao__linha {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.25px;
  background: var(--c-grafite);
  border-radius: 2px;
  transition: transform 300ms var(--ease-saida), top 300ms var(--ease-saida);
}
.menu-botao__linha:first-child { top: 18px; }
.menu-botao__linha:last-child { top: 25px; }
.menu-botao[aria-expanded="true"] .menu-botao__linha:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-botao[aria-expanded="true"] .menu-botao__linha:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { display: block; margin-left: auto; }
  .nav ul { display: flex; gap: 32px; }
  .nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: var(--t-botao);
    font-weight: 500;
    text-decoration: none;
    color: var(--c-grafite);
    transition: color 200ms ease;
  }
  .nav a:hover { color: var(--c-rosa-profundo); }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 12px;
    height: 1.5px;
    background: var(--c-rosa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 250ms var(--ease-saida);
  }
  .nav a[aria-current="true"]::after { transform: scaleX(1); }
  .menu-botao, .menu { display: none !important; }
}
/* O botão do header só cabe ao lado do menu a partir de 1200px */
@media (min-width: 1200px) {
  .topo__cta { display: inline-flex; margin-left: 8px; }
}

/* Menu mobile */
.menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: var(--header-h);
  background: var(--g-janela), var(--c-nevoa);
  opacity: 0;
  transition: opacity 250ms ease;
}
.menu.is-aberto { opacity: 1; }
.menu__curvas {
  position: absolute;
  right: -38%;
  bottom: -22%;
  width: min(130vw, 720px);
  opacity: 0.3;
  pointer-events: none;
}
.menu__conteudo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-block: 32px 48px;
}
.menu__links a {
  display: block;
  padding-block: 6px;
  font-family: var(--f-titulo);
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--c-grafite);
}
.menu__extras { display: flex; flex-direction: column; gap: 4px; }
.menu__extras a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--c-grafite-suave);
}
.menu__extras .icone { color: var(--c-rosa-profundo); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 64px));
  padding-bottom: clamp(64px, 8vw, 112px);
  background: var(--g-janela), var(--c-nevoa);
  overflow: hidden;
}

.hero__grade { position: relative; }
.hero__texto { position: relative; z-index: 4; }

.hero__titulo { max-width: 15ch; }
.hero__linha { display: block; }

.hero__lead {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 44ch;
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--c-grafite-suave);
}

.hero__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(28px, 3vw, 40px);
}

.hero__apoio {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: var(--t-pequeno);
  color: var(--c-grafite-suave);
}
.hero__apoio .icone { color: var(--c-rosa-profundo); }

.hero__visual {
  position: relative;
  width: min(82vw, 380px);
  margin: 48px auto 0;
}

.hero__curvas {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 220%;
  aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
  z-index: 0;
}
.hero__curvas svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: respira 18s ease-in-out infinite alternate;
}
.hero__curvas path {
  fill: none;
  stroke: var(--c-rosa);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-opacity: calc(0.5 - var(--i) * 0.0382);
}
@keyframes respira {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1.015) rotate(1deg); }
}

.hero__halo {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 2%;
  height: 56%;
  border-radius: 50%;
  background: rgba(238, 210, 212, 0.8);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.foto--hero { position: relative; z-index: 2; }

.selo {
  position: absolute;
  z-index: 3;
  top: 30%;
  right: -30px;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(251, 246, 243, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--sombra-suave);
}
.selo__texto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: gira 40s linear infinite;
}
.selo__texto text {
  font-family: var(--f-texto);
  font-weight: 500;
  font-size: 11px;
  fill: var(--c-grafite);
}
.selo__arvore { width: 40px; height: auto; }
@keyframes gira { to { transform: rotate(360deg); } }

.is-pausado .hero__curvas svg,
.is-pausado .selo__texto { animation-play-state: paused; }

@media (max-width: 599px) {
  .hero .botao--primario { width: 100%; }
}

@media (min-width: 1024px) {
  .hero {
    min-height: min(100svh, 920px);
    display: grid;
    align-items: center;
  }
  .hero__grade {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: center;
  }
  .hero__texto { grid-column: 1 / 8; }
  .hero__titulo { font-size: clamp(3rem, 0.4rem + 4vw, 4.75rem); max-width: none; }
  .hero__visual {
    grid-column: 8 / 13;
    justify-self: end;
    width: clamp(330px, 29vw, 440px);
    margin: 0 clamp(24px, 3.5vw, 56px) 0 0;
  }
  .selo { width: 112px; height: 112px; right: -48px; }
  .selo__arvore { width: 54px; }
}

/* Entrada do Hero (depois do preloader) */
html.js .hero__linha,
html.js .h-entra { opacity: 0; transform: translateY(18px); }
html.js .h-entra { transform: translateY(14px); }
html.js .foto--hero .foto__moldura { clip-path: inset(100% 0 0 0 round var(--r-capsula)); }
html.js .hero__curvas path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .selo { opacity: 0; transform: scale(0.92); }

html.js.hero-play .hero__linha {
  animation: sobe 600ms var(--ease-saida) both;
}
html.js.hero-play .hero__linha:nth-child(2) { animation-delay: 60ms; }
html.js.hero-play .hero__linha:nth-child(3) { animation-delay: 120ms; }
html.js.hero-play .h-entra { animation: sobe 650ms var(--ease-saida) both; animation-delay: var(--d, 0ms); }
html.js.hero-play .foto--hero .foto__moldura {
  clip-path: none;
  animation: revela-foto 1100ms var(--ease-cortina) 100ms backwards;
}
html.js.hero-play .hero__curvas path {
  animation: desenha 840ms var(--ease-saida) forwards;
  animation-delay: calc(300ms + var(--i) * 60ms);
}
html.js.hero-play .selo { animation: selo-entra 500ms var(--ease-saida) 1000ms both; }

@keyframes revela-foto {
  from { clip-path: inset(100% 0 0 0 round var(--r-capsula)); }
  to { clip-path: inset(0 0 0 0 round var(--r-capsula)); }
}
@keyframes selo-entra {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: none; }
}

/* ---------- 5. Ficha ---------- */
.ficha { border-block: 1px solid var(--c-linha); padding-block: clamp(32px, 4vw, 56px); }
.ficha__lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}
.ficha__item { display: flex; flex-direction: column-reverse; gap: 6px; }
.ficha__item dd {
  font-family: var(--f-serifa);
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-grafite);
}
.ficha__item--longo dd {
  font-family: var(--f-titulo);
  font-weight: 500;
  font-size: clamp(1.125rem, 0.5rem + 3vw, 2.5rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
  min-height: 1.1em;
  display: flex;
  align-items: flex-end;
}
.ficha__item dt { font-size: var(--t-pequeno); line-height: 1.5; letter-spacing: 0.01em; color: var(--c-grafite-suave); }

@media (min-width: 600px) {
  .ficha__item--longo dd { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); }
}
@media (min-width: 900px) {
  .ficha__lista { grid-template-columns: 1fr 1.25fr 1fr 1fr; gap: 0; }
  .ficha__item { padding-inline: clamp(16px, 2vw, 32px); border-left: 1px solid var(--c-linha); }
  .ficha__item dd { white-space: nowrap; }
  .ficha__item:first-child { padding-left: 0; border-left: 0; }
  .ficha__item--longo dd { font-size: clamp(1.5rem, 0.6rem + 1.6vw, 2.25rem); }
}

/* ---------- 5. Atendimentos ---------- */
.atendimentos { background: var(--c-areia); }

.atendimentos__abertura p { margin-top: 20px; color: var(--c-grafite-suave); }

.frentes { margin-top: clamp(48px, 6vw, 80px); }
.frentes__abas { display: none; }
.frentes__paineis { display: grid; gap: 20px; }

.painel {
  background: var(--c-nevoa);
  border-radius: var(--r-md);
  padding: clamp(28px, 3vw, 48px);
  box-shadow: var(--sombra-suave);
}
.painel__icone { color: var(--c-rosa-profundo); }
.painel h3 { margin-top: 20px; }
.painel > p { margin-top: 14px; color: var(--c-grafite-suave); }
.painel__info {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--c-linha);
}
.painel__info dt { font-weight: 500; font-size: var(--t-pequeno); letter-spacing: 0.01em; }
.painel__info dd { margin-top: 4px; color: var(--c-grafite-suave); }
.painel .link { display: inline-block; margin-top: 24px; }
.painel.is-entrando { animation: aparece-de 250ms ease both; }
@keyframes aparece-de { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 600px) {
  .painel__info { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (min-width: 900px) {
  .atendimentos__abertura {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: end;
  }
  .atendimentos__abertura h2 { grid-column: 1 / 8; }
  .atendimentos__abertura p { grid-column: 8 / 13; margin-top: 0; }

  html.js .frentes {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
  html.js .frentes__abas {
    grid-column: 1 / 5;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--c-linha);
  }
  html.js .frentes__paineis { grid-column: 6 / 13; }

  .aba {
    position: relative;
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 26px 4px 26px 20px;
    border: 0;
    border-bottom: 1px solid var(--c-linha);
    background: transparent;
    text-align: left;
    color: var(--c-grafite-suave);
    transition: color 200ms ease;
  }
  .aba::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: var(--c-rosa);
    border-radius: 2px;
    transform: scaleY(0);
    transition: transform 250ms var(--ease-saida);
  }
  .aba:hover { color: var(--c-grafite); }
  .aba[aria-selected="true"] { color: var(--c-grafite); }
  .aba[aria-selected="true"]::before { transform: scaleY(1); }
  .aba__num { font-family: var(--f-serifa); font-size: 1.125rem; color: var(--c-rosa-profundo); }
  .aba__nome {
    font-family: var(--f-titulo);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.015em;
  }
  .aba__icone { color: var(--c-rosa-profundo); opacity: 0; transform: translateX(-6px); transition: opacity 250ms ease, transform 250ms var(--ease-saida); }
  .aba[aria-selected="true"] .aba__icone { opacity: 1; transform: none; }
}

/* ---------- 5. Percurso da avaliação ---------- */
.percurso { overflow: hidden; }
.percurso__campo {
  position: absolute;
  left: 50%;
  top: 52%;
  width: max(1600px, 115%);
  max-width: none;
  translate: -50% -50%;
  opacity: 0.12;
  pointer-events: none;
}
.percurso .container { position: relative; }
.percurso__abertura { max-width: 760px; }
.percurso__abertura p { margin-top: 20px; color: var(--c-grafite-suave); }

.etapas {
  position: relative;
  display: grid;
  gap: 40px;
  margin-top: 56px;
}
.etapas::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 26px;
  bottom: 26px;
  width: 3px;
  background-image: radial-gradient(circle, var(--c-rosa-profundo) 0.8px, transparent 1.3px);
  background-size: 3px 9px;
  background-repeat: repeat-y;
}
html.js .etapas::before { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease-cortina); }
html.js .etapas.is-desenhada::before { clip-path: inset(0 0 0 0); }

.etapa {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
}
.etapa__ponto {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-nevoa);
  border: 1px solid var(--c-rosa);
  font-family: var(--f-serifa);
  font-size: 1.375rem;
  line-height: 1;
  color: var(--c-rosa-profundo);
}
.etapa__corpo .icone { color: var(--c-rosa-profundo); }
.etapa__corpo h3 { margin-top: 10px; }
.etapa__corpo p { margin-top: 8px; color: var(--c-grafite-suave); }

.percurso__nota {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: clamp(48px, 6vw, 72px);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--c-grafite-suave);
}
.percurso__nota .icone { color: var(--c-rosa-profundo); margin-top: 1px; }

@media (min-width: 1024px) {
  .etapas {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: auto 120px auto;
    gap: 0;
    margin-top: clamp(64px, 7vw, 96px);
  }
  .etapas::before {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    width: auto;
    background: url("../assets/svg/trilha.svg") center / 100% 100% no-repeat;
  }
  html.js .etapas::before { clip-path: inset(0 100% 0 0); }
  html.js .etapas.is-desenhada::before { clip-path: inset(0 0 0 0); }

  .etapa {
    grid-row: 1 / 4;
    display: grid;
    grid-template-rows: subgrid;
    grid-template-columns: none;
    padding-inline: 14px;
  }
  .etapa:nth-child(1) { grid-column: 1; }
  .etapa:nth-child(2) { grid-column: 2; }
  .etapa:nth-child(3) { grid-column: 3; }
  .etapa:nth-child(4) { grid-column: 4; }
  .etapa:nth-child(5) { grid-column: 5; }

  .etapa__ponto {
    grid-row: 2;
    justify-self: center;
    align-self: start;
    margin-top: calc(var(--y) - 26px);
  }
  .etapa__corpo { max-width: 30ch; justify-self: center; width: 100%; }
  .etapa--acima .etapa__corpo { grid-row: 1; align-self: end; padding-bottom: 18px; }
  .etapa--abaixo .etapa__corpo { grid-row: 3; align-self: start; padding-top: 18px; }
  .etapa__corpo h3 { font-size: clamp(1.125rem, 0.9rem + 0.4vw, 1.3rem); }
  .etapa__corpo p { font-size: 0.9375rem; line-height: 1.6; }
}

/* ---------- 5. Quando procurar ---------- */
.sinais { background: var(--g-areia); }
.sinais__fixo > p { margin-top: 20px; color: var(--c-grafite-suave); }

.alternador { display: none; }
html.js .alternador {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 32px;
  padding: 4px;
  border: 1px solid var(--c-linha);
  border-radius: 28px;
  background: rgba(251, 246, 243, 0.6);
}
.alternador__opcao {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-size: var(--t-botao);
  font-weight: 500;
  line-height: 1.2;
  color: var(--c-grafite-suave);
  transition: background-color 220ms ease, color 220ms ease;
}
.alternador__opcao:hover { color: var(--c-grafite); }
.alternador__opcao[aria-pressed="true"] { background: var(--c-grafite); color: var(--c-nevoa); }

.sinais__fixo .botao { margin-top: 28px; }

.sinais__listas { margin-top: 48px; display: grid; gap: 48px; }
html.js .sinais__listas { gap: 0; }
.sinais__subtitulo {
  font-family: var(--f-titulo);
  font-weight: 500;
  font-size: var(--t-pequeno);
  color: var(--c-grafite-suave);
  margin-bottom: 8px;
}
html.js .sinais__subtitulo { display: none; }
.sinais__grupo.is-entrando { animation: aparece-de 250ms ease both; }

.sinais__lista li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  padding-block: 24px;
  border-bottom: 1px solid var(--c-linha);
}
.sinais__lista li:first-child { border-top: 1px solid var(--c-linha); }
.sinais__lista .icone { color: var(--c-rosa-profundo); margin-top: 1px; }
.sinais__lista p { margin-top: 6px; color: var(--c-grafite-suave); }

@media (max-width: 599px) {
  html.js .alternador { display: grid; width: 100%; border-radius: 26px; }
  .sinais__fixo .botao { width: 100%; }
}

@media (min-width: 900px) {
  .sinais__grade {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
  .sinais__abertura { grid-column: 1 / 6; height: 100%; }
  .sinais__fixo { position: sticky; top: calc(var(--header-h) + 40px); }
  .sinais__listas { grid-column: 7 / 13; margin-top: 0; }
}

/* ---------- 5. Sobre ---------- */
.sobre__visual { max-width: 440px; }
.sobre__moldura { position: relative; margin-left: 18px; }
.sobre__moldura::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 18px;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  background: var(--g-areia);
  border: 1px solid rgba(233, 166, 184, 0.5);
}
.sobre__folha {
  position: absolute;
  top: -12px;
  right: -10px;
  width: 24px;
  height: 24px;
  color: var(--c-rosa);
  transform: rotate(15deg);
}
.foto--sobre .foto__legenda { margin-top: 34px; }

.sobre__texto { margin-top: 56px; }
.sobre__texto h2 + div { margin-top: 24px; }
.sobre__texto p + p { margin-top: 16px; }
.sobre__texto > div p { color: var(--c-grafite-suave); }

.destaque {
  margin-top: 40px;
  padding-left: 24px;
  border-left: 2px solid var(--c-rosa);
}
.destaque p {
  font-family: var(--f-serifa);
  font-style: italic;
  font-size: var(--t-destaque);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-grafite);
  text-wrap: balance;
}

.linha-tempo {
  position: relative;
  display: grid;
  gap: 28px;
  margin-top: 48px;
  padding-left: 28px;
}
.linha-tempo::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--c-linha);
}
.linha-tempo li { position: relative; display: grid; grid-template-rows: auto auto auto; }
.linha-tempo li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-nevoa);
  border: 1px solid var(--c-rosa);
}
.linha-tempo__ano {
  grid-row: 1;
  font-family: var(--f-serifa);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--c-rosa-profundo);
}
.linha-tempo__texto { grid-row: 2; font-size: 0.9375rem; line-height: 1.5; }
.linha-tempo__local { grid-row: 3; font-size: var(--t-pequeno); color: var(--c-grafite-suave); }

@media (min-width: 600px) {
  .linha-tempo {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-left: 0;
    padding-top: 28px;
  }
  .linha-tempo::before { left: 0; right: 0; top: 4px; bottom: auto; width: auto; height: 1px; }
  .linha-tempo li { grid-template-rows: 1.75rem auto auto; }
  .linha-tempo li::before { left: 0; top: -28px; }
}

@media (min-width: 900px) {
  .sobre__grade {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: center;
  }
  .sobre__visual { grid-column: 1 / 6; max-width: none; }
  .sobre__texto { grid-column: 7 / 13; margin-top: 0; }
}

/* ---------- 5. Dúvidas ---------- */
.duvidas { background: var(--c-areia); }
.duvidas__abertura p { margin-top: 20px; color: var(--c-grafite-suave); }
.duvidas__abertura .link { display: inline-block; margin-top: 16px; }

.acordeao { margin-top: 48px; border-top: 1px solid var(--c-linha); }
.acordeao details { border-bottom: 1px solid var(--c-linha); }
.acordeao summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--f-serifa);
  font-size: 1.1875rem;
  line-height: 1.35;
  color: var(--c-grafite);
}
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary::marker { content: ""; }
.acordeao summary .icone {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--c-rosa-profundo);
  transition: transform 300ms var(--ease-saida);
}
.acordeao details[open] summary .icone { transform: rotate(45deg); }
.acordeao summary:hover span { color: var(--c-rosa-profundo); }
.acordeao__resposta { overflow: hidden; }
.acordeao__resposta p { max-width: 60ch; padding-bottom: 24px; color: var(--c-grafite-suave); }

@media (min-width: 900px) {
  .duvidas__grade {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
  .duvidas__abertura { grid-column: 1 / 5; }
  .acordeao { grid-column: 6 / 13; margin-top: 0; }
}

/* ---------- 5. Contato ---------- */
.contato {
  padding-block: clamp(96px, 12vw, 168px);
  background: var(--g-noite), var(--c-vinho);
  color: var(--c-vinho-texto);
  overflow: hidden;
}
.contato__curvas {
  position: absolute;
  top: -28%;
  right: -22%;
  width: min(980px, 120vw);
  max-width: none;
  opacity: 0.08;
  pointer-events: none;
}
.contato .container { position: relative; }
.contato h2 { color: var(--c-nevoa); }
.contato__texto > p { margin-top: 20px; }

.canais { margin-top: 40px; border-top: 1px solid var(--c-linha-escura); }
.canais li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding-block: 6px;
  border-bottom: 1px solid var(--c-linha-escura);
}
.canais .icone { color: var(--c-rosa); }
.canais a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-vinho-texto);
  text-decoration: none;
  transition: color 200ms ease;
}
.canais a:hover { color: var(--c-rosa); }

.contato__lado { margin-top: 56px; }

.formulario {
  display: grid;
  gap: 28px;
  padding: 32px;
  background: rgba(251, 246, 243, 0.04);
  border: 1px solid var(--c-linha-escura);
  border-radius: var(--r-md);
}
@media (max-width: 599px) {
  .formulario { padding: 24px 20px; }
}
.campo { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.campo label,
.campo legend {
  padding: 0;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--c-nevoa);
}
.campo legend { margin-bottom: 12px; }
.campo input[type="text"],
.campo textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(234, 215, 216, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--c-nevoa);
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.campo input[type="text"]:focus,
.campo textarea:focus {
  outline: none;
  border-bottom-color: var(--c-rosa);
  box-shadow: 0 1px 0 0 var(--c-rosa);
}
.campo [aria-invalid="true"] { border-bottom-color: var(--c-rosa); }
.campo__erro { font-size: var(--t-pequeno); color: var(--c-rosa); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(234, 215, 216, 0.35);
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  line-height: 1.2;
  color: var(--c-vinho-texto);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.chip:hover span { border-color: var(--c-rosa); }
.chip input:checked + span { background: var(--c-nevoa); border-color: var(--c-nevoa); color: var(--c-grafite); }
.chip input:focus-visible + span { outline: 2px solid var(--c-rosa); outline-offset: 3px; }

.formulario__aviso { font-size: 0.8125rem; line-height: 1.5; }
.formulario .botao { justify-self: start; }
@media (max-width: 599px) {
  .formulario .botao { justify-self: stretch; }
}
html:not(.js) .so-js { display: none; }
html.js .sem-js { display: none; }

.emergencia {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--c-linha-escura);
  font-size: 0.8125rem;
  line-height: 1.55;
  max-width: none;
}

@media (min-width: 900px) {
  .contato__grade {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
  .contato__texto { grid-column: 1 / 6; }
  .contato__lado { grid-column: 7 / 13; margin-top: 0; }
}

/* ---------- 5. Rodapé ---------- */
.rodape {
  background: var(--c-vinho);
  color: var(--c-vinho-texto);
  border-top: 1px solid var(--c-linha-escura);
  padding-block: 64px 32px;
  font-size: 0.9375rem;
}
.rodape__grade { display: grid; gap: 40px; }
/* A aquarela do logo pede fundo claro: a árvore fica num medalhão creme */
.rodape__medalhao {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--c-nevoa);
}
.rodape__medalhao img { width: 56px; height: auto; }
.rodape__nome { font-family: var(--f-titulo); font-weight: 500; font-size: 1.25rem; color: var(--c-nevoa); }
.rodape__titulo {
  font-family: var(--f-texto);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--c-nevoa);
  margin-bottom: 8px;
}
.rodape__coluna a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--c-vinho-texto);
  text-decoration: none;
  transition: color 200ms ease;
}
.rodape__coluna a:hover { color: var(--c-rosa); }
.rodape__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: 48px;
  padding-top: 24px;
  background: linear-gradient(var(--c-linha-escura), var(--c-linha-escura)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: 0.8125rem;
  line-height: 1.55;
}
.rodape__base p:last-child { max-width: 58ch; }

@media (min-width: 600px) {
  .rodape__grade { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .rodape__grade { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
}

/* ---------- 5. Botão flutuante ---------- */
.flutuante {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
  transform-origin: right center;
  transition: opacity 300ms ease, transform 300ms var(--ease-saida), visibility 0s linear 300ms;
}
.flutuante.is-visivel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 300ms ease, transform 300ms var(--ease-saida), visibility 0s;
}
.flutuante__circulo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-rosa);
  color: var(--c-grafite);
  box-shadow: var(--sombra-flutuante);
  transition: background-color 220ms ease, color 220ms ease;
}
.flutuante__circulo .icone { width: 26px; height: 26px; }
.flutuante:hover .flutuante__circulo { background: var(--c-grafite); color: var(--c-nevoa); }
.flutuante__rotulo { display: none; }

@media (min-width: 1024px) and (hover: hover) {
  .flutuante__rotulo {
    display: block;
    padding: 12px 18px;
    border-radius: var(--r-pill);
    background: var(--c-nevoa);
    border: 1px solid var(--c-linha);
    box-shadow: var(--sombra-suave);
    font-size: var(--t-botao);
    font-weight: 500;
    color: var(--c-grafite);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 220ms ease, transform 220ms var(--ease-saida);
  }
  .flutuante:hover .flutuante__rotulo,
  .flutuante:focus-visible .flutuante__rotulo { opacity: 1; transform: none; }
}

/* ---------- 6. Utilitários ---------- */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Revelação ao rolar (só com JS) */
html.js [data-revela] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-saida), transform 600ms var(--ease-saida);
  transition-delay: var(--atraso, 0ms);
}
html.js [data-revela].is-visivel { opacity: 1; transform: none; }

/* ---------- 7. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  html.js .preloader.is-saindo { clip-path: none; opacity: 0; transition: opacity 400ms ease; }
  .preloader__curvas path { animation: none; stroke-dashoffset: 0; }
  .preloader__arvore,
  .preloader__nome,
  .preloader__crp { animation: none; opacity: 1; transform: none; }
  .preloader__tempo { animation: none; transform: scaleX(1); }

  html.js .hero__linha,
  html.js .h-entra,
  html.js .selo,
  html.js.hero-play .hero__linha,
  html.js.hero-play .h-entra,
  html.js.hero-play .selo { opacity: 1; transform: none; animation: none; }
  html.js .foto--hero .foto__moldura,
  html.js.hero-play .foto--hero .foto__moldura { clip-path: none; animation: none; }
  html.js .hero__curvas path,
  html.js.hero-play .hero__curvas path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .hero__curvas svg,
  .selo__texto { animation: none; }

  html.js [data-revela] { opacity: 1; transform: none; transition: none; }
  html.js .etapas::before { clip-path: none; transition: none; }

  .painel.is-entrando,
  .sinais__grupo.is-entrando { animation: none; }
  .botao, .link, .flutuante, .flutuante__circulo, .aba, .aba__icone, .menu, .topo::before { transition: none; }
}
