/* ==========================================================================
   Dra. Eliege Mattos — Advogada Previdenciária | Landing Page
   Design tokens replicam o handoff hifi (grafite + dourado + bege)
   ========================================================================== */

:root {
  --graphite-950: #131217;
  --graphite-900: #1b1a1d;
  --graphite-800: #232227;
  --graphite-700: #34333a;

  --gold: #c9a961;
  --gold-light: #e2c98a;
  --gold-dark: #a9793a;

  --beige-50: #faf7f2;
  --beige-100: #f7f3ec;
  --beige-200: #efe8db;

  --text-heading: #232227;
  --text-body: #4a4239;
  --text-muted: #6b6255;

  --on-dark-1: #ffffff;
  --on-dark-2: #cdc4b3;
  --on-dark-3: #a99e8c;
  --on-dark-4: #b9ae9a;
  --on-dark-5: #8f8672;
  --on-dark-6: #8a8172;

  --wa-1: #1fae57;
  --wa-2: #25d366;
  --wa-3: #4ee88a;

  --shadow-card: 0 8px 24px rgba(34, 29, 21, 0.07);
  --shadow-lg: 0 16px 40px rgba(34, 29, 21, 0.14);

  --font-heading: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --section-pad: clamp(48px, 7vw, 88px) clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: #28272b;
  background: var(--beige-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover, a:focus-visible { color: var(--gold-light); }

button { font-family: inherit; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--gold);
  color: var(--graphite-900);
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
}

/* ---------- WhatsApp button + animations ---------- */
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}
@keyframes wa-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5), 0 6px 18px rgba(37, 211, 102, .35); }
  50% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0), 0 6px 22px rgba(37, 211, 102, .5); }
}
@keyframes wa-bg-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 20px;
  border-radius: 11px;
  text-decoration: none;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  background-image: linear-gradient(135deg, var(--wa-1), var(--wa-2), var(--wa-3), var(--wa-2), var(--wa-1));
  background-size: 220% 220%;
  animation: wa-glow 2.4s ease-in-out infinite, wa-bg-shift 6s ease-in-out infinite;
}
.wa-btn svg { flex: none; }
.wa-btn:hover, .wa-btn:focus-visible { color: #fff; filter: brightness(1.04); }

.wa-btn--header { font-size: 13.5px; padding: 10px 16px; border-radius: 10px; }
.wa-btn--hero { font-size: 15px; padding: 15px 24px; border-radius: 12px; }
.wa-btn--final { font-size: 15px; padding: 15px 24px; border-radius: 12px; }

.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wa-pulse 2.2s infinite, wa-glow 2.4s ease-in-out infinite, wa-bg-shift 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .wa-btn, .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--graphite-900);
  padding: 14px clamp(16px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.site-header__logo { height: 42px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--graphite-900) 0%, var(--graphite-800) 50%, var(--graphite-700) 100%);
  padding: clamp(48px, 7vw, 84px) clamp(16px, 5vw, 64px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 130, 150, .22), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__kicker {
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.18;
  margin: 0 0 16px;
  letter-spacing: .01em;
}
.hero__subtitle {
  color: var(--on-dark-2);
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 640px;
}
.hero__subtitle b { color: var(--gold-light); }

.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  width: 100%;
  max-width: 460px;
}
.badges strong { display: block; color: #fff; font-weight: 700; font-size: 14px; }
.badges span { color: var(--on-dark-3); font-size: 13px; }

/* ---------- Pain points ---------- */
.pain-points {
  background: linear-gradient(180deg, var(--beige-100), var(--beige-200));
  padding: var(--section-pad);
}
.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text-heading);
  margin: 0 0 12px;
  letter-spacing: .01em;
}
.section-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 640px;
  margin: 0 auto 44px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pain-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 26px 22px;
}
.pain-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--graphite-800), var(--graphite-700));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pain-card h3 { font-weight: 700; font-size: 15.5px; color: var(--text-heading); margin: 0 0 6px; }
.pain-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0; }
.section-cta { text-align: center; margin-top: 40px; }

