/* ============================================================================
   REDE MINAS FARMA — DESIGN SYSTEM
   Paleta extraída da marca oficial · Tipografia Plus Jakarta Sans
   Não é necessário editar este arquivo para atualizar conteúdo do site.
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Marca (cores medidas diretamente do arquivo da logomarca) */
  --azul:      #284B8C;
  --azul-900:  #152E68;
  --azul-700:  #1E3D79;
  --azul-100:  #DCE5F5;
  --azul-50:   #EFF3FB;

  --vermelho:      #ED3237;
  --vermelho-700:  #C7181D;
  --vermelho-50:   #FDECEC;

  --laranja:     #F58220;
  --laranja-50:  #FEF2E6;

  --zap:       #25D366;
  --zap-700:   #17B653;

  /* Neutros com leve viés azul, para casar com a marca */
  --ink:     #0E1B33;
  --ink-2:   #48566F;
  --ink-3:   #7C889F;
  --line:    #E3E9F3;
  --line-2:  #EFF3F9;
  --bg:      #FFFFFF;
  --bg-soft: #F5F8FD;

  /* Elevação */
  --sh-xs: 0 1px 2px rgba(14,27,51,.05);
  --sh-sm: 0 2px 8px rgba(14,27,51,.06);
  --sh-md: 0 8px 24px -6px rgba(14,27,51,.10), 0 2px 6px rgba(14,27,51,.05);
  --sh-lg: 0 20px 48px -12px rgba(14,27,51,.16), 0 4px 12px rgba(14,27,51,.06);
  --sh-zap: 0 8px 24px -6px rgba(37,211,102,.45);

  /* Formas */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Ritmo — mesma escala de respiro em todo cartão/painel do site */
  --pad-x: clamp(1.15rem, 4vw, 2rem);
  --sec-y: clamp(3.5rem, 7vw, 6rem);
  --card-pad: clamp(1.5rem, 2.8vw, 2rem);
  --card-pad-sm: clamp(1.1rem, 2vw, 1.4rem);
  --max: 1240px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --t: .28s var(--ease);

  --header-h: 76px;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- 3. LAYOUT ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--sec-y); }
.section--soft { background: var(--bg-soft); }
.section--tight-top { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 9999;
  background: var(--azul); color: #fff;
  padding: 12px 20px; border-radius: var(--r-sm); font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 4. TIPOGRAFIA ---------- */
h1, h2, h3, h4 {
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.32rem); letter-spacing: -.015em; }

.lead {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--ink-2);
  line-height: 1.65;
  text-wrap: pretty;
}

/* Assinatura visual: a marca é literalmente uma cruz. Em vez do badge
   genérico de "pill", o eyebrow usa esse "+" como marca estrutural — o
   mesmo sinal que já existe na logomarca, não um ícone decorativo à toa. */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--azul);
}
.eyebrow::before {
  content: "+";
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.3em; height: 1.3em;
  font-size: 1.1em; font-weight: 800; line-height: 1;
  color: #fff; background: var(--laranja);
  border-radius: 6px;
}
.eyebrow--red { color: var(--vermelho-700); }
.eyebrow--red::before { background: var(--vermelho); }

.sec-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head h2 { margin-top: .9rem; }
.sec-head .lead { margin-top: .85rem; }

.txt-azul { color: var(--azul); }
.txt-verm { color: var(--vermelho); }

