/* Carburante — landing page. Sem framework, sem build. */

:root {
  --bg: #fbfbfd;
  --bg-alt: #f2f2f5;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --line: rgba(0, 0, 0, .09);
  --accent: #d92d20;
  --flame: linear-gradient(100deg, #ff3b30 0%, #ff7a00 55%, #ffc400 100%);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -12px rgba(0, 0, 0, .12);
  --radius: 22px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0c0c0e;
    --surface: #161618;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --line: rgba(255, 255, 255, .1);
    --accent: #ff6b5e;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 16px 40px -16px rgba(0, 0, 0, .8);
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 56px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.022em; line-height: 1.1; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 820px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid #ff9f0a; outline-offset: 3px; border-radius: 8px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 9, .86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #f5f5f7;
}
.nav__inner { display: flex; align-items: center; gap: 16px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.brand img { border-radius: 7px; }
.nav__links { display: none; gap: 28px; margin-left: auto; font-size: 14px; }
.nav__links a { text-decoration: none; color: rgba(245, 245, 247, .78); transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__actions { margin-left: 28px; }
}

.lang {
  font: 600 12px/1 var(--font); letter-spacing: .04em;
  color: rgba(245, 245, 247, .85); background: transparent;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  height: 30px; padding: 0 11px; cursor: pointer;
}
.lang:hover { border-color: rgba(255, 255, 255, .5); color: #fff; }

.star {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 4px 0 11px;
  border-radius: 999px; background: #f5f5f7; color: #1d1d1f;
  font-size: 13px; font-weight: 600; text-decoration: none; transition: transform .2s;
}
.star:hover { transform: translateY(-1px); }
.star__label { padding-right: 7px; }
.star__label span { color: #e3a008; }
.star__count { background: #1d1d1f; color: #f5f5f7; border-radius: 999px; padding: 3px 8px; font-size: 12px; margin-left: -3px; }
.star__count[hidden] { display: none; }

/* ---------- Buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row--center { justify-content: center; margin-top: 48px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--flame { background: var(--flame); color: #1a0500; box-shadow: 0 8px 28px -8px rgba(255, 90, 0, .6); }
.btn--flame:hover { box-shadow: 0 12px 34px -8px rgba(255, 90, 0, .75); }
.btn--ghost { color: #f5f5f7; border: 1px solid rgba(255, 255, 255, .28); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .6); }
.btn--solid { background: var(--text); color: var(--bg); }
.btn--outline { border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; margin-top: 16px; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 17px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% 10%, rgba(255, 80, 0, .16), transparent 60%), #050505;
  color: #f5f5f7;
  padding: 56px 0 72px;
}
.hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 88px 0 96px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 32px; }
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(245, 245, 247, .9);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 0 rgba(48, 209, 88, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, .55); } 70% { box-shadow: 0 0 0 9px rgba(48, 209, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); } }

.hero h1 { font-size: clamp(42px, 9vw, 80px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin: 22px 0 22px; }
.flame-text { background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: rgba(245, 245, 247, .72); max-width: 34em; margin-bottom: 32px; }
.hero__meta { margin-top: 18px; font-size: 14px; color: rgba(245, 245, 247, .5); }

.hero__visual { position: relative; display: flex; justify-content: center; padding: 0 40px; }
.glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(255, 110, 0, .42), transparent); filter: blur(40px); }

.phone {
  position: relative; width: 100%; max-width: 290px; margin: 0 auto;
  padding: 9px; border-radius: 50px; background: #121214;
  box-shadow: inset 0 0 0 1.5px #3a3a3e, inset 0 0 0 5px #121214, 0 30px 70px -25px rgba(0, 0, 0, .55);
}
.phone img { width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; border-radius: 41px; }
.phone--hero { max-width: 300px; }

.float { position: absolute; width: 96px; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .45)); animation: float 7s ease-in-out infinite; }
.float--a { top: 6%; left: calc(50% - 230px); animation-delay: -1s; }
.float--b { top: 34%; right: calc(50% - 235px); width: 110px; animation-delay: -3s; }
.float--c { bottom: 16%; left: calc(50% - 240px); width: 104px; animation-delay: -5s; }
.float--d { bottom: 2%; right: calc(50% - 210px); width: 84px; animation-delay: -2s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@media (max-width: 520px) {
  .float { width: 70px; }
  .float--a { left: 0; } .float--c { left: 0; }
  .float--b { right: 0; width: 80px; } .float--d { right: 4px; width: 64px; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--accent); margin-bottom: 12px; }
.section h2 { font-size: clamp(32px, 5.4vw, 52px); font-weight: 700; }
.section__lede { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); color: var(--text-2); }
.section__lede a { color: var(--text); text-underline-offset: 3px; }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Promessa */
.promise { padding-top: 64px; background: var(--bg); }
.promise__grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .promise__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.promise__card { padding: 28px 26px 30px; }
.promise__card img { width: 104px; margin: -6px 0 14px -8px; }
.promise__card h3 { font-size: 22px; margin-bottom: 8px; }
.promise__card p { color: var(--text-2); }

/* Recursos */
.feature { display: grid; gap: 36px; align-items: center; margin-bottom: 96px; }
.feature__media { background: var(--bg-alt); border-radius: 32px; padding: 44px 24px 0; overflow: hidden; max-height: 560px; }
.feature__media .phone { max-width: 270px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.feature__copy h3 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 16px; }
.feature__copy p:not(.kicker) { font-size: 18px; color: var(--text-2); max-width: 30em; }
@media (min-width: 880px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; margin-bottom: 120px; }
  .feature--flip .feature__media { order: 2; }
}

.extras { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .extras { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .extras { grid-template-columns: repeat(4, 1fr); } }
.extras li { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.extras svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.extras strong { font-size: 17px; }
.extras span { color: var(--text-2); font-size: 15px; }

/* Conquistas */
.badges { background: var(--bg-alt); }
.badge-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 12px; }
@media (min-width: 640px) { .badge-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .badge-grid { grid-template-columns: repeat(6, 1fr); } }
.badge-grid li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 14px; font-weight: 500; color: var(--text-2); }
.badge-grid img { width: 96px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .18)); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.badge-grid li:hover img { transform: translateY(-6px) rotate(-4deg) scale(1.06); }
.badge-grid .is-soon img { filter: grayscale(1) opacity(.45); }

/* Roadmap */
.quote { margin: 28px auto 0; font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tl { position: relative; padding: 0 0 44px 48px; }
.tl::before {
  content: ""; position: absolute; left: 4px; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--text-2);
}
.tl--done::before { background: #30d158; border-color: #30d158; }
.tl--now::before { background: #ff7a00; border-color: #ff7a00; box-shadow: 0 0 0 6px rgba(255, 122, 0, .2); }
.tl h3 { font-size: 22px; margin: 8px 0 6px; }
.tl p { color: var(--text-2); }
.tl__status {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--text-2);
}
.tl--done .tl__status { background: rgba(48, 209, 88, .15); color: #1f9d45; }
.tl--now .tl__status { background: rgba(255, 122, 0, .16); color: #c25400; }
@media (prefers-color-scheme: dark) {
  .tl--done .tl__status { color: #4ade80; }
  .tl--now .tl__status { color: #ff9f45; }
}
.tl--now { padding-bottom: 52px; }
.tl--now h3 { font-size: 26px; }

/* Bastidores */
.story { background: var(--bg-alt); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 40px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.stats dd { margin: 0; font-size: clamp(36px, 5vw, 48px); font-weight: 700; letter-spacing: -.03em; line-height: 1; background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dt { color: var(--text-2); font-size: 15px; }
.decisions { display: grid; gap: 16px; }
@media (min-width: 760px) { .decisions { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.decision { padding: 28px; }
.decision__n { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.decision h3 { font-size: 21px; margin: 10px 0 8px; }
.decision p { color: var(--text-2); }

/* Beta */
.beta {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(700px 360px at 50% 0%, rgba(255, 100, 0, .28), transparent 70%), #0a0a0b;
  color: #f5f5f7; border-radius: 36px; padding: 64px 24px 56px;
}
.beta__icon { width: 104px; margin: 0 auto 28px; border-radius: 24px; box-shadow: 0 20px 50px -10px rgba(255, 90, 0, .45); }
.beta h2 { font-size: clamp(30px, 5vw, 48px); max-width: 16em; margin: 0 auto 16px; }
.beta p { color: rgba(245, 245, 247, .7); max-width: 34em; margin: 0 auto 32px; font-size: 18px; }
.beta .beta__mail { margin: 16px auto 0; font-size: 14px; color: rgba(245, 245, 247, .45); }

/* FAQ */
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 24px; color: var(--text-2); max-width: 44em; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--text-2); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer .brand { color: var(--text); }
.footer__links { display: flex; gap: 20px; margin-left: auto; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer__by a { color: var(--text); }

/* Reveal on scroll (só com JS; sem JS tudo aparece) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .pill__dot { animation: none; }
}
