/* ==========================================================================
   Página dos cursos por concurso — Professor Maxwell
   Conceito: DOSSIÊ POR CONCURSO (mesa verde-oliva escura, pastas kraft,
   fichas de papel, etiquetas datilografadas, carimbos "ALVO").
   Mobile first (desktop a partir de 900px). Nada rola para o lado no celular.
   Mesmas cores de marca e fontes das outras páginas; cenário diferente.
   ========================================================================== */

:root {
  /* Mesa (amostrada do mockup) */
  --mesa: #1F2518;
  --mesa-luz: rgba(96, 112, 72, .22);

  /* Papel */
  --kraft: #D2BA92;            /* corpo das pastas */
  --kraft-aba: #C8AE82;        /* aba das pastas */
  --kraft-indice: #B49C6F;     /* abas do índice */
  --kraft-fundo-1: #BFA67A;    /* pastas de trás */
  --kraft-fundo-2: #A99167;
  --ficha: #EEE9DD;            /* fichas e cartões */
  --ficha-borda: #CFC5AF;

  /* Marca */
  --mato: #3F5530;             /* botões, carimbos */
  --mato-hover: #334626;
  --mato-sombra: #27351D;
  --areia: #877B66;
  --ink: #15170F;
  --ink-soft: #3E4136;
  --claro: #F2EFE6;            /* texto sobre a mesa */
  --claro-soft: #CFCDC2;

  /* Textura de papel: ruído fractal em SVG, sem imagem externa */
  --ruido: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 0 0.1 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --radius: 2px;
  --gutter: 16px;
  --max: 1140px;

  --font-sans: Barlow, "Helvetica Neue", Arial, sans-serif;
  --font-condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-mono: "Courier Prime", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--claro);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  background-color: var(--mesa);
  background-image:
    var(--ruido),
    radial-gradient(ellipse 70% 40% at 30% 0%, var(--mesa-luz), transparent 70%),
    radial-gradient(ellipse 60% 35% at 80% 55%, rgba(96, 112, 72, .14), transparent 70%);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
p, h1, h2, h3, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
.sprite { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tipografia ---------- */
.h1, .h2, .h3 {
  font-family: var(--font-condensed);
  font-weight: 800;
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: .005em;
  text-wrap: balance;
}
.h1 { font-size: clamp(42px, 12.5vw, 60px); color: #fff; }
.h2 { font-size: 30px; font-weight: 700; color: var(--claro); }
.h2-escuro { color: var(--ink); }
.h3 { font-size: 24px; font-weight: 700; color: var(--ink); }
.t1 { font-size: 17px; line-height: 1.5; }
.t2 { font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.t3 { font-size: 14px; color: var(--claro-soft); }

/* Etiqueta datilografada */
.etiqueta {
  display: inline-block;
  padding: 3px 10px;
  background: var(--kraft) var(--ruido);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}
.etiqueta-clara { background-color: #DDCDA8; box-shadow: none; }

/* Carimbo */
.carimbo {
  display: inline-block;
  padding: 5px 9px;
  border: 3px solid var(--mato);
  border-radius: 4px;
  color: var(--mato);
  font-family: var(--font-condensed);
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
  opacity: .88;
  mix-blend-mode: multiply;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--mato);
  color: #fff;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 3px 0 var(--mato-sombra), 0 6px 14px rgba(0, 0, 0, .3);
  cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--mato-hover); }
.btn-grande { min-height: 56px; font-size: 20px; }
.btn-contorno {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
  box-shadow: none;
}
.btn-contorno:hover { background: rgba(21, 23, 15, .06); }
.btn:focus-visible, .indice-aba:focus-visible, .faq-item summary:focus-visible { outline: 3px solid #E3C98F; outline-offset: 2px; }

/* ---------- Estrutura ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: 28px; padding-bottom: 28px; }
.section > .h2 { margin-bottom: 16px; }

/* Ficha: cartão de papel claro */
.ficha {
  background: var(--ficha) var(--ruido);
  border: 1px solid var(--ficha-borda);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  color: var(--ink);
}

/* ---------- 1. Hero ---------- */
.hero { position: relative; padding: 22px 0 8px; overflow: hidden; }
.mesa { position: absolute; top: 0; pointer-events: none; }
.mesa-esquerda { display: none; left: 0; }
.mesa-direita { right: 0; width: 84px; opacity: .85; }
.hero-grid { position: relative; display: flex; flex-direction: column; }
.hero-texto { display: contents; }
.brand { order: 1; display: flex; width: max-content; align-items: center; gap: 10px; margin-bottom: 18px; }
.brand-logo { width: auto; height: 42px; }
.brand-nome { display: flex; flex-direction: column; font-family: var(--font-condensed); font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: .03em; color: #fff; }
.hero .etiqueta { order: 2; align-self: flex-start; }
.hero .h1 { order: 3; margin-top: 12px; }
.hero-sub { order: 4; margin-top: 12px; color: var(--claro-soft); }
.hero-pastas { order: 5; width: min(330px, 88%); margin: 18px auto 0; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .5)); }
.hero-btn { order: 6; position: relative; z-index: 1; width: 100%; margin-top: -26px; }

/* ---------- 2. Índice ---------- */
.indice { padding-top: 28px; padding-bottom: 8px; }
.indice-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; margin-top: 20px; }
.indice-aba {
  position: relative;
  display: block;
  padding: 11px 6px 9px;
  background: var(--kraft-indice) var(--ruido);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  color: var(--ink);
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .45);
  transition: transform .15s ease;
}
/* aba pequena da pasta, no canto de cima */
.indice-aba::before {
  content: "";
  position: absolute;
  left: 0;
  top: -8px;
  width: 40%;
  max-width: 56px;
  height: 9px;
  background: inherit;
  clip-path: polygon(0 100%, 6px 0, calc(100% - 6px) 0, 100% 100%);
}
.indice-aba:hover { transform: translateY(-2px); }

