/* ============================================================
   ISABELA BAARS – NEUROPSICÓLOGA
   styles.css
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  color: #3d3d3d;
  background-color: #fafaf9;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── PALETA DE CORES ──────────────────────────────────────── */
:root {
  --primary:     #7b68b5;   /* lilás médio */
  --primary-dk:  #5c4f9a;   /* lilás escuro */
  --primary-lt:  #ede9f8;   /* lilás muito claro */
  --accent:      #6db6a0;   /* verde suave */
  --accent-lt:   #e8f5f1;   /* verde muito claro */
  --blue-lt:     #e8edf8;   /* azul muito claro */
  --text:        #3d3d3d;
  --text-light:  #6b6b6b;
  --white:       #ffffff;
  --bg-alt:      #f4f0fb;   /* fundo alternado (lilás claro) */
  --border:      #e0daf5;
}

/* ── TIPOGRAFIA ───────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  color: var(--primary-dk);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--text); }

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.sobre-texto .section-label {
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.section-intro {
  max-width: 720px;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.center { text-align: center; }
.center.section-intro { margin-left: auto; margin-right: auto; }

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── BOTÕES ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: #5aa38e; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-size: 1rem;
  padding: 0.85rem 2rem;
}
.btn-whatsapp:hover { background: #1da851; }

.btn-instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  font-size: 1rem;
  padding: 0.85rem 2rem;
}
.btn-instagram:hover {
  opacity: 0.88;
  filter: brightness(1.08);
}

/* ── Foco visível – acessibilidade via teclado ────────────── */
/* Exibido apenas ao navegar por teclado (não afeta usuários de mouse) */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* ── SEÇÕES: espaçamento ──────────────────────────────────── */
section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(92, 79, 154, 0.08);
  transition: box-shadow 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dk);
}

.logo-title {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
}

.nav-desktop ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-desktop a:hover { color: var(--primary); }
.nav-desktop a:hover::after { width: 100%; }

.header-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-lt);
  color: var(--primary);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.social-icon:hover {
  background: var(--primary);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--primary-dk);
  cursor: pointer;
}

/* ── NAV MOBILE ───────────────────────────────────────────── */
/*
  Nota: usamos max-height + visibility em vez de display:none
  porque display:none impede que as transições CSS sejam executadas.
  visibility:hidden garante que os links fiquem inacessíveis via
  teclado quando o menu está fechado.
*/
.nav-mobile {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  /* O delay em visibility garante que só some após a animação de fechamento */
  transition: max-height 0.4s ease, padding 0.3s ease, visibility 0s linear 0.4s;
}

.nav-mobile.open {
  max-height: 400px;
  padding: 1rem 0;
  visibility: visible;
  transition: max-height 0.4s ease, padding 0.3s ease, visibility 0s linear 0s;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

.nav-mobile a:hover {
  background: var(--primary-lt);
  color: var(--primary);
}

/* ============================================================
   HERO (REDESIGNED – duas colunas)
   ============================================================ */
#hero {
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #3a2f88 0%, #5c4f9a 50%, #6db6a0 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(109, 182, 160, 0.12);
  bottom: -120px;
  left: -80px;
  pointer-events: none;
}

.hero-bg {
  width: 100%;
  padding: 130px 0 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
  color: var(--white);
}

/* Coluna de texto */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: var(--white);
  backdrop-filter: blur(4px);
}

#hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Trust indicators */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.trust-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.02em;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* Coluna da foto */
.hero-foto-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 2rem;
}

.hero-foto-deco {
  position: absolute;
  width: 525px;
  height: 525px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-foto-deco2 {
  position: absolute;
  width: 505px;
  height: 505px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-img {
  width: 480px;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  box-shadow: 0 28px 72px rgba(0,0,0,0.40);
  border: 4px solid rgba(255,255,255,0.22);
  position: relative;
  z-index: 1;
}

.hero-foto-badge {
  position: absolute;
  bottom: 24px;
  right: -8px;
  background: var(--white);
  border-radius: 50px;
  padding: 0.55rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  z-index: 2;
}

.hero-foto-badge i {
  color: var(--primary);
  font-size: 1rem;
}

.hero-foto-badge span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dk);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(92, 79, 154, 0.09);
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  max-width: 130px;
}

