/* =====================================================================
   ROTA 19 • THEME PRO (foco desktop, mobile já está ok)
   - Paleta oficial, tipografia forte, microinterações
   - Header com blur, grids amplos, cards premium
   - Mantém QR abaixo dos botões na seção Download
   ===================================================================== */

:root {
  --laranja: #F15A29;
  --laranja-2: #FF6A2A;
  --azul: #0E4C92;
  --bg: #0b1224;
  --bg-2: #0c1428;
  --card: #0e1629;
  --line: #1d2742;
  --text: #eaf2ff;
  --muted: #a9b6d4;

  /* Desktop tuning */
  --container: 1240px;
  --radius-xl: 18px;
  --shadow-md: 0 10px 28px rgba(0, 0, 0, .25);
  --shadow-lg: 0 18px 44px rgba(0, 0, 0, .28);
}

/* ===== Base / Acessibilidade ===== */
* {
  box-sizing: border-box
}

html,
body {
  margin: 0
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit
}

/* Reduz movimento se o usuário preferir */
@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }
}

/* ===== Topbar (header fixo com blur) ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--azul), var(--laranja));
  backdrop-filter: saturate(130%) blur(6px);
  transition: box-shadow .25s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.topbar.scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25)
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: #fff
}

.brand__logo {
  height: 150px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .25))
}

.brand__name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .3px
}

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

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  opacity: .96;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: #fff;
  border-radius: 999px;
  transition: width .25s;
}

.nav a:hover::after {
  width: 100%
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-sm {
  padding: 9px 14px;
  border-radius: 12px
}

.btn-light {
  background: #d72525;
  color: #0f1230
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22)
}

/* ===== Hero (Azul → Laranja invertido) ===== */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 82px 0 110px;
  /* mais impactante no PC */
  background: linear-gradient(90deg, var(--azul), var(--laranja));
}

.hero__inner {
  max-width: 980px;
  margin: 0 auto
}

.hero h1 {
  margin: 6px 0 12px;
  font-size: 2.8rem;
  line-height: 1.15
}

.grad {
  background: linear-gradient(90deg, #fff, #ffe1d6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero__lead {
  opacity: .95;
  margin: 0 auto 22px;
  max-width: 880px;
  font-size: 1.1rem
}

.switch {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 18px 0
}

.switch__btn {
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  font-weight: 800;
  transition: transform .15s ease, background .2s ease;
  backdrop-filter: blur(4px)
}

.switch__btn:hover {
  transform: translateY(-1px)
}

.switch__btn.active {
  background: #fff;
  color: #0f1230
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0 14px
}

.btn-primary {
  background: #fff;
  color: #0f1230
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .25)
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .7)
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12)
}

.trust {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
  opacity: .98
}

.trust li {
  list-style: none
}

.hero__wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 74px
}

.hero__wave path {
  fill: var(--bg)
}

/* ===== Grid + Cards (desktop com mais respiro) ===== */
main {
  margin-top: 32px
}

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

@media (max-width:1080px) {
  .grid {
    gap: 18px
  }
}

@media (max-width:960px) {
  .grid {
    grid-template-columns: 1fr
  }
}

.card {
  background: linear-gradient(180deg, rgba(18, 27, 55, .85), rgba(13, 20, 40, .92));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.card:hover {
  box-shadow: var(--shadow-lg)
}

.card h2,
.card h3 {
  margin-top: 6px
}

.card p {
  line-height: 1.65
}

/* Listas e passos com marcadores premium */
.list-check {
  margin: 14px 0 16px;
  padding-left: 24px
}

.list-check li {
  margin: 10px 0;
  list-style: none;
  position: relative
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: -22px;
  top: 0;
  color: #ffd1c1;
  font-weight: 800
}

.quote {
  color: #ffd9cc;
  font-weight: 800;
  margin: 6px 0 16px
}

.steps {
  counter-reset: st;
  margin: 12px 0 18px;
  padding-left: 30px
}

.steps li {
  list-style: none;
  margin: 12px 0;
  position: relative
}

.steps li::before {
  counter-increment: st;
  content: counter(st);
  position: absolute;
  left: -30px;
  top: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--laranja-2);
  color: #0b1224;
  font-weight: 800;
  font-size: .9rem
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.badge {
  background: rgba(14, 76, 146, .18);
  color: #cfe3ff;
  border: 1px solid rgba(14, 76, 146, .35);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700
}

/* ===== Stats (melhor leitura em desktop) ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: end;
  text-align: center;
}

.stats .stat {
  display: block;
  font-size: 2.2rem;
  font-weight: 800
}

.stats .muted {
  grid-column: 1/-1;
  opacity: .75;
  margin-top: 6px
}

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

@media (max-width:600px) {
  .stats {
    grid-template-columns: 1fr
  }

  .stats .stat {
    font-size: 1.6rem
  }
}

/* ===== Timeline ===== */
.timeline h2 {
  text-align: center;
  margin: 6px 0 12px
}

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

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

@media (max-width:600px) {
  .timeline__row {
    grid-template-columns: 1fr
  }
}

.step {
  background: rgba(255, 255, 255, .02);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 18px;
  position: relative
}

.step__num {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--laranja-2);
  color: #0b1224;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800
}