/* ---------- 3. Números ---------- */
.numeros { padding-top: 20px; }
.numeros-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.numero { display: flex; flex-direction: column; align-items: center; padding: 16px 6px; text-align: center; }
.numero:nth-child(odd) { border-right: 1px solid rgba(21, 23, 15, .18); }
.numero:nth-child(-n+2) { border-bottom: 1px solid rgba(21, 23, 15, .18); }
/* O número acompanha a largura da tela, para caber sem rolagem lateral. */
.numero-valor { font-family: var(--font-condensed); font-weight: 700; font-size: clamp(24px, 7.6vw, 34px); line-height: 1; white-space: nowrap; }
.numero-rotulo { margin-top: 4px; font-size: 13px; font-weight: 600; letter-spacing: .05em; color: var(--ink-soft); }

/* ---------- 4. Motivos ---------- */
.motivos-lista { display: grid; gap: 10px; }
.motivo { display: flex; align-items: center; gap: 12px; padding: 13px 14px; font-size: 16px; line-height: 1.35; }
.motivo strong { white-space: nowrap; }
.ico-check { width: 28px; height: 28px; color: var(--mato); stroke-width: 2.6; }

/* ---------- 5. Dossiês ---------- */
.dossies { display: grid; gap: 50px; padding-top: 44px; }
.pasta { position: relative; scroll-margin-top: 44px; }
.pasta-aba {
  position: absolute;
  left: 0;
  top: -30px;
  z-index: 1;
  height: 31px;
  padding: 0 24px;
  background: var(--kraft-aba) var(--ruido);
  color: var(--ink);
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 21px;
  line-height: 33px;
  clip-path: polygon(0 100%, 10px 0, calc(100% - 10px) 0, 100% 100%);
}
.pasta-corpo {
  position: relative;
  padding: 16px 14px 14px;
  background: var(--kraft) var(--ruido);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  color: var(--ink);
  /* pastas de trás aparecendo por cima e à direita */
  box-shadow:
    5px -5px 0 -1px var(--kraft-fundo-1),
    10px -10px 0 -2px var(--kraft-fundo-2),
    0 10px 20px rgba(0, 0, 0, .45);
}
.pasta-topo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(21, 23, 15, .3);
}
.pasta-emblema { width: 48px; height: auto; flex: none; }
.pasta-dados { min-width: 0; }
.pasta-farda { font-weight: 600; font-size: 16px; line-height: 1.3; }
.pasta-prova { margin-top: 2px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; color: var(--ink-soft); }
.carimbo-pasta { margin-left: auto; flex: none; font-size: 14px; }

