/* ==========================================================================
   LUÍSA PANIAGO — REINVENTE-SE
   Conceito: autoconhecimento → consciência → transformação → reinvenção
   O motivo gráfico é a rede neural da marca: nós e conexões, sempre discretos.
   --------------------------------------------------------------------------
   1. Tokens         5. Hero            9.  Reinvente-se
   2. Base           6. Manifesto       10. Atendimentos
   3. Utilitários    7. Sobre           11. CTA final / rodapé
   4. Cabeçalho      8. Especialidades  12. Responsivo / motion
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  /* Marca */
  --verde: #48887b;
  --azul: #21a6df;

  /* Escala derivada */
  --verde-900: #12312b;
  --verde-800: #1b463e;
  --verde-700: #2a6156;
  --verde-600: #3a756a;
  --verde-400: #74aa9f;
  --verde-200: #bcd8d1;
  --verde-100: #e4efec;
  --verde-50: #f1f7f5;

  --azul-700: #1183b3;
  --azul-400: #5cc0ea;
  --azul-100: #dcf1fb;

  /* Neutros quentes */
  --papel: #fbfaf8;
  --papel-2: #f4f2ee;
  --papel-3: #eceae5;
  --tinta: #1c2321;
  --tinta-2: #5a6360;
  --tinta-3: #8e9895;
  --linha: rgba(28, 35, 33, 0.1);
  --linha-clara: rgba(255, 255, 255, 0.16);

  /* Tipografia */
  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-texto: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-micro: 0.72rem;
  --fs-corpo: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --fs-lead: clamp(1.12rem, 1.02rem + 0.5vw, 1.4rem);
  --fs-h3: clamp(1.32rem, 1.15rem + 0.75vw, 1.85rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.5vw, 3.75rem);
  --fs-h1: clamp(2.6rem, 1.8rem + 4vw, 5.25rem);

  /* Espaço — generoso, é parte da identidade */
  --secao-y: clamp(5rem, 3.5rem + 7vw, 11rem);
  --container: 1240px;
  --estreito: 760px;
  --pad-x: clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --gap: clamp(1.25rem, 0.9rem + 1.6vw, 2.5rem);

  /* Formas — orgânicas e suaves */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 44px;

  --sombra-suave: 0 2px 8px rgba(18, 49, 43, 0.04), 0 16px 48px rgba(18, 49, 43, 0.06);
  --sombra-media: 0 4px 14px rgba(18, 49, 43, 0.05), 0 30px 70px rgba(18, 49, 43, 0.09);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 86px;
}

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

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

body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: var(--fs-corpo);
  line-height: 1.7;
  color: var(--tinta);
  background: var(--verde-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-travado {
  overflow: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 20, "WONK" 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p,
figure,
blockquote {
  margin: 0;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--verde);
  outline-offset: 4px;
  border-radius: 4px;
}

::selection {
  background: var(--verde-100);
  color: var(--verde-900);
}

.pular {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.9rem 1.3rem;
  background: var(--verde);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}

.pular:focus {
  left: 0;
}

/* 3. UTILITÁRIOS =========================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.estreito {
  max-width: var(--estreito);
}

.secao {
  position: relative;
  padding-block: var(--secao-y);
}

.secao--papel {
  background: var(--papel);
}

.secao--papel2 {
  background: var(--papel-2);
}

.secao--verde {
  background: var(--verde-900);
  color: rgba(255, 255, 255, 0.82);
}

.secao--verde h2,
.secao--verde h3 {
  color: #fff;
}

/* Rótulo de seção com um nó da rede neural */
.rotulo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-texto);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde);
}

.rotulo::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--azul);
  flex: none;
  box-shadow: 0 0 0 4px var(--azul-100);
}

.secao--verde .rotulo {
  color: var(--verde-200);
}

.secao--verde .rotulo::before {
  background: var(--azul-400);
  box-shadow: 0 0 0 4px rgba(92, 192, 234, 0.16);
}

