/* ===== TOKENS ===== */
:root {
  --navy-950: #070c22;
  --navy-900: #0f1a3d;
  --blue-600: #2451f2;
  --blue-500: #3b63ff;
  --blue-400: #6f8dff;
  --blue-100: #e7ecff;
  --ink: #0d1330;
  --slate-600: #46516b;
  --slate-500: #5c6680;
  --slate-300: #ced5e2;
  --border: #e3e7f0;
  --paper: #f3f6fb;
  --white: #ffffff;
  --green: #22c55e;
  --green-dark: #16a34a;
  --amber: #f59e0b;
  --gradient-blue: linear-gradient(155deg, #3a63ff 0%, var(--blue-600) 45%, #1638b3 100%);
  --gradient-blue-light: linear-gradient(160deg, #f2f6ff 0%, #dbe6ff 55%, #bcd0ff 100%);
  --gradient-blue-soft: linear-gradient(120deg, var(--blue-600), #4a6bff);
  --font-display: 'Sora', Helvetica, Arial, sans-serif;
  --font-body: 'Manrope', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
#hero, #quem-somos, #servicos, #contato { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 100;
  background: linear-gradient(90deg, var(--green), var(--blue-600), var(--blue-400));
  background-size: 200% 100%;
  animation: progress-shimmer 3s linear infinite;
  transition: transform 0.1s linear;
}
@media (prefers-reduced-motion: reduce) { .scroll-progress { animation: none; } }

h1, h2, h3,
.logo,
.card__title,
.stat-card__number,
.testimonial__name,
.specialty__name,
.footer__logo,
.footer__heading,
.expertise-row__title,
.pain-card__title,
.eyebrow {
  font-family: var(--font-display);
}

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--navy-900); }

h1, h2, h3, .section__title { text-wrap: balance; }
p { text-wrap: pretty; }

.container { max-width: 1200px; margin: 0 auto; }

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
@keyframes pulse-dot-amber {
  0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(245,158,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -22px); }
}
@keyframes count-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
@keyframes progress-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal--delay-1.is-in { transition-delay: 0.08s; }
.reveal--delay-2.is-in { transition-delay: 0.16s; }
.reveal--delay-3.is-in { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== EYEBROW / LABELS ===== */
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.eyebrow--on-dark { color: var(--blue-400); }
.eyebrow-text {
  display: block;
  color: var(--blue-600);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ===== ORBS (signature ambient shapes) ===== */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: float-orb 9s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }
.orb--hero-a { width: 420px; height: 420px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(36,81,242,0.16), rgba(36,81,242,0) 70%); }
.orb--hero-b { width: 280px; height: 280px; bottom: -100px; left: -80px; background: radial-gradient(circle, rgba(34,197,94,0.12), rgba(34,197,94,0) 70%); animation-duration: 11s; animation-delay: -3s; }
.orb--cta { width: 500px; height: 500px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(36,81,242,0.08), rgba(36,81,242,0) 70%); animation-duration: 13s; }
.orb--pain-a { width: 360px; height: 360px; top: -140px; left: -100px; background: radial-gradient(circle, rgba(255,255,255,0.16), rgba(255,255,255,0) 70%); }
.orb--pain-b { width: 300px; height: 300px; bottom: -120px; right: -80px; background: radial-gradient(circle, rgba(111,141,255,0.35), rgba(111,141,255,0) 70%); animation-duration: 10s; animation-delay: -4s; }
.orb--stats { width: 380px; height: 380px; top: -60px; right: -140px; background: radial-gradient(circle, rgba(36,81,242,0.1), rgba(36,81,242,0) 70%); animation-duration: 12s; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 24px;
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15,26,61,0.1);
}
.logo { font-size: 21px; font-weight: 800; color: var(--navy-950); letter-spacing: -0.02em; }
.nav-desktop { display: flex; gap: 30px; }
.nav-desktop a {
  color: var(--slate-600);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-desktop a:hover { color: var(--blue-600); }

.btn-wa {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(34,197,94,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  width: fit-content;
}
.btn-wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(34,197,94,0.45); }
.btn-wa--block { justify-content: center; font-size: 18px; padding: 14px 20px; border-radius: 12px; box-shadow: 0 6px 18px rgba(34,197,94,0.35); }
.btn-wa--block:hover { box-shadow: 0 10px 26px rgba(34,197,94,0.45); }
.btn-wa--lg { font-size: 16px; padding: 14px 24px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  padding: 132px 24px 48px;
  overflow: hidden;
  background: var(--gradient-blue-light);
}
.hero__container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }

