/* MobiVAN — landing page. Cores, fontes e espaços vêm de assets/tokens.css (mesmos tokens dos apps). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-height) + var(--space-4)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface-page); color: var(--text-primary); font-size: var(--text-body); line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; color: var(--text-strong); line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--text-link); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-sm); }

.pular { position: absolute; left: var(--space-4); top: -4rem; z-index: 50; background: var(--surface-card); padding: var(--space-2) var(--space-4); border-radius: var(--radius-md); font-weight: var(--weight-semibold); }
.pular:focus { top: var(--space-2); }

.aviso { background: var(--state-warning-bg); color: var(--state-warning); text-align: center; font-size: var(--text-helper); font-weight: var(--weight-bold); letter-spacing: 0.04em; text-transform: uppercase; padding: var(--space-1) var(--space-4); }

/* ---------- Botões ---------- */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--touch-min); padding: 0 var(--space-5); border-radius: var(--radius-lg); font-weight: var(--weight-bold); font-size: var(--text-button); text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; white-space: nowrap; }
.botao:hover { transform: translateY(-1px); }
.botao--p { min-height: var(--button-height); padding: 0 var(--space-4); border-radius: var(--radius-md); }
.botao--g { min-height: var(--cta-height); padding: 0 var(--space-8); font-size: var(--text-cta); }
.botao--acao { background: var(--gradient-action); color: var(--text-on-primary); box-shadow: var(--shadow-button); }
.botao--acao:hover { box-shadow: var(--shadow-raised); }
.botao--destaque { background: var(--brand-accent-bright); color: var(--text-on-accent); box-shadow: var(--shadow-button); }
.botao--destaque:hover { background: var(--brand-accent); }
.botao--contorno { border-color: var(--brand-action); color: var(--brand-action); background: var(--surface-card); }
.botao--contorno:hover { background: var(--surface-subtle); }
.botao--vidro { background: #ffffff1f; color: var(--text-on-primary); border-color: #ffffff59; backdrop-filter: blur(6px); }
.botao--vidro:hover { background: #ffffff33; }

/* ---------- Topo ---------- */
.topo { position: sticky; top: 0; z-index: 20; background: #ffffffeb; backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border-subtle); }
.topo__in { max-width: 72rem; margin: 0 auto; height: var(--topbar-height); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 0 var(--space-5); }
.topo__marca img { height: 2.5rem; width: auto; }
.topo__nav { display: flex; align-items: center; gap: var(--space-5); }
.topo__link { color: var(--text-secondary); text-decoration: none; font-weight: var(--weight-semibold); font-size: var(--text-label); }
.topo__link:hover { color: var(--brand-action); }

/* ---------- Herói ---------- */
.heroi { position: relative; isolation: isolate; min-height: min(88vh, 46rem); display: flex; align-items: center; color: var(--text-on-primary); overflow: hidden; }
.heroi__foto { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #06245bf2 0%, #0b4db8c7 38%, #0b4db826 68%, #0b4db800 100%), url("assets/imagens/home-foto.webp") 70% 60% / cover no-repeat, var(--surface-inverse); }
.heroi__in { width: 100%; max-width: 72rem; margin: 0 auto; padding: var(--space-12) var(--space-5); }
.heroi__in > * { max-width: 34rem; }
.selo { display: inline-block; background: var(--yellow-100); color: var(--text-on-accent); font-size: var(--text-helper); font-weight: var(--weight-bold); padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); }
.heroi h1 { color: var(--text-on-primary); font-size: clamp(2.25rem, 5.5vw, 3.75rem); font-weight: var(--weight-black); margin-top: var(--space-4); text-shadow: 0 2px 18px #051e4b59; }
.heroi__texto { margin-top: var(--space-4); font-size: var(--font-lg); color: #e6efff; }
.heroi__acoes { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.heroi__garantias { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: var(--text-label); font-weight: var(--weight-semibold); color: #e6efff; }
.heroi__garantias span { color: var(--brand-accent-bright); font-weight: var(--weight-black); margin-right: var(--space-1); }

/* ---------- Seções ---------- */
.secao { padding: var(--space-12) 0; }
.secao__in { max-width: 72rem; margin: 0 auto; padding: var(--space-4) var(--space-5); }
.sobretitulo { color: var(--brand-action); font-size: var(--text-helper); font-weight: var(--weight-bold); letter-spacing: 0.08em; text-transform: uppercase; }
.sobretitulo--claro { color: var(--brand-accent-bright); }
.secao h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: var(--weight-black); margin-top: var(--space-2); }
.centro { text-align: center; }
.cartao { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl); box-shadow: var(--shadow-card); }

.passos { list-style: none; padding: 0; margin: var(--space-8) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.passo { padding: var(--space-6); }
.passo__num { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-pill); background: var(--gradient-action); color: var(--text-on-primary); font-weight: var(--weight-black); font-size: var(--font-lg); box-shadow: var(--shadow-button); }
.passo h3 { margin-top: var(--space-4); font-size: var(--text-card-title); }
.passo p { margin-top: var(--space-2); color: var(--text-muted); }
.secao__cta { margin-top: var(--space-8); text-align: center; }

.secao--empresa { background: var(--gradient-brand-panel); color: var(--text-on-primary); position: relative; overflow: hidden; }
.secao--empresa h2 { color: var(--text-on-primary); }
.empresa { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-10); align-items: center; }
.lista-check { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3); }
.lista-check li { position: relative; padding-left: var(--space-8); color: #dbe7ff; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; border-radius: var(--radius-pill); background: var(--brand-accent-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23041a42' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.empresa__acoes { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.empresa__nota { margin-top: var(--space-4); font-size: var(--text-helper); color: var(--text-on-dark-muted); }
.empresa__ilustra { background: var(--surface-subtle); border-radius: var(--radius-2xl); padding: var(--space-8); box-shadow: var(--shadow-pop); }
.empresa__ilustra img { width: 100%; height: auto; }

.entradas { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin-top: var(--space-8); }
.entrada { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.entrada:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.entrada__img { display: block; height: 11rem; overflow: hidden; }
.entrada__img--foto { background: url("assets/imagens/home-foto.webp") 60% 70% / cover no-repeat; }
.entrada__img--ilustra { background: var(--surface-subtle); display: grid; place-items: center; padding: var(--space-4); }
.entrada__img--ilustra img { width: 100%; height: 9rem; object-fit: contain; }
.entrada__corpo { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); }
.entrada__tag { color: var(--brand-action); font-size: var(--text-helper); font-weight: var(--weight-bold); letter-spacing: 0.08em; text-transform: uppercase; }
.entrada strong { font-size: var(--font-2xl); color: var(--text-strong); }
.entrada__corpo > span:not([class]) { color: var(--text-muted); }
.entrada__ir { margin-top: var(--space-2); color: var(--brand-action); font-weight: var(--weight-bold); }

/* ---------- Rodapé ---------- */
.rodape { background: var(--blue-900); color: var(--text-on-dark-muted); }
.rodape__in { max-width: 72rem; margin: 0 auto; padding: var(--space-8) var(--space-5); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); }
.rodape__in img { height: 2.5rem; width: auto; }
.rodape__nav { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.rodape__nav a { color: var(--text-on-primary); text-decoration: none; font-weight: var(--weight-semibold); font-size: var(--text-label); }
.rodape__nav a:hover { text-decoration: underline; }
.rodape__copy { font-size: var(--text-helper); }

/* Hero em desktop ultra-amplo: foto vertical com van inteira, sem afetar telas menores. */
@media (min-width: 1800px) {
  .heroi__foto {
    background:
      linear-gradient(90deg, #06245b 0%, #0b4db8 58%, #0b4db8 62%, #0b4db800 92%),
      url("assets/imagens/home-foto.webp") right 85% / auto 250% no-repeat,
      var(--blue-700);
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .passos { grid-template-columns: 1fr; }
  .empresa { grid-template-columns: 1fr; }
  .empresa__ilustra { order: -1; max-width: 26rem; }
}
@media (max-width: 680px) {
  .topo__link { display: none; }
  .topo__marca img { height: 2.125rem; }
  .heroi { min-height: auto; display: block; background: var(--blue-900); }
  .heroi__foto { position: relative; inset: auto; z-index: 0; height: 15rem; background: linear-gradient(180deg, #06245b00 55%, #06245b 100%), url("assets/imagens/home-foto.webp") 78% 82% / cover no-repeat, var(--surface-inverse); }
  .heroi__in { position: relative; margin-top: -2.5rem; padding-top: 0; padding-bottom: var(--space-10); }
  .heroi__acoes .botao { width: 100%; }
  .entradas { grid-template-columns: 1fr; }
  .empresa__acoes .botao { width: 100%; }
  .secao { padding: var(--space-8) 0; }
  .rodape__in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .botao, .entrada { transition: none; }
  .botao:hover, .entrada:hover { transform: none; }
}