.secao-head {
  margin-bottom: clamp(2.5rem, 1.8rem + 2.6vw, 4.5rem);
}

.secao-head h2 {
  font-size: var(--fs-h2);
  margin-top: 1.1rem;
  max-width: 20ch;
}

.secao-head .lead {
  margin-top: 1.5rem;
}

/* Os dois contextos de atuacao, logo abaixo do lead de Atendimentos.
   O numero e um marcador absoluto de proposito: com display:grid no <li>,
   um <b> no meio da frase quebraria o texto numa segunda coluna. */
.contextos {
  margin-top: 1.4rem;
  max-width: 58ch;
  display: grid;
  gap: 0.85rem;
  counter-reset: ctx;
  list-style: none;
}

.contextos li {
  position: relative;
  counter-increment: ctx;
  padding-left: 2.7rem;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--tinta-2);
  text-wrap: pretty;
}

.contextos li::before {
  content: counter(ctx);
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--verde-100);
  color: var(--verde-700);
  font-family: var(--f-texto);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--tinta-2);
  max-width: 58ch;
  text-wrap: pretty;
}

.secao--verde .lead {
  color: rgba(255, 255, 255, 0.72);
}

em.realce {
  font-style: italic;
  color: var(--verde);
}

.secao--verde em.realce {
  color: var(--verde-200);
}

/* Botões ------------------------------------------------------------------ */
.btn {
  --bg: var(--verde);
  --fg: #fff;
  --bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.05rem 1.9rem;
  border: 1px solid var(--bd);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
    background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(72, 136, 123, 0.28);
}

.btn:active {
  transform: translateY(0);
}

.btn .seta {
  transition: transform 0.45s var(--ease-out);
}

.btn:hover .seta {
  transform: translateX(3px);
}

/* Par de CTAs do cabeçalho: o mesmo botão de sempre, só mais compacto, para
   que dois caibam no lugar onde antes havia um. Peso visual idêntico entre os
   dois — são dois caminhos para a mesma conversa, não um principal e um
   secundário. */
.cta-duo {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn--duo {
  padding: 0.78rem 1.25rem;
  font-size: 0.86rem;
}

.btn--contorno {
  --bg: transparent;
  --fg: var(--tinta);
  --bd: var(--linha);
}

.btn--contorno:hover {
  --bd: var(--verde);
  --fg: var(--verde);
  box-shadow: none;
}

.btn--claro {
  --bg: #fff;
  --fg: var(--verde-900);
}

.btn--claro:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.btn--fantasma {
  --bg: transparent;
  --fg: #fff;
  --bd: rgba(255, 255, 255, 0.3);
}

.btn--fantasma:hover {
  --bd: #fff;
  --bg: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.grupo-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Link com sublinhado que cresce */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--verde);
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.5s var(--ease-out);
}

.link:hover {
  background-size: 100% 1.5px;
}

/* Revelação ---------------------------------------------------------------- */
.js [data-surge] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.js [data-surge].visivel {
  opacity: 1;
  transform: none;
}

/* 4. CABEÇALHO ============================================================= */
.cabecalho {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease),
    backdrop-filter 0.5s var(--ease);
}

.cabecalho.fixo {
  background: rgba(251, 250, 248, 0.86);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 1px 0 var(--linha);
}

/* Mesma margem da hero: em telas largas o cabeçalho acompanha a foto de
   borda a borda, em vez de flutuar no meio. No celular cai no padding padrão. */
.cabecalho__int {
  max-width: none;
  padding-inline: max(var(--pad-x), 4vw);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 3rem);
  height: var(--header-h);
}

.marca {
  flex: none;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.4s var(--ease);
}

.marca:hover {
  opacity: 0.75;
}

.marca img {
  width: auto;
  height: 56px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.2rem);
}

.nav__link {
  position: relative;
  white-space: nowrap;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--tinta-2);
  padding: 0.4rem 0;
  transition: color 0.35s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--verde);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease-out);
}

.nav__link:hover,
.nav__link[aria-current="true"] {
  color: var(--tinta);
}

