/* =============================================
   ASSISTANCE LP — CONSULTOR EXTERNO
   Paleta: fundo escuro (#0f0f0f), amarelo (#f1c40f), branco
   Tipografia: Barlow Condensed (display) + Barlow (body)
============================================= */

:root {
  --c-bg:       #0f0f0f;
  --c-bg-alt:   #1a1a1a;
  --c-bg-muted: #111111;
  --c-surface:  #222222;
  --c-border:   rgba(255,255,255,0.08);
  --c-red:      #f1c40f;
  --c-red-hover:#d4ac0d;
  --c-red-glow: rgba(241,196,15,0.15);
  --c-white:    #ffffff;
  --c-off-white:#f0ede8;
  --c-text:     #e8e4df;
  --c-muted:    #8a8680;
  --c-light-muted: #b0ada8;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --max-w: 1100px;
  --max-w-narrow: 680px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--max-w-narrow);
}

/* ---- BOTÕES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-red);
  color: var(--c-bg);
}
.btn--primary:hover { background: var(--c-red-hover); }
.btn--primary:active { transform: scale(0.98); }
.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }
.btn--sm { font-size: 13px; padding: 8px 18px; }
.btn--full { width: 100%; }

/* ---- EYEBROW ---- */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 10px;
}
.eyebrow--light { color: rgba(241,196,15,0.8); }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,15,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo { height: 56px; width: auto; object-fit: contain; }

.nav__brands { display: flex; align-items: center; gap: 10px; }
.nav__brands-sep { font-size: 11px; color: var(--c-muted); white-space: nowrap; }

/* ---- CO-BRANDING (CarSave) ---- */
.brand-chip {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 4px 9px;
}
.brand-chip__logo { display: block; height: 20px; width: auto; object-fit: contain; }

/* ---- HERO ---- */
.hero {
  padding: 140px 0 80px;
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(241,196,15,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content { max-width: 640px; }
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--c-white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero__headline .accent { color: var(--c-red); }
.hero__sub {
  font-size: 18px;
  color: var(--c-light-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
}
.stat__label {
  display: block;
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 2px;
}
.stat__divider {
  width: 1px;
  height: 36px;
  background: var(--c-border);
}

.hero__brandnote {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
  max-width: 520px;
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.5;
}
.hero__brandnote .brand-chip { flex-shrink: 0; }
.hero__brandnote .brand-chip__logo { height: 24px; }
.hero__brandnote strong { color: var(--c-light-muted); }

/* ---- SEÇÕES ---- */
.section { padding: 80px 0; }
.section--dark { background: var(--c-bg-alt); }
.section--muted { background: var(--c-bg-muted); }

.section__header { text-align: center; margin-bottom: 48px; }
.section__header--light h2 { color: var(--c-white); }

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 12px;
  line-height: 1.1;
}
.section__desc {
  font-size: 16px;
  color: var(--c-light-muted);
  max-width: 520px;
  margin: 0 auto;
}
.section__desc--light { color: rgba(224,220,215,0.7); }

/* ---- DIFERENCIAIS ---- */
.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dif-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: border-color 0.2s;
}
.dif-card:hover { border-color: rgba(255,255,255,0.15); }
.dif-card--destaque {
  border-color: rgba(241,196,15,0.4);
  background: linear-gradient(135deg, #1f1a10 0%, var(--c-surface) 100%);
}
.dif-card--destaque:hover { border-color: rgba(241,196,15,0.6); }
.dif-card__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  background: var(--c-red-glow);
  border: 1px solid rgba(241,196,15,0.3);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  margin-bottom: 12px;
}
.dif-card__icon {
  color: var(--c-red);
  margin-bottom: 12px;
}
.dif-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 6px;
}
.dif-card p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
}

/* ---- PLANO DE CARREIRA ---- */
.plano__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.plano-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.plano-card--destaque {
  border-color: var(--c-red);
  background: linear-gradient(160deg, #1f1a10 0%, var(--c-surface) 100%);
}
.plano-card__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  background: var(--c-red-glow);
  border: 1px solid rgba(241,196,15,0.3);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  margin-bottom: 12px;
}
.plano-card__nivel {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 4px;
}
.plano-card__range {
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 20px;
}
.plano-card__pct {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
  margin-bottom: 4px;
}
.plano-card__pct-label {
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 20px;
}
.plano-card__minimo {
  font-size: 12px;
  color: var(--c-muted);
  border-top: 1px solid var(--c-border);
  padding-top: 14px;
}