.stat-sep {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}


/* ============================================================
   SOBRE
   ============================================================ */
#sobre {
  padding-top: 100px; /* compensa o header fixo */
}

.sobre-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: center;
}

.sobre-foto {
  display: flex;
  justify-content: center;
}

/*
  FOTO DA ISABELA – substitua o src na tag <img class="sobre-foto-img"> em index.html.
*/
.sobre-foto-img {
  width: 300px;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
  box-shadow: 0 16px 52px rgba(92, 79, 154, 0.25);
  border: 4px solid var(--white);
  outline: 3px solid var(--primary-lt);
}

.sobre-cargo {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

/* ============================================================
   CARDS COM ÍCONE (3 colunas)
   ============================================================ */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-icon {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(92, 79, 154, 0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(92, 79, 154, 0.15);
}

.card-icon-symbol {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: var(--primary);
}

.card-diff {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(92, 79, 154, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-diff:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(92, 79, 154, 0.15);
}

.card-diff-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--accent);
}

/* ============================================================
   DIFICULDADES COGNITIVAS
   ============================================================ */
.dificuldades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.dificuldade-item {
  display: flex;
  gap: 1.2rem;
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 3px 14px rgba(92, 79, 154, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}

.dificuldade-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(92, 79, 154, 0.12);
}

.dif-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}

.dif-texto h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.dif-texto p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin: 0;
}

/* ============================================================
   INTERVENÇÕES
   ============================================================ */
.intervencoes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.intervencao-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 3px 14px rgba(92, 79, 154, 0.07);
}

.intervencao-item > i {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--accent);
  margin-top: 0.2rem;
}

.intervencao-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.intervencao-item p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin: 0;
}

/* ============================================================
   AUTOCONHECIMENTO E FAMÍLIA
   ============================================================ */
.familia-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.familia-bloco {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(92, 79, 154, 0.07);
}

.familia-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.familia-bloco h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* ============================================================
   PÚBLICOS ATENDIDOS
   ============================================================ */
.publicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.publico-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(92, 79, 154, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 4px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.publico-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(92, 79, 154, 0.15);
}

.publico-card.destaque {
  border-top-color: var(--primary);
  box-shadow: 0 6px 28px rgba(92, 79, 154, 0.18);
}

.publico-icon {
  font-size: 2.2rem;
  color: var(--primary);
}

.publico-card h3 {
  font-size: 1.3rem;
}

.publico-lista {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--text-light);
  font-size: 0.93rem;
  flex: 1;
}

.publico-lista li {
  margin-bottom: 0.4rem;
}

.publico-beneficio {
  font-size: 0.88rem;
  background: var(--primary-lt);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--primary-dk);
  line-height: 1.5;
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contato-botoes {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
}

.contato-aviso {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--primary-dk);
  color: rgba(255,255,255,0.85);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

footer .logo-name {
  color: var(--white);
}

footer .logo-title {
  color: rgba(255,255,255,0.65);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  transition: background 0.2s;
}

.footer-social a:hover { background: rgba(255,255,255,0.25); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ============================================================
   COMO FUNCIONA (3 etapas em cards)
   ============================================================ */
.processo-grid {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

#como-funciona .processo-step {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 1.5rem 1.8rem;
  flex: 1;
  max-width: 300px;
  box-shadow: 0 4px 24px rgba(92, 79, 154, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

#como-funciona .processo-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(92, 79, 154, 0.16);
}

.processo-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-lt);
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
}

.processo-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.processo-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  font-size: 1.2rem;
  color: var(--primary);
  opacity: 0.35;
  flex-shrink: 0;
  margin-top: 4rem;
}

/* ============================================================
   PROCESSO (ETAPAS)
   ============================================================ */
#processo {
  background: var(--bg-alt);
}

.processo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.processo-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0.3;
  z-index: 0;
}

.processo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pstep-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.pstep-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 20px rgba(92, 79, 154, 0.15);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.processo-step:hover .pstep-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08);
}

