/* ==========================================================================
   SantaDrivers — design system
   Tokens espelhados do site original (Voxel/Elementor):
   preto #000, âmbar #FFB322, container 1140, Inter 900 / Poppins 600 / DM Sans
   ========================================================================== */

:root {
  --black: #000000;
  --amber: #ffb322;
  --amber-dark: #e69c12;
  --white: #ffffff;

  --ink-1: #313135;   /* texto principal */
  --ink-2: #797a88;   /* texto secundário */
  --ink-3: #afb3b8;   /* legendas / placeholders */
  --line: #e6e6e8;
  --line-soft: #f0f0f2;
  --surface: #ffffff;
  --surface-2: #fdfdfd;
  --surface-3: #f9f9f9;
  --surface-4: #eeeaea;

  --container: 1140px;
  --header-h: 73px;
  --gutter: 80px;
  --radius-lg: 80px;
  --radius-md: 16px;
  --radius: 8px;
  --section-y: 80px;

  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-card: 0 1px 2px rgba(16, 16, 20, .04), 0 8px 24px rgba(16, 16, 20, .06);
  --shadow-pop: 0 12px 40px rgba(16, 16, 20, .14);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  /* O header é fixo: páginas sem hero reservam a altura dele. Com hero, a
     imagem passa por baixo e é o próprio hero que abre espaço internamente. */
  padding-top: var(--header-h);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-1);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body[data-hero="true"] { padding-top: 0; }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--font-head); font-weight: 600; color: var(--black); }
h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 5.2vw, 3rem); line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.15; }
h3 { font-size: 1.125rem; line-height: 1.3; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: 56px; }
.section--gray { background: var(--surface-3); }
.section--off  { background: var(--surface-2); }

.eyebrow {
  font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 .75rem;
}
.section-head { margin-bottom: 40px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head p { color: var(--ink-2); max-width: 60ch; }
.lead { font-size: 1.0625rem; color: var(--ink-2); }

/* ------------------------------- botões ---------------------------------- */
.btn {
  --btn-bg: var(--amber); --btn-fg: var(--black); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 12px 24px; min-height: 44px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 1;
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer; transition: transform .15s ease, filter .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(.95); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--amber) 60%, white); outline-offset: 2px; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.35); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.1); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--black); --btn-bd: var(--line); }
.btn--outline:hover { --btn-bg: var(--surface-3); }
.btn--dark { --btn-bg: var(--black); --btn-fg: var(--white); }
.btn--wa { --btn-bg: #25d366; --btn-fg: #04310f; }
.btn--sm { padding: 8px 16px; min-height: 36px; font-size: 13px; }
.btn--lg { padding: 15px 30px; min-height: 52px; font-size: 15px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------- header ---------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  color: var(--white);
  background: var(--black);
  transition: background .25s ease;
}
/* Sobre um hero o header flutua na imagem, como no site original. O gradiente
   mantém o contraste do logo e dos links mesmo se o JS não rodar. */
body[data-hero="true"] .site-header {
  background: linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.42) 62%, rgba(0,0,0,0) 100%);
}
body[data-hero="true"] .site-header[data-solid="true"] {
  background: var(--black);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1);
}
.site-header__bar {
  display: flex; align-items: center; gap: 24px;
  min-height: 73px; padding-block: 12px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 10px 14px; border-radius: var(--radius);
  font-size: 14px; color: rgba(255,255,255,.86); transition: background .15s, color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: var(--white); }
.nav__group { position: relative; }
.nav__group > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; border-radius: var(--radius);
  background: transparent; color: rgba(255,255,255,.86); font-size: 14px; cursor: pointer;
}
.nav__group > button:hover, .nav__group[data-open="true"] > button { background: rgba(255,255,255,.1); color: var(--white); }
.nav__group > button svg { transition: transform .2s; }
.nav__group[data-open="true"] > button svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  padding: 8px; border-radius: 12px; background: var(--white); color: var(--ink-1);
  box-shadow: var(--shadow-pop); display: none;
}
.nav__group[data-open="true"] .nav__menu { display: block; }
.nav__menu a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink-1); font-size: 14px; }
.nav__menu a:hover { background: var(--surface-3); color: var(--black); }
.header-cta { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius);
  background: transparent; color: var(--white); font-size: 14px; cursor: pointer;
}

