/* =========================================================
   UNO do Alfabeto Fônico · Leitores Implacáveis
   Mobile-first (360–430 px), sem frameworks.
   ========================================================= */

:root {
  /* Cores das cartas (decorativas: faixas, ícones, bordas) */
  --blue: #2881FC;
  --red: #E03131;
  --green: #2F9E44;
  --yellow: #F5C518;
  --cream: #F6F4EE;
  --ink: #2B2F3A;

  /* Versões escuras para TEXTO/FUNDO de botão (contraste AA ≥ 4.5:1) */
  --blue-d: #1A5FC7;
  --red-d: #C92A2A;
  --green-d: #237A35;
  --green-dd: #1A5C28;
  /* Verde de compra (preço, botão, ✓): verde da marca, mais claro */
  --buy: #2F9E44;
  --buy-hover: #2B9340;
  --buy-edge: #237A35;

  --muted: #5B6070;
  --paper: #FFFFFF;
  --tint: #EDEAE1;
  --black: #16181F;

  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 6px 18px rgba(43, 47, 58, .10), 0 2px 4px rgba(43, 47, 58, .06);
  --shadow-lg: 0 16px 40px rgba(43, 47, 58, .16);

  --font-title: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --topbar-h: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding-top: var(--topbar-h);
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: var(--blue-d); }

/* Foco visível */
:focus-visible { outline: 3px solid var(--blue-d); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px;
}
.skip-link:focus { top: calc(var(--topbar-h) + 8px); }

/* ---------- 1. Barra fixa ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 0 12px;
  background: var(--black); color: #fff;
  font-size: 14px; letter-spacing: .02em;
  border-bottom: 4px solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, var(--black) 10px 20px) 4;
}
.topbar strong { color: var(--yellow); font-weight: 700; }
.topbar__timer {
  font: 700 15px/1 var(--font-body); font-variant-numeric: tabular-nums;
  background: var(--yellow); color: var(--black);
  padding: 6px 10px; border-radius: 999px;
}

/* ---------- Header ---------- */
.site-header { display: flex; justify-content: center; padding: 14px 16px 0; }
.logo { width: 112px; height: auto; }

/* ---------- Faixa 4 cores ---------- */
.stripe { display: flex; height: 8px; }
.stripe i { flex: 1; }
.stripe i:nth-child(1) { background: var(--blue); }
.stripe i:nth-child(2) { background: var(--red); }
.stripe i:nth-child(3) { background: var(--green); }
.stripe i:nth-child(4) { background: var(--yellow); }

/* ---------- Selo Black Friday ---------- */
/* ---------- Nome do produto ---------- */
.product-name {
  display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; justify-content: center;
  font: 700 clamp(19px, 6.2vw, 26px)/1.1 var(--font-title); color: var(--blue-d);
  background: var(--paper); padding: 10px 18px 10px 12px; border-radius: 999px; box-shadow: var(--shadow);
}
.product-name .uno-word { font-size: .95em; box-shadow: 0 3px 0 var(--black); }
.nowrap { white-space: nowrap; }
.product-name--sm { font-size: clamp(17px, 5.4vw, 21px); box-shadow: none; border: 2px solid var(--tint); }

/* ---------- 2. Hero ---------- */
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 18px 20px 32px;
  max-width: 560px; margin: 0 auto; overflow-x: clip;
}
.hero__title { font-size: clamp(24px, 7.2vw, 34px); margin-top: 14px; }
.hl { background: none; color: var(--blue-d); position: relative; z-index: 0; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .18em;
  background: var(--yellow); border-radius: 4px; z-index: -1;
}
.uno-word {
  display: inline-block; color: #fff; background: var(--red-d);
  padding: 0 .28em; border-radius: 12px; transform: rotate(-3deg);
  box-shadow: 0 4px 0 var(--black);
}

