/* LMG Car & Truck · shell do site (redesign 07/2026) */

@font-face {
  font-family: "Saira";
  src: url("/catalogo-2026/assets/fonts/saira.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/catalogo-2026/assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/catalogo-2026/assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #e2231a;
  --red-dark: #bd1711;
  --ink: #0b0c0e;
  --dark: #0a0a0c;
  --dark-soft: #141417;
  --canvas: #f6f6f4;
  --surface: #ffffff;
  --muted: #5f6368;
  --muted-dark: #a6a9ae;
  --border: #d7d9dc;
  --border-dark: rgba(255, 255, 255, 0.14);
  --success: #087a49;
  --whatsapp: #128c4b;
  --focus: #1677ff;
  --font-heading: "Saira", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --radius: 10px;
  --shell: 1200px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.dark-section :focus-visible,
.hero :focus-visible,
.topbar :focus-visible {
  outline-color: #8ab8ff;
}

.shell {
  width: min(var(--shell), 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ===== Tipografia ===== */

.eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.display {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

h1.display {
  font-size: clamp(42px, 7.4vw, 74px);
}

h2.display {
  font-size: clamp(28px, 4.6vw, 44px);
}

.lead {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--muted);
}

.dark-section .lead,
.hero .lead {
  color: var(--muted-dark);
}

/* ===== Botões ===== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.button:active {
  transform: translateY(1px);
}

.button--red {
  background: var(--red);
  color: #fff;
}

.button--red:hover {
  background: var(--red-dark);
}

.button--ghost-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.button--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--ink);
  color: #fff;
}

.button--whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.button--whatsapp:hover {
  background: #0d6e3a;
}

.text-link {
  font-weight: 700;
  color: inherit;
  text-underline-offset: 3px;
}

/* ===== Topbar ===== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.97);
  color: #fff;
  border-bottom: 1px solid var(--border-dark);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}

.topbar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.topbar .brand img {
  width: auto;
  height: 46px;
  border-radius: 6px;
  object-fit: contain;
}

.brand__copy strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand__copy span {
  display: block;
  font-size: 12px;
  color: var(--muted-dark);
}

.topbar nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.topbar nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #e8e9ea;
  text-decoration: none;
}

.topbar nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.topbar__cta {
  margin-left: 6px;
}

.topbar .button {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 15px;
}

/* WhatsApp persistente */
.whatsapp-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 65;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.32);
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background-color 180ms ease;
}

.whatsapp-fab:hover {
  background: #0b743d;
  transform: translateY(-3px);
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  overflow: visible;
}

.whatsapp-fab__bubble {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-fab__phone {
  fill: currentColor;
}

/* menu mobile nativo */
.nav-menu {
  position: relative;
  margin-left: auto;
  display: none;
}

.nav-menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.nav-menu > summary::-webkit-details-marker {
  display: none;
}

.nav-menu[open] > summary {
  background: rgba(255, 255, 255, 0.12);
}

.nav-menu__list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 230px;
  display: grid;
  padding: 8px;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  background: #101013;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.nav-menu__list a {
  padding: 13px 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.nav-menu__list a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== Hero ===== */

.hero {
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(226, 35, 26, 0.22), transparent 60%),
    linear-gradient(180deg, #101013 0%, var(--dark) 100%);
  color: #fff;
  padding: clamp(56px, 9vw, 110px) 0 0;
}

.hero__grid {
  display: grid;
  gap: 34px;
}

.hero .search {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  max-width: 640px;
}

.hero .search input {
  flex: 1;
  min-height: 54px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: inherit;
}

.hero .search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.hero .search .button {
  flex-shrink: 0;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 18px;
}

.hero__links .text-link {
  color: #e8e9ea;
}

.urgent-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 12px 18px;
  border: 1px solid rgba(226, 35, 26, 0.55);
  border-radius: var(--radius);
  background: rgba(226, 35, 26, 0.12);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.urgent-strip:hover {
  background: rgba(226, 35, 26, 0.22);
}

.urgent-strip .urgent-strip__mark {
  color: #ff6f66;
}

.trust-strip {
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.03);
}

.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 24px;
  margin: 0;
  padding: 18px 0;
  list-style: none;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #dedfe1;
}

.trust-strip li::before {
  content: "✓";
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(8, 122, 73, 0.25);
  color: #6fd3a3;
  font-size: 13px;
  font-weight: 800;
}

/* ===== Seções ===== */

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section__header .lead {
  margin-top: 12px;
}

.badge {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.dark-section {
  background: var(--dark);
  color: #fff;
}

.dark-section .badge {
  border-color: var(--border-dark);
  color: var(--muted-dark);
}

/* ===== Marcas ===== */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.brand-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.brand-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 12, 14, 0.08);
}

.brand-card__mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
}

.brand-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.brand-card small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.brand-card__arrow {
  margin-left: auto;
  color: var(--muted);
  font-weight: 700;
}

.brand-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 22px;
  font-size: 15px;
  color: var(--muted);
}

/* ===== Vitrine (Seleção real) ===== */

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.showcase-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 12, 14, 0.1);
}

.showcase-card__media {
  aspect-ratio: 4 / 3;
  background: #fff;
  border-bottom: 1px solid var(--canvas);
  display: grid;
  place-items: center;
  padding: 6px;
}

.showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.showcase-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}

.showcase-card__code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.showcase-card__code strong {
  color: var(--ink);
}

.showcase-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.showcase-card__cta {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}

/* ===== Módulos ===== */

.modules-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.chip-row li {
  padding: 9px 16px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #dedfe1;
}

.modules-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.checklist {
  padding: 26px;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  background: var(--dark-soft);
}

.checklist h3 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.checklist ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: check;
}

.checklist li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  color: #e8e9ea;
}

.checklist li::before {
  counter-increment: check;
  content: counter(check, decimal-leading-zero);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--red);
}

/* ===== Fechamento / Car ===== */

.closing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.closing-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.closing-card--dark {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.closing-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.closing-card p {
  margin: 0;
  color: var(--muted);
}

.closing-card--dark p {
  color: var(--muted-dark);
}

.closing-card .button {
  margin-top: 8px;
  align-self: start;
}

/* ===== Página Car ===== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.service-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.service-card strong {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.service-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.service-card span {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}

.symptom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.symptom-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.symptom-chip:hover {
  border-color: var(--ink);
}

/* ===== Rodapé ===== */

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: clamp(44px, 6vw, 64px) 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.site-footer h4 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.site-footer p,
.site-footer li {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #d5d6d8;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #fff;
  text-underline-offset: 3px;
}

.site-footer__brand strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer__legal {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--border-dark);
  font-size: 13px;
  color: var(--muted-dark);
}

/* ===== Responsivo ===== */

@media (max-width: 1040px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .topbar nav,
  .topbar__cta {
    display: none;
  }

  .nav-menu {
    display: block;
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 32px);
  }

  .hero .search {
    flex-direction: column;
  }

  .hero .search .button {
    width: 100%;
  }

  .hero__links {
    gap: 12px 18px;
  }

  .urgent-strip {
    width: 100%;
    justify-content: center;
  }

  .brand-grid,
  .showcase-grid,
  .service-grid,
  .closing-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