.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.cabecalho .btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.86rem;
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--linha);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--tinta);
  border-radius: 2px;
  transition: transform 0.45s var(--ease-out), opacity 0.3s var(--ease);
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Menu mobile */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--papel);
  padding: calc(var(--header-h) + 2rem) var(--pad-x) 2.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.menu.aberto {
  opacity: 1;
  visibility: visible;
}

.menu__lista {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.menu__item {
  opacity: 0;
  transform: translateY(12px);
  border-bottom: 1px solid var(--linha);
}

.menu.aberto .menu__item {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--ease) var(--d), transform 0.6s var(--ease-out) var(--d);
}

.menu__link {
  display: block;
  padding: 1.05rem 0;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.menu__rodape {
  margin-top: auto;
  padding-top: 2.5rem;
  display: grid;
  gap: 1.2rem;
}

/* Os dois CTAs ficam lado a lado: são um par de mesmo peso, e assim cabem
   na altura da tela junto com a lista de navegação. */
.menu__rodape--duo {
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.menu__rodape--duo .btn {
  padding-inline: 0.9rem;
  font-size: 0.85rem;
}

/* 5. HERO ================================================================== */
/* Fica presa no topo enquanto o conteúdo desliza por cima. */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--papel);
  overflow: hidden;
}

/* A foto preenche a hero inteira; o texto fica sobre ela, na faixa esquerda.
   A Luísa ocupa de 37% a 63% da largura da foto — o texto para bem antes. */
.hero__int {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(2rem, 6vh, 4rem);
  /* A hero escapa da grade central de propósito: a faixa livre da foto é
     medida a partir da borda da tela, não do container. Se o texto ficasse
     centralizado junto com o resto do site, em telas largas ele acabaria
     em cima da Luísa. */
  max-width: none;
  padding-inline: max(var(--pad-x), 4vw);
}

.hero__midia {
  position: absolute;
  /* Sobra vertical para o parallax deslocar sem abrir falha nas bordas. */
  inset: -3% 0;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Empurra o enquadramento para a esquerda da foto: abre espaço de texto
     antes da Luísa e protege a cabeça dela em telas baixas. */
  object-position: 42% 30%;
}

/* Clareia de leve o lado esquerdo para o texto ter contraste garantido
   sobre a parede e o sofá, sem virar um véu visível. */
.hero__veu {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(251, 250, 248, 0.9) 0%,
    rgba(251, 250, 248, 0.72) 26%,
    rgba(251, 250, 248, 0.3) 42%,
    rgba(251, 250, 248, 0) 58%
  );
}

/* Ícone da marca preenchendo o vazio à esquerda da foto: bem transparente,
   atrás do texto, com uma deriva lenta para não ficar parado. */
.hero__icone {
  position: absolute;
  left: -6%;
  top: 50%;
  width: min(42vw, 620px);
  height: auto;
  z-index: 1;
  opacity: 0.07;
  pointer-events: none;
  transform: translateY(-50%);
  animation: deriva 22s ease-in-out infinite alternate;
}

@keyframes deriva {
  from {
    transform: translate3d(0, calc(-50% - 9px), 0) rotate(-1deg) scale(1);
    opacity: 0.055;
  }
  to {
    transform: translate3d(12px, calc(-50% + 9px), 0) rotate(1deg) scale(1.045);
    opacity: 0.095;
  }
}

.hero__texto {
  position: relative;
  z-index: 2;
  max-width: min(27vw, 25rem);
}

.hero__marca-nome {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde);
}

.hero__marca-nome {
  letter-spacing: 0.14em;
}

.hero__marca-nome::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--verde-400);
}

.hero h1 {
  font-size: var(--fs-h1);
  margin-top: 1.4rem;
  letter-spacing: -0.035em;
}

.hero__disciplinas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.95rem;
  margin-top: 1.4rem;
}

.hero__disciplinas span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--verde-700);
}

.hero__disciplinas i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--azul);
  display: block;
}

