/* ============================================================
   VARIÁVEIS — Paleta Oficial Bárbara Silva
   ============================================================ */
:root {
  --jade: #4FA67E;
  --lavanda: #8C67C9;
  --azul: #5D79C9;
  --jade-claro: #A9D8BB;
  --lilas-claro: #CDB7E8;
  --roxo: #6A4FA3;
  --branco: #FAF9FC;
  --cinza-gelo: #F1F1F4;
  --cinza-texto: #5F6270;
  --grafite: #2F3340;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;

  --max-w: 1120px;
  --pad-x: clamp(20px, 5vw, 60px);
  --sec-py: clamp(64px, 9vw, 110px);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--branco);
  color: var(--cinza-texto);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--grafite);
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.text-center {
  text-align: center;
}

.br-desktop {
  display: block;
}

/* ============================================================
   TIPOGRAFIA COMPARTILHADA
   ============================================================ */
.section-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: .875rem;
}

.section-titulo {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--cinza-texto);
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  height: 52px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-nav {
  background: var(--lavanda);
  color: #fff;
  height: 40px;
  padding: 0 20px;
  font-size: .875rem;
  border-radius: 5px;
}

.btn-nav:hover {
  background: var(--roxo);
  transform: translateY(-1px);
}

.btn-hero {
  background: var(--lavanda);
  color: #fff;
  border: none;
  height: 58px;
  padding: 0 40px;
  font-size: 1.0625rem;
  letter-spacing: .5px;
  box-shadow: 0 6px 20px rgba(140, 103, 201, .25);
}

.btn-hero:hover {
  background: var(--roxo);
  transform: translateY(-2px);
}

.btn-chamada {
  background: var(--lavanda);
  color: #fff;
  height: 60px;
  padding: 0 44px;
  font-size: 1.125rem;
  box-shadow: 0 6px 20px rgba(140, 103, 201, .28);
}

.btn-chamada:hover {
  background: var(--roxo);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  /* Começa transparente sobre o hero */
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease;
  padding: 10px 0;
}

/* Quando está sobre o hero: links brancos */
/* Sobre fundo claro do hero: links e logo em cores originais */
.header:not(.scrolled) .nav-link {
  color: var(--grafite);
}

.header:not(.scrolled) .nav-link:hover {
  color: var(--lavanda);
}

.header:not(.scrolled) .logo-nav-img {
  filter: none;
  opacity: 1;
}

/* Hamburguer: escuro sobre fundo claro */
.header:not(.scrolled) .nav-toggle span {
  background: var(--grafite);
}

/* Após scrollar: fundo branco */
.header.scrolled {
  background: rgba(250, 249, 252, .97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(47, 51, 64, .07);
}

.header.scrolled .nav-link {
  color: var(--cinza-texto);
}

.header.scrolled .logo-nav-img {
  filter: none;
  opacity: 1;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 68px;
}

.logo-nav {
  display: flex;
  align-items: center;
}

.logo-nav-img {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  transition: filter .4s ease, opacity .4s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-size: .875rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
  transition: color .25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .25s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .3s ease;
}

.header.scrolled .nav-toggle span {
  background: var(--grafite);
}

.nav-toggle span:nth-child(1) {
  top: 0;
}

.nav-toggle span:nth-child(2) {
  top: 9px;
}

.nav-toggle span:nth-child(3) {
  top: 18px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* ============================================================
   1. HERO — FULLSCREEN FOTO + LOGO CENTRADA
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

/* Foto de fundo */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Overlay claro — mostra a foto mas garante legibilidade */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(240, 235, 255, 0.72) 0%,
      rgba(228, 245, 237, 0.65) 100%);
}

/* Conteúdo principal do hero */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 80px var(--pad-x) 0;
  max-width: 900px;
  margin: 0 auto;
}

/* Logo à esquerda (absoluta) e texto centralizado no desktop */
.hero-logo-wrap {
  position: absolute;
  left: clamp(20px, 4vw, 80px);
  top: 20px;
  transform: none;
  z-index: 5;
}

