/* =========================================================
   beApple — Landing Page de Vendas
   Design + código: AgenciaFille · instagram.com/agenciafille

   Sistema visual: paleta curta, superfícies chapadas, tipografia
   grande com pesos leves e muito espaço em branco.
   ========================================================= */

:root {
  /* Superfícies */
  --white:  #FFFFFF;
  --gray:   #F5F5F7;
  --gray-2: #EBEBED;

  /* Texto */
  --ink:     #1D1D1F;
  --ink-2:   #6E6E73;
  --hair:    #D2D2D7;

  /* Marca */
  --navy:    #1F3241;
  --navy-2:  #15242F;
  --copper:  #934600;
  --copper-h:#7A3A00;
  --copper-l:#E39A5A;

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 28px;

  --ease: cubic-bezier(.28, .11, .32, 1);
  --header-h: 52px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.012em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.028em; line-height: 1.08; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.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: -60px; z-index: 200;
  padding: 10px 18px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: 15px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 44px, 1080px); margin-inline: auto; }
.wrap-narrow { width: min(100% - 44px, 760px); }

.ic { width: 19px; height: 19px; flex: none; }
.chev { display: inline-block; font-weight: 400; transition: transform .2s var(--ease); }

/* ============ BOTÕES E LINKS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 23px;
  border: 1px solid transparent; border-radius: 980px;
  font-family: inherit; font-size: 17px; font-weight: 500; letter-spacing: -0.012em;
  cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-h); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--hair); }
.btn-secondary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.btn-outline-primary { background: transparent; color: var(--copper); border-color: var(--copper); }
.btn-outline-primary:hover { background: var(--copper); color: #fff; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gray-2); }

.btn-sm { padding: 9px 18px; font-size: 15px; }

.link-cta {
  display: inline-flex; align-items: baseline; gap: 5px;
  font-size: 17px; color: var(--copper);
}
.link-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-cta:hover .chev { transform: translateX(3px); }
.link-light { color: var(--copper-l); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .09);
}

.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand img { width: 28px; height: 28px; border-radius: 999px; object-fit: cover; }

.brand-word {
  display: inline-flex; align-items: baseline;
  font-size: 19px; font-weight: 700; letter-spacing: -0.04em; color: var(--ink);
}
.brand-apple {
  font-size: .42em; font-weight: 600; margin-left: .09em;
  transform: translateY(-1.15em); letter-spacing: -0.02em;
}

.nav { display: flex; align-items: center; gap: 30px; margin: 0 auto; }
.nav a { font-size: 13px; color: var(--ink); opacity: .82; transition: opacity .2s var(--ease); }
.nav a:hover { opacity: 1; }

.btn-header { flex: none; padding: 7px 15px; font-size: 13px; }
.btn-header .ic { width: 15px; height: 15px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; margin-left: auto; padding: 0 6px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%; border-radius: 2px; background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ HERO CINEMATOGRÁFICO ============ */
.shero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 88svh;
  padding: 0 0 clamp(46px, 7vh, 88px);
  background: #0A0E12; color: #fff;
}

/* pôster carregado por breakpoint: o navegador baixa só o que casa */
.shero-media { position: absolute; inset: 0; z-index: -2; background: #0A0E12 center/cover no-repeat; }
/* Sem opacity 0 aqui: o Safari do iOS recusa reproduzir vídeo que
   considera invisível, e o próprio elemento já exibe o pôster até a
   reprodução começar — o truque de esconder não era necessário. */
.shero-video { width: 100%; height: 100%; object-fit: cover; }

.shero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 14, 18, .58) 0%, rgba(10, 14, 18, .14) 32%, rgba(10, 14, 18, .82) 78%, rgba(10, 14, 18, .95) 100%),
    linear-gradient(90deg, rgba(10, 14, 18, .72) 0%, rgba(10, 14, 18, .18) 56%, transparent 100%);
}

.shero-content { position: relative; z-index: 1; max-width: 760px; }

.shero-eyebrow {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}

.shero-title {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 5.6vw, 4.2rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .5);
}

.shero-sub {
  max-width: 46ch; margin: 0 0 30px;
  font-size: clamp(1rem, 1.7vw, 1.18rem); line-height: 1.45;
  color: rgba(255, 255, 255, .84);
  text-shadow: 0 1px 16px rgba(0, 0, 0, .6);
}