.processo-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.processo-step p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.depoimento-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 24px rgba(92, 79, 154, 0.09);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.depoimento-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--primary-lt);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.depoimento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(92, 79, 154, 0.16);
}

.dep-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.dep-texto {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 1;
  flex: 1;
}

.dep-autor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.dep-avatar i {
  font-size: 2.4rem;
  color: var(--primary);
  opacity: 0.35;
}

.dep-nome {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dk);
}

.dep-cargo {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
}


/* ============================================================
   SINAIS DE ALERTA (NEW CONVERSION SECTION)
   ============================================================ */
#sinais-alerta {
  background: linear-gradient(135deg, rgba(123, 104, 181, 0.04) 0%, rgba(109, 182, 160, 0.04) 100%);
  border-top: 1px solid var(--border);
}

.sinais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.sinal-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 3px 16px rgba(92, 79, 154, 0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s, background 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
  user-select: none;
}

.sinal-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(92, 79, 154, 0.15);
}

.sinal-card.selected {
  background: linear-gradient(135deg, var(--primary-lt) 0%, rgba(109, 182, 160, 0.1) 100%);
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(92, 79, 154, 0.2);
  transform: scale(1.02);
}

.sinal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-lt) 0%, rgba(109, 182, 160, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  color: var(--primary);
}

.sinal-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.sinal-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ============================================================
   FAQ SECTION (NEW)
   ============================================================ */
/* ── FAQ 2 colunas ─────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
  counter-reset: faq-counter;
}

.faq-item {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(92, 79, 154, 0.08);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  transition: box-shadow 0.3s, transform 0.25s;
  counter-increment: faq-counter;
  display: flex;
  flex-direction: column;
}

.faq-item:hover {
  box-shadow: 0 10px 32px rgba(92, 79, 154, 0.16);
  transform: translateY(-3px);
}

.faq-pergunta {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: none;
  cursor: default;
}

/* Oculta o chevron original */
.faq-pergunta > i {
  display: none;
}

/* Crachá numerado via CSS counter */
.faq-pergunta::before {
  content: "0" counter(faq-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.05em;
  margin-top: 0.05rem;
}

.faq-pergunta h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.45;
  color: var(--text);
}

.faq-resposta {
  padding: 0 1.5rem 1.5rem;
  flex: 1;
}

.faq-resposta p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.78;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   IMPROVED HERO COPY - EMOTIONAL TRIGGERS
   ============================================================ */
.hero-badge i {
  margin-right: 0.4rem;
}

