/* MIDDAS Anúncios Digitais: landing page para donos de lojas de carros e motos. */

@font-face { font-family: "Anton"; src: url("fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --gold: #d9b800;
  --gold-hi: #ffe066;
  --gold-lo: #a77f00;
  --ink: #0a0a09;
  --ink-2: #11110f;
  --panel: #161613;
  --line: #2a2925;
  --cream: #f4f1e6;
  --mute: #b9b5a8;
  --dim: #8b887d;
  --err: #ff8a7a;
  --max: 1120px;
  --gut: 16px;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gold-text: linear-gradient(180deg, var(--gold-hi) 0%, #f2cf1d 32%, var(--gold) 64%, var(--gold-lo) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: var(--text); font-size: 17px; line-height: 1.6; letter-spacing: -.01em;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
/* Grão bem leve, como nos criativos. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3, p { margin: 0; }
s { text-decoration-thickness: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.center { display: flex; justify-content: center; margin-top: 40px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip:focus { left: 8px; }

/* Tipografia */
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: 1.02; text-wrap: balance; }
h3 { text-wrap: balance; }
h1 em, h2 em { font-style: normal; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(34px, 8.6vw, 58px); margin-bottom: 20px; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }

/* Botões */
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 14px 18px;
  border: 0; border-radius: 14px; cursor: pointer; text-decoration: none; text-align: center;
  background: linear-gradient(180deg, #ecc900, var(--gold)); color: var(--ink);
  font: 800 17px/1.2 var(--text); letter-spacing: -.025em;
  box-shadow: 0 14px 40px rgba(217, 184, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.06); box-shadow: 0 18px 48px rgba(217, 184, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .opt input:focus-visible + span, .check input:focus-visible + .box, summary:focus-visible, input:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--cream); border: 1.5px solid rgba(217, 184, 0, .6); box-shadow: none; min-height: 46px; padding: 10px 18px; font-size: 15px; }
.btn-ghost:hover { background: rgba(217, 184, 0, .1); box-shadow: none; }
.btn-block { width: 100%; }

/* Cabeçalho */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; padding: 18px 0; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { width: 150px; }
.top-cta { display: none; }

/* 1. Topo */
.hero { position: relative; padding: 0 0 56px; overflow: hidden; }
.hero-media { position: absolute; left: 0; right: 0; top: 0; height: 500px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 9, .72) 0%, rgba(10, 10, 9, .28) 26%, rgba(10, 10, 9, .55) 52%, rgba(10, 10, 9, .94) 80%, var(--ink) 100%);
}
.hero-badge { display: none; }
.hero-copy { position: relative; z-index: 1; padding-top: 292px; }
.chip {
  display: inline-block; background: var(--gold); color: var(--ink); border-radius: 8px; padding: 7px 12px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(42px, 11.4vw, 78px); margin-bottom: 18px; }
.lead { color: var(--mute); font-size: 17.5px; max-width: 34em; margin-bottom: 26px; }
.micro { margin-top: 12px; font-size: 14px; color: var(--dim); }
.hero .btn { width: 100%; }

/* 2. Faixa */
.ticker { background: var(--gold); color: var(--ink); overflow: hidden; padding: 13px 0; border-block: 1px solid var(--gold-lo); }
.ticker-track { display: flex; align-items: center; width: max-content; gap: 22px; animation: ticker 32s linear infinite; }
.ticker span { font-family: var(--display); font-size: 21px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; line-height: 1; }
.ticker i { width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(calc(-50% - 11px)); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Seções */
.section { padding: 72px 0; }

/* 3. Oferta */
.offer-sec { padding-bottom: 0; }
.offer {
  position: relative; overflow: hidden; border-radius: 26px; padding: 30px 22px 32px;
  background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(217, 184, 0, .2), transparent 70%), linear-gradient(160deg, #191709, #0f0f0d 60%);
  border: 1px solid rgba(217, 184, 0, .45);
}
.offer-copy { position: relative; z-index: 1; }
.offer .eyebrow { padding-right: 100px; }
.offer h2 { font-size: clamp(32px, 8.4vw, 50px); max-width: 9.5em; padding-right: 92px; }
.from { color: var(--mute); font-size: 18px; font-weight: 600; }
.price { font-family: var(--display); font-size: clamp(88px, 26vw, 148px); line-height: 1; letter-spacing: -.01em; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 4px 0 8px; }
.price .cur { font-size: .36em; margin-right: .12em; vertical-align: .95em; }
.price .cents { font-size: .36em; vertical-align: .95em; }
.note { color: var(--dim); font-size: 15px; margin-bottom: 24px; }
.offer .btn { width: 100%; }
.offer-art { position: absolute; top: 0; right: 14px; width: 104px; }
.offer-wire { display: block; width: 2px; height: 22px; margin: 0 auto; background: #6f6f6a; }
.offer-art img { width: 100%; margin-top: -4px; transform: rotate(6deg); transform-origin: 50% 0; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .6)); }