.shero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 3px;
  background: rgba(10, 14, 18, .28);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #fff;
  transition: background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.btn-line .ic { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.btn-line:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-line:hover .ic { transform: translateX(4px); }

.btn-line-solid { background: rgba(147, 70, 0, .82); border-color: rgba(147, 70, 0, .9); }
.btn-line-solid:hover { background: var(--copper); border-color: var(--copper); color: #fff; }

/* ============ CATEGORIAS (ícones SVG animados) ============ */
.cats { position: relative; padding: clamp(30px, 4vw, 48px) 0; background: var(--gray); }

/* fio superior com pulso de luz percorrendo */
.cats-line { position: absolute; top: 0; left: 0; width: 100%; height: 2px; }
.cl-base { stroke: rgba(0, 0, 0, .07); stroke-width: 2; }
.cl-run {
  stroke: var(--copper); stroke-width: 2; opacity: .7;
  stroke-dasharray: 150 1050; stroke-dashoffset: 1200;
  animation: cl-run 6s linear infinite;
}
@keyframes cl-run { to { stroke-dashoffset: 0; } }

.cats-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* 3 conjuntos iguais: deslocar 1/3 da faixa devolve o layout idêntico.
   margin-right (em vez de gap) entra na largura, então a conta fecha. */
.cats-track {
  display: flex; width: max-content;
  margin: 0; padding: 0; list-style: none;
  animation: cats-roll 42s linear infinite;
  will-change: transform;
}
@keyframes cats-roll { to { transform: translateX(-33.3333%); } }

.cats-viewport:hover .cats-track,
.cats-viewport:focus-within .cats-track,
.cats-track.is-paused { animation-play-state: paused; }

.cat { flex: none; width: 196px; margin-right: 14px; }

.cat a { display: grid; justify-items: center; gap: 12px; }

.cat-photo {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 1 / 1;
  border-radius: var(--r); background: var(--white);
  overflow: hidden;
  transition: transform .3s var(--ease);
}
/* fundo já removido nas imagens: padding menor deixa o produto maior */
.cat-photo img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.cat a:hover .cat-photo { transform: translateY(-4px); }

.cat-name { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; transition: color .25s var(--ease); }
.cat a:hover .cat-name { color: var(--copper); }

/* ============ PAINÉIS DE DESTAQUE ============ */
.showcase { display: grid; gap: 12px; background: var(--white); }

.spanel {
  display: grid; justify-items: center; align-content: start;
  padding: clamp(40px, 4.6vw, 60px) 20px 0;
  overflow: hidden; text-align: center;
}
.spanel-light { background: var(--white); }
.spanel-gray  { background: var(--gray); }

.spanel-copy { display: grid; justify-items: center; max-width: 640px; }

.spanel h2 {
  font-size: clamp(2.1rem, 5.2vw, 3.3rem);
  font-weight: 600; letter-spacing: -0.035em; line-height: 1.05;
}
.spanel p {
  margin: 8px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.35; letter-spacing: -0.018em;
  text-wrap: balance;
}

.spanel-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

.spanel-shot {
  width: min(100%, 540px);
  margin-top: clamp(14px, 2vw, 24px);
}
.spanel-shot-lg   { width: min(100%, 640px); }
.spanel-shot img,
.spanel-shot video { width: 100%; height: auto; object-fit: contain; }

/* --- animação dos produtos em foto ---
   Entrada: a peça cresce e aparece quando o painel entra na tela.
   Depois: flutuação muito lenta, para o produto parecer suspenso.
   Como o produto está recortado, isso basta — não precisa de vídeo.

   O balanço fica no contêiner e a entrada na imagem: são dois elementos
   diferentes, então as duas transformações não brigam entre si. */
.reveal .spanel-shot img { opacity: 0; transform: scale(.93); }
.reveal.is-in .spanel-shot img {
  opacity: 1; transform: none;
  transition: opacity .85s var(--ease) .05s, transform 1s var(--ease) .05s;
}

@media (prefers-reduced-motion: no-preference) {
  /* só nos painéis com foto — o do Mac já tem vídeo */
  .spanel-shot:has(img) { animation: pairar 7s ease-in-out infinite; }
  /* defasagem para não balançarem em bloco */
  .spanel-duo .spanel:last-child .spanel-shot:has(img) { animation-delay: -2.8s; }
  .showcase > .spanel:first-child .spanel-shot:has(img) { animation-delay: -1.4s; }
}

@keyframes pairar {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-1.1deg); }
}