/* ============================================================
   ANIMAÇÕES AVANÇADAS
   ============================================================ */

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(109, 182, 160, 0.6); }
  70%  { box-shadow: 0 0 0 18px rgba(109, 182, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(109, 182, 160, 0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── Hero: entrada ao carregar ───────────────────────────── */
.hero-text {
  animation: fadeInLeft 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-delay: 0.1s;
}

.hero-foto-wrap {
  animation: fadeInRight 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-delay: 0.3s;
}

/* ── Float na foto do hero ───────────────────────────────── */
.hero-img {
  animation: float 5s ease-in-out infinite;
}

/* ── Pulso no botão CTA principal ────────────────────────── */
.hero-cta .btn-primary {
  animation: pulseRing 2.8s ease-out infinite;
}

/* ── Barra de progresso de scroll ───────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-dk) 0%, var(--primary) 50%, var(--accent) 100%);
  z-index: 1001;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── Stagger delays para grades ──────────────────────────── */
/* Sinais */
.sinais-grid .sinal-card:nth-child(2) { transition-delay: 0.08s !important; }
.sinais-grid .sinal-card:nth-child(3) { transition-delay: 0.16s !important; }
.sinais-grid .sinal-card:nth-child(4) { transition-delay: 0.06s !important; }
.sinais-grid .sinal-card:nth-child(5) { transition-delay: 0.14s !important; }
.sinais-grid .sinal-card:nth-child(6) { transition-delay: 0.22s !important; }

/* Depoimentos */
.depoimentos-grid .depoimento-card:nth-child(2) { transition-delay: 0.15s !important; }
.depoimentos-grid .depoimento-card:nth-child(3) { transition-delay: 0.30s !important; }

/* Cards 3 colunas */
.cards-grid-3 .card-icon:nth-child(2),
.cards-grid-3 .card-diff:nth-child(2) { transition-delay: 0.12s !important; }
.cards-grid-3 .card-icon:nth-child(3),
.cards-grid-3 .card-diff:nth-child(3) { transition-delay: 0.24s !important; }

/* Públicos */
.publicos-grid .publico-card:nth-child(2) { transition-delay: 0.12s !important; }
.publicos-grid .publico-card:nth-child(3) { transition-delay: 0.24s !important; }

/* FAQ */
.faq-grid .faq-item:nth-child(2) { transition-delay: 0.1s !important; }
.faq-grid .faq-item:nth-child(3) { transition-delay: 0.05s !important; }
.faq-grid .faq-item:nth-child(4) { transition-delay: 0.15s !important; }
.faq-grid .faq-item:nth-child(5) { transition-delay: 0.10s !important; }
.faq-grid .faq-item:nth-child(6) { transition-delay: 0.20s !important; }



/* ============================================================
   CÉREBRO – imagem decorativa hero
   ============================================================ */
.hero-brain {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  pointer-events: none;
  z-index: 0;
  width: 500px;
}

.hero-brain img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.28;
  animation: float 8s ease-in-out infinite, brainGlow 5s ease-in-out infinite;
}

@keyframes brainGlow {
  0%, 100% {
    filter: drop-shadow(0 0 28px rgba(123, 104, 181, 0.32));
  }
  50% {
    filter: drop-shadow(0 0 56px rgba(109, 182, 160, 0.42));
  }
}

/* ============================================================
   BOTÃO VOLTAR AO TOPO
   ============================================================ */
.scroll-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 899;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(92, 79, 154, 0.75);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(92, 79, 154, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, background 0.2s;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: rgba(92, 79, 154, 0.95);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(92, 79, 154, 0.45);
}

@media (max-width: 900px) {
  .hero-brain { display: none; }

  .sinais-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablet */
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-foto-wrap {
    order: -1;
    margin-bottom: 1rem;
  }

  .hero-img {
    width: 320px;
    height: 320px;
  }

  .hero-foto-deco { width: 360px; height: 360px; }
  .hero-foto-deco2 { width: 345px; height: 345px; }

  .hero-foto-badge { right: 20px; }

  .hero-trust { justify-content: center; }
  .hero-sub { max-width: 100%; }

  .sobre-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sobre-foto {
    order: -1;
  }

  .cards-grid-3,
  .publicos-grid,
  .depoimentos-grid {
    grid-template-columns: 1fr;
  }

  .dificuldades-grid,
  .intervencoes-grid,
  .familia-inner {
    grid-template-columns: 1fr;
  }

  .processo-grid {
    flex-direction: column;
    align-items: center;
  }

  #como-funciona .processo-step {
    max-width: 100%;
    width: 100%;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .processo-arrow {
    transform: rotate(90deg);
    margin: 0;
    padding: 0.5rem 0;
  }

  .processo-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .processo-steps::before { display: none; }

  .stats-inner { gap: 1.5rem; }
  .stat-sep { display: none; }

  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }

  .hero-img {
    width: 260px;
    height: 260px;
  }

  .hero-foto-deco { width: 300px; height: 300px; }
  .hero-foto-deco2 { width: 285px; height: 285px; }
  .hero-foto-badge { right: 30px; }

  .processo-steps { grid-template-columns: 1fr; }

  .sobre-foto-img {
    width: 240px;
    height: 300px;
  }

  .scroll-to-top {
    bottom: 28px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .footer-links { flex-direction: column; gap: 0.75rem; }

  /* Sinais de alerta: 1 coluna em telas muito pequenas */
  .sinais-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ACESSIBILIDADE: prefere movimento reduzido
   Desativa animações para usuários que configuram o SO com
   "Preferir movimento reduzido" (ex: epilepsia, vertigem).
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