.hero__frase {
  margin-top: 1.9rem;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--tinta-2);
  max-width: 40ch;
}

.hero .grupo-btn {
  margin-top: 2.4rem;
}

/* Moldura orgânica da foto */
.hero__selo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2.2rem;
  padding: 0.7rem 1.15rem 0.7rem 0.85rem;
  border-radius: 999px;
  background: var(--verde-50);
  border: 1px solid var(--verde-100);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--verde-800);
}

.hero__selo img {
  width: 24px;
  height: auto;
  flex: none;
}

.hero__rolar {
  /* Só aparece onde sobra altura — senão bate no selo. */
  display: none;
  position: absolute;
  left: var(--pad-x);
  bottom: 2rem;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta-3);
  z-index: 1;
}

.hero__rolar i {
  display: block;
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--verde-400), transparent);
  position: relative;
  overflow: hidden;
}

.hero__rolar i::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 10px;
  background: var(--verde);
  animation: desliza 2.6s var(--ease) infinite;
}

@keyframes desliza {
  0% { transform: translateY(-12px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(30px); opacity: 0; }
}

/* O conteúdo desliza por cima da hero */
.conteudo {
  position: relative;
  z-index: 1;
  background: var(--papel);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: 0 -24px 60px rgba(18, 49, 43, 0.13);
}

/* 6. MANIFESTO ============================================================= */
.manifesto {
  background: var(--verde-900);
  color: #fff;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  position: relative;
  overflow: hidden;
}

.manifesto__rede {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(120%, 900px);
  opacity: 0.09;
  color: #fff;
  pointer-events: none;
}

.manifesto__int {
  position: relative;
  text-align: center;
}

.manifesto blockquote {
  margin: 1.8rem auto 0;
  max-width: 24ch;
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #fff;
}

.manifesto__aspas {
  font-size: 3rem;
  line-height: 0.6;
  color: var(--verde-400);
  font-family: var(--f-display);
}

.manifesto cite {
  display: block;
  margin-top: 2rem;
  font-style: normal;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde-200);
}

/* 7. SOBRE ================================================================= */
.sobre {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.sobre__figura {
  position: relative;
  position: sticky;
  top: calc(var(--header-h) + 3rem);
}

.sobre__figura img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sombra-suave);
}

.sobre__texto p + p {
  margin-top: 1.3rem;
}

.credenciais {
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  border-top: 1px solid var(--linha);
  padding-top: clamp(1.8rem, 3vw, 2.5rem);
  display: grid;
  gap: 1.35rem;
}

.credencial {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 1rem;
  align-items: start;
}

.credencial__no {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--verde-50);
  color: var(--verde);
  margin-top: 0.15rem;
}

.credencial__no::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.credencial b {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.credencial span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--tinta-2);
}

/* 8. ESPECIALIDADES ======================================================== */
.especialidades {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.especialidade {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid var(--linha);
  align-items: start;
  transition: opacity 0.5s var(--ease);
}

.especialidade__topo {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.especialidade__num {
  font-family: var(--f-display);
  font-size: 0.9rem;
  color: var(--azul);
}

.especialidade h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.025em;
}

.especialidade p {
  color: var(--tinta-2);
  line-height: 1.7;
  max-width: 62ch;
}

.especialidade p + p {
  margin-top: 1rem;
}

/* 9. JORNADA + REINVENTE-SE =============================================== */
.jornada {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

/* Linha que conecta as etapas, como uma sinapse */
/* A linha passa por baixo dos nós — os ícones ficam acima dela, e ela separa
   os ícones dos títulos como o eixo de uma linha do tempo. */
.jornada::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: calc(42px + 0.6rem);
  height: 1px;
  background: linear-gradient(90deg, var(--verde-400), var(--azul-400));
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  transition: transform 1.8s var(--ease-out);
  opacity: 0.5;
}

.etapa {
  position: relative;
  text-align: center;
}

.etapa__no {
  width: 42px;
  height: 42px;
  margin: 0 auto 1.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--papel);
  border: 1px solid var(--verde-200);
  color: var(--verde);
  position: relative;
  transform: scale(0.85);
  opacity: 0.5;
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease),
    background-color 0.7s var(--ease), color 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