.hero-logo {
  height: clamp(90px, 14vw, 170px);
  width: auto;
  max-width: 420px;
  filter: drop-shadow(0 2px 8px rgba(60, 40, 100, .15)) saturate(1.2);
}

/* Divisoria */
.hero-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.divider-line {
  display: block;
  width: clamp(40px, 8vw, 100px);
  height: 1px;
  background: rgba(80, 60, 130, 0.3);
}

.divider-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lavanda);
}

/* Título */
.hero-titulo {
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-style: italic;
  font-weight: 700;
  color: var(--grafite);
  margin-bottom: 1rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

.destaque-jade {
  color: #2d7a57;
  font-weight: 800;
}

.destaque-lavanda {
  color: #6a3fb5;
  font-weight: 800;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: #3a3a4a;
  font-weight: 500;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

/* CTA */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-pilares {
  font-size: .8125rem;
  letter-spacing: 1px;
  color: #4a4a5a;
  font-weight: 500;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(100, 70, 160, .5), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .6;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
}

/* ============================================================
   2. PROBLEMA (bloco diagnóstico)
   ============================================================ */
.problema {
  padding: var(--sec-py) 0;
  background: #fff;
}

.problema-header {
  margin-bottom: 2.5rem;
}

.problema-titulo {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--grafite);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.problema-titulo-destaque {
  color: var(--jade);
  font-style: italic;
}

.problema-sub {
  font-size: 1.0625rem;
  color: var(--cinza-texto);
  max-width: 100%;
}

.problema-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.problema-card {
  background: rgba(79, 166, 126, 0.07);
  border: 1px solid rgba(79, 166, 126, 0.15);
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.problema-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(47, 51, 64, .07);
}

.prob-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--sans);
  flex-shrink: 0;
  margin-top: 2px;
}

.prob-texto {
  font-size: .9375rem;
  color: var(--grafite);
  line-height: 1.55;
  font-weight: 500;
}

.problema-nota {
  font-size: 1.125rem;
  color: var(--cinza-texto);
  border-top: 1px solid rgba(47, 51, 64, .08);
  padding-top: 1.75rem;
  font-style: italic;
}

/* Responsivo */
@media (max-width: 600px) {
  .problema-grid {
    grid-template-columns: 1fr;
  }
}



.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--branco);
  border: 1px solid rgba(47, 51, 64, .05);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(47, 51, 64, .08);
}

.card-icone {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 1.375rem;
}

.card-icone svg {
  width: 22px;
  height: 22px;
}

.card-icone.jade {
  background: rgba(79, 166, 126, .1);
  color: var(--jade);
}

.card-icone.jade svg {
  stroke: var(--jade);
}

.card-icone.azul {
  background: rgba(93, 121, 201, .1);
}

.card-icone.azul svg {
  stroke: var(--azul);
}

.card-icone.lavanda {
  background: rgba(140, 103, 201, .1);
}

.card-icone.lavanda svg {
  stroke: var(--lavanda);
}

.card-icone.roxo {
  background: rgba(106, 79, 163, .1);
}

.card-icone.roxo svg {
  stroke: var(--roxo);
}

.card-titulo {
  font-size: 1rem;
  margin-bottom: .625rem;
}

.card-texto {
  font-size: .875rem;
  line-height: 1.65;
}

/* ============================================================
   3. O QUE FAZEMOS
   ============================================================ */
.o-que-fazemos {
  padding: var(--sec-py) 0;
  background: var(--cinza-gelo);
}

.oqf-header {
  margin-bottom: 2.5rem;
}

.oqf-sub {
  font-size: 1.0625rem;
  color: var(--cinza-texto);
  margin-top: .5rem;
}

.oqf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.oqf-card {
  background: #fff;
  border: 1px solid rgba(47, 51, 64, .06);
  border-radius: 10px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.oqf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(47, 51, 64, .08);
}

.oqf-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid;
  font-size: .75rem;
  font-weight: 700;
  font-family: var(--sans);
  flex-shrink: 0;
}

.oqf-card-titulo {
  font-size: 1rem;
  font-family: var(--serif);
  color: var(--grafite);
  line-height: 1.3;
}

