/* =====================================================
   Heliar Express — visual oficial
   ===================================================== */

:root {
  --green: #1db954;
  --green-dark: #159a44;
  --green-deep: #0d7a35;
  --green-soft: #e8f9ee;
  --orange: #f7941d;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --bg: #f4f4f4;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 72rem;
  /* aliases usados no checkout legado */
  --monster: var(--green);
  --monster-dark: var(--green-dark);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--green);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.topbar-inner {
  width: min(100% - 1.25rem, var(--max));
  margin-inline: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  height: 36px;
  width: auto;
}

.phone-cta {
  text-decoration: none;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  max-width: 11.5rem;
}

.phone-cta-label {
  font-size: 0.62rem;
  opacity: 0.92;
}

.phone-cta strong {
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #0b0b12;
  min-height: min(72vh, 560px);
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4.2rem;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  pointer-events: none;
}

.hero-dot {
  pointer-events: auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s, transform 0.2s;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

@media (min-width: 720px) {
  .hero {
    min-height: min(78vh, 640px);
  }

  .hero-dots {
    bottom: 4.6rem;
  }
}

@media (min-width: 960px) {
  .hero-slide img {
    object-fit: contain;
    background: #0b0b12;
  }
}

/* ---------- Finder ---------- */
.finder-wrap {
  margin-top: -3.25rem;
  position: relative;
  z-index: 5;
  padding: 0 1rem 1rem;
}

.finder {
  width: min(100%, 34rem);
  margin: 0 auto;
  background: var(--white);
  border-radius: 18px 18px 14px 14px;
  box-shadow: var(--shadow);
  padding: 1.35rem 1.15rem 1.15rem;
  position: relative;
}

.finder-badge {
  position: absolute;
  top: -14px;
  left: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}

.finder h2 {
  margin: 0.35rem 0 0.35rem;
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.finder-sub {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.finder-form {
  display: grid;
  gap: 0.75rem;
}

.field {
  display: grid;
  gap: 0.3rem;
  position: relative;
}

.field label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.field input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  font-size: 1rem;
  font-weight: 500;
  background: #fafafa;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.field input:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.18);
}

.suggestions {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.35rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  max-height: 240px;
  overflow: auto;
}

.suggestions li button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
}

.suggestions li button:hover,
.suggestions li button.is-active {
  background: var(--green-soft);
  color: var(--green-deep);
}

.suggestions small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.1rem;
}

.btn-primary {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 10px;
  padding: 0.95rem 1.1rem;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-primary:hover {
  background: #000;
}

.btn-primary:active {
  transform: scale(0.99);
}

.btn-primary.btn-green {
  background: var(--green);
}

.btn-primary.btn-green:hover {
  background: var(--green-dark);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #f2f2f2;
}

.finder-hours {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Result ---------- */
.result-section {
  padding: 1rem 0 2rem;
  background: linear-gradient(180deg, #fff 0%, var(--green-soft) 100%);
}

.result-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-deep);
}

.result-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .result-card {
    grid-template-columns: 240px 1fr;
  }
}

.result-media {
  background: linear-gradient(160deg, #f7f7f7, #eef7f1);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  min-height: 220px;
}

.result-media img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
}

.result-body {
  padding: 1.35rem 1.25rem 1.5rem;
}

.result-vehicle {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.result-title {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
}

.result-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.spec-pill {
  background: var(--green-soft);
  color: var(--green-deep);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.result-price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.price-old {
  color: #999;
  text-decoration: line-through;
  font-size: 0.95rem;
  font-weight: 600;
}

.price-now {
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

.price-tag {
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 6px;
  padding: 0.25rem 0.45rem;
  align-self: center;
}

.result-perks {
  margin: 0.5rem 0 1.15rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.result-perks li {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.result-perks li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 800;
}

.result-actions {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 480px) {
  .result-actions {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.result-empty {
  padding: 1.5rem;
  text-align: center;
}

.result-empty h3 {
  margin: 0 0 0.4rem;
}

.result-empty p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.trust {
  padding: 2.5rem 0;
  background: #fff;
}

.trust-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust article {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.trust h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}

.trust p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.why,
.how {
  padding: 2.75rem 0;
}

.why {
  background: var(--ink);
  color: #fff;
}

.section-title {
  margin: 0 0 1.35rem;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 900;
  text-align: center;
}

.why-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.why-card h3 {
  margin: 0 0 0.5rem;
  color: var(--green);
  font-size: 1.05rem;
}

.why-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.how-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .how-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.how-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.how-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.how-list h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.how-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  background: var(--green);
  color: #fff;
  padding: 2.25rem 0;
  text-align: center;
}

.cta-band p {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 800;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0 1.25rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.footer-phone {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.footer-phone a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.footer-company {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

.footer-company strong {
  color: #fff;
  font-size: 0.9rem;
}

.footer-verified {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.88rem;
}

.site-footer nav a:hover {
  color: #fff;
}

.footer-copy {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 720px) {
  .phone-cta {
    max-width: none;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
  }

  .phone-cta-label {
    font-size: 0.72rem;
  }

  .phone-cta strong {
    font-size: 0.95rem;
  }

  .finder {
    padding: 1.6rem 1.5rem 1.35rem;
  }
}

/* Legal pages */
.legal-header {
  background: var(--green);
  color: #fff;
  padding: 1.25rem 1rem 1.5rem;
}
.legal-back {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}
.legal-header h1 {
  margin: 0.75rem 0 0;
  font-size: 1.45rem;
  font-weight: 800;
}
.legal-main {
  padding: 1.5rem 0 2.5rem;
  max-width: 44rem;
}
.legal-updated {
  color: var(--muted);
  font-size: 0.85rem;
}
.legal-main h2 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
}
.legal-main p,
.legal-main li {
  color: #333;
  font-size: 0.95rem;
}
