/* Thdespachante — landing page estática. Paleta extraída do logo real:
   preto, verde vibrante, cromado/prata. Construído bloco a bloco. */
:root {
  --bg: #0B0C0E;
  --bg-alt: #141619;
  --green: #7ED321;
  --green-dim: #4C7F17;
  --chrome: #C7CCD3;
  --text: #F2F3F5;
  --muted: rgba(242, 243, 245, 0.8);
  --line: rgba(242, 243, 245, 0.12);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── navbar ────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px;
  background: rgba(11, 12, 14, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.nav-brand .mark { color: var(--green); }
.nav-brand .word { color: var(--text); }
.nav-brand .brand-mark { height: 38px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 32px; list-style: none;
  font-size: 14px; color: var(--muted);
}
.nav-links a { text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-block; background: var(--green); color: #0B0C0E;
  font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 6px;
  text-decoration: none; transition: filter 0.2s;
}
.nav-cta:hover { filter: brightness(1.08); }

@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .nav { padding: 16px 20px; }
  .nav-brand { font-size: 16px; gap: 6px; }
  .nav-brand .brand-mark { height: 26px; }
  .nav-cta { font-size: 13px; padding: 9px 14px; white-space: nowrap; }
}

/* ── hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 120px 0 64px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover; background-position: center right;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,12,14,0.97) 0%, rgba(11,12,14,0.88) 32%, rgba(11,12,14,0.42) 58%, rgba(11,12,14,0.05) 82%),
    linear-gradient(180deg, rgba(11,12,14,0) 42%, rgba(11,12,14,0.55) 68%, rgba(11,12,14,0.92) 85%, var(--bg) 96%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 580px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(126, 211, 33, 0.08);
  border: 1px solid rgba(126, 211, 33, 0.35);
  color: var(--green);
  font-size: 13px; font-weight: 500;
  padding: 7px 16px 7px 8px; border-radius: 999px; margin-bottom: 28px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}

.hero h1 {
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.06;
  font-size: clamp(34px, 4.4vw, 54px);
}
.hero p.sub {
  margin-top: 22px; color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6;
  max-width: 480px;
}

.trust-row {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-top: 28px;
}
.trust-row li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.trust-row svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

.hero-ctas { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s, background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--green); color: #0B0C0E; }
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 8px 24px rgba(126, 211, 33, 0.28); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--chrome); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transition: none; transform: none; }
}

.social-proof { margin-top: 26px; font-size: 14px; color: var(--muted); }
.social-proof strong { color: var(--text); font-weight: 800; }
.social-proof .sep { margin: 0 8px; opacity: 0.5; }

@media (max-width: 720px) {
  .hero { min-height: 64svh; padding: 80px 0 32px; align-items: flex-end; }
  .hero-content { max-width: 100%; padding-bottom: 24px; }
  .hero-bg { background-image: url('assets/hero-bg-mobile.jpg'); background-position: center bottom; }
  .badge { font-size: 14px; margin-bottom: 18px; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
  .hero h1 {
    font-size: clamp(32px, 8.6vw, 42px);
    color: #FFFFFF;
    text-shadow: 0 2px 18px rgba(0,0,0,0.75);
  }
  .hero p.sub { text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(11,12,14,0.35) 0%, rgba(11,12,14,0.6) 45%, rgba(11,12,14,0.95) 78%, var(--bg) 92%, var(--bg) 100%),
      linear-gradient(90deg, rgba(11,12,14,0.55), rgba(11,12,14,0.4));
  }
}

/* ── services ──────────────────────────────────────────────────────── */
.services {
  position: relative; overflow: hidden;
  background-image:
    radial-gradient(rgba(242, 243, 245, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 220px, var(--bg-alt) 100%);
  background-size: 26px 26px, auto;
  background-repeat: repeat, no-repeat;
  padding: 64px 0 80px;
}
.services::before {
  content: ""; position: absolute; left: 50%; top: -70px; transform: translateX(-50%);
  width: 720px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(126, 211, 33, 0.2) 0%, rgba(126, 211, 33, 0) 70%);
  filter: blur(10px);
  pointer-events: none; z-index: 0;
}
.services .wrap { position: relative; z-index: 1; }
.section-head {
  max-width: 620px; margin: 0 auto 36px; text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.01em;
  line-height: 1.15;
}
.section-head p {
  margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.6;
}

.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bg-alt);
  padding: 22px 20px;
  transition: background 0.2s, border-color 0.2s;
}
.service-card:hover { background: #191c20; }
.service-card .icon {
  width: 34px; height: 34px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(126, 211, 33, 0.1);
  color: var(--green);
  margin-bottom: 12px;
}
.service-card .icon svg { width: 18px; height: 18px; }
.service-card h3 {
  font-size: 15.5px; font-weight: 700; margin-bottom: 5px; letter-spacing: -0.005em;
}
.service-card p {
  font-size: 14px; color: var(--muted); line-height: 1.55;
}

@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .service-grid { grid-template-columns: 1fr; }
  .services { padding: 48px 0 56px; }
  .service-card { padding: 18px 18px; }
}

