/* ==========================================================================
   ML Ar-condicionado Automotivo — Landing Page
   Tokens: Grafite #161f27 · Gelo #4fc3e8 · Vermelho manômetro #e4483a
   Display: Big Shoulders Display · Corpo: Inter · Dados: IBM Plex Mono
   ========================================================================== */

:root {
  --ink: #161f27;
  --ink-alt: #1c2731;
  --panel: #202b35;
  --line: #2c3d48;
  --ice: #4fc3e8;
  --ice-bright: #7fd9f7;
  --frost: #dcf3fb;
  --paper: #edf2f5;
  --mist: #8aa0ac;
  --gauge-red: #e4483a;
  --gauge-amber: #f0a93b;
  --good: #4fc3e8;

  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius: 4px;
  --radius-lg: 8px;
  --container: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  background-image: radial-gradient(ellipse at 14% -10%, rgba(79, 195, 232, 0.1), transparent 45%),
    radial-gradient(ellipse at 100% 0%, rgba(228, 72, 58, 0.06), transparent 42%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 0.98;
  margin: 0;
  color: var(--paper);
  text-transform: uppercase;
}

.accent {
  color: var(--ice-bright);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a.link {
  color: var(--ice-bright);
}

a.link:hover {
  text-decoration: underline;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--ice);
  font-weight: 500;
}

.eyebrow--category {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ice-bright);
}

.hero__meta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--ink-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 620px;
  margin: 0 0 48px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  margin-top: 14px;
}

.section-head p {
  margin-top: 16px;
  color: var(--mist);
}

/* -------------------- Buttons -------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 500;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--ice);
  color: var(--ink);
  background: var(--ice);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  background: var(--ice-bright);
  border-color: var(--ice-bright);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(79, 195, 232, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--ice-bright);
}

.btn-ghost:hover {
  background: rgba(79, 195, 232, 0.1);
  color: var(--ice-bright);
}

.btn-small {
  padding: 11px 20px;
  font-size: 0.7rem;
}

.btn-block {
  width: 100%;
  margin-top: 24px;
}

/* -------------------- Header -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  flex-shrink: 0;
  border-radius: 50%;
}

.brand__word {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand__word-main {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.brand__word-main em {
  color: var(--ice);
  font-style: normal;
  font-weight: 600;
}

.brand__sub {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ice);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--mist);
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--ice-bright);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  cursor: pointer;
}

.nav__toggle:hover {
  border-color: var(--ice);
  color: var(--ice-bright);
}

.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 49;
  background: var(--ink-alt);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 4px 24px 20px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: var(--mist);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 16px;
  border-bottom: none;
}

/* -------------------- Hero -------------------- */

.hero {
  padding: 132px 0 108px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  margin-top: 22px;
}

.hero__content .lead {
  margin-top: 24px;
  max-width: 48ch;
  font-size: 1.05rem;
  color: var(--mist);
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 11px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--mist);
}

.status-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mist);
}

.status-badge.is-open {
  border-color: var(--good);
  color: var(--paper);
}

.status-badge.is-open .status-badge__dot {
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(79, 195, 232, 0.25);
}

.status-badge.is-closed {
  border-color: var(--line);
  color: var(--mist);
}

.hero-note {
  display: block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

/* -------------------- Gauge panel (signature) -------------------- */

.hero__panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  position: relative;
}

.hero__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ice) 0%, var(--ice) 30%, var(--good) 30%, var(--good) 70%, var(--gauge-red) 70%, var(--gauge-red) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.gauge-panel__tag {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--ice);
  margin-bottom: 20px;
  font-weight: 500;
}

.gauge-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gauge svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.gauge__seg {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
}

.gauge__seg--low {
  stroke: var(--ice);
  opacity: 0.85;
}

.gauge__seg--ok {
  stroke: var(--good);
}

.gauge__seg--high {
  stroke: var(--gauge-red);
  opacity: 0.85;
}

.gauge__needle {
  stroke: var(--paper);
  stroke-width: 2.5;
  stroke-linecap: round;
  transform-origin: 60px 100px;
  transform: rotate(-90deg);
  transition: transform 1.2s cubic-bezier(0.22, 1.6, 0.36, 1);
}

.reveal.is-visible .gauge__needle {
  transform: rotate(var(--target));
}

.gauge__hub {
  fill: var(--paper);
}

.gauge__value {
  display: block;
  margin-top: -10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--paper);
}

.gauge__value small {
  font-size: 0.62rem;
  color: var(--mist);
  margin-left: 2px;
  text-transform: uppercase;
}