h1 { font-family: var(--font-display); font-size: 54px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 20px; color: var(--navy-950); }
.hero .eyebrow-text { color: var(--blue-600); }
.hero__lead { font-size: 18px; line-height: 1.55; color: var(--slate-600); margin: 0 0 32px; max-width: 500px; }
.hero h1 { line-height: 1.16; }

/* Tarja de destaque animada no H1 do herói, uma linha de cada vez */
.h1-underline {
  background-image: linear-gradient(#c9d8fb, #c9d8fb);
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 0% 90%;
  padding: 0 0.1em;
  margin: 0 -0.1em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  animation: h1-underline-draw 0.55s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.h1-underline--1 { animation-delay: 0.5s; }
.h1-underline--2 { animation-delay: 1.05s; }
@keyframes h1-underline-draw { to { background-size: 100% 90%; } }
@media (prefers-reduced-motion: reduce) {
  .h1-underline { animation: none; background-size: 100% 90%; }
}

.status-card {
  background: var(--paper);
  border: 3px solid var(--green);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 28px;
  max-width: 460px;
  box-shadow: 0 16px 36px rgba(15,26,61,0.08);
}
.status-card__row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.status-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.8s infinite;
}
.status-dot--sm { width: 10px; height: 10px; }
.status-dot--night { background: var(--amber); animation-name: pulse-dot-amber; }
.status-text { font-weight: 700; font-size: 15px; color: var(--navy-950); transition: opacity 0.35s; }
.status-text--sm { font-size: 14px; }
.status-card__line { font-size: 15px; color: var(--slate-600); margin-bottom: 20px; }
.status-card__line strong { color: var(--navy-950); }
.status-card__sub { font-size: 13px; color: var(--slate-600); }
.status-card__sub--below { margin-top: 16px; margin-bottom: 0; text-align: left; }
.status-card .btn-wa--block { width: 100%; }


/* ===== SECTIONS ===== */
.section { position: relative; padding: 88px 24px; overflow: hidden; }
.section--muted { background: var(--paper); }
.section--dark { background: var(--navy-950); }
.section--blue { background: var(--gradient-blue); border-top: 1px solid rgba(255,255,255,0.22); }
.section--blue-soft { background: var(--gradient-blue-soft); }
.section--tight-top { padding-top: 40px; }
.section--tight-bottom { padding-bottom: 56px; }
.section__head { position: relative; z-index: 1; max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section__title { text-align: center; font-size: 32px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy-950); margin: 0; }
.section__title--left { text-align: left; }
.section__title--on-dark { color: #fff; }
.section__title--lg { font-size: 36px; }
.section__subtitle { text-align: center; font-size: 16px; color: var(--slate-600); margin: 12px 0 0; }
.section__subtitle--on-blue { color: #dbe3ff; }
.eyebrow--on-blue { color: #cfe0ff; }
.container--narrow { max-width: 640px; }

/* ===== DESAFIOS ===== */
.pain-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain-card {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 24px 46px rgba(6,12,40,0.32);
  transition: transform 0.25s, box-shadow 0.25s;
}
.pain-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(10,20,60,0.26); }
.pain-card__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.pain-card__title { font-weight: 700; font-size: 18px; color: var(--navy-950); margin-bottom: 8px; }
.pain-card__desc { font-size: 14px; color: var(--slate-600); line-height: 1.55; }

/* ===== COMO FUNCIONA (timeline) ===== */
.timeline { display: flex; flex-direction: column; }
.timeline__step {
  display: flex;
  gap: 24px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline__step.is-in { opacity: 1; transform: translateY(0); }
.timeline__marker-col { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.timeline__marker {
  font-family: var(--font-display);
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--slate-500); font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--slate-300);
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.timeline__connector {
  flex: 1;
  width: 3px;
  min-height: 36px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--slate-300);
  transition: background 0.5s ease 0.15s;
}
.timeline__content { flex: 1; padding: 10px 0 40px; min-width: 0; }
.timeline__step--last .timeline__content { padding-bottom: 4px; }

.timeline__step.is-active .timeline__marker {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  box-shadow: 0 0 0 7px var(--blue-100);
  animation: count-pulse 0.5s ease;
}
.timeline__step.is-active .timeline__connector {
  background: linear-gradient(var(--blue-600), var(--blue-400));
}

.card__title { font-weight: 700; font-size: 17px; color: var(--navy-950); margin-bottom: 8px; }
.card__desc { font-size: 14.5px; color: var(--slate-600); line-height: 1.55; }
@media (prefers-reduced-motion: reduce) {
  .timeline__step { opacity: 1; transform: none; }
  .timeline__step.is-active .timeline__marker { animation: none; }
}

/* ===== SERVIÇOS (expertise panel) ===== */
.expertise-panel {
  padding: 48px clamp(20px, 4vw, 56px) 52px;
}
.expertise-top {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 32px;
  align-items: stretch;
}
.expertise-main { min-width: 0; }
.services-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(155deg, #dfe7fb 0%, #eef2fb 55%, #e5ecfb 100%);
}
.services-media__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.expertise-panel__head { margin-bottom: 24px; }
.expertise-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.expertise-row__icon {
  flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(111,141,255,0.14);
  display: flex; align-items: center; justify-content: center;
}
.expertise-row__body { flex: 1; min-width: 0; }
.expertise-row__title { font-weight: 700; font-size: 17px; color: #fff; margin-bottom: 4px; }
.expertise-row__desc { font-size: 14px; color: #9aa5c4; line-height: 1.5; }
.expertise-row__cta {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.expertise-row__cta:hover { background: var(--blue-600); color: #fff; transform: translateX(2px); }
.expertise-row--last { padding-bottom: 32px; }

.expertise-cta {
  margin-top: 44px;
  background: linear-gradient(120deg, var(--blue-600), #4a6bff);
  border-radius: 18px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.expertise-cta__text { display: flex; flex-direction: column; gap: 6px; color: #fff; }
.expertise-cta__text strong { font-family: var(--font-display); font-size: 23px; }
.expertise-cta__text span { font-size: 14.5px; color: #dbe3ff; }

/* ===== NÚMEROS + CONFIANÇA ===== */
.section-divider { position: relative; z-index: 1; height: 1px; background: rgba(255,255,255,0.16); margin: 64px 0; }
.stats-list {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 760px; margin: 0 auto;
}
.stats-list__item {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 26px;
  border: 1.5px solid rgba(207,224,255,0.55);
  border-radius: 18px;
  background: transparent;
}
.stats-list__icon {
  flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
}
.stats-list__number { font-size: 42px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.stats-list__label { font-size: 15px; color: #dbe3ff; margin-top: 6px; }

/* ===== DEPOIMENTOS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card--testimonial { background: var(--white); border-radius: 20px; padding: 28px; }
.testimonial__mark { display: block; margin-bottom: 8px; }
.testimonial__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  margin-bottom: 14px;
}
.card--testimonial:nth-child(2) .testimonial__avatar { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.card--testimonial:nth-child(3) .testimonial__avatar { background: linear-gradient(135deg, #f59e0b, #d97706); }
.testimonial__quote { font-size: 15px; color: var(--ink); line-height: 1.6; margin-bottom: 16px; }
.testimonial__name { font-weight: 700; font-size: 13.5px; color: var(--slate-600); }

.disclaimer { text-align: center; font-size: 12px; color: var(--slate-500); margin-top: 20px; }
.disclaimer--on-dark { color: rgba(255,255,255,0.55); }

/* ===== CONFIANÇA ===== */
.trust-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-card { background: var(--white); border-radius: 20px; padding: 28px; border: 1.5px solid var(--blue-100); box-shadow: 0 20px 42px rgba(3,7,26,0.28); }
.trust-card__icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--blue-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.trust-card__title { font-weight: 700; font-size: 19px; color: var(--navy-950); margin-bottom: 8px; }
.trust-card__desc { font-size: 14px; color: var(--slate-600); line-height: 1.6; }

/* ===== ESPECIALIDADES ===== */
.specialties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.specialty {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--paper); border-radius: 16px; padding: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(15,26,61,0.07);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.specialty:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,26,61,0.12); border-color: var(--blue-100); }
.specialty__icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--blue-100); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.specialty__name { font-weight: 700; font-size: 15px; color: var(--navy-950); }
.specialty__desc { font-size: 13px; color: var(--slate-600); margin-top: 2px; line-height: 1.4; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 2px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-950);
}
.faq-item__icon { flex-shrink: 0; color: var(--blue-600); transition: transform 0.3s ease; }
.faq-item.is-open .faq-item__icon { transform: rotate(180deg); }
.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s ease, opacity 0.3s ease;
}
.faq-item.is-open .faq-item__answer { grid-template-rows: 1fr; opacity: 1; }
.faq-item__answer p { overflow: hidden; min-height: 0; margin: 0; padding: 0 30px 22px 2px; color: var(--slate-600); font-size: 14.5px; line-height: 1.6; }

/* ===== CTA FINAL ===== */
.cta-final { position: relative; padding: 88px 24px; text-align: center; background: var(--paper); overflow: hidden; }
.cta-final--blue { background: var(--gradient-blue); }
.cta-final__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-final__inner h2 { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--navy-950); margin: 0 0 12px; }
.cta-final__inner p { font-size: 16px; color: var(--slate-600); margin: 0 0 28px; }
.cta-final--blue .cta-final__inner h2 { color: #fff; }
.cta-final--blue .cta-final__inner p { color: #dbe3ff; }
.cta-final--blue .trust-row__item { color: #fff; }
.cta-final__card {
  background: #ffffff; border-radius: 20px; padding: 24px;
  display: inline-flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center;
  box-shadow: 0 20px 48px rgba(15,26,61,0.12);
  border: 1px solid var(--border);
}
.cta-final__card .status-card__row { margin-bottom: 0; }
.trust-row { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 32px; }
.trust-row__item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--slate-600); }

/* ===== RODAPÉ ===== */
.footer { background: var(--navy-950); color: #97a1bf; padding: 48px 24px 28px; }
.footer__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer__logo { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer__about { font-size: 13px; line-height: 1.6; color: #8891ae; max-width: 280px; }
.footer__heading { font-weight: 700; color: #fff; font-size: 13.5px; margin-bottom: 12px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a, .footer__links span { color: #8891ae; font-size: 13px; }
.footer__links a:hover { color: var(--blue-400); }
.footer__bottom {
  max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.footer__bottom p { margin: 0; font-size: 12px; color: #626b88; max-width: 640px; }
.footer__legal { display: flex; gap: 20px; flex-shrink: 0; }
.footer__legal a { font-size: 12px; color: #8891ae; }
.footer__legal a:hover { color: var(--blue-400); }

/* ===== POPUP DE QUALIFICAÇÃO (WhatsApp) ===== */
.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.wa-modal.is-open { opacity: 1; visibility: visible; }
.wa-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 34, 0.55);
  backdrop-filter: blur(3px);
}
.wa-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: 0 30px 70px rgba(7, 12, 34, 0.35);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s ease;
}
.wa-modal.is-open .wa-modal__card { transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .wa-modal, .wa-modal__card { transition: none; }
}
.wa-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--paper);
  color: var(--slate-600);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.wa-modal__close:hover { background: var(--blue-100); color: var(--blue-600); }
.wa-modal__head { padding-right: 24px; margin-bottom: 22px; }
.wa-modal__badge {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.wa-modal__head h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 800;
  color: var(--navy-950); margin: 0 0 6px;
}
.wa-modal__head p { font-size: 13.5px; color: var(--slate-600); margin: 0; line-height: 1.5; }

.wa-modal__question { margin-bottom: 20px; }
.wa-modal__label { font-weight: 700; font-size: 14px; color: var(--navy-950); margin-bottom: 10px; }
.wa-modal__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-chip {
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--slate-600);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.wa-chip:hover { border-color: var(--blue-400); color: var(--blue-600); }
.wa-chip.is-selected { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

.wa-modal__input {
  width: 100%;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  transition: border-color 0.2s;
}
.wa-modal__input::placeholder { color: var(--slate-500); font-weight: 500; }
.wa-modal__input:focus { outline: none; border-color: var(--blue-600); }
.wa-modal__input--other { display: none; margin-top: 10px; }
.wa-modal__input--other.is-visible { display: block; }

.wa-modal__submit { width: 100%; justify-content: center; margin-top: 4px; }
.wa-modal__skip {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: 0;
  color: var(--slate-500);
  font-size: 12.5px;
  font-weight: 600;
  padding: 14px 0 2px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wa-modal__skip:hover { color: var(--blue-600); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  h1 { font-size: 44px; }
  .hero__grid { grid-template-columns: 1fr; }
  .expertise-top { grid-template-columns: 1fr; }
  .services-media { min-height: 240px; }
  .section-divider { margin: 48px 0; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .stats-list { grid-template-columns: 1fr; gap: 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .nav-desktop { display: none; }
}
@media (max-width: 560px) {
  .pain-grid { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: 1fr; }
  h1 { font-size: 38px; }
  .section { padding: 64px 20px; }
  .expertise-panel { padding: 36px 20px 28px; }
  .expertise-row { flex-wrap: wrap; }
  .section-wave { height: 34px; }
  .timeline__step { gap: 16px; }
  .timeline__marker { width: 44px; height: 44px; font-size: 13px; }
  .timeline__content { padding: 6px 0 32px; }
  .header { padding: 0 14px; top: 10px; }
  .header__inner { padding: 11px 16px; border-radius: 16px; }
  .hero { padding-top: 108px; }
  .wa-modal__card { padding: 24px 20px; border-radius: 20px; }
  .wa-chip { font-size: 12.5px; padding: 8px 12px; }
}

/* ===== PÁGINAS LEGAIS (Política de Privacidade / Termos de Uso) ===== */
.legal-hero {
  padding: 148px 24px 48px;
  background: var(--gradient-blue-light);
}
.legal-hero__inner { max-width: 760px; margin: 0 auto; }
.legal-hero__inner .eyebrow-text { color: var(--blue-600); }
.legal-hero h1 { font-size: 38px; margin-bottom: 10px; }
.legal-hero__updated { font-size: 13.5px; color: var(--slate-600); }
.legal-content { padding: 64px 24px 96px; }
.legal-content__inner { max-width: 760px; margin: 0 auto; }
.legal-content h2 {
  font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--navy-950);
  margin: 44px 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; line-height: 1.7; color: var(--slate-600); margin: 0 0 14px; }
.legal-content p strong { color: var(--navy-950); }
.legal-content ul { margin: 0 0 14px; padding-left: 20px; color: var(--slate-600); font-size: 15px; line-height: 1.7; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) {
  .legal-hero { padding: 118px 20px 40px; }
  .legal-hero h1 { font-size: 28px; }
  .legal-content { padding: 44px 20px 64px; }
}

/* ===== MARCA (Consulta Online 24h) ===== */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { color: inherit; }
.brand__mark { width: 40px; height: 40px; display: block; flex-shrink: 0; transition: transform 0.35s ease; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__word {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--navy-950);
}
.brand__badge {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.2; color: #fff;
  background: var(--gradient-blue); padding: 3px 7px; border-radius: 7px;
}
.brand--footer { margin-bottom: 14px; }
.brand--footer .brand__word { color: #fff; }

/* Cabeçalho ganha mais presença depois que a página rola */
.header__inner { transition: box-shadow 0.3s ease, background 0.3s ease; }
.header.is-scrolled .header__inner { background: rgba(255,255,255,0.95); box-shadow: 0 14px 34px rgba(15,26,61,0.14); }

/* ===== CONVERSA SIMULADA NO HERÓI ===== */
.chat-scene { position: relative; width: 100%; max-width: 410px; margin-left: auto; padding: 24px 0; }
.chat {
  border-radius: 26px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 70px rgba(15,26,61,0.22), 0 0 0 1px rgba(15,26,61,0.06);
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--navy-900); color: #fff; }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat__who strong { display: block; font-family: var(--font-display); font-size: 15px; }
.chat__status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #a8b6e8; }
.chat__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse-dot 1.8s infinite; }
.chat__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px 14px; background: #eef1f7; min-height: 392px; }
.chat__day {
  align-self: center; margin-bottom: 4px; padding: 3px 10px; border-radius: 8px;
  background: #fff; color: var(--slate-500); font-size: 11px; font-weight: 600; box-shadow: 0 1px 1px rgba(15,26,61,0.05);
}
.chat__bubble {
  max-width: 84%; padding: 8px 11px 6px; border-radius: 12px;
  font-size: 13.5px; line-height: 1.45; color: var(--ink); box-shadow: 0 1px 1px rgba(15,26,61,0.08);
}
.chat__bubble--in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.chat__bubble--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.chat__time { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 6px 0 -2px 10px; font-size: 10.5px; color: var(--slate-500); }
.chat__file { display: flex; align-items: center; gap: 10px; min-width: 230px; }
.chat__file-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat__file-meta strong { display: block; font-size: 13px; }
.chat__file-meta small { font-size: 11px; color: var(--slate-500); }
.chat__file .chat__time { float: none; align-self: flex-end; margin: 0 0 0 auto; }
.chat__typing { display: none; align-self: flex-start; gap: 4px; padding: 11px 13px; background: #fff; border-radius: 12px; border-top-left-radius: 4px; }
.chat__typing.is-on { display: inline-flex; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-300); animation: chat-typing 1.1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__foot { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #eef1f7; border-top: 1px solid rgba(15,26,61,0.05); }
.chat__input { flex: 1; padding: 9px 14px; border-radius: 99px; background: #fff; color: var(--slate-500); font-size: 13px; }
.chat__send { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-dark)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Mensagens entram uma a uma (só quando há JS; sem JS a conversa aparece inteira) */
.js .chat__item { opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity 0.35s ease, transform 0.35s ease; }
.js .chat__item.is-shown { opacity: 1; transform: none; }

.chat-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 8px 14px; border-radius: 99px; background: #fff; color: var(--navy-950);
  font-size: 12.5px; font-weight: 700; box-shadow: 0 12px 28px rgba(15,26,61,0.14);
  animation: chip-float 6s ease-in-out infinite;
}
.chat-chip--top { top: 0; left: -30px; }
.chat-chip--bottom { bottom: 0; right: -22px; animation-delay: -3s; transition: opacity 0.4s ease; }
.js .chat-chip--bottom { opacity: 0; }
.js .chat-chip--bottom.is-shown { opacity: 1; }
.chat-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
@keyframes chip-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

@media (prefers-reduced-motion: reduce) {
  .js .chat__item, .js .chat-chip--bottom { opacity: 1; transform: none; transition: none; }
  .chat-chip, .chat__typing i, .chat__status i { animation: none; }
  .brand__mark { transition: none; }
}

/* ===== BARRA FIXA DE WHATSAPP (celular) ===== */
.mobile-cta { display: none; }

@media (max-width: 900px) {
  .chat-scene { margin: 12px auto 0; max-width: 390px; }
  .chat-chip--top { left: -8px; }
  .chat-chip--bottom { right: -8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer { padding-bottom: 104px; }
  .mobile-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px;
    background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
    border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 14px 34px rgba(15,26,61,0.2);
    transform: translateY(calc(100% + 24px)); transition: transform 0.35s ease;
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta__status { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy-950); }
  .mobile-cta__btn { flex: 1; justify-content: center; padding: 12px 14px; border-radius: 12px; font-size: 15px; }
}
@media (max-width: 560px) {
  .header__inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__word { font-size: 14.5px; gap: 5px; }
  .brand__badge { font-size: 10px; padding: 2px 5px; }
  .header__wa { padding: 9px 11px; font-size: 13px; gap: 6px; }
  .chat-chip { font-size: 11.5px; padding: 7px 12px; }
  .chat-chip--top { left: 2px; }
  .chat-chip--bottom { right: 2px; }
  .chat__body { min-height: 0; }
}
@media (max-width: 360px) {
  .header__wa { padding: 10px; }
  .header__wa-label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }
