/* =========================================================
   Alessandra Soares · Psicóloga — estilos
   Paleta da cliente · Lora (títulos) + Raleway (corpo)
   ========================================================= */

:root {
  /* Paleta */
  --azul-petroleo: #1F3A44;
  --azul-profundo: #3F5561;
  --azul-acinzentado: #B8C6CE;
  --lilas: #CBB9D7;
  --verde-salvia: #9BAA9A;
  --dourado: #D8B37A;
  --rosa: #D98FA1; /* reservado da paleta da cliente (cor de apoio) */

  --off-white: #F7F7F6;
  --cinza-claro: #E6E8EB;
  --cinza-medio: #9AA3A8; /* reservado da paleta da cliente (neutro) */
  --grafite: #2A2F33;

  /* Semântico */
  --bg: var(--off-white);
  --bg-tint: #EEF1F2;
  --surface: #FFFFFF;
  --text: #2A2F33;
  --text-soft: #5F6F76;
  --brand: var(--azul-petroleo);
  --brand-2: var(--azul-profundo);
  --accent: var(--dourado);
  --accent-text: #A9772F;        /* dourado escuro p/ texto sobre fundo claro (WCAG 3:1) */
  --verde-salvia-texto: #577058; /* verde-salvia escuro p/ texto pequeno (WCAG 4.5:1) */
  --lilas-claro: #DCD0E6;        /* lilas claro p/ texto sobre fundo escuro do CTA */

  --grad-main: linear-gradient(135deg, var(--azul-acinzentado) 0%, var(--azul-petroleo) 100%);
  --grad-soft: linear-gradient(135deg, var(--lilas) 0%, var(--azul-acinzentado) 100%);
  --grad-cta: linear-gradient(135deg, var(--azul-profundo) 0%, var(--azul-petroleo) 100%);

  --header-h: 72px;

  --whats: #25D366;
  --whats-dark: #128C7E;

  /* Forma & profundidade (Soft UI) */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(31, 58, 68, 0.06);
  --shadow-md: 0 14px 40px rgba(31, 58, 68, 0.10);
  --shadow-lg: 0 24px 60px rgba(31, 58, 68, 0.16);

  --container: 1140px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-head: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
picture { display: contents; }
picture > source { display: none; } /* evita que <source> vire item de grid sob display:contents */
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--brand); letter-spacing: -0.01em; }

/* ---------- Utilitários ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--verde-salvia-texto);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--lilas-claro); }
.accent { color: var(--accent-text); }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section__intro { color: var(--text-soft); margin-top: 14px; font-size: 1.08rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Foco visível — anel duplo (escuro + halo branco) garante >=3:1 em fundo claro e escuro */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--azul-petroleo);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9);
  border-radius: 6px;
}
/* Em superfícies escuras (CTA e footer), inverte: anel branco + halo escuro */
.cta a:focus-visible, .cta button:focus-visible,
.site-footer a:focus-visible, .site-footer button:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 6px rgba(31, 58, 68, 0.55);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background-color .22s var(--ease), color .22s var(--ease),
    border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
  line-height: 1; text-align: center;
}
.btn--lg { padding: 17px 32px; font-size: 1.06rem; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--azul-profundo); }
.btn--ghost:hover { background: var(--surface); border-color: var(--brand); transform: translateY(-2px); }
.btn .ico { width: 20px; height: 20px; }

.ico { width: 24px; height: 24px; display: inline-block; }

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(247, 247, 246, 0.72);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 247, 246, 0.92);
  border-bottom-color: var(--cinza-claro);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-main); color: var(--dourado);
  font-family: var(--font-head); font-weight: 600; font-size: 1.35rem;
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-head); font-weight: 600; color: var(--brand); font-size: 1.08rem; }
.brand__role { font-size: 0.74rem; color: var(--text-soft); letter-spacing: 0.02em; }