.fichas { display: grid; gap: 10px; }
.materia {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 12px;
  padding: 11px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.materia-nome { font-family: var(--font-condensed); font-weight: 700; font-size: 20px; line-height: 1.1; }
.materia-preco { font-weight: 600; font-size: 16px; line-height: 1.2; }
.materia-preco span { font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.materia-btn { grid-column: 2; grid-row: 1 / span 2; min-height: 46px; padding: 0 14px; font-size: 16px; }
.materia-nota { padding: 4px 2px; font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); }

/* ---------- 6. Ficha do instrutor ---------- */
.ficha-instrutor { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 22px 18px 26px; }
.instrutor-foto { position: relative; width: 190px; padding: 7px 7px 20px; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); transform: rotate(-2deg); }
.instrutor-foto img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.clipe { position: absolute; top: -14px; left: 22px; width: 22px; height: 38px; color: #8D8E88; stroke-width: 2.2; }
.instrutor-texto .h2 { margin: 10px 0 8px; }
.carimbo-instrutor { position: absolute; right: 16px; top: 26px; font-size: 16px; }

/* ---------- 7. Depoimentos (sempre um abaixo do outro no celular) ---------- */
.depo-lista { display: grid; gap: 16px; }
.depo { position: relative; display: grid; grid-template-columns: 46% minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px; }
.clipe-depo { left: 14px; top: -14px; z-index: 2; }
.depo-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.depo-nome { font-weight: 700; font-size: 16px; line-height: 1.2; }
.depo-concurso { font-size: 14px; line-height: 1.3; color: var(--ink-soft); }
.carimbo-depo { margin-top: 8px; font-size: 14px; }

.depo-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #111410; overflow: hidden; }
/* Os vídeos são verticais: área mais alta (4:5), para o card não ficar baixo. */
.depo .depo-media { aspect-ratio: 4 / 5; }
.depo-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.depo-play { position: absolute; inset: 0; z-index: 1; margin: auto; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--mato); color: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .4); }
.depo-play .ico { width: 20px; height: 20px; margin-left: 3px; }
.depo-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Player do YouTube com controles próprios (assets/app.js). O iframe não
   recebe toques: quem controla é o botão por cima. Ele é 4× mais largo que
   o card: o vídeo (vertical) fica do mesmo tamanho no meio, e o que o
   YouTube prende nas bordas (título, logo, botões do Shorts) fica fora da
   área visível. */