/* Leque de cartas */
.fan {
  position: relative; width: 100%; max-width: 420px;
  aspect-ratio: 1 / .9;
  margin: 40px auto 10px;
}
.fan__pdf {
  position: absolute; width: 50%; left: 25%; top: 0;
  transform: rotate(4deg);
  border-radius: 6px; box-shadow: 0 10px 24px rgba(43, 47, 58, .18);
  animation: fade-up .6s ease-out both;
}
.fan__card {
  position: absolute; width: 35%; left: var(--x); top: calc(28% + var(--y));
  filter: drop-shadow(0 10px 14px rgba(43, 47, 58, .22));
  transform-origin: 50% 120%;
  transform: rotate(var(--r));
  animation: deal .7s cubic-bezier(.2, .9, .3, 1.2) both;
  animation-delay: calc(.15s + var(--i) * .12s);
}
@keyframes deal {
  from { opacity: 0; transform: translateY(40%) rotate(calc(var(--r) - 60deg)) scale(.7); }
  to   { opacity: 1; transform: rotate(var(--r)); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px) rotate(4deg); }
  to   { opacity: 1; transform: rotate(4deg); }
}

/* Preço */
.price { display: flex; flex-direction: column; align-items: center; margin: 8px 0 14px; }
.price__old { color: var(--muted); font-size: 16px; }
.price__old s { text-decoration-color: var(--red-d); text-decoration-thickness: 2px; }
.price__new { font-family: var(--font-title); font-size: 20px; color: var(--ink); }
.price__new strong { font-size: 48px; color: var(--buy); letter-spacing: -.01em; }

/* ---------- Botão de compra ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; width: 100%; max-width: 420px;
  padding: 14px 14px;
  border-radius: 999px; border: 0;
  font: 700 clamp(15px, 4.4vw, 18px)/1.2 var(--font-body); letter-spacing: .01em; white-space: nowrap;
  text-decoration: none; text-align: center; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn--buy {
  background: var(--buy); color: #fff;
  box-shadow: 0 5px 0 var(--buy-edge), 0 10px 22px rgba(47, 158, 68, .35);
  transition: transform .15s ease, box-shadow .15s ease;
  animation: pulse 2.4s ease-in-out infinite;
}
.btn--buy:hover { background: var(--buy-hover); }
.btn--buy:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--buy-edge); animation: none; }
.btn--buy:focus-visible { outline-color: var(--black); outline-offset: 4px; }
.is-expired .btn--buy { white-space: normal; background: var(--ink); box-shadow: 0 5px 0 var(--black); animation: none; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}
.microcopy { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- 3. Cronômetro ---------- */
.timer-block { padding: 28px 20px; text-align: center; background: var(--paper); }
.timer-block__title { font-size: 20px; margin: 12px 0 14px; }
.badge-bf {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--black); color: var(--yellow);
  font: 700 12px/1 var(--font-body); letter-spacing: .08em;
  padding: 8px 12px; border-radius: 999px; transform: rotate(-2deg);
}
.badge-bf span { background: var(--yellow); color: var(--black); padding: 4px 8px; border-radius: 999px; }
.countdown { display: flex; justify-content: center; align-items: flex-start; gap: 6px; }
.countdown__box {
  display: flex; flex-direction: column; align-items: center;
  min-width: 78px; padding: 10px 6px 8px;
  background: var(--black); color: #fff; border-radius: 16px;
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, .08);
}
.countdown__box span { font: 700 38px/1 var(--font-title); font-variant-numeric: tabular-nums; }
.countdown__box small { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); margin-top: 4px; }
.countdown__sep { font: 700 34px/1 var(--font-title); padding-top: 12px; color: var(--ink); }
.countdown--sm { margin: 4px 0 20px; }
.countdown--sm .countdown__box { min-width: 64px; padding: 8px 4px 6px; border-radius: 14px; }
.countdown--sm .countdown__box span { font-size: 28px; }
.countdown--sm .countdown__sep { font-size: 26px; padding-top: 8px; }