.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a:not(.btn) {
  font-weight: 500; color: var(--text); font-size: 0.98rem; position: relative; padding: 4px 0;
  transition: color .2s var(--ease);
}
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--dourado); transition: width .25s var(--ease);
}
.nav__menu a:not(.btn):hover { color: var(--brand); }
.nav__menu a:not(.btn):hover::after { width: 100%; }

.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; background: transparent; border: 0; cursor: pointer; padding: 10px;
}
.nav__toggle span { display: block; height: 2px; width: 100%; background: var(--brand); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative; padding-top: clamp(96px, 18vw, 130px); padding-bottom: clamp(60px, 8vw, 110px);
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(203,185,215,0.30), transparent 60%),
    radial-gradient(55% 60% at 5% 90%, rgba(155,170,154,0.22), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(32px, 5vw, 72px);
}
.hero__text h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); margin: 6px 0 22px; }
.hero__lead { font-size: 1.18rem; color: var(--text-soft); max-width: 36ch; }
.hero__lead strong { color: var(--brand); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__media { position: relative; justify-self: center; }
.hero__photo {
  position: relative; z-index: 2; width: min(420px, 80vw);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid #fff;
  aspect-ratio: 4 / 5;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 1; }
.hero__blob--1 { width: 220px; height: 220px; background: var(--grad-soft); top: -34px; right: -34px; opacity: .55; }
.hero__blob--2 { width: 160px; height: 160px; background: var(--dourado); bottom: -28px; left: -28px; opacity: .28; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--brand); background: rgba(255,255,255,0.7); box-shadow: var(--shadow-sm);
  animation: bob 2.2s var(--ease) infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ===================== SOBRE ===================== */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__media { position: relative; }
.about__media img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
}
.about__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border-radius: var(--radius-lg); background: var(--grad-soft); opacity: .5;
}
.about__text h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 22px; }
.about__text p + p { margin-top: 16px; }
.about__text p { color: var(--text-soft); }
.about__text strong { color: var(--brand); font-weight: 600; }

/* ===================== PILARES ===================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: var(--surface); border-radius: var(--radius); padding: 36px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--cinza-claro);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar__icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
  background: var(--grad-soft); color: var(--brand); margin-bottom: 22px;
}
.pillar__icon svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 1.4rem; margin-bottom: 12px; }
.pillar p { color: var(--text-soft); font-size: 0.98rem; }
.pillar:nth-child(2) .pillar__icon { background: linear-gradient(135deg, var(--azul-acinzentado), var(--verde-salvia)); }
.pillar:nth-child(3) .pillar__icon { background: linear-gradient(135deg, var(--lilas), var(--dourado)); }

/* Citação com imagem */
.quote {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 56px);
  align-items: center; margin-top: clamp(48px, 6vw, 80px);
  background: var(--surface); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-sm); border: 1px solid var(--cinza-claro);
}
.quote img { border-radius: var(--radius); object-fit: cover; aspect-ratio: 3 / 4; width: 100%; box-shadow: var(--shadow-sm); }
.quote blockquote {
  font-family: var(--font-head); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--brand); line-height: 1.3;
}
.quote figcaption p { margin-top: 16px; color: var(--text-soft); }

/* ===================== DEMANDAS / CHIPS ===================== */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 880px; margin: 0 auto; }
.chips li {
  background: var(--surface); border: 1px solid var(--azul-acinzentado);
  color: var(--brand); padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: 0.98rem;
  box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.chips li:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.chips-note { max-width: 620px; margin: 26px auto 0; text-align: center; color: var(--text-soft); font-size: 1.02rem; }

.audience {
  margin-top: clamp(48px, 6vw, 72px); max-width: 760px; margin-inline: auto; text-align: center;
  background: var(--grad-soft); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 52px);
}
.audience h3 { font-size: 1.4rem; color: var(--brand); }
.audience__who { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--brand); margin: 10px 0 16px; }
.audience p:last-child { color: var(--azul-petroleo); opacity: .85; }

