/* Expresso 44 Transportes — site institucional */

/* Fontes auto-hospedadas (SIL Open Font License 1.1, ver assets/fonts/OFL.txt) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("fonts/montserrat-latin-var.woff2") format("woff2");
}

:root {
  --verde-forte: #1B7A3D;
  --verde: #37B24D;
  --verde-escuro: #0B3D20;
  --amarelo: #F2C200;
  --verde-suave: #CDE9D3;
  --cinza: #4A4A4A;
  --branco: #FFFFFF;
  --fundo-claro: #F5FAF6;
  --gelo: #1F6FB2;
  --gelo-suave: #DCEBF7;
  --raio: 14px;
  --largura: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--cinza);
  background: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--verde-forte); }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: "Montserrat", "Inter", system-ui, sans-serif; color: var(--verde-escuro); line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--amarelo); color: var(--verde-escuro); font-weight: 700; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.pular:focus { top: 12px; }

.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 16px; }
section { padding: 64px 0; }
html { scroll-padding-top: calc(var(--topo-h, 150px) + 8px); }
#inicio { scroll-margin-top: 100vh; }
.rotulo { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--verde-forte); margin-bottom: .6em; }
.rotulo::before { content: ""; display: inline-block; width: 22px; height: 3px; background: var(--amarelo); vertical-align: middle; margin-right: 8px; border-radius: 2px; }
.intro { max-width: 40em; }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .95rem; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-amarelo { background: var(--amarelo); color: var(--verde-escuro); }
.btn-amarelo:hover { background: #ffd31a; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid #e6efe8; box-shadow: 0 2px 12px rgba(11,61,32,.06); }
.topo .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 8px; }
.marca { display: block; text-decoration: none; flex: 1; min-width: 0; }
.marca-svg { display: block; width: 100%; height: auto; max-height: 100px; }
.menu { display: none; }
.menu a { color: var(--verde-escuro); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 10px 16px; border-radius: 999px; transition: background .2s, color .2s, transform .15s, box-shadow .2s; }
.menu a:hover { background: var(--verde-suave); }
.menu a:active { transform: scale(.95); }
.menu a.ativo { background: var(--verde-forte); color: #fff; box-shadow: 0 4px 12px rgba(27,122,61,.3); }
.menu-movel { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.menu-movel::-webkit-scrollbar { display: none; }
.menu-movel a { flex: none; scroll-snap-align: center; font-size: 1.05rem; font-weight: 700; color: var(--verde-escuro); text-decoration: none; padding: 12px 20px; border-radius: 999px; background: var(--fundo-claro); border: 1.5px solid var(--verde-suave); box-shadow: 0 2px 6px rgba(11,61,32,.08); transition: background .2s, color .2s, transform .15s, box-shadow .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.menu-movel a:active { transform: scale(.94); background: var(--verde-suave); }
.menu-movel a.ativo { background: var(--verde-forte); border-color: var(--verde-forte); color: #fff; box-shadow: 0 4px 14px rgba(27,122,61,.35); }
@media (prefers-reduced-motion: reduce) { .menu a, .menu-movel a { transition: none; } }

@media (min-width: 760px) {
  .menu { display: flex; gap: 22px; }
  .menu-movel { display: none; }
  .topo .container { padding-top: 12px; padding-bottom: 12px; }
  .marca { flex: none; width: 300px; }
  .marca-svg { max-height: 70px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--branco); padding: 56px 0 0; background:
  radial-gradient(1200px 500px at 85% -10%, rgba(55,178,77,.45), transparent 60%),
  linear-gradient(160deg, var(--verde-escuro) 0%, #0f5129 55%, var(--verde-forte) 100%); }
.hero .container { display: grid; gap: 32px; align-items: center; }
.hero h1 { color: var(--branco); font-size: clamp(2rem, 7vw, 3.4rem); margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--amarelo); }
.hero p.sub { font-size: clamp(1.02rem, 2.6vw, 1.2rem); color: #e3f3e7; max-width: 34em; }
.hero .acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .selos { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--verde-suave); }
.hero .selos li::before { content: "■"; color: var(--amarelo); margin-right: 6px; font-size: .7em; vertical-align: middle; }
.hero-foto { width: 100%; max-width: 560px; height: auto; margin: 0 auto 32px; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.35); border: 4px solid var(--amarelo); }
.estrada { height: 28px; background: repeating-linear-gradient(90deg, var(--amarelo) 0 40px, transparent 40px 80px) center / 100% 4px no-repeat, #082e18; margin-top: 8px; }

@media (min-width: 900px) {
  .hero { padding-top: 80px; }
  .hero .container { grid-template-columns: 1.1fr 1fr; }
}

/* Números */
.numeros-faixa { background: var(--verde-escuro); padding: 28px 0 36px; }
.numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.numero { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--raio); padding: 18px 12px; text-align: center; min-width: 0; }
.numero strong { display: block; font-family: "Montserrat", system-ui, sans-serif; font-weight: 800; font-size: clamp(1.6rem, 7vw, 3.2rem); line-height: 1.05; color: var(--amarelo); }
.numero span { display: block; margin-top: 6px; font-weight: 600; font-size: clamp(.8rem, 2.6vw, 1rem); color: var(--branco); line-height: 1.3; }

