/* ===========================
   Motiva Rodovia Digital
   Font: Space Grotesk | Colors: #0f172a + #2563eb
   =========================== */

:root {
  --dark: #0f172a;
  --dark2: #1e293b;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-pale: #eff6ff;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --green: #25d366;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* ===========================
   Cookie Banner
   =========================== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--dark); color: #fff;
  z-index: 9999; padding: 14px 24px;
  display: none;
}
.cookie-banner.show { display: block; }
.ck-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.ck-inner p { font-size: 0.875rem; flex: 1; min-width: 200px; }
.ck-inner a { color: var(--blue-light); text-decoration: underline; }
.ck-btns { display: flex; gap: 8px; }
.ck-btns button {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; cursor: pointer;
  padding: 8px 18px; border-radius: 6px;
  font-size: 0.85rem; border: none;
}
#cookieAccept { background: var(--blue); color: #fff; }
#cookieReject { background: transparent; color: #aaa; border: 1px solid #555 !important; }

/* ===========================
   Header
   =========================== */
.header {
  position: sticky; top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.hd-inner {
  display: flex; align-items: center;
  gap: 24px; height: 66px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { display: flex; flex-direction: column; }
.logo-brand {
  color: var(--dark); font-size: 1.05rem;
  font-weight: 700; line-height: 1.2;
}
.logo-tag {
  color: var(--muted); font-size: 0.7rem;
  font-weight: 500;
}
.nav {
  display: flex; gap: 24px; margin-left: auto;
}
.nav a {
  color: var(--muted); font-weight: 600;
  font-size: 0.875rem; transition: color 0.2s;
}
.nav a:hover { color: var(--blue); }
.hd-actions { display: flex; align-items: center; gap: 10px; }
.hd-tel {
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); font-weight: 600;
  font-size: 0.85rem; white-space: nowrap;
  transition: color 0.2s;
}
.hd-tel:hover { color: var(--blue); }
.hd-wa {
  display: flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff;
  font-weight: 700; font-size: 0.85rem;
  padding: 8px 16px; border-radius: 7px;
  white-space: nowrap; transition: opacity 0.2s;
}
.hd-wa:hover { opacity: 0.88; }
.menu-btn {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: none;
  cursor: pointer; padding: 4px; margin-left: auto;
}
.menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
}

/* ===========================
   Hero
   =========================== */
.hero {
  padding: 80px 0 72px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center;
  gap: 8px; font-size: 0.8rem; font-weight: 600;
  color: var(--blue); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 18px;
}
.dot {
  width: 8px; height: 8px;
  background: var(--blue); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-left h1 {
  font-size: 2.5rem; font-weight: 700;
  color: var(--dark); line-height: 1.2;
  margin-bottom: 18px;
}
.hero-left > p {
  color: var(--muted); font-size: 1.05rem;
  margin-bottom: 28px; line-height: 1.7;
}
.hero-actions {
  display: flex; gap: 12px;
  flex-wrap: wrap; margin-bottom: 28px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 8px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-light); }
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  font-weight: 700; font-size: 0.95rem;
  padding: 13px 22px; border-radius: 8px;
  transition: opacity 0.2s;
}
.btn-wa:hover { opacity: 0.88; }
.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.ht-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--muted);
}

/* Hero Graphic */
.hero-right { display: flex; justify-content: center; }
.hero-graphic {
  background: var(--blue-pale);
  border: 2px solid rgba(37,99,235,0.15);
  border-radius: 20px;
  padding: 36px 28px;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}
.road-lines {
  display: flex; gap: 8px;
}
.road-lines span {
  display: block;
  width: 6px; height: 40px;
  background: var(--blue);
  border-radius: 3px;
  opacity: 0.3;
}
.road-lines span:nth-child(2) { opacity: 0.6; height: 60px; }
.road-lines span:nth-child(3) { opacity: 0.9; height: 80px; }
.road-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.road-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.road-card strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}

/* ===========================
   Services
   =========================== */
.services {
  padding: 80px 0;
  background: var(--bg);
}
.sec-head {
  margin-bottom: 48px;
  text-align: center;
}
.sec-head h2 {
  font-size: 1.9rem; font-weight: 700;
  color: var(--dark); margin-bottom: 10px;
}
.sec-head p { color: var(--muted); font-size: 1rem; }
.svc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.svc-item {
  display: flex; gap: 16px;
  padding: 24px 24px;
  background: var(--white);
  align-items: flex-start;
}
.svc-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 6px;
  padding: 4px 8px;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.svc-body h3 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.svc-body p { font-size: 0.875rem; color: var(--muted); }

/* ===========================
   Form Section
   =========================== */