/* ------------------------------- hero ------------------------------------ */
.hero {
  position: relative; isolation: isolate;
  min-height: 720px; display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--header-h) 0 var(--section-y);
  background: var(--black); color: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.75) 100%);
}
.hero__body { flex: 1; display: flex; align-items: center; justify-content: flex-end; padding-block: 48px; }
.hero__copy { max-width: 560px; text-align: right; }
.hero__copy h1 { color: var(--white); margin-bottom: 1rem; }
.hero__copy p { color: rgba(255,255,255,.82); font-size: 1rem; margin-bottom: 0; }
.hero__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero--page { min-height: calc(380px + var(--header-h)); }
.hero--page .hero__body { justify-content: flex-start; }
.hero--page .hero__copy { text-align: left; }
.hero__badge {
  position: absolute; left: var(--gutter); bottom: calc(var(--section-y) + 8px);
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 999px; background: var(--amber); color: var(--black);
}

/* ------------------------- bloco de intro -------------------------------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.intro-grid p { color: var(--ink-2); font-size: 1rem; }

/* -------------------------- cards de motorista --------------------------- */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.driver-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.driver-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); border-color: var(--line-soft); }
.driver-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-4); }
.driver-card__media img { width: 100%; height: 100%; object-fit: cover; }
.driver-card__badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(0,0,0,.72); color: var(--white); font-size: 12px; font-weight: 500;
  backdrop-filter: blur(4px);
}
.driver-card__badge .dot { width: 7px; height: 7px; border-radius: 999px; background: #34d399; }
.driver-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.driver-card__name { font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; color: var(--black); }
.driver-card__offer { font-size: .875rem; color: var(--ink-2); }
.driver-card__offer strong { color: var(--ink-1); font-weight: 500; }
.driver-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-3); color: var(--ink-2); font-size: 12px; white-space: nowrap;
}
.tag--amber { background: color-mix(in srgb, var(--amber) 22%, white); color: #7a5300; }
.driver-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-top: 1px solid var(--line-soft);
}
.driver-card__price { font-size: 13px; color: var(--ink-2); }

/* ------------------------------ filtros ---------------------------------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  padding: 20px; margin-bottom: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 180px; flex: 1 1 180px; }
.field > label { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.field--check { flex-direction: row; align-items: center; gap: 8px; flex: 0 0 auto; min-width: 0; padding-bottom: 11px; }
.field--check label { font-size: 14px; color: var(--ink-1); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="datetime-local"], input[type="password"], input[type="number"], select, textarea {
  width: 100%; padding: 11px 13px;
  font-family: var(--font-body); font-size: 14px; color: var(--ink-1);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 25%, transparent);
}
textarea { min-height: 120px; resize: vertical; }
::placeholder { color: var(--ink-3); }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--amber); }

.results-count { margin-bottom: 20px; font-size: 14px; color: var(--ink-2); }
.empty {
  padding: 56px 24px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius-md); color: var(--ink-2);
}
.empty h3 { color: var(--ink-1); }

/* --------------------- cards de categoria de serviço --------------------- */
.svc-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.svc-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; padding: 24px; overflow: hidden;
  border-radius: 20px; color: var(--white); isolation: isolate;
}
.svc-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.svc-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.9) 100%);
}
.svc-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 12px; }
.svc-card ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; }
.svc-card li { position: relative; padding-left: 20px; font-size: .875rem; color: rgba(255,255,255,.85); }
.svc-card li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 8px; height: 8px; border-radius: 999px; background: var(--amber);
}

/* ------------------------- faixa de benefícios --------------------------- */
.benefits { padding-block: var(--section-y); background: var(--amber); color: var(--black); }
.benefits h2 { color: var(--black); }
.benefits__grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 40px; }
.benefit {
  padding: 24px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.55); border: 1px solid rgba(0,0,0,.06);
}
.benefit__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 10px; background: var(--black); color: var(--amber); }
.benefit h3 { font-size: 1rem; margin-bottom: 6px; }
.benefit p { font-size: .875rem; color: #4a3c14; }
.benefits__closing { max-width: 70ch; font-size: 1rem; color: #3d3110; }
.benefits__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.benefits__list span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--black); color: var(--white); font-size: 13px;
}