/* ===================== STEPS ===================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--surface); border-radius: var(--radius); padding: 36px 30px; position: relative;
  box-shadow: var(--shadow-sm); border: 1px solid var(--cinza-claro);
}
.step__num {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--grad-main); color: #fff; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600;
  margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--text-soft); font-size: 0.98rem; }

/* ===================== CTA ===================== */
.cta {
  background: var(--grad-cta); color: #fff; padding: clamp(64px, 9vw, 120px) 0;
  position: relative; overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(10px); opacity: .18;
}
.cta::before { width: 320px; height: 320px; background: var(--lilas); top: -120px; right: -80px; }
.cta::after { width: 260px; height: 260px; background: var(--dourado); bottom: -120px; left: -60px; }
.cta__inner { max-width: 720px; margin-inline: auto; text-align: center; position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.cta__lead { color: rgba(255,255,255,0.88); font-size: 1.12rem; margin: 16px auto 32px; max-width: 52ch; }
.cta__actions { display: flex; justify-content: center; }
.cta .btn--primary { background: #fff; color: var(--brand); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }
.cta .btn--primary:hover { background: var(--off-white); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28); }
.cta__contacts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.contact-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff; font-weight: 600; font-size: 0.98rem;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background-color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.contact-pill:hover { background: rgba(255, 255, 255, 0.18); border-color: var(--dourado); transform: translateY(-2px); }
.contact-pill .ico { width: 20px; height: 20px; color: var(--dourado); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--grafite); color: rgba(255,255,255,0.78); padding: 48px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer__brand { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.footer__brand .brand__mark { background: var(--grad-main); }
.footer__name { font-family: var(--font-head); font-size: 1.2rem; color: #fff; }
.footer__role { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer__note { font-size: 0.92rem; color: var(--azul-acinzentado); }
.footer__social { display: inline-flex; align-items: center; gap: 8px; color: var(--azul-acinzentado); font-weight: 600; font-size: 0.92rem; transition: color .2s var(--ease); }
.footer__social:hover { color: var(--dourado); }
.footer__social .ico { width: 18px; height: 18px; }
.footer__copy { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ===================== FAB WHATSAPP ===================== */
.fab-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; /* abaixo do header (50) p/ não cobrir o menu mobile aberto */
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--whats); color: #fff;
  box-shadow: 0 10px 30px rgba(18, 140, 126, 0.45);
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.fab-whatsapp svg { width: 32px; height: 32px; }
.fab-whatsapp:hover { transform: translateY(-3px) scale(1.05); background: var(--whats-dark); }
.fab-whatsapp::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  background: rgba(37, 211, 102, 0.5); animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: .5; }
  to { transform: scale(2.1); opacity: 0; }
}

/* ===================== REVEAL (scroll) ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* atraso suave em grupos */
.pillars .pillar:nth-child(2), .steps .step:nth-child(2) { transition-delay: .1s; }
.pillars .pillar:nth-child(3), .steps .step:nth-child(3) { transition-delay: .2s; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 920px) {
  .pillars, .steps { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__text { order: 2; }
  .hero__media { order: 1; }
  .hero__photo { width: min(300px, 62vw); }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 380px; margin-inline: auto; }
  .about__media::before { inset: 14px -14px -14px 14px; }
  .quote { grid-template-columns: 1fr; }
  .quote img { max-width: 320px; margin-inline: auto; }
}

@media (max-width: 920px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(247,247,246,0.98); backdrop-filter: blur(12px);
    padding: 18px 24px 26px; border-bottom: 1px solid var(--cinza-claro);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: transform .28s var(--ease), opacity .28s var(--ease), visibility .28s var(--ease);
  }
  .nav__menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; visibility: visible; }
  .nav__menu a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--cinza-claro); }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 10px; }
  .brand__role { display: none; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .btn--lg { width: 100%; }
  .hero__actions { flex-direction: column; }
  .chips { gap: 8px; }
  .chips li { padding: 9px 14px; font-size: 0.88rem; }
}

/* ===================== ACESSIBILIDADE: reduce motion ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__scroll, .fab-whatsapp::after { animation: none; }
}