.form-section {
  padding: 80px 0;
  background: var(--dark);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
}
.form-card h2 {
  font-size: 1.5rem; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
}
.form-card > p {
  color: var(--muted); font-size: 0.9rem;
  margin-bottom: 24px;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.fg { margin-bottom: 14px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 0; }
.fg-row .fg { margin-bottom: 14px; }
.fg label {
  display: block; font-size: 0.78rem;
  font-weight: 600; color: var(--dark2);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 5px;
}
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem; color: var(--text);
  background: #fff; outline: none;
  transition: border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--blue);
}
.fg textarea { resize: vertical; min-height: 78px; }
.consent-row {
  display: flex; gap: 10px;
  align-items: flex-start;
  font-size: 0.8rem; color: var(--muted);
  line-height: 1.5; margin-bottom: 16px;
}
.consent-row input[type="checkbox"] {
  width: 15px; height: 15px;
  margin-top: 2px; flex-shrink: 0;
  accent-color: var(--blue);
}
.consent-row a { color: var(--blue); text-decoration: underline; }
.btn-submit {
  width: 100%; padding: 13px;
  background: var(--green); color: #fff;
  border: none; border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  gap: 8px; transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.88; }
.success-msg {
  display: none; align-items: flex-start;
  gap: 10px; margin-top: 14px;
  padding: 14px; background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px; font-size: 0.875rem; color: #166534;
}
.success-msg.show { display: flex; }

/* Form Info */
.form-info { padding-top: 8px; }
.form-info h3 {
  color: #fff; font-size: 1.3rem;
  font-weight: 700; margin-bottom: 24px;
}
.steps { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.sn {
  width: 32px; height: 32px; min-width: 32px;
  background: var(--blue); color: #fff;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
}
.step h4 {
  color: #fff; font-size: 0.9rem;
  font-weight: 700; margin-bottom: 3px;
}
.step p { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.form-contacts { display: flex; flex-direction: column; gap: 10px; }
.fc-link {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.75);
  font-weight: 600; font-size: 0.9rem;
  transition: color 0.2s;
}
.fc-link:hover { color: #fff; }
.fc-wa { color: var(--green) !important; }

/* ===========================
   How it Works
   =========================== */
.how {
  padding: 80px 0;
  background: var(--white);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.how-card {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.how-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.06);
}
.how-card svg { margin: 0 auto 14px; }
.how-card h4 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
}
.how-card p { font-size: 0.85rem; color: var(--muted); }

/* ===========================
   About
   =========================== */
.about {
  padding: 80px 0;
  background: var(--bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-text h2 {
  font-size: 1.8rem; font-weight: 700;
  color: var(--dark); margin-bottom: 16px;
}
.about-text p {
  color: var(--muted); margin-bottom: 14px; line-height: 1.7;
}
.about-data {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.data-row {
  display: flex; flex-direction: column;
  gap: 3px; padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.data-row:last-child { border-bottom: none; }
.dr-label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--blue);
}
.dr-val {
  font-size: 0.875rem; color: var(--text);
  font-weight: 500; line-height: 1.5;
}
.dr-val a { color: var(--blue); font-weight: 600; }

/* ===========================
   Contact
   =========================== */
.contact {
  padding: 80px 0;
  background: var(--white);
}
.contact-inner {
  text-align: center;
}
.contact-inner h2 {
  font-size: 1.9rem; font-weight: 700;
  color: var(--dark); margin-bottom: 10px;
}
.contact-inner > p {
  color: var(--muted); margin-bottom: 40px;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.ct-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ct-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.06);
}
.ct-wa:hover { border-color: var(--green); box-shadow: 0 0 0 4px rgba(37,211,102,0.06); }
.ct-card h4 {
  font-size: 0.85rem; font-weight: 700;
  color: var(--dark); text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ct-card span {
  font-size: 0.875rem; color: var(--muted);
  line-height: 1.6;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--dark);
  padding: 28px 0 20px;
}
.ft-top {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ft-brand { display: flex; align-items: center; gap: 12px; }
.ft-name {
  display: block; color: #fff;
  font-weight: 700; font-size: 0.95rem;
}
.ft-cnpj {
  display: block; color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
}
.ft-links { display: flex; gap: 22px; flex-wrap: wrap; }
.ft-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s;
}
.ft-links a:hover { color: var(--blue-light); }
.ft-bottom { padding-top: 14px; text-align: center; }
.ft-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem; line-height: 1.7;
}

/* ===========================
   Float WhatsApp
   =========================== */
.float-wa {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 990;
  transition: transform 0.2s, opacity 0.2s;
}
.float-wa:hover { transform: scale(1.08); opacity: 0.92; }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .svc-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-info { order: -1; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; max-width: 400px; }
}
@media (max-width: 768px) {
  .nav {
    display: none; flex-direction: column;
    position: absolute; top: 66px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px; gap: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1rem; padding: 4px 0; }
  .menu-btn { display: flex; }
  .hd-actions { display: none; }
  .hd-inner { position: relative; }
  .hero { padding: 56px 0 48px; }
  .hero-left h1 { font-size: 1.9rem; }
}
@media (max-width: 600px) {
  .fg-row { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .ft-top { flex-direction: column; }
  .ft-links { justify-content: center; }
  .contact-cards { grid-template-columns: 1fr; max-width: 100%; }
}