.gauge__label {
  margin-top: 2px;
  font-size: 0.68rem;
  color: var(--mist);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* -------------------- Marquee -------------------- */

.marquee {
  background: var(--ink-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__track span {
  display: inline-block;
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--ice);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
  .marquee__track span:last-child {
    display: none;
  }
}

/* -------------------- Como funciona -------------------- */

.diagnostic {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}

.diagnostic__checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px;
  margin: 0;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.diagnostic__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--paper);
}

.diagnostic__checklist svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--ice);
}

.diagnostic__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diagnostic__callout {
  padding: 24px 26px;
  background: var(--panel);
  border: 1px solid var(--gauge-amber);
  border-left-width: 3px;
  border-radius: var(--radius);
}

.diagnostic__callout-tag {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gauge-amber);
  margin-bottom: 10px;
}

.diagnostic__callout p {
  color: var(--mist);
  font-size: 0.9rem;
}

.diagnostic__delivery {
  padding: 24px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.diagnostic__delivery ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.diagnostic__delivery li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.9rem;
}

.diagnostic__delivery li:last-child {
  border-bottom: none;
}

.diagnostic__approval {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ice-bright);
}

/* -------------------- Frota atendida -------------------- */

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

.fleet-card {
  text-align: left;
}

.fleet-card__img {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.fleet-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.fleet-card:hover .fleet-card__img img {
  transform: scale(1.05);
}

.fleet-card h3 {
  margin-top: 16px;
  font-size: 1.15rem;
}

.fleet-card p {
  margin-top: 4px;
  color: var(--mist);
  font-size: 0.85rem;
}

/* -------------------- Cuidado / investigação -------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card__img {
  display: block;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.feature-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card h3 {
  margin-top: 20px;
  font-size: 1.4rem;
}

.feature-card p {
  margin-top: 10px;
  color: var(--mist);
  font-size: 0.92rem;
  max-width: 42ch;
}

/* -------------------- Galeria oficina -------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.gallery__item--wide {
  grid-column: span 2;
}

/* -------------------- Avaliações -------------------- */

.reviews {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.reviews__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.reviews__badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews__badge svg {
  width: 28px;
  height: 28px;
}

.reviews__text {
  flex: 1;
  min-width: 220px;
}

.reviews__text h3 {
  font-size: 1.3rem;
}

.reviews__text p {
  margin-top: 6px;
  color: var(--mist);
  font-size: 0.9rem;
  max-width: 52ch;
}

.reviews .btn {
  flex-shrink: 0;
}

/* -------------------- Localização -------------------- */

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.info-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice);
}

.info-item h4 {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  color: var(--paper);
  margin: 0 0 4px;
}

.info-item p {
  color: var(--mist);
  font-size: 0.92rem;
}

.hours-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span:first-child {
  color: var(--mist);
}

.hours-row span:last-child {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--paper);
  letter-spacing: 0.02em;
}

/* -------------------- CTA final -------------------- */

.cta-final {
  text-align: center;
  padding: 110px 0;
}

.cta-final__mark {
  margin: 0 auto 28px;
  border-radius: 50%;
}

.cta-final h2 {
  font-size: clamp(2.1rem, 4.4vw, 3rem);
}

.cta-final p {
  color: var(--mist);
  margin-top: 14px;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-final .btn {
  margin-top: 32px;
  padding: 16px 32px;
  font-size: 0.82rem;
}

/* -------------------- Footer -------------------- */

.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fine {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
}

.socials--footer {
  display: flex;
  gap: 18px;
}

.socials--footer a {
  color: var(--mist);
  transition: color 0.2s ease;
}

.socials--footer a:hover {
  color: var(--ice-bright);
}

.socials--footer svg {
  width: 20px;
  height: 20px;
}

/* -------------------- Floating WhatsApp -------------------- */

.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

.float-wa:hover {
  transform: scale(1.06);
  background: var(--ice-bright);
}

.float-wa svg {
  width: 28px;
  height: 28px;
}

/* -------------------- Reveal on scroll -------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- Responsive -------------------- */

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

@media (max-width: 860px) {
  .nav__links,
  .nav > .btn {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    padding: 116px 0 72px;
  }

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

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

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

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .location__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 96px 0 56px;
  }

  .hero__content .lead {
    font-size: 0.98rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .hero__actions .btn,
  .hero__actions .status-badge {
    justify-content: center;
    text-align: center;
  }

  .hero__panel {
    padding: 26px 18px 22px;
  }

  .gauge__value {
    font-size: 1rem;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .reviews__inner {
    flex-direction: column;
    text-align: center;
  }

  .reviews .btn {
    width: 100%;
  }

  .fleet-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .cta-final {
    padding: 72px 0;
  }

  .cta-final .btn {
    width: 100%;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }

  .float-wa {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .float-wa svg {
    width: 24px;
    height: 24px;
  }
}