.jornada.ativa .etapa__no {
  transform: scale(1);
  opacity: 1;
  background: var(--verde);
  color: #fff;
  border-color: var(--verde);
}

.etapa b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.etapa p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--tinta-2);
}

.secao--verde .etapa p {
  color: rgba(255, 255, 255, 0.68);
}

.secao--verde .etapa__no {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.secao--verde .jornada.ativa .etapa__no {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Propósito / missão / valores */
.proposito {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

/* A foto acompanha a leitura em vez de deixar a coluna vazia. */
.proposito__figura {
  position: sticky;
  top: calc(var(--header-h) + 3rem);
}

.proposito__figura img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sombra-suave);
}

.valores {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.valor {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.9rem;
  align-items: start;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--tinta-2);
}

.valor svg {
  margin-top: 0.35em;
  color: var(--verde);
  flex: none;
}

.secao--verde .valor {
  color: rgba(255, 255, 255, 0.74);
}

.secao--verde .valor svg {
  color: var(--verde-200);
}

.missao {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--r-md);
  background: var(--verde-50);
  border-left: 2px solid var(--verde);
}

.missao b {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 0.7rem;
}

.missao p {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1.4;
  color: var(--verde-900);
}

/* 10. ATENDIMENTOS ======================================================== */
.atendimentos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.atendimento {
  position: relative;
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  border-radius: var(--r-md);
  background: var(--papel);
  border: 1px solid var(--linha);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out),
    border-color 0.5s var(--ease);
}

.atendimento:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-suave);
  border-color: var(--verde-200);
}

.atendimento__ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--verde-50);
  color: var(--verde);
  margin-bottom: 1.3rem;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

.atendimento:hover .atendimento__ico {
  background: var(--verde);
  color: #fff;
}

/* Os cards passaram a ser h4: ficam abaixo do h3 que dá título a cada área
   ("Para Você" / "Para sua Empresa"). A aparência é a mesma de antes. */
.atendimento h3,
.atendimento h4 {
  font-size: 1.14rem;
  letter-spacing: -0.02em;
}

.atendimento p {
  margin-top: 0.65rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--tinta-2);
}

.atendimento ul {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.atendimento li {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--papel-2);
  font-size: 0.79rem;
  color: var(--tinta-2);
}

.nota {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--tinta-3);
  max-width: 68ch;
}

/* As duas frentes dentro de Atendimentos: "Para Você" e "Para sua Empresa".
   Reaproveitam os mesmos cards — só ganham um título e um respiro entre si. */
.area + .area {
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
}

.area-head {
  margin-bottom: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
}

.area-head h3 {
  font-size: var(--fs-h3);
  margin-top: 1rem;
  max-width: 22ch;
}

.area-head .lead {
  margin-top: 1rem;
  max-width: 62ch;
}

/* Quatro cards fecham duas linhas de dois; três fecham uma linha de três. */
.atendimentos--duo {
  grid-template-columns: repeat(2, 1fr);
}

.area__cta {
  margin-top: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem);
}

/* 11. CTA FINAL / RODAPÉ ================================================== */
.fechamento {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--verde-900) 0%, var(--verde-700) 62%, var(--verde-600) 100%);
  color: #fff;
  text-align: center;
}

.fechamento__rede {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(130%, 1000px);
  opacity: 0.1;
  color: #fff;
  pointer-events: none;
}

.fechamento__int {
  position: relative;
}

.fechamento h2 {
  font-size: clamp(2.1rem, 1.4rem + 3.2vw, 4.2rem);
  max-width: 18ch;
  margin-inline: auto;
}

.fechamento .lead {
  margin: 1.6rem auto 0;
  color: rgba(255, 255, 255, 0.76);
}