/* O vídeo já sai do encode com o fundo no tom do painel (#F5F5F7).
   A máscara radial dissolve as bordas no fundo da seção — feito em CSS
   porque no vídeo custaria peso e tempo de codificação à toa. */
.spanel-video {
  display: block; background: var(--gray);
  -webkit-mask-image: radial-gradient(125% 118% at 50% 50%, #000 58%, transparent 100%);
          mask-image: radial-gradient(125% 118% at 50% 50%, #000 58%, transparent 100%);
}

.spanel-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ============ SEÇÕES ============ */
.section { padding: clamp(60px, 8vw, 108px) 0; }
.section-alt  { background: var(--white); }
.section-gray { background: var(--gray); }

.section-head { max-width: 720px; margin: 0 auto clamp(30px, 4vw, 48px); text-align: center; }

.kicker { margin: 0 0 10px; font-size: 15px; font-weight: 500; color: var(--copper); }

.section-head h2 { font-size: clamp(1.85rem, 4vw, 3rem); text-wrap: balance; }

.section-lead {
  margin: 15px 0 0; font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.45; color: var(--ink-2);
}
.section-lead strong { color: var(--ink); font-weight: 600; }

/* ============ SELETOR DE LOJA ============ */
.store-switch {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 20px;
}
.ss-label {
  display: inline-flex; align-items: center; gap: 6px;
  margin-right: 4px; font-size: 14px; color: var(--ink-2);
}
.ss-label .ic { width: 15px; height: 15px; }

.ss-btn {
  padding: 7px 15px;
  border: 1px solid var(--hair); border-radius: 980px; background: transparent;
  font-family: inherit; font-size: 14px; color: var(--ink-2);
  cursor: pointer; transition: all .2s var(--ease);
}
.ss-btn:hover { border-color: var(--ink); color: var(--ink); }
.ss-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ============ FILTROS ============ */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 38px; }
.filters::-webkit-scrollbar { display: none; }

.filter {
  padding: 9px 20px;
  border: 1px solid var(--hair); border-radius: 980px; background: transparent;
  font-family: inherit; font-size: 15px; color: var(--ink);
  cursor: pointer; white-space: nowrap;
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ============ GRADE DE PRODUTOS ============ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }

.card {
  display: flex; flex-direction: column; text-align: center;
  background: var(--white); border-radius: var(--r); overflow: hidden;
}
.card[hidden] { display: none; }

.card-media {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1 / 1; background: var(--gray);
}
.card-media img {
  width: 100%; height: 100%; object-fit: contain; padding: 26px;
  transition: transform .5s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-media .glyph { width: 66px; height: 66px; color: var(--ink); opacity: .28; }

.badge {
  position: absolute; top: 14px; left: 0; right: 0; z-index: 2;
  font-size: 12px; font-weight: 500; color: var(--copper);
  letter-spacing: 0; text-transform: none;
}
.badge-new { color: #B85C00; }
.badge-hot { color: var(--copper); }

.card-body {
  display: flex; flex-direction: column; align-items: center; flex: 1; gap: 5px;
  padding: 18px 16px 20px;
}
.card-body h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.022em; }
.card-body > p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }

.card-foot {
  display: grid; justify-items: center; gap: 10px;
  width: 100%; margin-top: auto; padding-top: 14px;
}
.pay { font-size: 13px; color: var(--ink-2); }

.grid-empty { margin: 30px 0 0; text-align: center; color: var(--ink-2); }

/* ============ "A GENTE ENCONTRA" (sliders + frase) ============ */
.findit {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: clamp(40px, 5vw, 64px);
  border-radius: var(--r-lg);
  background: var(--navy-2);
}

.findit-rail {
  position: absolute; inset: 0; z-index: 0;
  display: grid; grid-template-rows: 1fr 1fr; gap: 16px;
  align-content: center; padding: 24px 0;
  opacity: .32;
}
.rail {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

/* sem gap: a margem entra na largura do tile, então translateX(-50%)
   corresponde exatamente a uma cópia e o loop fica sem emenda */
.rail-track { display: flex; width: max-content; animation: rail 46s linear infinite; will-change: transform; }
.rail-rev .rail-track { animation-duration: 58s; animation-direction: reverse; }
@keyframes rail { to { transform: translateX(-50%); } }

.tile {
  display: grid; place-items: center; flex: none;
  width: 124px; height: 124px; margin-right: 16px; padding: 14px;
  border-radius: var(--r); background: var(--white);
}
.tile img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.tile .tglyph { width: 44px; height: 44px; color: var(--ink); opacity: .3; }

.findit-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(62% 72% at 50% 50%, rgba(21, 36, 47, .96) 36%, rgba(21, 36, 47, .84) 66%, rgba(21, 36, 47, .7) 100%);
}

.findit-content {
  position: relative; z-index: 2;
  display: grid; justify-items: center; text-align: center;
  padding: clamp(52px, 7vw, 84px) clamp(20px, 5vw, 56px);
}

.findit-title {
  max-width: 20ch; margin: 0 0 24px;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; color: #fff;
  text-wrap: balance;
}
.findit-hl { color: var(--copper-l); }
.findit-hl .hl-stroke { display: none; }

.findit-note { margin: 16px 0 0; font-size: 14px; color: rgba(255, 255, 255, .62); }

/* ============ PROVA / NÚMEROS ============ */
.proof { margin-top: clamp(52px, 6vw, 80px); padding-top: clamp(38px, 4vw, 54px); border-top: 1px solid var(--hair); }
/* sozinho na seção: sem filete nem respiro extra no topo */
.proof:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Um painel único em cinza, com as três medidas divididas por filetes
   que se desenham de cima para baixo quando a seção entra. O painel dá
   peso ao bloco sem repetir o azul escuro do card logo acima. */
.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--gray); border-radius: var(--r-lg);
  padding: clamp(30px, 3.6vw, 52px) clamp(12px, 1.6vw, 24px);
}