/* ------------------------------ blog ------------------------------------- */
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.post-card__media { aspect-ratio: 16 / 10; background: var(--surface-4); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__date { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.post-card h3 { font-size: 1.0625rem; margin: 0; }
.post-card p { font-size: .875rem; color: var(--ink-2); margin: 0; }
.post-card__more { margin-top: auto; font-size: 14px; font-weight: 500; color: var(--black); display: inline-flex; align-items: center; gap: 6px; }
.post-card:hover .post-card__more { gap: 10px; }

/* ------------------------------ artigo ----------------------------------- */
.article { max-width: 760px; margin-inline: auto; }
.article__cover { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 32px; }
.article__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); margin-bottom: 24px; }
.prose { font-size: 1rem; color: var(--ink-1); }
.prose h2 { font-size: 1.375rem; margin-top: 2em; }
.prose h3 { font-size: 1.125rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--black); font-weight: 600; }
.prose a { color: #8a5a00; text-decoration: underline; text-underline-offset: 2px; }

/* ----------------------------- depoimentos ------------------------------- */
.quote {
  padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: 14px;
}
.quote__stars { color: var(--amber); letter-spacing: 2px; }
.quote p { font-size: .9375rem; color: var(--ink-1); margin: 0; }
.quote__who { font-size: 13px; color: var(--ink-2); }
.quote__who strong { color: var(--black); font-weight: 600; }

/* -------------------------------- FAQ ------------------------------------ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; transition: border-color .15s;
}
.faq details[open] { border-color: var(--amber); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--black);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__answer { padding: 0 20px 20px; color: var(--ink-2); font-size: .9375rem; }
.faq__answer ul { padding-left: 1.2em; margin: .5rem 0 0; }

/* --------------------------- landing de SEO ------------------------------ */
.stats { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { text-align: center; padding: 28px 20px; background: var(--surface-3); border-radius: var(--radius-md); }
.stat__value { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--black); line-height: 1; }
.stat__label { margin-top: 8px; font-size: .875rem; color: var(--ink-2); }

.adv-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.adv { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.adv__num { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--amber); line-height: 1; margin-bottom: 10px; }
.adv h3 { font-size: 1rem; margin-bottom: 6px; }
.adv p { font-size: .875rem; color: var(--ink-2); margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.card-panel { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.card-panel--sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.card-panel h3 { margin-bottom: 4px; }
.card-panel > p { font-size: .875rem; color: var(--ink-2); margin-bottom: 20px; }

/* ------------------------------ formulários ------------------------------ */
.form-grid { display: grid; gap: 14px; }
.form-grid--2 { grid-template-columns: 1fr 1fr; }
.form-note { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.alert { padding: 14px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 20px; }
.alert--ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert--err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ---------------------------- perfil motorista --------------------------- */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.profile__avatar { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1; background: var(--surface-4); }
.profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile__meta { display: grid; gap: 10px; margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.profile__meta div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.profile__meta strong { color: var(--ink-1); font-weight: 500; text-align: right; }

/* ------------------------------- footer ---------------------------------- */
.site-footer { padding-block: 56px 32px; background: var(--black); color: rgba(255,255,255,.7); font-size: 14px; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer img { height: 34px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--white); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.5); }
.site-footer__intro { max-width: 34ch; color: rgba(255,255,255,.6); }

/* ------------------------------ WhatsApp --------------------------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px;
  background: #25d366; color: #04310f; font-weight: 600; font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.wa-float:hover { filter: brightness(.96); }
.wa-float span { display: none; }

/* ------------------------------ utilitários ------------------------------ */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.breadcrumbs a:hover { color: var(--ink-1); }
.breadcrumbs span { color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); font-size: 13px; color: var(--ink-1); transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 10%, white); }
.chip[aria-current="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.step { padding: 24px; background: var(--surface-3); border-radius: var(--radius-md); }
.step__n { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 999px; background: var(--amber); color: var(--black); font-weight: 700; font-size: 14px; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .875rem; color: var(--ink-2); margin: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-size: .9375rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px;
  border-radius: 999px; background: var(--amber);
  clip-path: polygon(38% 68%, 18% 48%, 10% 56%, 38% 84%, 90% 32%, 82% 24%);
}
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding-inline: 12px;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px;
}
.pagination [aria-current="page"] { background: var(--black); border-color: var(--black); color: var(--white); }

/* ----------------------------- responsivo -------------------------------- */
@media (max-width: 1024px) {
  :root { --gutter: 32px; --section-y: 64px; --radius-lg: 48px; --header-h: 66px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .card-panel--sticky { position: static; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header[data-open="true"] .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    padding: 12px 24px 20px; background: var(--black);
    border-top: 1px solid rgba(255,255,255,.12);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  /* Com o menu aberto o header é sólido, para não sobrar costura entre ele e o
     painel preto. Precisa casar a especificidade da regra do hero. */
  .site-header[data-open="true"],
  body[data-hero="true"] .site-header[data-open="true"] { background: var(--black); }
  /* No menu aberto o submenu vira acordeão: continua fechado até o toque,
     senão os 7 serviços ocupam metade da tela. */
  .site-header[data-open="true"] .nav__menu {
    position: static; box-shadow: none; min-width: 0;
    margin: 2px 0 6px; background: rgba(255,255,255,.06);
  }
  .site-header[data-open="true"] .nav__group:not([data-open="true"]) .nav__menu { display: none; }
  .site-header[data-open="true"] .nav__group[data-open="true"] .nav__menu { display: block; }
  .site-header[data-open="true"] .nav__menu a { color: rgba(255,255,255,.8); }
  .site-header[data-open="true"] .nav__group > button { width: 100%; justify-content: space-between; }
  .hero { min-height: 520px; }
  .hero__body { justify-content: flex-start; }
  .hero__copy { text-align: left; }
  .hero__badge { display: none; }
  .profile { grid-template-columns: 1fr; }
  .form-grid--2 { grid-template-columns: 1fr; }
  .wa-float span { display: inline; }
}

@media (max-width: 560px) {
  :root { --section-y: 48px; --radius-lg: 32px; --header-h: 62px; }
  .container { padding-inline: 20px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .filters { padding: 16px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Avatar por iniciais — usado quando o motorista ainda não tem foto. */
.avatar-initials {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #1b1b1f 0%, #33343c 100%);
  color: var(--amber);
  font-family: var(--font-display); font-weight: 900; font-size: 2.25rem;
  letter-spacing: .04em;
}
.driver-card__media { overflow: hidden; }
.profile__avatar { position: relative; }
.avatar-initials--lg { font-size: 4.5rem; }

/* ---------------------- busca por geolocalização ------------------------- */
.driver-card__badge--live .dot { background: #ffb322; box-shadow: 0 0 0 4px rgba(255,179,34,.28); }
.driver-card__dist {
  position: absolute; top: 12px; right: 12px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--white); color: var(--black);
  font-size: 12px; font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.driver-card__where {
  display: flex; align-items: center; gap: 6px;
  margin: 0; font-size: 12.5px; color: var(--ink-2);
}
.driver-card__where svg { flex: 0 0 auto; color: var(--amber); }

.geo-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 20px; margin-bottom: 20px;
  background: var(--black); color: var(--white); border-radius: var(--radius-md);
}
.geo-bar__txt { flex: 1 1 260px; min-width: 0; }
.geo-bar strong { display: block; font-family: var(--font-head); font-size: 1.0625rem; }
.geo-bar p { margin: 4px 0 0; font-size: .875rem; color: rgba(255,255,255,.68); }
.geo-bar__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.geo-bar select {
  padding: 10px 12px; font-size: 14px; color: var(--white);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius);
}
.geo-bar select option { color: var(--ink-1); }
.geo-bar__msg { flex: 1 1 100%; margin: 0; font-size: 13.5px; color: var(--amber); }
.geo-bar--active { background: linear-gradient(135deg, #1a1a1f 0%, #2b2c33 100%); }

/* ------------------------ solicitações de corrida ------------------------ */
.rides { display: grid; gap: 16px; }
.ride {
  padding: 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-md);
}
.ride__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.ride__top > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ride__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  padding: 3px 8px; border-radius: 6px; background: var(--surface-3);
}
.ride__when { font-family: var(--font-head); font-size: .9375rem; }
.ride__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.ride__grid > div { display: grid; gap: 2px; min-width: 0; }
.ride__grid span { font-size: 12px; color: var(--ink-3); }
.ride__grid strong { font-size: .875rem; font-weight: 500; overflow-wrap: anywhere; }
.ride__grid a { text-decoration: underline; text-underline-offset: 2px; }
.ride__notes, .ride__reply {
  margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius);
  font-size: .875rem; color: var(--ink-1); background: var(--surface-3);
}
.ride__reply { background: color-mix(in srgb, var(--amber) 14%, white); }
.ride__notes span, .ride__reply span { color: var(--ink-2); font-size: 12px; display: block; margin-bottom: 3px; }
.ride__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft);
}
.ride__foot .form-note { margin: 0; }

.ride-st {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 500;
}
.ride-st::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.st-wait { background: #fff4e0; color: #8a5a00; }
.st-ok   { background: #e9f8f0; color: #0f7a4a; }
.st-no   { background: #fdeceb; color: #a3271c; }
.st-off  { background: var(--surface-3); color: var(--ink-2); }
.st-done { background: #eef2ff; color: #3730a3; }

/* atalho de conta no cabeçalho */
.nav__account {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); color: var(--white); font-size: 13px;
}
.nav__account:hover { background: rgba(255,255,255,.1); }
.nav__account b { font-weight: 600; }

.driver-card__actions { display: inline-flex; gap: 8px; align-items: center; }
.btn--icon { padding-inline: 10px; }