/* ---------- 5. BOTÕES ---------- */
/* Padrão herdado do site de ofertas: pílula, peso 700 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 700; font-size: .97rem; letter-spacing: -.01em;
  padding: .92rem 1.6rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--zap { background: var(--zap); color: #fff; box-shadow: var(--sh-zap); }
.btn--zap:hover { background: var(--zap-700); transform: translateY(-2px); }

.btn--azul { background: var(--azul); color: #fff; box-shadow: var(--sh-md); }
.btn--azul:hover { background: var(--azul-900); transform: translateY(-2px); }

.btn--verm { background: var(--vermelho); color: #fff; box-shadow: 0 8px 22px -8px rgba(237,50,55,.5); }
.btn--verm:hover { background: var(--vermelho-700); transform: translateY(-2px); }

.btn--delivery { background: var(--laranja); color: #fff; box-shadow: 0 8px 22px -8px rgba(245,130,32,.5); }
.btn--delivery:hover { background: #C4620A; transform: translateY(-2px); }

.btn--ghost { background: #fff; color: var(--azul); border-color: var(--line); box-shadow: var(--sh-xs); }
.btn--ghost:hover { border-color: var(--azul); background: var(--azul-50); transform: translateY(-2px); }

.btn--glass {
  background: rgba(255,255,255,.14); color: #fff;
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255,255,255,.26); border-color: #fff; }

.btn--lg { padding: 1.08rem 2rem; font-size: 1.03rem; }
.btn--sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; color: var(--azul); font-size: .95rem;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. TOPBAR ---------- */
.topbar {
  background: var(--azul-900);
  color: rgba(255,255,255,.92);
  font-size: .8rem; font-weight: 500;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 40px; padding-block: .45rem;
}
.topbar a { font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; transition: opacity var(--t); }
.topbar a:hover { opacity: .75; }
.topbar a svg { width: 15px; height: 15px; }

/* Ticker sincronizado: cidade à esquerda, telefone da loja daquela cidade à direita */
.topbar__tick {
  display: inline-flex; align-items: center; gap: .5rem;
  min-width: 250px;
  transition: opacity .22s ease;
}
.topbar__tick svg { width: 15px; height: 15px; opacity: .85; flex: none; }
.topbar__tick span { white-space: nowrap; }
a.topbar__tick { font-weight: 700; color: #fff; }
.topbar__tick--right { justify-content: flex-end; text-align: right; }

@media (max-width: 760px) {
  .topbar .wrap { justify-content: center; }
  /* especificidade dupla de propósito: precisa vencer ".topbar a", que
     também define display e teria prioridade sobre uma classe só */
  .topbar__tick.topbar__tick--right { display: none; }
  .topbar__tick { min-width: 0; }
}

/* ---------- 7. HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--sh-sm); }

.header .wrap {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
@media (max-width: 480px) { .brand img { height: 40px; } }

.nav { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.nav a {
  padding: .68rem 1.05rem;
  border-radius: var(--r-sm);
  font-weight: 600; font-size: .93rem;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color var(--t), background var(--t);
  position: relative;
}
.nav a:hover { color: var(--azul); background: var(--azul-50); }
.nav a.is-active { color: var(--azul); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 1.05rem; right: 1.05rem; bottom: .28rem;
  height: 2.5px; border-radius: 2px; background: var(--vermelho);
}

/* Delivery ganha destaque próprio no menu: não é um link comum */
.header__delivery { margin-left: .9rem; }
.header__cta { margin-left: .6rem; padding: .72rem 1.7rem; font-size: .92rem; }

.burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff;
}
.burger span {
  display: block; width: 19px; height: 2px; border-radius: 2px;
  background: var(--ink); position: relative;
  transition: transform var(--t), background var(--t);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px;
  border-radius: 2px; background: var(--ink); transition: transform var(--t), top var(--t);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1340px) {
  .nav, .header__cta, .header__delivery { display: none; }
  .burger { display: flex; }
}