.pf { position: relative; padding: 0 clamp(18px, 2.6vw, 34px); }

/* divisória entre colunas: cresce do topo para baixo */
.pf:not(:first-child)::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px;
  background: var(--hair);
  transform: scaleY(0); transform-origin: top center;
  transition: transform .9s var(--ease);
}
.pf.is-in:not(:first-child)::before { transform: scaleY(1); }

.pf-ic {
  display: grid; place-items: center;
  width: 42px; height: 42px; margin-bottom: 18px;
  border-radius: 50%; background: var(--white); color: var(--copper);
}
.pf-ic .ic { width: 20px; height: 20px; }

.pf-num {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.1rem); font-weight: 600;
  letter-spacing: -0.045em; line-height: 1;
  /* tabular: o contador roda sem mudar a largura do número */
  font-variant-numeric: tabular-nums;
}
.pf-num em {
  font-style: normal; font-size: .34em; font-weight: 500;
  letter-spacing: -0.01em; color: var(--ink-2);
}

.pf h3 { margin: 16px 0 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.pf-txt { margin: 5px 0 0; max-width: 30ch; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* as colunas chegam uma depois da outra, não todas de uma vez */
.pf:nth-child(2), .pf:nth-child(2)::before { transition-delay: .12s; }
.pf:nth-child(3), .pf:nth-child(3)::before { transition-delay: .24s; }

/* ============ DEPOIMENTOS — MARQUEE ============ */
/* Painel escuro profundo, tirado do azul da marca. É a única seção escura
   do miolo: serve de respiro entre dois blocos claros e dá ao vidro dos
   cartões algo para refratar. */
.depo-sec {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(168deg, #16232E 0%, #0E1922 52%, #131F29 100%);
  color: #fff;
}

/* manchas desfocadas por trás do vidro: sem elas o blur não tem o que
   borrar e o efeito não aparece */
.depo-sec::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: -1;
  background:
    radial-gradient(38% 44% at 16% 22%, rgba(147, 70, 0, .30), transparent 70%),
    radial-gradient(34% 40% at 84% 74%, rgba(31, 50, 65, .85), transparent 72%),
    radial-gradient(30% 34% at 62% 12%, rgba(227, 154, 90, .12), transparent 70%);
  filter: blur(28px);
}

.depo-sec .kicker { color: var(--copper-l); }
.depo-sec .section-head h2 { color: #fff; }
.depo-sec .section-lead { color: rgba(255, 255, 255, .64); }

.mq { display: grid; gap: 20px; }

/* A máscara come as pontas: os cartões surgem e somem no ar em vez de
   baterem numa borda reta. */
.mq-linha {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
}

.mq-track {
  display: flex; width: max-content;
  will-change: transform;
}

/* margin-right em vez de gap: o laço reinicia na largura exata de uma
   cópia, e com gap sobraria o vão da emenda — a faixa ia derrapando */
.mq-card {
  position: relative;
  display: flex; flex-direction: column;
  width: 340px; flex: 0 0 340px; margin-right: 20px;
  padding: 26px 26px 22px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 22px;
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: transform .45s var(--ease), border-color .45s var(--ease),
              background .45s var(--ease), box-shadow .45s var(--ease);
}

/* o cartão sob o cursor cresce e acende */
.mq-card:hover {
  transform: scale(1.05);
  border-color: rgba(227, 154, 90, .55);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 0 0 1px rgba(227, 154, 90, .22),
              0 22px 60px -18px rgba(227, 154, 90, .45),
              0 8px 26px -12px rgba(0, 0, 0, .6);
  z-index: 2;
}

.mq-aspas {
  font-size: 54px; line-height: .8; color: var(--copper-l); opacity: .45;
  font-family: Georgia, "Times New Roman", serif;
}

.mq-nota { display: flex; gap: 3px; margin: 8px 0 0; color: var(--copper-l); }
.mq-nota .ic { width: 14px; height: 14px; }

/* o texto ocupa a folga e empurra o autor para o rodapé: todos os
   cartões da faixa alinham o rosto na mesma linha */
.mq-txt {
  flex: 1; margin: 12px 0 0;
  font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .86);
}

.mq-quem {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0 0; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.mq-foto {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 50%; object-fit: cover;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16);
}
.mq-quem figcaption { display: flex; flex-direction: column; min-width: 0; }
.mq-quem strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.mq-quem span { font-size: 12.5px; color: rgba(255, 255, 255, .55); }

/* "Reduzir movimento": a faixa para e vira rolagem manual, senão o
   visitante ficaria preso aos poucos cartões que cabem na tela */
.mq-estatico .mq-linha { overflow-x: auto; scrollbar-width: none; }
.mq-estatico .mq-linha::-webkit-scrollbar { display: none; }
.mq-estatico .mq-card { transition: none; }

@media (max-width: 900px) {
  /* backdrop-filter em 18 cartões que se movem derruba o desempenho em
     aparelho fraco; aqui o vidro vira superfície translúcida simples */
  .mq-card {
    width: 300px; flex-basis: 300px; padding: 24px 22px 20px;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, .075);
  }
  .mq-txt { font-size: 14.5px; }
  .mq-linha {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  }
}

/* ============ PASSOS ============ */
/* tiles cinza sobre fundo branco, sem filete pesado */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 0; padding: 0; list-style: none;
}

