/* Revendou — identidade "garagem premium": grafite asfalto + âmbar de sinalização */
:root {
  --ink: #14181D;
  --ink-soft: #2A323C;
  --ink-deep: #0C0F13;
  --amber: #FFB020;
  --amber-dark: #C97F00;
  --paper: #F6F7F9;
  --gray: #8A919B;
  --radius: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Archivo', sans-serif;
  background: var(--ink);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--amber); color: var(--ink); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* faixa de sinalização — assinatura visual */
.hazard {
  height: 10px;
  background: repeating-linear-gradient(-45deg,
    var(--amber) 0 22px, var(--ink-deep) 22px 44px);
}

/* ── header ─────────────────────────────────────── */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo img { width: 44px; height: 44px; border-radius: 12px; }
.logo b {
  font-family: 'Archivo Black', 'Archivo', sans-serif;
  font-size: 1.35rem; letter-spacing: -0.02em;
}
header nav a {
  color: var(--gray); text-decoration: none; font-size: .92rem; margin-left: 22px;
  transition: color .2s;
}
header nav a:hover { color: var(--amber); }

/* ── hero ───────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  align-items: center; padding: 64px 0 96px;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: -140px -40vw 0 -40vw; z-index: -1;
  background:
    radial-gradient(ellipse 720px 420px at 68% 18%, rgba(255,176,32,.14), transparent 60%),
    radial-gradient(ellipse 900px 600px at 10% 90%, rgba(42,50,60,.9), transparent 70%);
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace; font-size: .78rem; letter-spacing: .14em;
  color: var(--amber); text-transform: uppercase; margin-bottom: 18px;
}
.kicker::before { content: ''; width: 34px; height: 2px; background: var(--amber); }
.hero h1 {
  font-family: 'Archivo Black', 'Archivo', sans-serif;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.04; letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.lead { color: #C6CBD2; font-size: 1.12rem; line-height: 1.65; max-width: 30rem; margin-bottom: 30px; }

.plates { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.plate {
  font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: .8rem;
  letter-spacing: .1em; padding: 7px 13px; border-radius: 7px;
  background: #fff; color: var(--ink); border: 2px solid var(--ink-soft);
  border-top: 7px solid var(--amber);
}
.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: flex; flex-direction: column; justify-content: center;
  border: 1.5px solid var(--ink-soft); border-radius: 12px;
  padding: 10px 20px; min-width: 168px; text-decoration: none; color: #fff;
  transition: border-color .2s, transform .2s;
}
.store-badge:hover { border-color: var(--amber); transform: translateY(-2px); }
.store-badge small { color: var(--gray); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.store-badge span { font-weight: 700; font-size: 1.02rem; }

.phone {
  justify-self: center; position: relative;
  width: min(320px, 78vw); border-radius: 44px; padding: 12px;
  background: var(--ink-deep);
  border: 1.5px solid var(--ink-soft);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,176,32,.08);
  transform: rotate(2.5deg);
}
.phone img { width: 100%; display: block; border-radius: 34px; }
.phone::after {
  content: 'REVENDOU · EM OPERAÇÃO';
  position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%);
  font-family: 'IBM Plex Mono', monospace; font-size: .66rem; letter-spacing: .22em;
  color: var(--gray); white-space: nowrap;
}

/* ── features ───────────────────────────────────── */
.features { padding: 90px 0 40px; }
.features h2, .section-title {
  font-family: 'Archivo Black', 'Archivo', sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 10px;
}
.features .sub { color: var(--gray); margin-bottom: 44px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: linear-gradient(160deg, var(--ink-soft), var(--ink-deep) 130%);
  border: 1px solid #333B46; border-radius: var(--radius);
  padding: 26px 24px; position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--amber-dark); }
.card .num {
  font-family: 'IBM Plex Mono', monospace; color: var(--amber);
  font-size: .74rem; letter-spacing: .18em; margin-bottom: 14px; display: block;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: #AEB5BE; font-size: .92rem; line-height: 1.6; }

/* ── cta ────────────────────────────────────────── */
.cta {
  margin: 90px 0; border-radius: 24px; overflow: hidden;
  background: var(--amber); color: var(--ink);
}
.cta-inner { padding: 54px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-family: 'Archivo Black', 'Archivo', sans-serif; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; }
.cta p { margin-top: 6px; color: rgba(20,24,29,.75); font-weight: 500; }
.cta a.btn {
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 700;
  padding: 15px 30px; border-radius: 12px; white-space: nowrap;
  transition: transform .2s; display: inline-block;
}
.cta a.btn:hover { transform: scale(1.04); }

/* ── footer ─────────────────────────────────────── */
footer { border-top: 1px solid var(--ink-soft); padding: 34px 0 46px; color: var(--gray); font-size: .88rem; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #C6CBD2; text-decoration: none; margin-right: 20px; }
footer a:hover { color: var(--amber); }

/* ── páginas legais (tema claro) ────────────────── */
body.legal { background: var(--paper); color: var(--ink); }
body.legal header a, body.legal .logo { color: var(--ink); }
.legal-main { max-width: 760px; margin: 0 auto; padding: 30px 24px 90px; }
.legal-main h1 {
  font-family: 'Archivo Black', 'Archivo', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin: 26px 0 6px;
}
.legal-main .updated { font-family: 'IBM Plex Mono', monospace; font-size: .78rem; color: var(--gray); margin-bottom: 36px; }
.legal-main h2 { font-size: 1.22rem; margin: 34px 0 10px; letter-spacing: -0.01em; }
.legal-main p, .legal-main li { line-height: 1.75; color: #39414B; margin-bottom: 10px; }
.legal-main ul { padding-left: 22px; margin-bottom: 12px; }
.legal-main strong { color: var(--ink); }
.legal-main .box {
  background: #fff; border: 1.5px solid #E3E6EA; border-left: 6px solid var(--amber);
  border-radius: 12px; padding: 20px 22px; margin: 18px 0;
}
.legal-main a { color: var(--amber-dark); }

/* ── animações ──────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero > div > *, .phone { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .kicker { animation-delay: .05s } .hero h1 { animation-delay: .12s }
.hero .lead { animation-delay: .2s } .hero .plates { animation-delay: .28s }
.hero .stores { animation-delay: .36s } .phone { animation-delay: .3s }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 110px; }
  .phone { transform: rotate(0); margin-top: 10px; }
  .grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 38px 28px; }
}