/* ── como funciona ─────────────────────────────────────────────────── */
.process {
  position: relative; overflow: hidden;
  min-height: 82vh; display: flex; align-items: center;
  padding: 90px 32px;
}
.process-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/process-bg.jpg');
  background-size: cover; background-position: center right;
}
.process-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,12,14,0.96) 0%, rgba(11,12,14,0.86) 30%, rgba(11,12,14,0.4) 55%, rgba(11,12,14,0.05) 78%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-alt) 6%, rgba(11,12,14,0) 34%, rgba(11,12,14,0) 66%, var(--bg) 100%);
}
.process-content { position: relative; z-index: 1; max-width: 560px; }
.process-content h2 {
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.01em;
  margin-bottom: 36px;
}

.steps { list-style: none; }
.steps li { display: flex; gap: 18px; position: relative; padding-bottom: 34px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: -2px;
  width: 1px; background: var(--line);
}
.step-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--green); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  background: rgba(126, 211, 33, 0.08);
}
.steps h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.steps p { font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 420px; }

/* floating chat simulation — real bubbles, no card frame around them */
.chat-card {
  position: absolute; top: 34%; right: 19%; width: 210px; z-index: 2;
  background: transparent; border: none; box-shadow: none; padding: 0;
}
.chat-card .chat-head {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 10px; padding: 5px 10px 5px 6px; border-radius: 999px;
  background: rgba(11, 12, 14, 0.6); backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.chat-card .avatar {
  width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #0B0C0E;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 9px; flex-shrink: 0;
}
.chat-card .chat-name { font-size: 11px; font-weight: 700; line-height: 1.2; }
.chat-card .chat-status { font-size: 9px; color: var(--green); line-height: 1.2; }
.chat-card .bubble {
  position: relative;
  max-width: 88%; padding: 7px 10px; border-radius: 12px;
  font-size: 11px; line-height: 1.4; margin-bottom: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.chat-card .bubble:last-child { margin-bottom: 0; }
.chat-card .bubble.in { background: #1f2226; color: var(--text); border-bottom-left-radius: 3px; }
.chat-card .bubble.in::after {
  content: ""; position: absolute; left: -6px; bottom: 0; width: 0; height: 0;
  border: 6px solid transparent; border-right-color: #1f2226; border-bottom: 0; border-left: 0;
}
.chat-card .bubble.out {
  background: var(--green); color: #0B0C0E; margin-left: auto;
  border-bottom-right-radius: 3px; font-weight: 500;
}
.chat-card .bubble.out::after {
  content: ""; position: absolute; right: -6px; bottom: 0; width: 0; height: 0;
  border: 6px solid transparent; border-left-color: var(--green); border-bottom: 0; border-right: 0;
}
.chat-card .time { display: block; font-size: 9px; opacity: 0.65; margin-top: 3px; text-align: right; }

@media (max-width: 1100px) and (min-width: 721px) {
  .chat-card { display: none; }
}

@media (max-width: 720px) {
  .process { display: block; min-height: 0; padding: 0 0 56px; }
  .process-bg { position: relative; inset: auto; height: 280px; background-position: center 30%; }
  .process-bg::after {
    background: linear-gradient(180deg, rgba(11,12,14,0.1) 0%, rgba(11,12,14,0.65) 82%, var(--bg) 100%);
  }
  .process-content { max-width: 100%; padding: 70px 20px 0; }

  .chat-card {
    left: auto; right: 18px; top: 88px; bottom: auto; width: 150px;
  }
  .chat-card .bubble { font-size: 10px; padding: 6px 8px; }
}

/* ── diferenciais ──────────────────────────────────────────────────── */
.differentials {
  position: relative; overflow: hidden;
  background-image:
    radial-gradient(rgba(242, 243, 245, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 200px, var(--bg-alt) 100%);
  background-size: 26px 26px, auto;
  background-repeat: repeat, no-repeat;
  padding: 100px 0;
}
.diff-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.diff-text h2 {
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.diff-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.diff-list li { display: flex; align-items: flex-start; gap: 14px; }
.diff-list .check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(126, 211, 33, 0.12); color: var(--green);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.diff-list .check svg { width: 14px; height: 14px; }
.diff-list h3 { font-size: 16px; font-weight: 600; line-height: 1.4; }
.diff-photo {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}
.diff-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.differentials.cautelar, .differentials.cnh { border-top: 1px solid var(--line); }
.cautelar-lead { margin: -16px 0 28px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.cautelar-cta { margin-top: 32px; }
.cautelar-photo, .cnh-photo { aspect-ratio: 1 / 1; }

@media (max-width: 520px) {
  .cautelar-cta { width: 100%; justify-content: center; text-align: center; }
}

@media (max-width: 860px) {
  .diff-grid { grid-template-columns: 1fr; gap: 40px; }
  .diff-photo { order: -1; aspect-ratio: 16 / 11; }
  .cautelar-photo, .cnh-photo { aspect-ratio: 16 / 11; }
}
@media (max-width: 520px) {
  .differentials { padding: 64px 0; }
}

/* ── faq ───────────────────────────────────────────────────────────── */
.faq { padding: 96px 0; border-top: 1px solid var(--line); }
.faq-list {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.faq-item { background: var(--bg-alt); }
.faq-item summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 16px; font-weight: 700;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; font-size: 22px; font-weight: 400; color: var(--green);
  transition: transform 0.25s;
}
.faq-item:hover summary { color: var(--green); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6;
  max-width: 640px;
}

@media (max-width: 520px) {
  .faq { padding: 64px 0; }
  .faq-item summary { padding: 18px 20px; font-size: 15px; }
  .faq-item p { padding: 0 20px 20px; }
}

/* ── final cta ─────────────────────────────────────────────────────── */
.final-cta {
  text-align: center; padding: 110px 32px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.final-cta h2 {
  font-size: clamp(28px, 3.8vw, 46px); font-weight: 800; letter-spacing: -0.01em;
  max-width: 640px; margin: 0 auto; line-height: 1.15;
}
.final-cta p { margin-top: 16px; color: var(--muted); font-size: 16px; }
.btn-lg {
  margin-top: 32px; padding: 17px 34px; font-size: 16px;
  animation: btn-pulse 2.8s ease-in-out infinite;
}
.btn-lg:hover { animation-play-state: paused; }
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(126, 211, 33, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(126, 211, 33, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-lg { animation: none; }
}

@media (max-width: 520px) {
  .final-cta { padding: 72px 20px; }
}

/* ── footer ────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg); padding: 56px 0 0; }
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 32px; padding-bottom: 40px;
}
.footer-name { margin-top: 14px; font-size: 14px; color: var(--text); }
.footer-region { margin-top: 4px; font-size: 13px; color: var(--muted); }
.footer-links { list-style: none; display: flex; gap: 28px; }
.footer-links a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
.site-footer .footer-bottom-line { border-top: 1px solid var(--line); }
.footer-bottom {
  padding: 20px 0; font-size: 13px; color: var(--muted);
}
.footer-bottom-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal-link { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-legal-link:hover { color: var(--green); }

@media (max-width: 600px) {
  .footer-grid { flex-direction: column; align-items: center; text-align: center; gap: 24px; }
  .footer-name, .footer-region { text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 14px 24px; }
  .footer-bottom-row { flex-direction: column; justify-content: center; text-align: center; gap: 10px; }
}

/* ── legal page (termos.html) ─────────────────────────────────────── */
.legal {
  padding: 64px 32px 96px;
}
.legal .wrap { max-width: 760px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 32px;
}
.legal-back:hover { color: var(--green); }
.legal h1 {
  font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.01em;
  line-height: 1.2;
}
.legal .legal-updated { margin-top: 10px; font-size: 13px; color: var(--muted); }
.legal section { margin-top: 40px; }
.legal h2 {
  font-size: 19px; font-weight: 700; color: var(--green);
}
.legal p, .legal li { margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--text); }
.legal ul, .legal ol { margin-top: 14px; padding-left: 20px; }
.legal li { margin-top: 10px; }
.legal .legal-notice {
  margin-top: 56px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 13px; line-height: 1.6; color: var(--muted); background: var(--bg-alt);
}

@media (max-width: 520px) {
  .legal { padding: 48px 20px 72px; }
}