/* Menu mobile em painel deslizante */
.drawer {
  position: fixed; inset: 0; z-index: 950;
  visibility: hidden; pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__veil {
  position: absolute; inset: 0;
  background: rgba(14,27,51,.5);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity var(--t);
}
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  background: #fff;
  padding: 1.1rem 1.25rem 2rem;
  display: flex; flex-direction: column;
  transform: translateX(102%);
  transition: transform .34s var(--ease);
  overflow-y: auto;
  box-shadow: var(--sh-lg);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.drawer__top img { height: 40px; }
.drawer__close {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.4rem; color: var(--ink-2);
}
.drawer nav { display: flex; flex-direction: column; gap: .2rem; }
.drawer nav a {
  padding: .9rem .8rem; border-radius: var(--r-sm);
  font-weight: 700; font-size: 1.02rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer nav a:hover, .drawer nav a.is-active { background: var(--azul-50); color: var(--azul); }
.drawer nav a.drawer__delivery {
  margin-top: .5rem;
  justify-content: center;
  gap: .55rem;
  background: var(--laranja-50);
  color: #C4620A;
}
.drawer nav a.drawer__delivery:hover { background: #FCE3C4; }
.drawer nav a.drawer__delivery svg { width: 20px; height: 20px; flex: none; }
.drawer__foot { margin-top: auto; padding-top: 1.6rem; display: grid; gap: .65rem; }
.drawer__phone {
  text-align: center; font-size: .85rem; color: var(--ink-3); padding-top: .5rem;
}
.drawer__phone strong { display: block; color: var(--ink); font-size: 1.05rem; }

/* ---------- 8. HERO / CARROSSEL ---------- */
.hero { position: relative; background: var(--azul-900); }

.hero__viewport { position: relative; overflow: hidden; }

.hero__track {
  display: flex;
  transition: transform .6s var(--ease);
  will-change: transform;
}

.hero__slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 21 / 9;
}
.hero__slide > * { display: block; width: 100%; height: 100%; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide a { cursor: pointer; }

/* No celular o banner vira quadrado, para caber a arte vertical */
@media (max-width: 780px) {
  .hero__slide { aspect-ratio: 1 / 1; }
}
/* No desktop, trava a largura do banner na mesma largura do conteúdo do site (--max),
   para a proporção 21:9 da arte bater exatamente com a caixa — sem cortar em cima/embaixo.
   Acima de 1240px de tela, sobra uma faixa azul (--azul-900) dos dois lados, tipo "cinema". */
@media (min-width: 781px) {
  .hero__viewport { max-width: var(--max); margin-inline: auto; }
  .hero__slide, .hero__fallback { max-height: min(531px, 53vh); }
}

/* Controles */
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: var(--azul);
  display: grid; place-items: center;
  box-shadow: var(--sh-md);
  opacity: 0;
  transition: opacity var(--t), background var(--t), transform var(--t);
}
.hero:hover .hero__arrow, .hero__arrow:focus-visible { opacity: 1; }
.hero__arrow:hover { background: #fff; }
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow--prev { left: clamp(.75rem, 2vw, 1.5rem); }
.hero__arrow--next { right: clamp(.75rem, 2vw, 1.5rem); }
@media (max-width: 780px) { .hero__arrow { display: none; } }

.hero__dots {
  position: absolute; left: 50%; bottom: clamp(.9rem, 2.2vw, 1.5rem);
  transform: translateX(-50%); z-index: 4;
  /* acima de 860px a barra de atalhos sobe por cima do banner: os pontos sobem junto */
  display: flex; gap: .45rem;
  background: rgba(14,27,51,.3);
  backdrop-filter: blur(8px);
  padding: .45rem .65rem; border-radius: var(--r-pill);
}
.hero__dot {
  width: 8px; height: 8px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.5);
  transition: width var(--t), background var(--t);
}
.hero__dot.is-active { width: 26px; background: #fff; }
@media (min-width: 861px) { .hero__dots { bottom: 3.7rem; } }

/* Estado sem imagem carregada */
.hero__fallback {
  display: grid; place-items: center; text-align: center;
  aspect-ratio: 21/9; color: #fff;
  background: linear-gradient(120deg, var(--azul) 0%, var(--azul-900) 100%);
  padding: 2rem;
}
@media (max-width: 780px) { .hero__fallback { aspect-ratio: 4/3; } }

/* ---------- 8B. PAGE HERO (cabeçalho das sub-páginas) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-900) 100%);
  color: #fff;
  padding-block: clamp(3.25rem, 7vw, 5rem);
  text-align: center;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.page-hero .wrap { position: relative; z-index: 1; max-width: 720px; }
.page-hero .eyebrow { color: rgba(255,255,255,.9); }
.page-hero .eyebrow::before { background: #fff; color: var(--azul-900); }
.page-hero h1 { color: #fff; margin-top: 1rem; }
.page-hero p { color: rgba(255,255,255,.85); margin-top: 1rem; font-size: clamp(1rem,1.5vw,1.12rem); line-height: 1.65; }

/* ---------- 9. BARRA DE ATALHOS ---------- */
.quick {
  position: relative; z-index: 5;
  margin-top: 0;
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
}
.quick__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.quick__item {
  background: #fff;
  padding: 1.3rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  text-align: center;
  transition: background var(--t), transform var(--t);
}
.quick__item:hover { background: var(--azul-50); }
.quick__ico {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--azul-50); color: var(--azul);
  transition: transform var(--t);
}
.quick__ico svg { width: 22px; height: 22px; }
.quick__item:hover .quick__ico { transform: scale(1.08); }
.quick__item--zap .quick__ico { background: #E4FBEE; color: var(--zap-700); }
.quick__item--verm .quick__ico { background: var(--vermelho-50); color: var(--vermelho); }
.quick__item--lar .quick__ico { background: var(--laranja-50); color: #C4620A; }
.quick__t { font-weight: 800; font-size: .93rem; line-height: 1.25; }
.quick__s { font-size: .78rem; color: var(--ink-3); line-height: 1.35; }

@media (max-width: 860px) {
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .quick__item { padding: 1.05rem .7rem; }
  .quick__s { display: none; }
}

/* ---------- 10. OFERTAS ----------
   Os cards passam em fileira única, em rolagem contínua e suave para a
   direita — em qualquer tamanho de tela, sem empilhar linha por baixo. */
.ofertas__viewport { overflow: hidden; width: 100%; }
.ofertas__track {
  display: flex;
  width: max-content;
  animation: ofertasMarquee 34s linear infinite;
}
.ofertas__viewport:hover .ofertas__track,
.ofertas__viewport:focus-within .ofertas__track { animation-play-state: paused; }
.ofertas__grid, .ofertas__grid--clone {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
.ofertas__grid--clone { display: flex; }
/* a última carta de cada metade carrega o espaçamento também depois dela,
   pra costura do loop (metade real -> metade clonada) ficar do mesmo
   tamanho que o espaço entre as outras cartas, sem parecer grudado */
.ofertas__grid > .oferta:last-child,
.ofertas__grid--clone > .oferta:last-child {
  margin-right: clamp(1.5rem, 3vw, 2.75rem);
}

.oferta {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: block;
}
.oferta { flex: 0 0 auto; width: min(38vw, 420px); }
.oferta:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--azul-100); }
.oferta img { width: 100%; aspect-ratio: 1000/456; object-fit: cover; }
.oferta__over {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem .95rem .95rem;
  background: linear-gradient(to top, rgba(14,27,51,.86), rgba(14,27,51,0));
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t);
}
.oferta:hover .oferta__over { opacity: 1; transform: translateY(0); }
.oferta__over span {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--zap); color: #fff;
  font-weight: 800; font-size: .82rem;
  padding: .55rem 1rem; border-radius: var(--r-pill);
}
.oferta__over svg { width: 16px; height: 16px; }
@media (hover: none) {
  .oferta__over { opacity: 1; transform: none; }
}

/* Celular: cards um pouco mais largos proporcionalmente à tela. */
@media (max-width: 780px) {
  .oferta { width: min(85vw, 380px); }
  .ofertas__grid, .ofertas__grid--clone { gap: clamp(1rem, 4vw, 1.4rem); }
}
@keyframes ofertasMarquee {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ofertas__track { animation: none; width: auto; }
  .ofertas__grid--clone { display: none; }
  .ofertas__viewport { overflow: visible; }
  .ofertas__grid { flex-wrap: wrap; justify-content: center; }
}

/* ---------- 11. PASSOS ---------- */
.passos {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
  counter-reset: p;
}
.passo {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 2.4vw, 1.9rem);
  position: relative; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.passo:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.passo::before {
  counter-increment: p; content: counter(p);
  position: absolute; right: -.4rem; top: -1.6rem;
  font-size: 6.5rem; font-weight: 800; line-height: 1;
  color: var(--azul-50); z-index: 0;
}
.passo > * { position: relative; z-index: 1; }
.passo__ico {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--azul); color: #fff;
  display: grid; place-items: center; margin-bottom: 1rem;
}
.passo__ico svg { width: 24px; height: 24px; }
.passo h3 { margin-bottom: .45rem; }
.passo p { font-size: .93rem; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 800px) { .passos { grid-template-columns: 1fr; } }