/* ---------- Seções ---------- */
.section { padding: 40px 20px; max-width: 960px; margin: 0 auto; }
.section--tint { background: var(--tint); max-width: none; }
.section--tint > * { max-width: 920px; margin-left: auto; margin-right: auto; }
.section__title { font-size: 28px; text-align: center; margin-bottom: 24px; }
.section__title::after {
  content: ""; display: block; width: 72px; height: 8px; margin: 10px auto 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--blue) 0 25%, var(--red) 25% 50%, var(--green) 50% 75%, var(--yellow) 75%);
}

/* ---------- 4. Como funciona ---------- */
.steps { display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px;
  background: var(--paper); border-radius: var(--radius); padding: 10px 16px 10px 10px;
  box-shadow: var(--shadow); border-left: 8px solid var(--c);
}
.step--blue { --c: var(--blue); --cd: var(--blue-d); }
.step--green { --c: var(--green); --cd: var(--green-d); }
.step--red { --c: var(--red); --cd: var(--red-d); }
.step img { border-radius: 16px; }
.step p { font: 700 18px/1.25 var(--font-title); }
.step small { display: block; margin-top: 4px; font: 400 13px/1.4 var(--font-body); color: var(--muted); }
.step b {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 6px;
  background: var(--cd); color: #fff; border-radius: 50%; font-size: 16px;
}

/* ---------- 5. Carrossel ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 20px 18px; margin: 0 -20px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item {
  flex: 0 0 62%; scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.carousel__item--wide { flex-basis: 86%; }
.carousel__item img {
  filter: drop-shadow(0 8px 12px rgba(43, 47, 58, .18));
  transform: rotate(-2deg); transition: transform .3s ease;
}
.carousel__item:nth-child(even) img { transform: rotate(2deg); }
.carousel__item p { margin-top: 12px; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.dot--blue { background: var(--blue); } .dot--red { background: var(--red); }
.dot--green { background: var(--green); } .dot--yellow { background: var(--yellow); }
.dot--ink { background: var(--ink); }
.carousel__nav { display: flex; justify-content: center; gap: 14px; }
.carousel__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink);
  background: var(--paper); color: var(--ink); font: 700 26px/1 var(--font-body); cursor: pointer;
  display: grid; place-items: center; padding-bottom: 4px;
}
.carousel__btn:hover { background: var(--yellow); }

/* ---------- 6. O que você recebe ---------- */
.items { display: grid; gap: 14px; }
.item {
  display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 14px;
  background: var(--paper); border-radius: var(--radius); padding: 12px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.item::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--c); }