/* ===== Download (coluna única, QR abaixo dos botões) ===== */
.download {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.download h2 {
  margin: 6px 0 8px;
  font-size: 1.6rem
}

.download p {
  margin: 4px 0 2px;
  color: var(--muted)
}

.stores-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 300px;
  /* +larguinho no PC */
  margin-top: 6px;
}

.store {
  background: #fff;
  color: #0b1224;
  border-radius: 14px;
  padding: 14px 18px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.store:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .28)
}

.store--soon {
  opacity: .55;
  pointer-events: none
}

.store__title {
  display: block;
  font-weight: 900
}

.store__subtitle {
  display: block;
  font-weight: 600;
  opacity: .85
}

.qr-img {
  width: 164px;
  height: 164px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
  margin: 14px auto 4px;
}

/* ===== FAQ ===== */
.faq h2 {
  text-align: center;
  margin: 10px 0 12px
}

.faq details {
  background: linear-gradient(180deg, rgba(18, 27, 55, .7), rgba(14, 22, 44, .82));
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 10px 0;
  padding: 14px 16px
}

.faq summary {
  cursor: pointer;
  font-weight: 900
}

.faq p {
  margin: 8px 0 0;
  color: var(--muted)
}

/* ===== Footer ===== */
/* ===== Footer Pro ===== */
.footer {
  margin-top: 38px;
  /* gradiente de 3 cores da paleta */
  background: linear-gradient(90deg, var(--azul) 0%, var(--bg-2) 50%, var(--laranja) 100%);
  color: #eaf2ff;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 26px 0;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px
}
/* Logo do rodapé – tamanho e proporção corretos */
.footer__logo {
  width: 200px;
  /* ajuste aqui: 180–240px fica ótimo */
  height: auto;
  /* mantém a proporção */
  display: block;
  flex: 0 0 auto;
  /* não deixa o flex esticar/comprimir */
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .25));
}
.footer__tag {
  opacity: .9;
  margin: 0
}

.footer__col h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .2px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.footer__list a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  opacity: .95
}

.footer__list a:hover {
  text-decoration: underline;
  opacity: 1
}

.footer__base {
  background: rgba(0, 0, 0, .12);
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.footer__base__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
  font-size: .95rem;
}

.footer__sep {
  opacity: .6
}

.footer__top {
  color: #fff;
  text-decoration: none;
  font-weight: 800
}

.footer__top:hover {
  text-decoration: underline
}

/* Responsivo */
@media (max-width:900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px
  }
}

@media (max-width:600px) {
  .footer__grid {
    grid-template-columns: 1fr
  }

  .footer__base__inner {
    flex-direction: column;
    gap: 6px
  }
}

/* ===== Tabs ===== */
.tabcontent {
  display: none
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: .45s
}

.reveal.in {
  opacity: 1;
  transform: none
}

/* ===== WhatsApp Floating ===== */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 65;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #0b1224;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3)
}

/* ===== Mobile (mantendo seu layout que já ficou bom) ===== */
@media (max-width:480px) {
  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.28
  }

  .hero__lead {
    font-size: .95rem;
    padding: 0 8px
  }

  .btn {
    width: 100%;
    text-align: center
  }

  .nav {
    display: none
  }

  /* esconde menu desktop no mobile */
  .topbar__inner {
    justify-content: center
  }

  .grid {
    gap: 12px
  }

  .card {
    padding: 16px
  }

  .stores-vertical {
    max-width: 100%
  }
}
/* ===== DOWNLOAD PASSAGEIRO (lado a lado) ===== */
.stores-inline {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.store-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  min-width: 220px;
}

.store-box .store {
  width: 100%;
  text-align: center;
}

.qr-inline {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}





/* ========== FOOTER — MOBILE PRO ========== */
@media (max-width: 480px) {
  /* fundo e respiro, respeitando a “bordinha” do iPhone */
  .footer {
    padding: 20px 0 calc(20px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, var(--azul) 0%, var(--bg-2) 60%, var(--laranja) 100%);
  }

  /* 1 coluna, menos espaçamento */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 0;
  }

  /* bloco da marca centralizado e com logo menor */
  .footer__brand {
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .footer__logo {
    width: 160px;       /* ajuste fino p/ mobile */
    height: auto;
    margin: 0 auto;
  }
  .footer__tag {
    font-size: .95rem;
    margin-top: 2px;
  }

  /* colunas de links centralizadas, com “chips” clicáveis */
  .footer__col {
    text-align: center;
  }
  .footer__list {
    align-items: center;
    gap: 10px;
  }
  .footer__list a {
    display: inline-block;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    text-decoration: none;
  }

  /* barra de base em coluna */
  .footer__base__inner {
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    text-align: center;
  }
  .footer__sep { display: none; }

  /* evita o WA flutuante “comer” o rodapé */
  .whatsapp {
    bottom: calc(22px + env(safe-area-inset-bottom));
  }
}

/* Tablet pequeno: dá um respiro extra para a logo e grid */
@media (min-width: 481px) and (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer__logo { width: 180px; }
}