/* ---------- 12. CATEGORIAS ---------- */
.cats {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(.6rem, 1.4vw, 1rem);
}
.cat {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  padding: 1.35rem .8rem; text-align: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--azul-100); }
.cat__ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--azul-50); color: var(--azul);
  transition: background var(--t), color var(--t);
}
.cat:hover .cat__ico { background: var(--azul); color: #fff; }
.cat__ico svg { width: 23px; height: 23px; }
.cat span { font-weight: 700; font-size: .86rem; line-height: 1.3; }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .cats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 13. DIFERENCIAIS ---------- */
.difs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.difs--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .difs--3 { grid-template-columns: 1fr; } }
.dif {
  padding: var(--card-pad);
  border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.dif:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--azul-100); }
.dif h3 { font-size: 1.1rem; line-height: 1.35; }
.dif p { font-size: .9rem; color: var(--ink-2); line-height: 1.6; margin-top: .4rem; }

/* Ícone dos cartões que têm ícone + título + texto (Quem Somos, Trabalhe Conosco) */
.dif__ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: .95rem;
  background: var(--azul-50); color: var(--azul);
}
.dif__ico svg { width: 23px; height: 23px; }

/* Marca "+" — só nos cartões só-de-título da Home (sem ícone próprio) */
.dif--marca::before {
  content: "+";
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 1rem;
  font-size: 1.3rem; font-weight: 800; line-height: 1;
  color: #fff; background: var(--laranja);
  border-radius: 9px;
}
@media (max-width: 900px) { .difs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .difs { grid-template-columns: 1fr; } }