.depo-player { overflow: hidden; }
.depo-player iframe { left: -150%; width: 400%; pointer-events: none; }
.depo-toque { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.depo-toque:focus-visible { outline: 3px solid #E3C98F; outline-offset: -3px; }
.depo-thumb, .depo-play { transition: opacity .2s ease; }
.is-tocando .depo-thumb, .is-tocando .depo-play { opacity: 0; }
.depo-barra { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 4px; background: rgba(255, 255, 255, .3); opacity: 0; transition: opacity .2s ease; }
.depo-barra span { display: block; height: 100%; background: #E3C98F; transform: scaleX(0); transform-origin: left; }
.is-tocando .depo-barra, .is-pausado .depo-barra { opacity: 1; }
.is-carregando .depo-play { animation: depo-pulsa 1s ease-in-out infinite; }
@keyframes depo-pulsa { 50% { transform: scale(.88); } }
.is-nativo .depo-toque { display: none; }
.is-nativo iframe { pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .is-carregando .depo-play { animation: none; } }

/* ---------- 8. Upgrade: Tarefas Semanais ---------- */
.upgrade-card { display: grid; gap: 16px; padding: 20px 18px; border: 3px solid var(--mato); }
.upgrade-texto .h2 { margin: 10px 0 8px; }
.upgrade-oferta { display: grid; gap: 12px; }
.upgrade-preco { font-family: var(--font-condensed); font-weight: 800; font-size: 44px; line-height: 1; }
.upgrade-preco span { font-size: 22px; font-weight: 700; color: var(--ink-soft); }
.upgrade .btn-contorno { width: 100%; }

/* ---------- 9 e 10. Garantia e FAQ ---------- */
.garantia-faq { display: grid; gap: 28px; }
.garantia { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 22px 18px; text-align: center; }
.garantia .h3 { margin-bottom: 8px; }
.selo7 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 124px;
  flex: none;
  border-radius: 50%;
  background: var(--mato);
  color: #fff;
  font-family: var(--font-condensed);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow: 0 0 0 4px var(--ficha), 0 0 0 6px var(--mato);
}
.selo7-num { font-size: 32px; }
.selo7-txt { margin-top: 4px; font-size: 15px; letter-spacing: .02em; }
.compra-segura { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.compra-segura .ico { width: 18px; height: 18px; }

.faq > .h2 { margin-bottom: 14px; }
.faq-item + .faq-item { margin-top: 8px; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { width: 20px; height: 20px; transition: transform .2s ease; }
.faq-item[open] summary .ico { transform: rotate(180deg); }
.faq-item .t2 { padding: 0 14px 14px; }

/* ---------- 11. Chamada final ---------- */
.final { padding: 36px 0 24px; }
.final-grid { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.final-pasta { position: relative; width: min(290px, 80%); filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .5)); }
/* texto por cima da aba em branco da imagem (aba: 17%–61% da largura, 16%–30% da altura) */
.final-aba {
  position: absolute;
  left: 17%;
  width: 44%;
  top: 16%;
  height: 14%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: clamp(15px, 4.6vw, 22px);
}
.final-texto { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; text-align: center; }
.final-titulo { font-size: clamp(38px, 11vw, 56px); }
.final .btn { width: 100%; }
.rodape { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.rodape-logo { width: auto; height: 40px; opacity: .8; }

/* ==========================================================================
   Desktop (a partir de 900px)
   ========================================================================== */
@media (min-width: 900px) {
  .section { padding-top: 40px; padding-bottom: 40px; }
  .h2 { font-size: 36px; }

  .hero { padding: 40px 0 16px; }
  .mesa-esquerda { display: block; width: 150px; }
  .mesa-direita { width: 160px; opacity: 1; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 32px; }
  .hero-texto { display: block; }
  .hero .h1 { font-size: 64px; }
  .hero-sub { max-width: 520px; font-size: 19px; }
  .hero-btn { width: auto; min-width: 320px; margin-top: 26px; }
  .hero-pastas { width: 100%; max-width: 420px; margin: 0 auto; }

  .indice { padding-top: 24px; }
  .indice-lista { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .indice-aba { font-size: 19px; }

  .numeros-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .numero, .numero:nth-child(-n+2) { border-bottom: 0; }
  .numero:nth-child(odd) { border-right: 0; }
  .numero:not(:last-child) { border-right: 1px solid rgba(21, 23, 15, .18); }
  .numero { padding: 18px 8px; }
  .numero-valor { font-size: 36px; }

  .motivos-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

  /* Pastas: 2 por linha */
  .dossies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 28px; padding-top: 56px; }
  .fichas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .materia { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 2px; }
  .materia-btn { grid-column: 1; grid-row: auto; margin-top: 10px; font-size: 15px; padding: 0 8px; }
  .materia-nota { align-self: center; text-align: center; }

  .ficha-instrutor { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 26px 32px; }
  .carimbo-instrutor { position: static; font-size: 22px; margin-right: 12px; }

  .depo-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

  .upgrade-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 36px; padding: 26px 32px; }
  .upgrade-oferta { justify-items: start; padding-left: 36px; border-left: 1px dashed rgba(21, 23, 15, .3); }
  .upgrade .btn-contorno { width: auto; }

  .garantia-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 28px; }
  .garantia { flex-direction: row; align-items: center; gap: 24px; padding: 26px 26px; text-align: left; }
  .faq > .h2 { font-size: 30px; }

  .final { padding: 48px 0 28px; }
  .final-grid { flex-direction: row; justify-content: center; gap: 48px; }
  .final-pasta { width: 300px; flex: none; }
  .final-texto { width: auto; align-items: flex-start; text-align: left; }
  .final .btn { width: auto; min-width: 320px; }
}

/* Três pastas por linha nas telas largas (como no mockup) */
@media (min-width: 1160px) {
  .dossies { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 26px; }
}

/* ---------- Black Friday (mesmos elementos das outras páginas) ---------- */
.bf-tarja { background: #000; color: #F5C542; text-align: center; padding: 10px 16px; font-family: var(--font-condensed); font-weight: 700; font-size: clamp(16px, 4.6vw, 22px); letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }
.card10-bf { border: 3px solid #000; }
.bf-card-tarja { margin: 0; padding: 10px 14px; background: #000; text-align: center; font-family: var(--font-condensed); font-weight: 700; font-size: clamp(18px, 5vw, 26px); letter-spacing: .12em; line-height: 1.2; color: #F5C542; }
.bf-linha { margin: 8px 0 0; }
.bf-selo { display: inline-block; padding: 4px 12px; background: #000; color: #F5C542; font-family: var(--font-condensed); font-weight: 700; font-size: 16px; letter-spacing: .1em; }
.plano .de { margin-top: 10px; font-size: 18px; }
.plano .de s { text-decoration-thickness: 2px; text-decoration-color: #B3261E; }
.plano-anual { border-color: #000; }
.bf-tarja { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; }
.bf-card-tarja { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; }
.bf-tarja-aviso { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px; background: #D7191C; color: #fff; font-size: .72em; letter-spacing: .1em; line-height: 1.3; }
.bf-ponto { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: bf-pulso 1.4s ease-in-out infinite; }
@keyframes bf-pulso { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .bf-ponto { animation: none; } }
.bf-aviso-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 14px; font-weight: 700; line-height: 1.3; color: #B3120F; }
.bf-aviso-btn .bf-ponto { flex: none; background: #D7191C; }
.bf-aviso-btn + .btn { margin-top: 8px; }
.bf-final { margin: 18px 0 0; text-align: center; }
.bf-final .bf-tarja-aviso { max-width: 100%; white-space: nowrap; font-size: clamp(10px, 3.05vw, 15px); letter-spacing: .05em; padding: 6px clamp(8px, 2.4vw, 14px); gap: 6px; }
.bf-sem-aviso { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 22px; padding: 12px 16px; max-width: 520px; background: #FDECEA; border: 1px solid #D7191C; font-size: 17px; font-weight: 700; line-height: 1.35; text-align: center; color: #8E0F0C; }
.bf-sem-aviso .bf-ponto { flex: none; background: #D7191C; }
.bf-tarja .bf-tarja-aviso, .bf-update-selo .bf-tarja-aviso, .bf-final .bf-tarja-aviso { animation: bf-pisca-texto 1.3s ease-in-out infinite; }
.bf-tarja .bf-ponto, .bf-update-selo .bf-ponto, .bf-final .bf-ponto { animation: bf-pisca-ponto 1.3s ease-in-out infinite; }
@keyframes bf-pisca-texto { 0%, 55% { color: #fff; } 75%, 100% { color: rgba(255, 255, 255, .2); } }
@keyframes bf-pisca-ponto { 0%, 55% { background: #fff; } 75%, 100% { background: rgba(255, 255, 255, .2); } }
/* o pisca da tarja é só troca de cor (sem movimento), por isso não é desligado por "reduzir movimento" */

/* ---------- Black Friday: atualizações até dez/2027 ---------- */
.bf-update { background: #000; text-align: center; padding: 48px 0; border-top: 4px solid #F5C542; border-bottom: 4px solid #F5C542; }
.bf-update-selo { margin: 0; }
.bf-update-selo .bf-tarja-aviso { font-size: 16px; font-family: var(--font-condensed); font-weight: 700; letter-spacing: .12em; padding: 5px 14px; }
.bf-update-titulo { margin: 18px 0 0; font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; line-height: 1.08; letter-spacing: .01em; color: #fff; font-size: clamp(26px, 8vw, 46px); }
.bf-update-titulo span { display: inline-block; margin-top: 8px; padding: 4px 14px; background: #F5C542; color: #000; font-size: 1.12em; }
.bf-update-texto { max-width: 640px; margin: 22px auto 0; font-size: 19px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.bf-update-texto strong { color: #F5C542; }

.bf-topo-oferta { grid-column: 1 / -1; width: 100%; max-width: 640px; margin: 0 auto 8px; }
.bf-topo-oferta .bf-sem-aviso { margin-bottom: 0; max-width: none; }

/* preços riscados com linha vermelha (Black Friday) */
.preco-riscado, s.preco-riscado { text-decoration: line-through; text-decoration-color: #D7191C; text-decoration-thickness: 2px; }
.materia-preco.preco-riscado span { display: inline-block; }

.materia-de { margin: 0; font-size: 14px; line-height: 1.2; color: var(--ink-soft); }
.materia-de span { font-size: 12px; }
.materia-de + .materia-preco { margin-top: 2px; }