/* ---------- Qualifier modal ---------- */
.qualifier-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 14, 12, .68);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.qualifier-overlay.is-open { display: flex; }
.qualifier {
  position: relative;
  max-width: 560px;
  width: 100%;
  margin: auto;
  background: linear-gradient(160deg, var(--graphite-900), var(--graphite-800) 55%, var(--graphite-700));
  border: 1px solid rgba(201, 169, 97, .45);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 44px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
}
.qualifier__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qualifier h2 {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 24px);
  margin: 0 0 8px;
  text-align: center;
}
.qualifier__intro {
  color: var(--on-dark-4);
  font-size: 13.5px;
  text-align: center;
  margin: 0 0 28px;
}
.qualifier__step { display: none; }
.qualifier__step.is-active { display: block; }
.qualifier__question {
  color: #e9e2d3;
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 14px;
}
.qualifier__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qualifier__option {
  text-align: left;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.5px;
  font-family: var(--font-body);
  cursor: pointer;
}
.qualifier__option:hover, .qualifier__option:focus-visible { border-color: var(--gold); }
.qualifier__option.is-selected { border-color: var(--gold); background: rgba(201, 169, 97, .14); }
.qualifier__hint {
  color: var(--on-dark-5);
  font-size: 12px;
  margin: 0;
}
.qualifier__decline-text {
  color: #e9e2d3;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.qualifier__decline-link {
  text-align: center;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  text-decoration: none;
  display: block;
}
.qualifier__reset {
  background: none;
  border: none;
  color: var(--on-dark-4);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  display: block;
  margin: 10px auto 0;
}
.qualifier__label {
  color: #e9e2d3;
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 16px;
}
.qualifier__input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.qualifier__input::placeholder { color: var(--on-dark-3); }
.qualifier__submit { width: 100%; justify-content: center; margin-bottom: 10px; }

/* ---------- About ---------- */
.about { background: #fff; padding: var(--section-pad); }
.two-col {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.about__portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.eyebrow {
  color: var(--gold-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.about h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(22px, 2.8vw, 30px);
  margin: 0 0 18px;
  color: var(--text-heading);
}
.about p { font-size: 15px; line-height: 1.65; color: var(--text-body); margin: 0 0 16px; }

/* ---------- How it works ---------- */
.how-it-works { background: linear-gradient(180deg, var(--beige-200), var(--beige-100)); padding: var(--section-pad); }
.how-it-works .container { max-width: 1000px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  text-align: center;
}
.how-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--graphite-800), var(--graphite-700));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.how-card h3 { font-weight: 700; font-size: 16px; margin: 0 0 8px; color: var(--text-heading); }
.how-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ---------- FAQ ---------- */
.faq { background: #fff; padding: var(--section-pad); }
.faq .container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--beige-100);
  border-radius: 14px;
  padding: 18px 20px;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item__chevron { transition: transform .2s ease; flex: none; }
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 14px 0 0; }

/* ---------- Coverage ---------- */
.coverage { background: linear-gradient(180deg, var(--beige-100), var(--beige-200)); padding: var(--section-pad); }
.coverage .two-col { grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); }
.coverage h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(22px, 2.8vw, 28px); color: var(--text-heading); margin: 0 0 14px; }
.coverage p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li {
  background: #fff;
  border: 1px solid rgba(34, 29, 21, .12);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-body);
  font-weight: 600;
}
.coverage__map {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
}
.coverage__map iframe { border: 0; display: block; width: 100%; height: 320px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(160deg, var(--graphite-900), var(--graphite-800) 55%, var(--graphite-700));
  padding: clamp(48px, 7vw, 80px) clamp(16px, 5vw, 64px);
  text-align: center;
}
.final-cta h2 {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 14px;
}
.final-cta p { color: var(--on-dark-2); font-size: 15.5px; margin: 0 0 30px; }
.final-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--graphite-950);
  padding: clamp(32px, 5vw, 44px) clamp(16px, 5vw, 64px);
  text-align: center;
}
.site-footer p { color: var(--on-dark-6); font-size: 13.5px; margin: 0 0 8px; }
.site-footer .credit { font-size: 13px; margin-bottom: 0; }
.site-footer .credit a { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr !important; text-align: center !important; gap: 24px !important; }
  .pain-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .how-grid { grid-template-columns: 1fr !important; }
  .badges { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  .pain-points, .how-it-works, .coverage, .final-cta, .about { text-align: center; }
  .pain-card__icon, .about__portrait { margin-left: auto !important; margin-right: auto !important; }
  .chips { justify-content: center !important; }
  .coverage { padding-left: 16px !important; padding-right: 16px !important; }
  .coverage__map iframe { height: auto !important; width: 100% !important; aspect-ratio: 4/3; }
  .about__portrait { width: 60% !important; max-width: 220px !important; }
}

@media (max-width: 480px) {
  .badges { gap: 6px !important; }
  .badges span { font-size: 12px !important; }
  .coverage__map iframe { height: auto !important; width: 100% !important; aspect-ratio: 4/3; }
}
