/* Lumar Alimentos — landing page (HTML puro). Escrito primeiro para o celular; telas maiores em @media (min-width).
   Estrutura e cores seguem o site antigo: cabeçalho azul, carrossel de stories, bloco "Os produtos", faixa verde, rodapé azul. */
@font-face { font-family: Raleway; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/raleway-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Raleway; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/raleway-latin-700-normal.woff2) format("woff2"); }

:root {
  --azul: #2f3c89;          /* azul do cabeçalho e do rodapé do site antigo */
  --verde: #49b144;         /* verde da marca (botões) */
  --verde-faixa: #5bc563;   /* faixa de atendimento */
  --tinta: #0f1642;         /* texto escuro sobre o verde (contraste AA; branco sobre #49b144 não passa) */
  --largura: 1240px;
  --fonte: Raleway, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--fonte); font-size: 1rem; line-height: 1.5; color: var(--tinta); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--tinta); border-radius: 6px; }
.pular { position: absolute; left: -999px; top: 0; z-index: 100; padding: .6rem 1rem; background: #fff; color: var(--azul); }
.pular:focus { left: .5rem; top: .5rem; }

/* Botões e ícones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .6rem 1.3rem; border-radius: 8px; font: 700 1rem/1.2 var(--fonte); text-decoration: none; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .28); transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.btn-zap { background: var(--verde); color: var(--tinta); }
.btn-azul { background: var(--azul); color: #fff; }
.icone { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; }
.icone svg { width: 28px; height: 28px; fill: currentColor; }

/* Cabeçalho (fixo: o botão Contato fica sempre ao alcance do polegar) */
.topo { position: sticky; top: 0; z-index: 50; background: var(--azul); box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.topo-in { max-width: var(--largura); margin-inline: auto; padding: .5rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.logo img { width: 104px; height: auto; }
.topo-acoes { display: flex; align-items: center; gap: .15rem; }
.topo-acoes .icone { display: none; }
.topo-acoes .btn { min-height: 44px; padding: .5rem 1.1rem; }

/* Carrossel de stories */
.stories { padding: 1.1rem 0 .4rem; }
.stories-caixa { position: relative; max-width: var(--largura); margin-inline: auto; }
.stories-janela { --n: 2.3; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.stories-janela::-webkit-scrollbar { display: none; }
.stories-trilho { display: flex; gap: .8rem; padding: .3rem 1rem .9rem; }
.stories-trilho li { flex: 0 0 calc((100% - 2rem) / var(--n) - .8rem); scroll-snap-align: start; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 10px rgba(15, 22, 66, .25); background: #e9ecf7; aspect-ratio: 480 / 853; }
.stories-trilho img { width: 100%; height: 100%; object-fit: cover; }
.seta { position: absolute; top: calc(50% - 22px); z-index: 2; display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--azul); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); cursor: pointer; }
.seta svg { width: 24px; height: 24px; }
.seta[disabled] { opacity: .35; cursor: default; }
.seta-ant { left: .6rem; }
.seta-ant svg { transform: scaleX(-1); }
.seta-prox { right: .6rem; }
.pontos { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; padding-bottom: .2rem; }
.pontos button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.pontos button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9bfdc; transition: background .2s, transform .2s; }
.pontos button[aria-current="true"]::before { background: var(--azul); transform: scale(1.3); }

/* Bloco "Os produtos" */
.produtos { max-width: var(--largura); margin: .8rem auto 1.6rem; padding-inline: 1rem; display: grid; gap: .8rem; }
.produtos-texto { background: var(--azul); color: #fff; padding: 1.8rem 1.4rem; border-radius: 8px; box-shadow: 0 3px 12px rgba(15, 22, 66, .3); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { margin: 0 0 .4rem; font-size: 1.15rem; opacity: .92; }
.produtos-texto h1 { margin: 0 0 1rem; font-size: clamp(1.9rem, 6vw, 2.5rem); line-height: 1.1; }
.produtos-texto p:not(.eyebrow) { margin: 0 0 1.6rem; font-size: 1.06rem; line-height: 1.6; }
.produtos-texto .btn { align-self: center; }
.grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.grade li { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(15, 22, 66, .2); }
.grade img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }

/* Faixa de atendimento */
.faixa { background: var(--verde-faixa); color: var(--tinta); text-align: center; padding: 2.4rem 1rem 2.6rem; }
.faixa p { max-width: 44rem; margin: 0 auto 1.4rem; font-size: clamp(1.25rem, 4vw, 1.9rem); line-height: 1.3; }

/* Rodapé */
.rodape { background: var(--azul); color: #fff; padding: 2.2rem 1rem; }
.rodape-in { max-width: var(--largura); margin-inline: auto; display: grid; gap: 1.4rem; justify-items: center; text-align: center; }
.rodape-in > img { width: 190px; }
.rodape-dados p, .rodape-dados address { margin: 0 0 .35rem; font-size: .95rem; }
.rodape-dados a { text-decoration: none; }
.rodape-redes { display: flex; justify-content: center; gap: .3rem; margin-top: .6rem; }

/* Telas médias */
@media (min-width: 640px) {
  .stories-janela { --n: 3.3; }
  .logo img { width: 132px; }
  .topo-acoes .icone { display: inline-flex; }
  .seta { display: flex; }
}
/* Telas grandes: texto à esquerda, grade de 4×2 à direita (como no site antigo) */
@media (min-width: 900px) {
  .stories-janela { --n: 5; }
  .logo img { width: 160px; }
  .topo-in { padding-block: .6rem; }
  .produtos { grid-template-columns: 5fr 6fr; align-items: stretch; gap: 1rem; margin-block: 1rem 2.2rem; }
  .produtos-texto { padding: 2.4rem 2.2rem; }
  .grade { grid-template-columns: repeat(4, 1fr); }
  .grade img { aspect-ratio: 3 / 4; }
  .rodape-in { grid-template-columns: 1fr 1fr; }
  .rodape-in > img { width: 220px; justify-self: end; margin-right: 2rem; }
  .rodape-dados { justify-self: start; text-align: left; margin-left: 2rem; }
  .rodape-redes { justify-content: flex-start; margin-left: -.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pontos button::before { transition: none; }
}