.oqf-card-texto {
  font-size: .875rem;
  color: var(--cinza-texto);
  line-height: 1.6;
  flex: 1;
}

.oqf-nota {
  font-size: 1.125rem;
  color: var(--cinza-texto);
  border-top: 1px solid rgba(47, 51, 64, .08);
  padding-top: 1.75rem;
  font-style: italic;
  text-align: center;
}

@media (max-width: 1024px) {
  .oqf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .oqf-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   4. PARA QUEM É
   ============================================================ */
.para-quem {
  padding: var(--sec-py) 0;
  background: #fff;
}

.pq-header {
  margin-bottom: 2.5rem;
}

.pq-sinais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.pq-sinal-card {
  background: rgba(140, 103, 201, 0.05);
  border: 1px solid rgba(140, 103, 201, 0.12);
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.pq-sinal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(47, 51, 64, .07);
}

.pq-especialidade {
  border-top: 1px solid rgba(47, 51, 64, .08);
  padding-top: 2rem;
}

.pq-esp-titulo {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--grafite);
  margin-bottom: 1.25rem;
}

.pq-esp-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  background: var(--cinza-gelo);
  border-radius: 10px;
  padding: 1rem 1.5rem;
}

.pq-tag {
  font-size: .9375rem;
  color: var(--grafite);
  font-weight: 500;
}

.pq-sep {
  color: var(--jade);
  font-weight: 700;
}

@media (max-width: 600px) {
  .pq-sinais-grid {
    grid-template-columns: 1fr;
  }

  .pq-esp-tags {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }

  .pq-sep {
    display: none;
  }
}

.bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.jade-bg {
  background: var(--jade);
}

.azul-bg {
  background: var(--azul);
}

.lavanda-bg {
  background: var(--lavanda);
}

.roxo-bg {
  background: var(--roxo);
}


/* ============================================================
   4. SOBRE
   ============================================================ */
.sobre {
  padding: var(--sec-py) 0;
  background: #fff;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.sobre-foto-wrap {
  position: relative;
}

.sobre-foto {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 20px 50px rgba(47, 51, 64, .1);
}

.sobre-destaque {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 28px rgba(47, 51, 64, .1);
  text-align: center;
  border: 1px solid rgba(47, 51, 64, .04);
}

.destaque-num {
  display: block;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--lavanda);
  line-height: 1;
}

.destaque-label {
  font-size: .8125rem;
  color: var(--cinza-texto);
  display: block;
  margin-top: .25rem;
}

.sobre-p {
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
}

/* ============================================================
   6. COMO FUNCIONA
   ============================================================ */
.como-funciona {
  padding: var(--sec-py) 0;
  background: var(--cinza-gelo);
}

.cf-header {
  margin-bottom: 3rem;
}

.cf-sub {
  font-size: 1.0625rem;
  color: var(--cinza-texto);
  margin-top: .75rem;
  max-width: 680px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.step {
  position: relative;
}

.step-circulo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin-bottom: 1.25rem;
}

.step-badge {
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 700;
}

.jade-border { border-color: var(--jade); }
.azul-border { border-color: var(--azul); }
.lavanda-border { border-color: var(--lavanda); }
.roxo-border { border-color: var(--roxo); }

.step-conector {
  position: absolute;
  top: 26px;
  left: 52px;
  width: calc(100% - 52px + 2rem);
  height: 1px;
  opacity: .25;
}

.jade-line { background: var(--jade); }
.azul-line { background: var(--azul); }
.lavanda-line { background: var(--lavanda); }

.jade-txt { color: var(--jade); }
.azul-txt { color: var(--azul); }
.lavanda-txt { color: var(--lavanda); }
.roxo-txt { color: var(--roxo); }

.step-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .375rem;
}

.step-titulo {
  font-size: 1rem;
  margin-bottom: .5rem;
}

.step-texto {
  font-size: .875rem;
  line-height: 1.6;
  color: var(--cinza-texto);
}

