/* Império de Entregas — site (mercadodeentregas.com.br). Cores do tema do app (lib/core/tema.dart). */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  --azul: #1e63e9;
  --azul-escuro: #12398a;
  --fundo: #eaf1fd;
  --estrela: #ffc531;
  --positivo: #22b573;
  --texto: #1b2430;
  --suave: #64748b;
  --cartao: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--texto);
  background: var(--fundo);
}
h1, h2, h3 { font-family: Nunito, Inter, sans-serif; font-weight: 800; line-height: 1.15; margin: 0 0 .5em; }
a { color: var(--azul); }
img { max-width: 100%; display: block; }

.topo {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1080px; margin: 0 auto; padding: 16px;
}
.topo a.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texto);
  font: 800 18px Nunito, sans-serif; }
.topo a.marca img { width: 40px; height: 40px; border-radius: 10px; }
.topo nav a { margin-left: 18px; text-decoration: none; font-weight: 600; color: var(--texto); }

.heroi {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, rgba(18,57,138,.25), rgba(18,57,138,.85)),
              url("cidade.jpg") center 78% / cover no-repeat;
}
.heroi .dentro { max-width: 1080px; margin: 0 auto; padding: 72px 16px 88px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.heroi .logo { width: min(440px, 100%); background: rgba(255,255,255,.92); border-radius: 24px; padding: 12px 18px; }
.heroi p.lead { font-size: 21px; max-width: 34ch; margin: 22px 0 28px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.heroi .celular { justify-self: center; width: min(300px, 80vw); border-radius: 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45); border: 6px solid #0d1b38; }

.lojas { display: flex; gap: 12px; flex-wrap: wrap; }
.botao {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px;
  background: #0d1b38; color: #fff; text-decoration: none; font-weight: 600; min-height: 52px;
}
.botao small { display: block; font-size: 11px; font-weight: 500; opacity: .8; line-height: 1.1; }
.botao.claro { background: #fff; color: var(--texto); }

section { max-width: 1080px; margin: 0 auto; padding: 64px 16px; }
section > h2 { font-size: 34px; text-align: center; }
section > p.sub { text-align: center; color: var(--suave); max-width: 60ch; margin: 0 auto 36px; }

.grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cartao { background: var(--cartao); border-radius: 20px; padding: 24px; box-shadow: 0 6px 20px rgba(30,99,233,.08); }
.cartao .emoji { font-size: 32px; }
.cartao h3 { font-size: 20px; margin-top: 8px; }
.cartao p { margin: 0; color: var(--suave); }

.telas { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.telas img { width: 240px; flex: 0 0 auto; border-radius: 22px; scroll-snap-align: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.18); }

.faixa { background: var(--azul); color: #fff; text-align: center; }
.faixa section { padding: 56px 16px; }
.faixa p { max-width: 56ch; margin: 0 auto 24px; opacity: .92; }
.faixa .lojas { justify-content: center; }

.texto { max-width: 760px; margin: 0 auto; padding: 40px 16px 72px; }
.texto h1 { font-size: 36px; }
.texto h2 { font-size: 22px; margin-top: 1.6em; }
.texto .data { color: var(--suave); }
.texto .cartao { margin: 18px 0; }

details { background: #fff; border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
summary { font-weight: 600; cursor: pointer; }

footer { text-align: center; color: var(--suave); font-size: 14px; padding: 32px 16px 48px; }
footer a { color: var(--suave); margin: 0 8px; }

@media (max-width: 820px) {
  .heroi .dentro { grid-template-columns: 1fr; padding: 40px 16px 56px; text-align: center; }
  .heroi .logo, .heroi p.lead { margin-left: auto; margin-right: auto; }
  .lojas { justify-content: center; }
  .grade { grid-template-columns: 1fr; }
  .topo nav a { margin-left: 12px; font-size: 15px; }
  section > h2 { font-size: 28px; }
}