.item--blue { --c: var(--blue); } .item--green { --c: var(--green); } .item--red { --c: var(--red); }
.item--yellow { --c: var(--yellow); } .item--ink { --c: var(--ink); }
.item img { width: 76px; height: 76px; object-fit: contain; margin-left: 6px; }
.item--yellow img { object-fit: cover; object-position: top; border-radius: 10px; box-shadow: var(--shadow); }
.item h3 { font-size: 18px; }
.item p { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ---------- 7. Para quem é ---------- */
.audience { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; text-align: center; margin: 0 -8px; }
.audience li { font-size: 11.5px; font-weight: 700; line-height: 1.2; display: flex; flex-direction: column; align-items: center; gap: 8px; hyphens: manual; overflow-wrap: anywhere; }
.ic {
  width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center;
  background: var(--c); transform: rotate(-4deg); box-shadow: var(--shadow);
}
.audience li:nth-child(even) .ic { transform: rotate(4deg); }
.ic svg { width: 28px; height: 28px; fill: none; stroke: var(--s, #fff); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--blue { --c: var(--blue-d); } .ic--red { --c: var(--red-d); } .ic--green { --c: var(--green-d); }
.ic--yellow { --c: var(--yellow); --s: var(--ink); } .ic--ink { --c: var(--ink); }

/* ---------- 8. Prova social ---------- */
.proof { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 16px; margin: 0 -20px; scrollbar-width: none; }
.proof::-webkit-scrollbar { display: none; }
.proof li { flex: 0 0 58%; scroll-snap-align: center; }
.proof img { border-radius: 22px; box-shadow: var(--shadow); }

/* ---------- 9. Oferta final ---------- */
.offer { padding: 40px 16px; background: var(--tint); }
.offer__box {
  max-width: 480px; margin: 0 auto; text-align: center;
  background: var(--paper); border-radius: var(--radius-lg); padding: 26px 16px 24px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--ink);
  position: relative;
}
.offer__box::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: -4px; height: 8px; border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--blue) 0 25%, var(--red) 25% 50%, var(--green) 50% 75%, var(--yellow) 75%);
}
.offer__title { font-size: 28px; margin: 14px 0 16px; }
.checklist { text-align: left; display: grid; gap: 10px; margin: 0 auto 18px; max-width: 320px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checklist li::before {
  content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: var(--buy); color: #fff;
}
.price--center { margin-top: 4px; }

/* ---------- 10. Garantia ---------- */
.offer__after {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  max-width: 480px; margin: 18px auto 0;
  font: 700 18px/1.3 var(--font-title); color: var(--ink); text-align: center;
}
.offer__after svg { flex: 0 0 28px; width: 28px; height: 28px; fill: none; stroke: var(--blue-d); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.guarantee {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 480px; width: calc(100% - 32px); margin: 64px auto 0; padding: 62px 22px 24px;
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 4px solid var(--yellow); position: relative;
}
.guarantee__seal {
  position: absolute; top: -52px; left: 50%; transform: translateX(-50%) rotate(-6deg);
  width: 104px; height: 104px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--black);
  border: 4px dashed var(--black); box-shadow: 0 0 0 6px var(--paper), var(--shadow);
}
.guarantee__seal b { font: 700 40px/1 var(--font-title); }
.guarantee__seal small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.guarantee__eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green-d); }
.guarantee__title { font-size: 26px; margin-top: 4px; }
.guarantee__text { font-size: 16px; color: var(--ink); margin-top: 8px; max-width: 340px; }

/* ---------- 11. FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 640px; margin: 0 auto; }
.faq details { background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 14px 52px 14px 18px; position: relative;
  font-weight: 700; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--black); font-size: 20px; line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline-offset: -3px; }
.faq details p { padding: 0 18px 16px; color: var(--muted); font-size: 15px; }

/* ---------- 12. Rodapé ---------- */
.footer { text-align: center; padding: 36px 20px 120px; background: var(--tint); margin-top: 24px; border-top: 8px solid; border-image: linear-gradient(90deg, var(--blue) 0 25%, var(--red) 25% 50%, var(--green) 50% 75%, var(--yellow) 75%) 1; }
.footer .logo { margin: 0 auto 16px; }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 16px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font-weight: 700; color: var(--ink); }
.footer__legal { font-size: 12px; color: var(--muted); max-width: 420px; margin: 0 auto 8px; }
.footer__copy { font-size: 12px; color: var(--muted); }

/* ---------- 13. Botão fixo no celular ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 244, 238, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 -6px 18px rgba(43, 47, 58, .12);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: none; }
.btn--sticky { max-width: none; min-height: 52px; font-size: 16px; animation: none; }

/* ---------- Telas maiores ---------- */
@media (min-width: 768px) {
  .sticky-cta { display: none; }
  .footer { padding-bottom: 36px; }
  .hero { max-width: 640px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; text-align: center; padding: 14px; border-left: 0; border-top: 8px solid var(--c); }
  .step img { width: 100%; }
  .items { grid-template-columns: repeat(2, 1fr); }
  .carousel__item { flex-basis: 30%; }
  .carousel__item--wide { flex-basis: 48%; }
  .proof { justify-content: center; }
  .proof li { flex-basis: 28%; }
  .audience li { font-size: 14px; }
  .ic { width: 64px; height: 64px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