.cf-nota {
  background: rgba(79, 166, 126, 0.08);
  border: 1px solid rgba(79, 166, 126, 0.2);
  border-radius: 8px;
  padding: 1.25rem 1.75rem;
}

.cf-nota p {
  font-size: .9375rem;
  color: var(--grafite);
  font-style: italic;
}

@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-conector {
    display: none;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .step {
    text-align: center;
  }
  .step-circulo {
    margin: 0 auto 1.25rem;
  }
}

/* ============================================================
   7. CHAMADA FINAL
   ============================================================ */
.chamada-final {
  padding: var(--sec-py) 0;
  background: #fff;
}

.chamada-inner {
  max-width: 720px;
}

.chamada-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lavanda);
  margin-bottom: 1rem;
}

.chamada-titulo {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--grafite);
  margin-bottom: 1.25rem;
}

.chamada-sub {
  font-size: 1.0625rem;
  color: var(--cinza-texto);
  margin-bottom: 2rem;
}

.chamada-box {
  background: var(--cinza-gelo);
  border: 1px solid rgba(47, 51, 64, .07);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.chamada-box p {
  font-size: 1rem;
  color: var(--grafite);
  line-height: 1.65;
}


/* ============================================================
   7. FOOTER
   ============================================================ */
.footer {
  background: #fff;
  border-top: 1px solid rgba(47, 51, 64, .07);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-marca {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer-logo {
  height: auto;
  width: auto;
  max-height: 60px;
  max-width: 200px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.footer-tagline {
  font-size: .8125rem;
  color: var(--cinza-texto);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: .875rem;
}

.footer-sociais {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.footer-sep {
  color: #D9D9E0;
}

.footer-link {
  color: var(--cinza-texto);
  transition: color .2s;
}

.footer-link:hover {
  color: var(--jade);
}

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .35);
  z-index: 998;
  transition: transform .25s ease;
}

.wpp-float svg {
  width: 32px;
  height: 32px;
}

.wpp-float:hover {
  transform: scale(1.1);
}

/* ============================================================
   ANIMAÇÕES FADE
   ============================================================ */
[data-fade] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-fade].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero — animações iniciais (visíveis sem scroll) */
.hero-logo-wrap,
.hero-divider,
.hero-texto,
.hero-cta {
  animation: heroFadeUp .9s ease forwards;
  opacity: 0;
}

.hero-logo-wrap {
  animation-delay: .1s;
}

.hero-divider {
  animation-delay: .4s;
}

.hero-texto {
  animation-delay: .6s;
}

.hero-cta {
  animation-delay: .8s;
}

[data-fade].hero-logo-wrap,
[data-fade].hero-divider,
[data-fade].hero-texto,
[data-fade].hero-cta {
  /* Remove data-fade default para usar keyframe */
  transition: none;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .step-conector {
    display: none;
  }
}

@media (max-width: 768px) {

  /* ── NAV MOBILE ── */
  .nav-links,
  .btn-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-container {
    justify-content: flex-end;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(250, 249, 252, .98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--pad-x) 2rem;
    gap: 1.5rem;
    clip-path: circle(0% at calc(100% - 24px) 0);
    transition: clip-path .45s ease;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
  }

  .nav-menu.open {
    clip-path: circle(160% at calc(100% - 24px) 0);
    pointer-events: auto;
  }

  .nav-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .nav-menu .nav-links .nav-link {
    color: var(--cinza-texto);
    font-size: 1.0625rem;
  }

  .nav-menu .btn-nav {
    display: flex;
    width: 100%;
    justify-content: center;
    height: 52px;
    font-size: 1rem;
  }

  /* ── HERO MOBILE ── */
  .hero {
    min-height: 100svh;
    text-align: center;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 60px;
  }

  /* Logo posicionada no centro superior do hero */
  .hero-logo-wrap {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    transform: none;
    z-index: 5;
  }

  .hero-logo {
    height: clamp(90px, 22vw, 130px);
    max-width: 260px;
  }

  .hero-divider {
    display: none;
  }

  .hero-content {
    padding-top: clamp(200px, 40vw, 260px);
    padding-bottom: 0;
    text-align: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-bg-foto {
    object-position: 30% center;
  }

  .hero-titulo {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.25;
  }

  .hero-sub {
    font-size: .9375rem;
    padding: 0 4px;
  }

  .hero-cta {
    align-items: center;
    width: 100%;
    padding: 0 8px;
  }

  .btn-hero {
    width: 100%;
    max-width: 340px;
    font-size: 1rem;
    height: 52px;
  }

  .hero-pilares {
    font-size: .75rem;
    line-height: 1.8;
  }

  .br-desktop {
    display: none;
  }

  /* ── SEÇÕES ── */
  .section-titulo {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .section-sub {
    font-size: .9375rem;
    text-align: center;
  }

  .sec-header {
    text-align: center;
  }

  /* Para quem é */
  .para-quem-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pq-esquerda {
    text-align: center;
  }

  .pq-label {
    text-align: center;
  }

  /* Sobre */
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sobre-foto-wrap {
    max-width: 320px;
    margin: 0 auto;
  }

  .sobre-foto {
    aspect-ratio: 4/5;
  }

  .sobre-texto-col {
    text-align: center;
  }

  /* Como funciona */
  .step {
    text-align: center;
  }

  .step-circulo {
    margin: 0 auto 1rem;
  }

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

  /* Chamada final */
  .chamada-titulo {
    font-size: clamp(1.5rem, 5vw, 1.875rem);
  }

  .chamada-sub {
    font-size: .9375rem;
  }

  .btn-chamada {
    width: 100%;
    max-width: 380px;
    font-size: 1rem;
    height: 54px;
  }

  /* ── FOOTER MOBILE ── */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-marca {
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-sociais {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.5rem 1.25rem;
  }

  .sobre-destaque {
    position: static;
    margin-top: 1.5rem;
    display: inline-flex;
    gap: .75rem;
    align-items: center;
  }

  .hero-logo {
    height: 90px;
    max-width: 220px;
  }

  .hero-content {
    padding-top: 180px;
  }

  .hero-titulo {
    font-size: 1.4rem;
  }

  .btn-hero {
    padding: 0 20px;
    font-size: .9375rem;
  }

  .pq-lista li {
    font-size: .9375rem;
    padding: .75rem 1rem;
  }

  .step-num {
    font-size: 1.25rem;
  }

  .wpp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .wpp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Extra pequeno — telas muito estreitas */
@media (max-width: 360px) {
  .hero-titulo {
    font-size: 1.25rem;
  }

  .btn-hero,
  .btn-chamada {
    max-width: 100%;
    font-size: .875rem;
    height: 48px;
  }

  .nav-container {
    height: 60px;
  }
}

/* ============================================================
   RAMOS AQUARELA — IMAGENS POSICIONADAS E ANIMADAS
   ============================================================ */
@keyframes branchSway {

  0%,
  100% {
    transform: translateY(-50%) rotate(0deg);
  }

  50% {
    transform: translateY(-50%) rotate(1deg);
  }
}

@keyframes branchSwayLeft {

  0%,
  100% {
    transform: translateY(-50%) scaleX(-1) rotate(0deg);
  }

  50% {
    transform: translateY(-50%) scaleX(-1) rotate(1deg);
  }
}

@keyframes branchGrowReveal {
  0% {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    opacity: 0;
  }

  20% {
    opacity: 0.8;
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 0.85;
  }
}

.branch-img {
  position: absolute;
  top: 50%;
  height: 90%;
  max-height: 800px;
  width: auto;
  max-width: 15vw;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform-origin: bottom center;
}

.branch-img-right {
  right: -2%;
  transform: translateY(-50%);
  animation: branchGrowReveal 2.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, branchSway 8s ease-in-out 2.5s infinite;
}

.branch-img-left {
  left: -2%;
  transform: translateY(-50%) scaleX(-1);
  animation: branchGrowReveal 2.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, branchSwayLeft 8s ease-in-out 2.5s infinite;
}

@media (max-width: 900px) {
  .branch-img {
    display: none;
  }
}