/* ---------- 14. NOSSAS LOJAS (abas: lista + texto + foto, troca sozinha a cada 2s) ---------- */
.lojas-tabs {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(260px, 1fr) minmax(300px, 1.15fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
}

.lojas-tabs__list {
  background: var(--bg-soft);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.5rem);
  display: flex; flex-direction: column; gap: .4rem;
  border-right: 1px solid var(--line);
}
.lojas-tabs__list-head {
  font-size: 1.05rem; font-weight: 800; color: var(--ink);
  line-height: 1.3; margin-bottom: 1.1rem;
}
.lojas-tabs__tab {
  position: relative;
  text-align: left; padding: .95rem 1.05rem 1.3rem;
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: .15rem;
  transition: background var(--t);
}
.lojas-tabs__tab:not(.is-active):hover { background: rgba(255,255,255,.7); }
.lojas-tabs__tab strong { font-size: .93rem; color: var(--ink-2); font-weight: 700; transition: color var(--t); }
.lojas-tabs__tab span { font-size: .78rem; color: var(--ink-3); }
.lojas-tabs__tab.is-active { background: #fff; box-shadow: var(--sh-xs); }
.lojas-tabs__tab.is-active strong { color: var(--vermelho); }
.lojas-tabs__tab.is-active::after {
  content: ""; position: absolute; left: 1.05rem; right: 1.05rem; bottom: .55rem;
  height: 2px; background: var(--line); border-radius: 2px;
}
.lojas-tabs__tab.is-active::before {
  content: ""; position: absolute; left: 1.05rem; bottom: .55rem;
  height: 2px; width: 0; background: var(--vermelho); border-radius: 2px;
  animation: lojaTabProgresso 4s linear forwards;
}
@keyframes lojaTabProgresso { from { width: 0; } to { width: calc(100% - 2.1rem); } }
@media (prefers-reduced-motion: reduce) { .lojas-tabs__tab.is-active::before { animation: none; width: 100%; } }

.lojas-tabs__panel {
  padding: var(--card-pad);
  display: flex; flex-direction: column; justify-content: center;
  transition: opacity .4s ease;
}
.lojas-tabs__eyebrow {
  font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--vermelho); margin-bottom: .8rem;
}
.lojas-tabs__panel h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; line-height: 1.4;
  color: var(--ink); margin-bottom: .9rem;
}
.lojas-tabs__panel p {
  font-size: .93rem; color: var(--ink-2); line-height: 1.65; margin-bottom: 1.4rem;
}

