/* ═══════════════════════════════════════════════════════════════
   Grupo VIP Till da Carne
   Mesma estrutura da página original, com tipografia nova, ícones
   próprios e espaçamento em escala fixa (múltiplos de 8).
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Cores da marca */
  --vermelho:      #FF3A34;
  --vermelho-dk:   #E0221C;
  --verde-wa:      #25D366;
  --verde-wa-dk:   #1EBE5A;
  --amarelo:       #FFD600;

  /* Fundos: pretos levemente quentes (combinam com carne/brasa) */
  --fundo:         #0F0D0C;
  --fundo-alt:     #161311;
  --fundo-card:    #1E1A18;
  --borda:         rgba(255,255,255,0.08);
  --borda-forte:   rgba(255,255,255,0.16);
  --texto:         #F6F2F0;
  --texto-muted:   rgba(246,242,240,0.68);

  /* Tipografia */
  --f-titulo: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --f-texto:  'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Espaçamento (escala de 8) */
  --e1: 8px;  --e2: 16px; --e3: 24px; --e4: 32px;
  --e5: 48px; --e6: 64px; --e7: 96px;
  --secao:    var(--e7);
  --lateral:  40px;

  --raio:     14px;
  --max-w:    1200px;
  --t:        0.25s ease;

  --logo-h:        84px;
  --logo-h-mobile: 56px;
  --logo-topo:     48px;   /* distância do logo até o topo da tela */
  --logo-topo-mobile: 32px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  {
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.6;
  background: var(--fundo);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a   { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--f-titulo); }
/* Destaque com *asteriscos* nos textos do painel */
em { font-style: normal; color: var(--vermelho); }
.till-hero-sub em, .till-cta em, .btn em { color: #fff; font-weight: 700; }
.ic { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: middle; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--amarelo);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--lateral);
}

/* ── Entrada ao rolar ───────────────────────────────────────────── */
.fi    { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.fi.up { opacity: 1; transform: none; }
.fi-d1 { transition-delay: .06s; }
.fi-d2 { transition-delay: .12s; }
.fi-d3 { transition-delay: .18s; }
.fi-d4 { transition-delay: .24s; }
.fi-d5 { transition-delay: .30s; }

/* ── Cabeçalho das seções ───────────────────────────────────────── */
.cabecalho-secao { text-align: center; margin-bottom: var(--e5); }
.eyebrow {
  display: inline-block;
  font: 700 15px/1 var(--f-titulo);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vermelho);
  margin-bottom: var(--e2);
}
.titulo-secao {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: var(--e2);
}
.titulo-secao em { font-style: normal; color: var(--vermelho); }
.sub-secao {
  text-wrap: balance;
  font-size: 17px;
  color: var(--texto-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Botões ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 18px/1.2 var(--f-titulo);
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t), background-color var(--t), box-shadow var(--t);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red {
  background: var(--vermelho);
  color: #fff;
  padding: 18px 36px;
  box-shadow: 0 8px 20px -8px rgba(255,58,52,.6);
}
.btn-red:hover { background: var(--vermelho-dk); }
.btn-red .ic   { transition: transform var(--t); }
.btn-red:hover .ic { transform: translateY(3px); }
.btn-white {
  background: #fff;
  color: #1A0F0E;
  padding: 18px 36px;
}
.btn-white:hover { background: #F2EEEC; }
.btn-wa {
  width: 100%;
  background: var(--verde-wa);
  color: #fff;
  font-size: 16px;
  padding: 13px 16px;
}
.btn-wa:hover { background: var(--verde-wa-dk); }
.btn-wa .ic   { width: 18px; height: 18px; }

/* ── Logo ───────────────────────────────────────────────────────── */
.till-logobar {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: var(--logo-topo) var(--lateral) 0;
  display: flex;
  justify-content: center;
  z-index: 5;
}
.till-logobar img {
  height: var(--logo-h);
  width: auto;
  max-width: min(400px, 80vw);
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.5));
}
.till-logo-texto {
  font: 800 36px/1 var(--f-titulo);
  color: #fff;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.till-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: calc(var(--logo-topo) + var(--logo-h) + var(--e6)) var(--lateral) var(--e7);
  background-color: #1A0908;
  background-image:
    linear-gradient(to bottom, rgba(12,8,7,.80) 0%, rgba(12,8,7,.74) 55%, var(--fundo) 100%),
    url('../img/fundo.jpg');
  background-size: cover;
  background-position: center;
}
.till-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }

.till-hero-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  font: 700 14px/1.3 var(--f-titulo);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  padding: 8px 16px;
  border: 1px solid rgba(255,58,52,.55);
  border-radius: 999px;
  background: rgba(255,58,52,.12);
  margin-bottom: var(--e4);
}
.till-hero-badge .ic { color: var(--vermelho); width: 18px; height: 18px; }