.fechamento .grupo-btn {
  margin-top: 2.6rem;
  justify-content: center;
}

/* A hero e sticky com z-index 0 (elemento posicionado). O rodape e estatico,
   entao seria pintado ABAIXO dela e ficaria coberto. Precisa se posicionar. */
.rodape {
  position: relative;
  z-index: 1;
  background: var(--verde-900);
  color: rgba(255, 255, 255, 0.6);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: 2rem;
  font-size: 0.93rem;
}

.rodape__grade {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--linha-clara);
}

.rodape h3 {
  font-family: var(--f-texto);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 1.3rem;
}

.rodape__marca img {
  height: 68px;
  width: auto;
}

.rodape__marca p {
  margin-top: 1.4rem;
  max-width: 36ch;
  line-height: 1.7;
}

.rodape__links li + li {
  margin-top: 0.65rem;
}

.rodape__links a:hover {
  color: #fff;
}

.rodape__contato {
  line-height: 1.9;
}

.rodape__contato a {
  transition: color 0.35s var(--ease);
}

.rodape__contato a:hover {
  color: #fff;
}

.rodape__endereco {
  margin-top: 0.9rem;
  font-style: normal;
  line-height: 1.7;
}

.rodape__area {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.rodape__fim {
  padding-top: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.credito a {
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.credito a:hover {
  color: #fff;
  border-color: var(--verde-200);
}

/* Botão flutuante de WhatsApp */
.zap {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 90;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
  box-shadow: 0 8px 26px rgba(18, 49, 43, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease-out), visibility 0.5s,
    background-color 0.4s var(--ease);
}

.zap.visivel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Barra das duas frentes — só no celular, onde substitui a bolha do WhatsApp.
   Aparece no mesmo momento em que a bolha aparecia: depois da hero. */
.barra-frentes {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  gap: 0.6rem;
  padding: 0.7rem var(--pad-x) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--linha);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), visibility 0.5s;
}

.barra-frentes.visivel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.barra-frentes .btn {
  flex: 1;
  padding: 0.85rem 0.6rem;
  font-size: 0.85rem;
  gap: 0.45rem;
}

.zap:hover {
  background: var(--verde-700);
}

/* 12. RESPONSIVO ========================================================== */
/* Notebook com janela baixa: a hero é sticky, então o que não couber na
   altura da tela fica escondido para sempre. Aqui ela encolhe para caber. */
@media (min-width: 1025px) and (min-height: 940px) {
  .hero__rolar {
    display: inline-flex;
  }
}

@media (min-width: 1025px) and (max-height: 820px) {
  .hero__int {
    padding-top: calc(var(--header-h) + 1rem);
  }

  .hero h1 {
    font-size: clamp(2.4rem, 3.2vw, 3.4rem);
    margin-top: 0.9rem;
  }

  .hero__disciplinas {
    margin-top: 0.9rem;
  }

  .hero__frase {
    margin-top: 1.05rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero .grupo-btn {
    margin-top: 1.35rem;
  }

  .hero .btn {
    padding: 0.85rem 1.5rem;
  }

  .hero__selo {
    margin-top: 1.15rem;
  }
}

@media (min-width: 1025px) and (max-height: 690px) {
  .hero h1 {
    font-size: clamp(2.1rem, 2.8vw, 2.9rem);
  }

  .hero__selo {
    display: none;
  }
}

/* Faixa estreita de desktop: com um item a mais no menu e dois CTAs no lugar
   de um, o cabeçalho passava 94px da largura da janela a 1025px. Aqui ele
   aperta o suficiente para continuar em uma linha só; acima de 1200px nada
   muda em relação ao site original. */
@media (min-width: 1025px) and (max-width: 1200px) {
  .cabecalho__int {
    gap: 1rem;
  }

  .nav {
    gap: 1.05rem;
  }

  .nav__link {
    font-size: 0.88rem;
  }

  .cta-duo {
    gap: 0.4rem;
  }

  .btn--duo {
    padding: 0.72rem 1rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  .nav,
  .cabecalho .btn--cta,
  .cabecalho .cta-duo {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .sobre,
  .proposito {
    grid-template-columns: 1fr;
  }

  .sobre__figura,
  .proposito__figura {
    position: relative;
    top: auto;
    max-width: 420px;
  }

  .atendimentos {
    grid-template-columns: repeat(2, 1fr);
  }

  /* No celular a hero continua presa no topo — o conteúdo é que sobe por
     cima dela. A foto volta a ser um elemento normal, inteira, e o texto
     vem logo abaixo. */
  .hero {
    display: block;
    min-height: 100svh;
    padding-bottom: 0.5rem;
  }

  .hero__midia {
    position: static;
    inset: auto;
    overflow: visible;
    padding-top: calc(var(--header-h) + 0.75rem);
    padding-inline: 0;
    transform: none !important;
  }

  /* Sangra até as bordas da tela, sem cantos arredondados. */
  .hero__img {
    width: 100%;
    height: auto;
    object-fit: fill;
    border-radius: 0;
  }

  .hero__veu,
  .hero__icone {
    display: none;
  }

  .hero__int {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }

  .hero__texto {
    max-width: none;
  }

  .hero__rolar {
    display: none;
  }

  /* A hero fica presa no topo, então tudo dentro dela precisa caber na altura
     da tela — o que passar disso nunca apareceria. Daí os espaços mais curtos. */
  .hero__marca-nome {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    margin-top: 0.85rem;
  }

  .hero__disciplinas {
    margin-top: 0.85rem;
  }

  .hero__frase {
    margin-top: 1.05rem;
    line-height: 1.5;
  }

  .hero .grupo-btn {
    margin-top: 1.4rem;
    gap: 0.6rem;
  }

  .hero .btn {
    padding: 0.9rem 1.5rem;
  }

  .hero__selo {
    display: none;
  }

  .conteudo {
    box-shadow: none;
    border-radius: 0;
  }
}

@media (max-width: 760px) {
  /* No celular a bolha do WhatsApp sai de cena e quem fica é a barra com as
     duas frentes. O rodapé ganha folga para não ficar coberto por ela. */
  .zap {
    display: none;
  }

  .barra-frentes {
    display: flex;
  }

  .rodape {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }

  .especialidade {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .jornada {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .jornada::before {
    display: none;
  }

  /* Etapa vira linha: nó à esquerda, texto à direita */
  .etapa {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 1.1rem;
    row-gap: 0.25rem;
    text-align: left;
    align-items: start;
  }

  .etapa__no {
    margin: 0;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .etapa b {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }

  .etapa p {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }

  .atendimentos {
    grid-template-columns: 1fr;
  }

  .rodape__grade {
    grid-template-columns: 1fr;
  }

  .grupo-btn .btn {
    flex: 1 1 100%;
  }

  /* Medidas em ch apertam texto em coluna estreita */
  .lead,
  .contextos,
  .especialidade p,
  .atendimento p,
  .etapa p,
  .rodape__marca p,
  .hero__frase,
  .nota {
    max-width: none;
  }

  .secao-head h2 {
    max-width: none;
  }
}

/* Telas baixas (celular pequeno, ou com barra do navegador): aperta mais um
   pouco para a hero inteira continuar visível com ela presa no topo. */
@media (max-width: 1024px) and (max-height: 900px) {
  .hero__midia {
    padding-top: calc(var(--header-h) + 0.25rem);
  }

  .hero__int {
    padding-top: 0.8rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero__frase {
    font-size: 1rem;
    margin-top: 0.85rem;
  }

  .hero .grupo-btn {
    margin-top: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-surge] {
    opacity: 1;
    transform: none;
  }

  .etapa__no {
    opacity: 1;
    transform: none;
  }

  .hero__icone {
    animation: none;
  }
}

@media print {
  .cabecalho,
  .menu,
  .zap,
  .hero__rolar {
    display: none !important;
  }

  .hero {
    position: relative;
  }
}