.lojas-tabs__photo { position: relative; min-height: 260px; background: var(--bg-soft); transition: opacity .4s ease; }
.lojas-tabs__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 980px) {
  .lojas-tabs { grid-template-columns: 1fr; }
  .lojas-tabs__list {
    flex-direction: row; overflow-x: auto; gap: .5rem;
    border-right: none; border-bottom: 1px solid var(--line);
    -webkit-overflow-scrolling: touch;
  }
  .lojas-tabs__list-head { display: none; }
  .lojas-tabs__tab { flex: 0 0 auto; min-width: 180px; }
  .lojas-tabs__photo { min-height: 220px; order: 2; }
  .lojas-tabs__panel { order: 3; }
}

/* ---------- 15. SOBRE ---------- */
.sobre { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sobre__img { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.sobre__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sobre__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.9rem; }
.stat strong { display: block; font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 800; color: var(--azul); line-height: 1.1; letter-spacing: -.03em; }
.stat span { font-size: .8rem; color: var(--ink-3); font-weight: 600; line-height: 1.35; display: block; margin-top: .25rem; }
.sobre ul { display: grid; gap: .7rem; margin: 1.5rem 0; }
.sobre li { display: flex; gap: .65rem; font-size: .95rem; color: var(--ink-2); }
.sobre li svg { width: 20px; height: 20px; flex: none; color: var(--zap-700); margin-top: .1rem; }
@media (max-width: 900px) {
  .sobre { grid-template-columns: 1fr; }
  .sobre__img { order: -1; }
}

/* ---------- 16. TRABALHE CONOSCO ---------- */
.vaga-box {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-900) 100%);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  color: #fff;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  position: relative; overflow: hidden;
}
.vaga-box::after {
  content: ""; position: absolute; right: -90px; top: -90px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.vaga-box > * { position: relative; z-index: 1; }
.vaga-box h2 { color: #fff; }
.vaga-box .lead { color: rgba(255,255,255,.82); }
.vaga-box .eyebrow { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); }

.form-card {
  background: #fff; border-radius: var(--r-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--sh-lg);
  display: grid; gap: .85rem;
}
.field { display: grid; gap: .35rem; }
.field label { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select {
  width: 100%; padding: .8rem .95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  font-size: .95rem; color: var(--ink);
  transition: border-color var(--t), background var(--t);
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--azul); background: #fff;
}
.field input::placeholder { color: var(--ink-3); }
.form-card__hint { font-size: .76rem; color: var(--ink-3); line-height: 1.5; text-align: center; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.field--check { display: flex; align-items: flex-start; gap: .65rem; }
.field--check input[type="checkbox"] {
  width: 19px; height: 19px; flex: none; margin-top: .18rem;
  accent-color: var(--azul); cursor: pointer;
}
.field--check label { font-size: .82rem; color: var(--ink-2); font-weight: 500; line-height: 1.5; }

@media (max-width: 900px) { .vaga-box { grid-template-columns: 1fr; } }

/* ---------- 17. HORÁRIOS (revezamento loja a loja: foto, nome, endereço e horário) ---------- */
.horario-tick-wrap { display: flex; justify-content: center; }
.horario-tick {
  width: 100%; max-width: 860px;
  display: grid; grid-template-columns: minmax(200px, 1fr) 1.3fr;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: opacity .45s ease;
}
.horario-tick__foto { position: relative; min-height: 230px; background: var(--azul-50); }
.horario-tick__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.horario-tick__info { padding: var(--card-pad); text-align: left; align-self: center; }
.horario-tick__nome {
  font-weight: 800; color: var(--azul); font-size: 1.1rem;
  margin-bottom: .85rem; padding-bottom: .8rem;
  border-bottom: 1px solid var(--line-2);
}
.horario-tick__linha {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem; color: var(--ink-2); line-height: 1.55;
  margin-bottom: .5rem;
}
.horario-tick__linha:last-child { margin-bottom: 0; }
.horario-tick__linha svg { width: 17px; height: 17px; flex: none; margin-top: .15rem; color: var(--azul); }
@media (max-width: 640px) {
  .horario-tick { grid-template-columns: 1fr; }
  .horario-tick__foto { min-height: 180px; }
}

/* ---------- 18. FAIXA CTA ---------- */
.faixa {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-900) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2.5rem); flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.faixa::before {
  content: ""; position: absolute; left: -70px; bottom: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  filter: blur(2px);
}
.faixa::after {
  content: ""; position: absolute; right: -40px; top: -90px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  filter: blur(2px);
}
.faixa > * { position: relative; z-index: 1; }
.faixa h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2.1rem); }
.faixa p { color: rgba(255,255,255,.85); margin-top: .55rem; font-size: 1rem; }
.faixa__acts { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- 19. FOOTER ---------- */
.footer { background: var(--azul-900); color: rgba(255,255,255,.68); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .9rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.footer__logo { display: inline-block; margin-bottom: 1.1rem; }
.footer__logo img { height: 44px; }
.footer p { line-height: 1.65; }
.footer h4 { color: #fff; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.05rem; }
.footer__links { display: grid; gap: .6rem; }
.footer__links a { transition: color var(--t), transform var(--t); display: inline-flex; align-items: center; gap: .5rem; }
.footer__links a:hover { color: #fff; }
.footer__links svg { width: 16px; height: 16px; opacity: .7; flex: none; }
.footer__social { display: flex; gap: .55rem; margin-top: 1.15rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.09); display: grid; place-items: center;
  transition: background var(--t), transform var(--t);
}
.footer__social a:hover { background: var(--vermelho); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; color: #fff; }

.footer__legal {
  border-top: 1px solid rgba(255,255,255,.11);
  padding-block: 1.5rem;
  font-size: .78rem; line-height: 1.7;
  color: rgba(255,255,255,.5);
}
.footer__legal strong { color: rgba(255,255,255,.72); font-weight: 700; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.11);
  padding-block: 1.15rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .78rem; color: rgba(255,255,255,.45);
}
.footer__bottom a { color: rgba(255,255,255,.7); font-weight: 700; }
.footer__bottom a:hover { color: #fff; }

@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer__bottom { justify-content: center; text-align: center; } }

/* ---------- 20. WHATSAPP FLUTUANTE ---------- */
.zap-widget {
  position: fixed; right: clamp(.85rem, 3vw, 1.75rem); bottom: clamp(.85rem, 3vw, 1.75rem);
  z-index: 800;
  width: min(78vw, 272px);
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: var(--card-pad-sm);
  animation: zapWidgetIn .5s .6s var(--ease) both;
}
.zap-widget__close {
  position: absolute; top: .5rem; right: .5rem;
  width: 30px; height: 30px; padding: 0;
  display: grid; place-items: center;
  border-radius: 50%; border: none; background: transparent;
  color: var(--ink-3); font-size: 1.3rem; line-height: 1;
  cursor: pointer; transition: background var(--t), color var(--t);
}
.zap-widget__close:hover { background: var(--azul-50); color: var(--ink); }
.zap-widget__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; padding-right: 1.2rem; }
.zap-widget__avatar { position: relative; flex: none; width: 48px; height: 48px; }
.zap-widget__avatar img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--azul-100);
}
.zap-widget__dot {
  position: absolute; right: -1px; bottom: -1px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--zap); border: 2px solid #fff;
}
.zap-widget__who { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.zap-widget__who strong { font-size: .92rem; line-height: 1.2; }
.zap-widget__status { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 700; color: var(--zap-700); }
.zap-widget__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--zap); animation: zapDotPulse 1.8s ease-in-out infinite; }
.zap-widget__msg { font-size: .85rem; color: var(--ink-2); line-height: 1.5; margin-bottom: .9rem; }