/* Sobre e mapa */
.sobre { background: var(--branco); }
.sobre .grade { display: grid; gap: 32px; }
.cidades { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.cidades li { background: var(--verde-suave); color: var(--verde-escuro); font-weight: 600; font-size: .9rem; padding: 6px 14px; border-radius: 999px; }
.cartao-mapa { margin: 0; background: var(--fundo-claro); border-radius: var(--raio); padding: 16px; border: 1px solid #e1eee4; }
.cartao-mapa figcaption { margin-top: 8px; font-size: .88rem; color: var(--cinza); text-align: center; }
.mapa-relevo { position: relative; width: 100%; max-width: 520px; margin: 0 auto; }
.mapa-relevo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.mr-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mr-uf { fill: none; stroke: var(--verde-escuro); stroke-width: 1.6; stroke-linejoin: round; opacity: .8; }
.mr-pts circle { fill: var(--verde-forte); stroke: var(--branco); stroke-width: 1.4; }
.mr-bases circle { fill: var(--amarelo); stroke: var(--verde-escuro); stroke-width: 3; }
.mr-rot text { font-family: "Inter", Arial, sans-serif; font-size: 19px; font-weight: 700; fill: var(--verde-escuro); paint-order: stroke; stroke: rgba(255,255,255,.92); stroke-width: 5px; stroke-linejoin: round; }
.mr-rot .mr-base-t { font-size: 23px; font-weight: 800; fill: #072a16; }
.cartao-mapa figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; }
.leg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--branco); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.leg-base { width: 14px; height: 14px; background: var(--amarelo); border-color: var(--verde-escuro); box-shadow: none; }
.leg-cid { background: var(--verde-forte); }
.leg-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; margin: 0 6px; }
.cidades-atendidas { margin-top: 28px; }
.cidades-atendidas h3 { font-family: "Montserrat", system-ui, sans-serif; font-size: 1.1rem; color: var(--verde-escuro); margin: 0 0 12px; }
.cidades-atendidas h3 span { color: var(--verde-forte); font-weight: 700; }
.chips-cidades { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips-cidades li { background: var(--fundo-claro); border: 1px solid #d5e8da; color: var(--verde-escuro); font-weight: 600; font-size: .8rem; line-height: 1.2; padding: 4px 10px; border-radius: 999px; }
.chips-cidades li.base { background: var(--amarelo); border-color: #d9ad00; color: #072a16; }
.credito-mapa { flex-basis: 100%; font-size: .78rem; color: #8fb59b; }
@media (max-width: 480px) { .cartao-mapa { padding: 10px; } }
@media (min-width: 900px) { .sobre .grade { grid-template-columns: 1.1fr 1fr; align-items: center; } }

/* Faixas de temperatura */
.temperatura { background: var(--fundo-claro); }
.faixas { display: grid; gap: 16px; margin-top: 28px; }
.faixa { background: var(--branco); border-radius: var(--raio); padding: 24px 22px; border: 1px solid #e1eee4; border-top: 5px solid var(--gelo); }
.faixa-resfriado { border-top-color: var(--verde); }
.faixa-topo { display: flex; align-items: center; gap: 12px; }
.faixa-topo h3 { margin: 0; font-size: 1.25rem; }
.faixa-icone { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--gelo-suave); stroke: var(--gelo); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.faixa-resfriado .faixa-icone { background: var(--verde-suave); stroke: var(--verde-forte); }
.faixa-valor { margin: 18px 0 2px; font-family: "Montserrat", system-ui, sans-serif; font-weight: 800; font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.1; color: var(--verde-escuro); }
.faixa-extra { margin: 0 0 18px; font-weight: 600; color: var(--cinza); }
.escala { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #dde6ee, #eef2f4 70%, #f3f1e8); overflow: hidden; }
.escala span { position: absolute; top: 0; bottom: 0; border-radius: 999px; }
.escala-faixa { background: linear-gradient(90deg, #1F6FB2, #4FA3E0); }
.faixa-resfriado .escala-faixa { background: linear-gradient(90deg, var(--verde-forte), var(--verde)); }
.escala-ext { background: repeating-linear-gradient(135deg, #8DBBE0 0 6px, #B9D6EE 6px 12px); }
.escala-marcas { display: flex; justify-content: space-between; margin-top: 6px; font-size: .78rem; color: var(--cinza); font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .faixas { grid-template-columns: 1fr 1fr; } }

/* Serviços */
.servicos { background: var(--branco); }
.cards { display: grid; gap: 16px; margin-top: 28px; }
.card { background: var(--branco); border-radius: var(--raio); padding: 22px; border: 1px solid #e1eee4; border-top: 4px solid var(--verde); }
.card .icone { width: 44px; height: 44px; border-radius: 12px; background: var(--verde-suave); display: grid; place-items: center; margin-bottom: 14px; }
.card .icone svg { width: 24px; height: 24px; stroke: var(--verde-forte); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* Como cuidamos da carga */
.cuidados { background: var(--fundo-claro); }
.passos { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: passo; }
.passo { position: relative; background: var(--branco); border-radius: var(--raio); padding: 22px 22px 22px 78px; border: 1px solid #e1eee4; }
.passo h3 { margin-bottom: .35em; }
.passo p { margin: 0; font-size: .95rem; }
.passo-num { position: absolute; left: 20px; top: 20px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--verde-escuro); color: var(--amarelo); font-family: "Montserrat", system-ui, sans-serif; font-weight: 800; font-size: 1.2rem; }
@media (min-width: 980px) {
  .passos { grid-template-columns: repeat(4, 1fr); }
  .passo { padding: 78px 20px 22px; }
  .passo:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -14px; width: 12px; height: 3px; background: var(--amarelo); border-radius: 2px; }
}

/* Frota */
.frota { background: var(--verde-escuro); color: #d9eedf; }
.frota h2 { color: var(--branco); }
.frota .rotulo { color: var(--verde-suave); }
.lista-frota { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.lista-frota li { display: flex; gap: 12px; align-items: flex-start; }
.lista-frota li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 2px; background: var(--verde); }
.frota .grade { display: grid; gap: 32px; align-items: center; }
.frota-foto { width: 100%; height: auto; border-radius: var(--raio); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
@media (min-width: 900px) { .frota .grade { grid-template-columns: 1fr 1fr; } }

/* Rodapé */
.rodape { background: #072a16; color: #c3dccb; padding: 28px 0; font-size: .9rem; }
.rodape .container { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.rodape img { height: 44px; width: auto; border-radius: 8px; }
.rodape p { margin: 0; }

/* Animação leve, só com CSS e só para quem não pediu menos movimento */
@media (prefers-reduced-motion: no-preference) {
  @keyframes surgir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero-texto { animation: surgir .6s ease-out both; }
  .hero-foto { animation: surgir .7s .12s ease-out both; }
  .card, .passo, .faixa { transition: transform .2s, box-shadow .2s; }
  .card:hover, .passo:hover, .faixa:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,61,32,.10); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
/* 18/10: textos corridos justificados (pedido do Alberto: "fica torto") */
section p { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
.sobre .cidades { justify-content: center; }