.step {
  display: grid; align-content: start;
  padding: clamp(32px, 3.4vw, 44px) clamp(24px, 2.6vw, 34px);
  border-radius: var(--r-lg); background: var(--gray);
}

.step-n {
  display: grid; place-items: center;
  width: 28px; height: 28px; margin-bottom: 18px;
  border-radius: 999px; background: var(--copper); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0;
}

.step h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.026em; }
.step p { margin: 0; max-width: 26ch; font-size: 16px; line-height: 1.45; color: var(--ink-2); }

/* ============ LOJAS ============ */
.stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }

.store { padding: 40px 34px; background: var(--white); border-radius: var(--r-lg); }
.store h3 { display: flex; align-items: center; gap: 9px; font-size: 24px; margin-bottom: 8px; }
.store h3 .ic { color: var(--copper); }
.store p { margin: 0 0 24px; font-size: 16px; color: var(--ink-2); }
.store-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============ FAQ ============ */
.faq { display: grid; border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }

.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 500; letter-spacing: -0.018em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 1.8px solid var(--copper); border-bottom: 1.8px solid var(--copper);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }

.faq-body { padding: 0 4px 24px; }
.faq-body p { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* ============ CTA FINAL ============ */
.cta-final {
  padding: clamp(74px, 10vw, 130px) 0;
  background: var(--navy); color: #fff; text-align: center;
}
.cta-inner { display: grid; justify-items: center; }

.cta-headline {
  max-width: 15ch; margin: 0 0 18px;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  font-weight: 600; line-height: 1.06; letter-spacing: -0.035em;
  text-wrap: balance;
}

.cta-sub {
  max-width: 52ch; margin: 0 0 30px;
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
  line-height: 1.44; color: rgba(255, 255, 255, .74);
}

.cta-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 30px;
}