@keyframes zapWidgetIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes zapDotPulse {
  0%, 100% { opacity: 1; } 50% { opacity: .35; }
}
@media (max-width: 480px) {
  .zap-widget { width: min(84vw, 250px); padding: .9rem .95rem 1rem; }
  .zap-widget__avatar, .zap-widget__avatar img { width: 42px; height: 42px; }
  .zap-widget__msg { font-size: .82rem; margin-bottom: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .zap-widget { animation: none; }
  .zap-widget__status i { animation: none; }
}

/* ---------- 20B. SELETOR DE CIDADE/LOJA (modal do "Pedir no WhatsApp") ---------- */
.lojapicker {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
  visibility: hidden; pointer-events: none;
}
.lojapicker.is-open { visibility: visible; pointer-events: auto; }
.lojapicker__veil {
  position: absolute; inset: 0;
  background: rgba(14,27,51,.55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity var(--t);
}
.lojapicker.is-open .lojapicker__veil { opacity: 1; }
.lojapicker__card {
  position: relative; z-index: 1;
  width: 100%; max-width: 420px;
  background: #fff; border-radius: var(--r-xl);
  padding: var(--card-pad);
  box-shadow: var(--sh-lg);
  transform: translateY(14px) scale(.97); opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.lojapicker.is-open .lojapicker__card { transform: none; opacity: 1; }
.lojapicker__close {
  position: absolute; right: 1rem; top: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1; color: var(--ink-2);
}
.lojapicker__step h3 { font-size: 1.15rem; margin-bottom: .4rem; padding-right: 2rem; }
.lojapicker__step p { font-size: .88rem; color: var(--ink-2); margin-bottom: 1.2rem; }
.lojapicker__back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 700; color: var(--azul);
  margin-bottom: .9rem;
}
.lojapicker__opts { display: grid; gap: .6rem; }
.lojapicker__opt {
  display: flex; flex-direction: row; align-items: center; gap: .85rem;
  text-align: left; width: 100%;
  padding: .9rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--bg-soft);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.lojapicker__opt:hover { border-color: var(--azul); background: var(--azul-50); transform: translateY(-2px); }
.lojapicker__opt-ico {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--azul);
}
.lojapicker__opt-ico svg { width: 19px; height: 19px; }
.lojapicker__opt-txt { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.lojapicker__opt strong { font-size: .96rem; color: var(--ink); }
.lojapicker__opt span { font-size: .8rem; color: var(--ink-3); }

/* ---------- 20C. PÁGINAS DE POLÍTICA DE PRIVACIDADE / TERMOS DE USO ---------- */
.policy { max-width: 740px; margin-inline: auto; }
.policy__updated { font-size: .82rem; color: var(--ink-3); margin-bottom: 2.4rem; }
.policy h2 { font-size: 1.2rem; margin-top: 2.5rem; margin-bottom: .9rem; }
.policy h2:first-of-type { margin-top: 0; }
.policy p { color: var(--ink-2); font-size: .96rem; line-height: 1.75; }
.policy p + p { margin-top: .9rem; }
.policy ul { margin: .9rem 0; padding-left: 1.3rem; list-style: disc; }
.policy ul li { color: var(--ink-2); font-size: .96rem; line-height: 1.7; margin-bottom: .5rem; padding-left: .2rem; }
.policy strong { color: var(--ink); }
.policy a { color: var(--azul); font-weight: 700; }

/* ---------- 21. ANIMAÇÃO DE ENTRADA ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