.ativacao-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--c-red-glow);
  border: 1px solid rgba(241,196,15,0.25);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.6;
}
.ativacao-box__icon { color: var(--c-red); flex-shrink: 0; margin-top: 2px; }
.ativacao-box strong { color: var(--c-white); }

/* ---- SIMULADOR ---- */
.simulador {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.sim-control { margin-bottom: 24px; }
.sim-control__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.sim-control__header label {
  font-size: 15px;
  color: var(--c-light-muted);
}
.sim-control__val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
}
input[type="range"] {
  width: 100%;
  appearance: none;
  height: 4px;
  background: var(--c-surface);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-red);
  cursor: pointer;
  border: 2px solid var(--c-bg);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-red);
  cursor: pointer;
  border: 2px solid var(--c-bg);
}
.sim-control__labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 6px;
}
.sim-faixa {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-red);
  background: var(--c-red-glow);
  border: 1px solid rgba(241,196,15,0.25);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  margin-bottom: 12px;
}
.sim-aviso {
  font-size: 13px;
  color: #e67e22;
  background: rgba(230,126,34,0.1);
  border: 1px solid rgba(230,126,34,0.25);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}
.simulador__resultados {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.sim-resultado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
}
.sim-resultado:last-of-type { border-bottom: none; }
.sim-resultado--total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: none;
}
.sim-resultado__label { font-size: 15px; color: var(--c-muted); }
.sim-resultado__val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-white);
}
.sim-resultado__val--accent { color: var(--c-red); }
.sim-resultado__val--total {
  font-size: 30px;
  color: var(--c-white);
}
.sim-disclaimer {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 16px;
  line-height: 1.5;
}

/* ---- PERFIL ---- */
.perfil__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.perfil-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.perfil-card__icon { color: var(--c-red); margin-bottom: 12px; }
.perfil-card h3 { font-size: 15px; font-weight: 600; color: var(--c-white); margin-bottom: 6px; }
.perfil-card p { font-size: 14px; color: var(--c-muted); line-height: 1.6; }

/* ---- FAQ ---- */
.faq__lista { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.18s;
}
.faq-item[open] { border-color: rgba(241,196,15,0.3); }
.faq-item summary {
  font-size: 16px;
  font-weight: 500;
  color: var(--c-white);
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--c-red);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.18s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  font-size: 15px;
  color: var(--c-light-muted);
  line-height: 1.7;
  padding: 0 20px 18px;
}

/* ---- FORMULÁRIO ---- */
.form-lead { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--c-light-muted); }
.form-group input,
.form-group select {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.18s;
  width: 100%;
}
.form-group input::placeholder { color: var(--c-muted); }
.form-group input:focus,
.form-group select:focus { border-color: var(--c-red); }
.form-group select option { background: var(--c-bg-alt); }
.form-erro {
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: var(--radius-md);
  color: #e74c3c;
  font-size: 15px;
  padding: 12px 16px;
  margin-bottom: 8px;
}
.form-privacidade {
  font-size: 13px;
  color: var(--c-muted);
  text-align: center;
  margin-top: 4px;
}

/* ---- OBRIGADO ---- */
.obrigado {
  min-height: calc(100vh - 128px);
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.obrigado__inner { text-align: center; }
.obrigado__icon { color: var(--c-red); margin: 0 auto 24px; }
.obrigado h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 16px;
}
.obrigado p {
  font-size: 17px;
  color: var(--c-light-muted);
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- FOOTER ---- */
.footer {
  background: #080808;
  border-top: 1px solid var(--c-border);
  padding: 32px 0;
}
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__logo { height: 40px; width: auto; object-fit: contain; }
.footer__brands { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer__brands-sep { font-size: 12px; color: var(--c-muted); white-space: nowrap; }
.footer__brands .brand-chip__logo { height: 26px; }
.footer__end { font-size: 13px; color: var(--c-muted); }

/* ---- RESPONSIVO ---- */
@media (max-width: 900px) {
  .diferenciais__grid,
  .plano__grid,
  .perfil__grid { grid-template-columns: repeat(2, 1fr); }
  .simulador { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 0 60px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .diferenciais__grid,
  .plano__grid,
  .perfil__grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .nav__inner { padding: 0 16px; }
  .nav__brands-sep, .nav__brands .brand-chip { display: none; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__brands { justify-content: center; }
  .hero__brandnote { align-items: flex-start; }
}