.cta-fine { margin: 26px 0 0; font-size: 14px; color: rgba(255, 255, 255, .56); }

/* ============ RODAPÉ ============ */
.site-footer { background: var(--gray); color: var(--ink-2); padding: 44px 0 32px; font-size: 12px; }

.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px;
  padding-bottom: 30px; border-bottom: 1px solid var(--hair);
}

.foot-brand .brand-word { color: var(--ink); font-size: 20px; }
.foot-brand p { margin: 12px 0 16px; max-width: 32ch; font-size: 12px; line-height: 1.6; }
.foot-brand strong { color: var(--ink); font-weight: 600; }

.foot-social { display: flex; gap: 14px; }
.foot-social a { color: var(--ink-2); transition: color .2s var(--ease); }
.foot-social a:hover { color: var(--copper); }
.foot-social .ic { width: 18px; height: 18px; }

.foot-col { display: grid; align-content: start; gap: 9px; }
.foot-col h2 { margin-bottom: 3px; font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.foot-col a { font-size: 12px; color: var(--ink-2); width: fit-content; transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-note { margin: 4px 0 0; font-size: 12px; line-height: 1.5; }

.foot-legal { padding-top: 20px; }
.legal-disclaimer { margin: 0 0 16px; max-width: 100ch; font-size: 12px; line-height: 1.55; color: var(--ink-2); }

.legal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.legal-bar small { font-size: 12px; color: var(--ink-2); }

.made-by a {
  color: var(--ink); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--copper);
  text-underline-offset: 3px;
  transition: color .2s var(--ease);
}
.made-by a:hover { color: var(--copper); }

/* ============ CTAs FIXOS ============ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0, 0, 0, .09);
}
.sticky-cta .btn { flex: 1; padding: 12px; font-size: 15px; }
.sticky-cta .btn-dark { background: var(--ink); color: #fff; }

.float-whats {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: 999px; background: var(--copper); color: #fff;
  transition: background .2s var(--ease);
}
.float-whats:hover { background: var(--copper-h); }
.float-whats .ic { width: 26px; height: 26px; }

/* ============ REVELAÇÃO AO ROLAR ============ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Imagem do hero: cada breakpoint baixa só o seu arquivo.
   No celular ela é o hero definitivo — não há vídeo lá, para não gastar
   dados nem bateria de quem chega pelo anúncio. */
@media (max-width: 900px) { .shero-media { background-image: url("assets/hero/hero-mobile.webp"); } }
@media (min-width: 901px) { .shero-media { background-image: url("assets/hero/hero-desktop.webp"); } }

/* ============ RESPONSIVO ============ */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr; }
  .step { padding: 30px 28px; }
  .step p { max-width: 44ch; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .btn-header { display: none; }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: grid; gap: 0; margin: 0; padding: 0 22px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .09);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s var(--ease), padding .3s var(--ease), visibility .3s var(--ease);
  }
  .nav.is-open { max-height: 340px; padding: 6px 22px 16px; visibility: visible; }
  .nav a {
    padding: 14px 2px; font-size: 17px; opacity: 1;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
  }
  .nav a:last-child { border-bottom: 0; }
}