/* 4. Cadastro */
.signup { position: relative; }
.signup::before { content: ""; position: absolute; inset: 10% 0 auto; height: 70%; background: radial-gradient(ellipse at 50% 50%, rgba(217, 184, 0, .12), transparent 65%); pointer-events: none; }
.signup-grid { position: relative; }
.steps { list-style: none; margin: 8px 0 32px; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps b {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; transform: skewX(-8deg);
  background: var(--gold); color: var(--ink); font-family: var(--display); font-size: 24px; font-weight: 400;
}
.steps h3 { margin-bottom: 2px; }
.steps p { color: var(--mute); font-size: 16px; }

.form {
  background: linear-gradient(180deg, #151513, #10100e); border: 1px solid var(--line); border-radius: 24px; padding: 24px 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(217, 184, 0, .08);
}
.field { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; padding: 0; color: var(--cream); }
.field input[type="text"] {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #34332e; background: #0c0c0b; color: var(--cream);
  font: 500 17px/1.3 var(--text); letter-spacing: -.01em; transition: border-color .15s;
}
.field input[type="text"]::placeholder { color: #6f6c63; }
.field input[type="text"]:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(217, 184, 0, .22); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px; border-radius: 12px; border: 1.5px solid #34332e;
  background: #0c0c0b; color: var(--cream); font-size: 15.5px; font-weight: 600; line-height: 1.25; transition: border-color .15s, background .15s, color .15s;
}
.opt:hover span { border-color: #5a574d; }
.opt input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 800; }
.err { display: none; color: var(--err); font-size: 14px; font-weight: 600; margin-top: 6px; }
.field.invalid .err { display: block; }
.field.invalid input[type="text"], .field.invalid .opt span { border-color: rgba(255, 138, 122, .7); }

.check { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 20px; cursor: pointer; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid #4a483f; background: #0c0c0b; display: grid; place-items: center; margin-top: -1px; }
.check input:checked + .box { background: var(--gold); border-color: var(--gold); }
.check input:checked + .box::after { content: ""; width: 7px; height: 12px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: translateY(-1px) rotate(45deg); }
.i-chat { width: 24px; height: 24px; }
.legal { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--dim); text-align: center; }
.legal a { color: var(--mute); }
.done { margin-top: 16px; padding: 16px; border-radius: 14px; background: rgba(217, 184, 0, .1); border: 1px solid rgba(217, 184, 0, .45); font-size: 15.5px; }
.done-title { font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.cfg-error { margin-top: 14px; color: var(--err); font-weight: 700; font-size: 15px; text-align: center; }

/* 5. Prova real */
.proof { background: linear-gradient(180deg, transparent, rgba(217, 184, 0, .05) 40%, transparent); }
.proof-copy > p { color: var(--mute); margin-bottom: 22px; }
.stats { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stats li { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 14px; }
.stats b { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.05; color: var(--gold); }
.stats span { display: block; font-size: 14px; line-height: 1.35; color: var(--mute); margin-top: 4px; }
.lock { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--dim); }
.lock svg { width: 18px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

.proof-art { position: relative; margin: 44px auto 0; width: min(100%, 360px); padding-bottom: 8px; }
.phone {
  position: relative; width: 250px; margin: 0 auto; aspect-ratio: 496 / 1043; border-radius: 42px; padding: 8px;
  background: linear-gradient(150deg, #2c2c2f, #141416 40%, #1d1d20 75%, #2a2a2d);
  box-shadow: inset 0 0 0 2px #45454a, inset 0 0 0 4px #0d0d0e, 0 40px 90px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 224, 102, .1), 0 0 120px rgba(217, 184, 0, .14);
}
.screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.screen img { width: 100%; }
.island { position: absolute; left: 37%; top: 1.3%; width: 26%; height: 3.3%; border-radius: 99px; background: #000; }
.bubble { position: absolute; left: -2%; right: -2%; top: 60%; transform: rotate(-2deg); }
.bubble img { width: 100%; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .75)); }
.tag {
  position: absolute; right: 8%; top: -14px; z-index: 1; background: var(--gold); color: var(--ink); border-radius: 8px; padding: 4px 10px;
  font-size: 13px; font-weight: 800; box-shadow: 0 6px 16px rgba(0, 0, 0, .5);
}

/* 6. Por que */
.cards { display: grid; gap: 14px; margin-top: 30px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; }
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--mute); font-size: 16px; }
.ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(217, 184, 0, .12); border: 1px solid rgba(217, 184, 0, .35); color: var(--gold); }
.ico svg { width: 26px; height: 26px; }
.ico svg:not(.i) { width: 20px; height: 27px; }
.ico .fill { fill: var(--gold); }
.ico .hole { fill: var(--ink); }

/* 7. Serviços */
.services { border-top: 1px solid var(--line); }
.svc-list { display: grid; gap: 14px; margin-top: 30px; }
.svc { position: relative; overflow: hidden; border-radius: 20px; padding: 26px 22px; background: linear-gradient(160deg, #181712, #11110f); border: 1px solid var(--line); }
.svc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.num { font-family: var(--display); font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.svc h3 { font-size: 22px; margin: 12px 0 14px; }
.svc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.svc li { position: relative; padding-left: 30px; color: var(--mute); font-size: 16px; line-height: 1.45; }
.svc li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(217, 184, 0, .16);
}
.svc li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--gold); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* 8. FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-list { margin-top: 28px; display: grid; gap: 10px; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
details[open] { border-color: rgba(217, 184, 0, .45); }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 18px; font-weight: 700; font-size: 16.5px; line-height: 1.35; border-radius: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(217, 184, 0, .14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9b800' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 18px 18px; color: var(--mute); font-size: 16px; }

/* 9. Quem somos */
.about { padding-top: 24px; }
.about-card { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid rgba(217, 184, 0, .4); background: var(--ink-2); }
.about-bg { width: 100%; height: 180px; object-fit: cover; opacity: .55; }
.about-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px; background: linear-gradient(180deg, rgba(10, 10, 9, .1), var(--ink-2)); z-index: 1; }
.about-copy { position: relative; z-index: 2; padding: 0 22px 30px; margin-top: -40px; }
.about-copy > p:not(.eyebrow) { color: var(--mute); margin-bottom: 24px; }
.about .btn { width: 100%; }

/* Rodapé */
.foot { border-top: 1px solid var(--line); padding: 32px 0 110px; }
.foot-row { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.foot img { width: 140px; opacity: .9; }
.foot p { font-size: 14px; color: var(--dim); }
.foot a { color: var(--mute); }

/* Botão fixo no celular */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; border-radius: 14px; background: linear-gradient(180deg, #ecc900, var(--gold)); color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 17px; letter-spacing: -.02em; box-shadow: 0 12px 34px rgba(0, 0, 0, .6);
  transform: translateY(140%); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }

/* Telas maiores */
@media (min-width: 640px) {
  :root { --gut: 28px; }
  .btn { font-size: 18px; padding: 14px 26px; gap: 12px; }
  .btn-ghost { font-size: 15px; padding: 10px 18px; }
  .hero .btn, .offer .btn, .about .btn { width: auto; }
  .offer .eyebrow { padding-right: 0; }
  .hero-media { height: 560px; }
  .hero-copy { padding-top: 340px; max-width: 640px; }
  .offer { padding: 44px 40px; }
  .offer-art { right: 40px; width: 150px; }
  .offer h2 { padding-right: 160px; }
  .form { padding: 32px 28px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .proof-art { width: 420px; }
  .phone { width: 290px; }
  .cards, .svc-list { grid-template-columns: repeat(3, 1fr); }
  .about-bg, .about-card::before { height: 240px; }
  .about-copy { padding: 0 40px 40px; }
}

@media (min-width: 960px) {
  body { font-size: 18px; }
  .section { padding: 104px 0; }
  .offer-sec { padding-bottom: 0; }
  .top { padding: 26px 0; }
  .brand img { width: 190px; }
  .top-cta { display: inline-flex; }
  .hero { padding: 130px 0 96px; }
  .hero::before { content: ""; position: absolute; right: -10%; top: -10%; width: 70%; height: 120%; background: radial-gradient(ellipse at 60% 40%, rgba(217, 184, 0, .16), transparent 62%); pointer-events: none; }
  .hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
  .hero-copy { padding-top: 0; max-width: none; }
  .hero h1 { font-size: clamp(56px, 5.6vw, 80px); }
  .lead { font-size: 19px; }
  .hero-media {
    position: relative; height: auto; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
    border: 1px solid rgba(217, 184, 0, .45); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 80px rgba(217, 184, 0, .12);
  }
  .hero-media::after { background: linear-gradient(180deg, rgba(10, 10, 9, 0) 45%, rgba(10, 10, 9, .85) 100%); }
  .hero-badge {
    display: block; position: absolute; left: 22px; bottom: 22px; z-index: 1; padding: 9px 16px; border-radius: 999px;
    background: rgba(10, 10, 9, .72); border: 1px solid rgba(217, 184, 0, .5); color: var(--cream); font-size: 15px; font-weight: 700;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  .hero-badge span { color: var(--gold); padding: 0 4px; }
  .offer { display: grid; grid-template-columns: 1fr 260px; align-items: center; padding: 56px 64px; }
  .offer h2 { padding-right: 0; }
  .offer-art { position: relative; top: auto; right: auto; width: 210px; align-self: start; margin: -56px auto 0; }
  .offer-wire { height: 46px; }
  .signup-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
  .signup-intro { position: sticky; top: 40px; }
  .form { padding: 40px 36px; }
  .proof-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
  .proof-art { margin-top: 0; }
  .phone { width: 310px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats li { padding: 18px 18px; }
  .stats b { font-size: 46px; }
  .stats span { font-size: 15px; }
  .cards .card, .svc { padding: 30px 28px; }
  .about-card { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .about-bg { height: 100%; min-height: 360px; order: 2; opacity: .7; }
  .about-card::before { left: 50%; top: 0; bottom: 0; height: auto; width: 50%; background: linear-gradient(90deg, var(--ink-2), rgba(10, 10, 9, .05)); }
  .about-copy { margin-top: 0; padding: 56px 48px; align-self: center; }
  .foot { padding-bottom: 40px; }
  .foot-row { flex-direction: row; justify-content: space-between; text-align: left; }
  .sticky-cta { display: none; }
}