.till-hero h1 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .01em;
  color: rgba(255,255,255,.9);
}
.till-hero h1 strong {
  display: block;
  margin-top: var(--e1);
  margin-bottom: var(--e3);
  font-size: clamp(3.6rem, 10vw, 7.5rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--vermelho);
}
.till-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(246,242,240,.85);
  max-width: 780px;          /* cabe em 2 linhas no computador */
  text-wrap: balance;        /* linhas com tamanhos parecidos */
  margin: 0 auto var(--e3);
}
.till-hero-sub strong { color: #fff; font-weight: 700; }
.till-hero-tagline {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 auto var(--e4);
  font-size: 14px;
  font-weight: 600;
  color: var(--amarelo);
}
.till-hero-tagline .ic { width: 16px; height: 16px; }

/* ── Barra de números ───────────────────────────────────────────── */
.till-proof {
  background: var(--fundo);
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}
.till-proof-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
}
.till-proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--e4) var(--e3);
}
.till-proof-item + .till-proof-item { border-left: 1px solid var(--borda); }
.till-proof-icon { color: var(--vermelho); margin-bottom: 12px; }
.till-proof-icon .ic { width: 28px; height: 28px; }
.till-proof-num {
  font: 700 34px/1.05 var(--f-titulo);
  letter-spacing: .01em;
  margin-bottom: 4px;
}
.till-proof-label { font-size: 13px; color: var(--texto-muted); }

/* ── Benefícios ─────────────────────────────────────────────────── */
.till-benefits { background: var(--fundo-alt); padding: var(--secao) 0; }
.till-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--e3);
}
.till-benefit-card {
  background: var(--fundo-card);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: var(--e4);
  text-align: left;
  transition: transform var(--t), border-color var(--t);
}
.till-benefit-card:hover { transform: translateY(-4px); border-color: rgba(255,58,52,.4); }
.till-benefit-icon { color: var(--vermelho); margin-bottom: var(--e3); }
.till-benefit-icon .ic { width: 40px; height: 40px; }
.till-benefit-card h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
  margin-bottom: var(--e1);
}
.till-benefit-card p { font-size: 15px; color: var(--texto-muted); }

/* ── Como funciona ──────────────────────────────────────────────── */
.till-how { background: var(--fundo); padding: var(--secao) 0; }
.till-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--e4);
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.till-steps::before {            /* linha tracejada, como marcação de corte */
  content: '';
  position: absolute;
  top: 28px; left: 16.6%; right: 16.6%;
  border-top: 2px dashed rgba(255,58,52,.45);
}
.till-step { position: relative; }
.till-step-num {
  width: 56px; height: 56px;
  margin: 0 auto var(--e3);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fundo);
  border: 2px solid var(--vermelho);
  color: var(--vermelho);
  font: 800 26px/1 var(--f-titulo);
  position: relative;
}
.till-step h3 { font-size: 23px; font-weight: 700; letter-spacing: .01em; margin-bottom: var(--e1); }
.till-step p  { font-size: 15px; color: var(--texto-muted); max-width: 260px; margin: 0 auto; }

/* ── Faixa rolando ──────────────────────────────────────────────── */
.till-marquee {
  background: var(--vermelho);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.till-marquee-track { display: inline-flex; align-items: center; animation: marquee 34s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.till-marquee-track span {
  font: 700 17px/1 var(--f-titulo);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 var(--e3);
}
.till-marquee-track .dot {
  width: 6px; height: 6px; padding: 0;
  background: rgba(255,255,255,.55);
  transform: rotate(45deg);
}

/* ── Cidades ────────────────────────────────────────────────────── */
.till-cities { background: var(--fundo); padding: var(--secao) 0; }
.till-cities-grid {
  --colunas: 4;
  --vao: var(--e3);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;          /* 7 lojas = 4 em cima e 3 centralizadas; a 8ª completa a linha */
  gap: var(--vao);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--lateral);
}
.till-city-card {
  flex: 0 0 calc((100% - (var(--colunas) - 1) * var(--vao)) / var(--colunas));
  display: flex;
  flex-direction: column;
  background: var(--fundo-card);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t);
}
.till-city-card:hover,
.till-city-card:focus-within { transform: translateY(-4px); border-color: rgba(37,211,102,.5); }
.till-city-img-wrap { position: relative; aspect-ratio: 4 / 3; background: #221C1A; overflow: hidden; }
.till-city-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.till-city-card:hover .till-city-img-wrap img { transform: scale(1.05); }
.till-city-sem-foto {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font: 800 64px/1 var(--f-titulo);
  color: var(--vermelho);
  background: #221C1A;
}
.till-city-body { display: flex; flex-direction: column; gap: var(--e2); flex: 1; padding: 20px; }
.till-city-name {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-height: 2.5em;
  font: 700 21px/1.2 var(--f-titulo);
  letter-spacing: .01em;
  text-align: left;
}
.till-city-name .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--vermelho); }
.till-city-body .btn-wa { margin-top: auto; }

.till-cities-empty { color: var(--texto-muted); text-align: center; padding: var(--e3); }