/* ---------- MOBILE (prioridade) ---------- */
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  .float-whats { display: none; }
  body { padding-bottom: 72px; font-size: 16px; }

  .wrap, .wrap-narrow { width: min(100% - 40px, 1080px); }

  .br-lg { display: none; }
  .section { padding: 56px 0; }

  /* — hero: ocupa a tela toda, texto ancorado embaixo — */
  .shero {
    min-height: 100svh;
    padding-bottom: calc(38px + env(safe-area-inset-bottom));
  }
  .shero-scrim {
    background: linear-gradient(180deg,
      rgba(10, 14, 18, .52) 0%, rgba(10, 14, 18, .12) 26%,
      rgba(10, 14, 18, .78) 66%, rgba(10, 14, 18, .96) 100%);
  }
  .shero-title { font-size: clamp(2rem, 9.6vw, 2.9rem); line-height: 1.04; }
  .shero-title br { display: none; }
  .shero-sub { font-size: 15px; margin-bottom: 24px; }
  .shero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn-line { justify-content: center; padding: 16px 22px; }

  /* — carrossel de categorias: cartões menores — */
  .cat { width: 132px; margin-right: 10px; }
  .cat a { gap: 9px; }
  .cat-photo img { padding: 10px; }
  .cat-name { font-size: 13px; }

  /* — painéis de destaque — */
  .spanel-duo { grid-template-columns: 1fr; }
  .spanel { padding: 46px 20px 0; }
  .spanel h2 { font-size: clamp(1.85rem, 8.4vw, 2.4rem); }
  .spanel p { font-size: 16px; }
  .spanel-actions { flex-direction: column; width: min(100%, 320px); }
  .spanel-actions .btn { width: 100%; }
  .spanel-shot, .spanel-shot-lg { width: min(100%, 380px); margin-top: 26px; }

  /* — catálogo: 2 colunas confortáveis — */
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { border-radius: 14px; }
  .card-media img { padding: 14px; }
  .card-media .glyph { width: 44px; height: 44px; }
  .card-body { padding: 13px 11px 15px; gap: 4px; }
  .card-body h3 { font-size: 14px; line-height: 1.2; }
  .card-body > p { font-size: 12px; line-height: 1.35; }
  .card-foot { padding-top: 11px; }
  .card-foot .btn { width: 100%; padding: 9px 10px; font-size: 13px; }

  .filters {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scrollbar-width: none;
    margin-inline: -20px; padding-inline: 20px;
    margin-bottom: 26px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .store-switch { margin-bottom: 16px; }

  /* — bloco "a gente encontra" — */
  .findit { border-radius: 20px; margin-top: 34px; }
  .findit-rail { gap: 10px; padding: 16px 0; opacity: .26; }
  .tile { width: 88px; height: 88px; margin-right: 10px; padding: 10px; border-radius: 14px; }
  .tile .tglyph { width: 32px; height: 32px; }
  .findit-content { padding: 44px 22px; }
  .findit-title { max-width: 100%; font-size: clamp(1.5rem, 7.4vw, 2rem); }
  .findit-content .btn { width: 100%; }

  .steps { gap: 10px; }
  .step { padding: 26px 22px; border-radius: 20px; }
  .step-n { width: 25px; height: 25px; margin-bottom: 14px; font-size: 12px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 15px; }

  /* — números: uma coluna. Com três itens, duas colunas deixavam o
       terceiro órfão numa linha sozinha; empilhado, a divisória vira
       horizontal e a leitura fica limpa — */
  .proof { margin-top: 44px; padding-top: 34px; }
  .proof-grid { grid-template-columns: 1fr; padding: 6px clamp(20px, 6vw, 28px); }
  .pf { padding: 26px 0; }
  .pf:not(:first-child)::before {
    top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 1px;
    transform: scaleX(0); transform-origin: left center;
  }
  .pf.is-in:not(:first-child)::before { transform: scaleX(1); }
  .pf-ic { width: 38px; height: 38px; margin-bottom: 14px; }
  .pf-num { font-size: 2.3rem; }
  .pf h3 { font-size: 16px; }
  .pf-txt { font-size: 14px; max-width: 38ch; }

  .store { padding: 28px 22px; border-radius: 20px; }
  .store h3 { font-size: 21px; }
  .store-links .btn { width: 100%; }

  .faq-item summary { font-size: 16px; padding: 19px 2px; }
  .faq-body p { font-size: 15px; }

  .cta-final { padding: 72px 0; }
  .cta-actions { flex-direction: column; gap: 16px; width: 100%; }
  .cta-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .legal-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .grid { gap: 8px; }
  .card-body h3 { font-size: 13px; }
  .cat { width: 118px; }
}

/* ============ ACESSIBILIDADE / MOVIMENTO ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  /* trilhos param, mas continuam visíveis como mosaico */
  .rail-track, .cats-track { animation: none; transform: none; }
  .cats-viewport { overflow-x: auto; }
}

@media print {
  .site-header, .sticky-cta, .float-whats, .findit-rail { display: none !important; }
  body { color: #000; background: #fff; }
}