/* ── Chamada final ──────────────────────────────────────────────── */
.till-cta {
  position: relative;
  overflow: hidden;
  background: var(--vermelho);
  padding: var(--secao) var(--lateral);
  text-align: center;
}
.till-cta-desenho {                 /* cutelo grande em traço, ao fundo */
  position: absolute;
  right: -40px; bottom: -70px;
  width: 360px; height: 360px;
  color: rgba(255,255,255,.14);
  transform: rotate(-18deg);
  pointer-events: none;
}
.till-cta-inner { position: relative; z-index: 1; }
.till-cta h2 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: var(--e2);
}
.till-cta p {
  text-wrap: balance;
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto var(--e4);
  color: rgba(255,255,255,.92);
}
.till-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--e2) var(--e4);
  margin-top: var(--e3);
}
.till-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.9);
}
.till-trust-item .ic { width: 18px; height: 18px; }

/* ── Rodapé ─────────────────────────────────────────────────────── */
.till-footer {
  background: #0A0908;
  border-top: 1px solid var(--borda);
  padding: var(--e5) var(--lateral) var(--e4);
  text-align: center;
}
.till-footer-logo { height: 52px; width: auto; max-width: 240px; object-fit: contain; margin: 0 auto var(--e3); }
.till-footer-redes { font-size: 13px; color: var(--texto-muted); margin-bottom: 12px; }
.till-footer-social { display: flex; justify-content: center; gap: 12px; margin-bottom: var(--e3); }
.till-footer-social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--borda-forte);
  border-radius: 50%;
  color: var(--texto);
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.till-footer-social a:hover { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }
.till-footer-social .ic { width: 20px; height: 20px; }
.till-footer-copy { font-size: 12px; color: rgba(246,242,240,.4); }
.till-footer-credito { font-size: 11px; letter-spacing: .02em; color: rgba(246,242,240,.28); margin-top: 6px; }
.till-footer-credito a { color: inherit; transition: color var(--t); }
.till-footer-credito a:hover { color: rgba(246,242,240,.7); }

/* ═══ Tablet ═══ */
@media (max-width: 1024px) {
  :root { --secao: 80px; }
  .till-cities-grid { --colunas: 3; }
  .till-benefits-grid { grid-template-columns: 1fr 1fr; }
  .till-benefit-card:last-child { grid-column: 1 / -1; }
}

/* ═══ Celular ═══ */
@media (max-width: 768px) {
  :root { --secao: var(--e6); --lateral: 20px; }

  .till-logobar { padding-top: var(--logo-topo-mobile); }
  .till-logobar img { height: var(--logo-h-mobile); }
  .till-hero {
    min-height: 92svh;
    padding: calc(var(--logo-topo-mobile) + var(--logo-h-mobile) + var(--e5)) var(--lateral) var(--e6);
  }
  .till-hero-sub { font-size: 16px; }
  .till-hero-tagline { font-size: 13px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .btn-red, .btn-white { width: 100%; padding: 17px 24px; font-size: 15px; white-space: normal; text-align: center; }

  .cabecalho-secao { margin-bottom: var(--e4); }
  .sub-secao { font-size: 16px; }

  .till-proof-inner { grid-template-columns: 1fr 1fr; }
  .till-proof-item { padding: var(--e3) var(--e2); }
  .till-proof-item + .till-proof-item { border-left: 0; }
  .till-proof-item:nth-child(even) { border-left: 1px solid var(--borda); }
  .till-proof-item:nth-child(n+3) { border-top: 1px solid var(--borda); }
  .till-proof-num { font-size: 24px; }

  .till-benefits-grid { grid-template-columns: 1fr; gap: var(--e2); }
  .till-benefit-card { padding: var(--e3); }
  .till-benefit-icon { margin-bottom: var(--e2); }
  .till-benefit-icon .ic { width: 34px; height: 34px; }

  .till-steps { grid-template-columns: 1fr; gap: var(--e4); text-align: left; max-width: 420px; }
  .till-steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed rgba(255,58,52,.45); }
  .till-step { display: grid; grid-template-columns: 56px 1fr; column-gap: var(--e2); }
  .till-step-num { grid-row: span 2; margin: 0; }
  .till-step h3 { align-self: end; margin-bottom: 4px; }
  .till-step p { margin: 0; max-width: none; }

  .till-cities-grid { --colunas: 2; --vao: 12px; padding: 0 var(--e2); }
  .till-city-body { padding: 12px; gap: 12px; }
  .till-city-name { font-size: 18px; }
  .btn-wa { font-size: 14px; padding: 12px 10px; }

  .till-cta-desenho { display: none; }
  .till-cta p { font-size: 16px; }
}

@media (max-width: 480px) {
  .till-hero-badge { font-size: 11px; letter-spacing: .1em; }
  .till-city-name { font-size: 17px; gap: 4px; }
  .till-city-name .ic { width: 15px; height: 15px; }
  .btn-wa { font-size: 14px; padding: 12px 8px; gap: 6px; }
  .btn-wa .ic { width: 16px; height: 16px; }
}

/* Acessibilidade: reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .fi { opacity: 1; transform: none; }
}
