/* =============================================================
   Kit Redação Reta Final ENEM 2026 — página de vendas
   Mobile-first. Cores e medidas nas variáveis abaixo.
   ============================================================= */

/* Fonte de reserva com as medidas da Poppins: evita que o texto "pule"
   quando a Poppins termina de carregar. */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial"), local("Helvetica"), local("Roboto");
  size-adjust: 112.1%;
  ascent-override: 93.62%;
  descent-override: 31.21%;
  line-gap-override: 8.92%;
}

:root {
  --azul-escuro: #132566;
  --azul-noite: #0d1a4a;
  --azul: #2f5be0;
  --azul-claro: #eef2ff;
  --amarelo: #facc15;
  --amarelo-hover: #fde047;
  --amarelo-sombra: #c99a06;
  --branco: #ffffff;
  --cinza: #f5f7fb;
  --borda: #e3e8f2;
  --texto: #1b2340;
  --texto-suave: #4a5472;
  --texto-claro: #d6defa;
  --vermelho: #ef4444;
  --vermelho-texto: #dc2626; /* vermelho um pouco mais escuro para fundo de texto branco (contraste AA) */
  --verde: #16a34a;

  --fonte: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --raio: 16px;
  --raio-grande: 24px;
  --sombra: 0 10px 30px rgba(19, 37, 102, 0.08);
  --sombra-forte: 0 24px 60px rgba(13, 26, 74, 0.28);
  --gutter: 16px;
  --topbar-altura: 44px;

  --fs-h1: clamp(1.55rem, 0.95rem + 2.7vw, 3rem);
  --fs-h2: clamp(1.5rem, 1.1rem + 1.9vw, 2.4rem);
  --fs-h3: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  --fs-lead: clamp(0.95rem, 0.9rem + 0.35vw, 1.15rem);
  --secao-espaco: clamp(56px, 8vw, 104px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: var(--fs-h2);
  color: var(--azul-escuro);
}

h3 {
  font-size: var(--fs-h3);
  color: var(--azul-escuro);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--azul);
}

:where(ul[role="list"], ol[role="list"]) {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

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

.icone {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.icone--verde {
  color: var(--verde);
}

.icone--vermelho {
  color: var(--vermelho);
}

.amarelo,
.destaque {
  color: var(--amarelo);
}

.container {
  width: min(100% - 2 * var(--gutter), 1160px);
  margin-inline: auto;
}

.container--estreito {
  width: min(100% - 2 * var(--gutter), 820px);
}

.pular-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--amarelo);
  color: var(--azul-escuro);
  font-weight: 700;
  text-decoration: none;
}

.pular-link:focus {
  top: 8px;
}

section[id] {
  scroll-margin-top: calc(var(--topbar-altura) + 8px);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn--comprar {
  width: 100%;
  padding-inline: 16px;
  font-size: clamp(0.98rem, 0.9rem + 0.4vw, 1.1rem);
  background: var(--amarelo);
  color: var(--azul-escuro);
  box-shadow: 0 4px 0 var(--amarelo-sombra), 0 12px 28px rgba(13, 26, 74, 0.25);
}

.btn--comprar:hover {
  background: var(--amarelo-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--amarelo-sombra), 0 16px 32px rgba(13, 26, 74, 0.28);
}

.btn--comprar:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--amarelo-sombra), 0 6px 14px rgba(13, 26, 74, 0.2);
}

.btn--grande {
  min-height: 64px;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
}

.btn--curto {
  width: auto;
  padding: 12px 22px;
  white-space: nowrap;
}

@media (min-width: 600px) {
  .btn--comprar {
    width: auto;
    padding-inline: 32px;
  }
}

/* ---------- 1. Barra superior ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--topbar-altura);
  padding: 8px var(--gutter);
  background: var(--azul-noite);
  color: var(--branco);
  font-size: 0.8125rem;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.topbar strong {
  color: var(--amarelo);
  font-weight: 700;
}

.topbar__seta {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--amarelo);
}

.topbar:hover .topbar__texto {
  text-decoration: underline;
}

.topbar:focus-visible {
  outline-color: var(--amarelo);
  outline-offset: -3px;
}

@media (min-width: 768px) {
  .topbar {
    font-size: 0.9rem;
  }
}

/* ---------- 2. Banner + Hero ---------- */
.hero {
  padding: 12px 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
  background: linear-gradient(165deg, var(--azul-escuro) 0%, #1a3191 62%, #2448c2 100%);
  color: var(--branco);
}

.hero :focus-visible {
  outline-color: var(--amarelo);
}

.banner {
  margin-bottom: clamp(20px, 3vw, 40px);
}

.banner__img {
  display: none;
}

.banner__img img {
  width: 100%;
  border-radius: var(--raio);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.banner__html {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--raio);
  background: linear-gradient(120deg, #1d39a8 0%, var(--azul) 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.banner__titulo {
  margin: 0;
  font-size: clamp(1.3rem, 0.6rem + 3.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.banner__titulo span {
  display: block;
}

.calendario {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 78px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--branco);
  color: var(--azul-escuro);
  text-align: center;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.calendario__topo {
  padding: 5px 2px;
  background: var(--vermelho-texto);
  color: var(--branco);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calendario__dia {
  padding-top: 4px;
  font-size: 2.1rem;
}

.calendario__mes {
  padding: 2px 2px 7px;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (min-width: 601px) {
  .etiqueta {
    display: inline-block;
  }

  .banner__img {
    display: block;
  }

  .banner__html {
    display: none;
  }
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.etiqueta {
  display: none;
  margin-bottom: 10px;
  padding: 4px 12px;
  border: 1px solid rgba(250, 204, 21, 0.5);
  border-radius: 999px;
  color: var(--amarelo);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: var(--fs-h1);
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero__sub {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--texto-claro);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.beneficios {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.beneficios li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.beneficios .icone {
  margin-top: 1px;
  color: var(--amarelo);
}

.hero__cta {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.preco-chamada {
  margin: 0;
  color: var(--texto-claro);
  font-size: 0.95rem;
}

.preco-chamada strong {
  color: var(--amarelo);
  font-size: 1.45rem;
  font-weight: 700;
  white-space: nowrap;
}

.preco-chamada__obs {
  font-size: 0.85rem;
  white-space: nowrap;
}

.aviso-fase {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--amarelo);
  color: var(--azul-escuro);
  font-size: 0.95rem;
  line-height: 1.4;
}

.confianca {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--texto-claro);
  font-size: 0.8125rem;
}

.confianca li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.confianca .icone {
  color: var(--amarelo);
}

.confianca--escura {
  justify-content: center;
  margin-top: 16px;
  color: var(--texto-suave);
}

.confianca--escura .icone {
  color: var(--verde);
}

.hero__capa {
  justify-self: center;
  width: min(78%, 300px);
  text-align: center;
}

.hero__capa img {
  border-radius: 12px;
  box-shadow: var(--sombra-forte), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(-3deg);
}

.hero__capa-legenda {
  margin-top: 22px;
  color: var(--texto-claro);
  font-size: 0.8125rem;
}

@media (min-width: 960px) {
  .hero {
    padding-top: 24px;
  }

  .hero__grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 56px;
  }

  .hero__capa {
    width: 100%;
    max-width: 360px;
  }

  .beneficios li {
    font-size: 1.02rem;
  }
}

/* ---------- Seções gerais ---------- */
.secao {
  padding: var(--secao-espaco) 0;
}

.secao--alt {
  background: var(--cinza);
}

.sobretitulo {
  margin-bottom: 8px;
  color: var(--azul);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.secao__intro {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--texto-suave);
  font-size: var(--fs-lead);
}

.cartao {
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--borda);
  border-radius: var(--raio-grande);
  background: var(--branco);
  box-shadow: var(--sombra);
}

.cartao h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.cartao--alerta {
  border-top: 4px solid var(--vermelho);
}

.nota {
  margin-top: 18px;
  color: var(--texto-suave);
  font-size: 0.95rem;
}

.nota--forte {
  padding: 14px 16px;
  border-left: 4px solid var(--azul);
  border-radius: 12px;
  background: var(--azul-claro);
  color: var(--azul-escuro);
  font-weight: 500;
}

.cta-linha {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 40px;
  text-align: center;
}

.cta-linha__preco {
  color: var(--texto-suave);
  font-size: 0.875rem;
}

.cta-linha__preco [data-price] {
  color: var(--azul-escuro);
  font-weight: 700;
}

/* Listas com ícones (check verde / x vermelho) */
.lista-check li,
.lista-x li,
.lista-dor li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.lista-check li:last-child,
.lista-x li:last-child,
.lista-dor li:last-child {
  margin-bottom: 0;
}

.lista-check li::before,
.lista-x li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
}

.lista-check li::before {
  background-color: var(--verde);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.lista-x li::before {
  background-color: #fde8e8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23dc2626' stroke-width='3.2' stroke-linecap='round' d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
}

.lista-dor li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--azul);
}

/* ---------- 3. Problema ---------- */
.fatos {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.fato {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--branco);
}

.fato__numero {
  flex-shrink: 0;
  min-width: 92px;
  margin: 0;
  color: var(--azul);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.fato__texto {
  margin: 0;
  color: var(--texto-suave);
  font-size: 0.92rem;
  line-height: 1.4;
}

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

@media (min-width: 700px) {
  .fatos {
    grid-template-columns: repeat(3, 1fr);
  }

  .fato {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .fato__numero {
    font-size: 2rem;
  }
}

@media (min-width: 860px) {
  .problema__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 4. Solução (trilha) ---------- */
.trilha {
  display: grid;
  gap: 18px;
}

.trilha__passo {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
}

.trilha__passo:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 48px;
  bottom: -16px;
  width: 2px;
  background: var(--borda);
}

.trilha__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--branco);
  font-weight: 700;
}

.trilha__passo h3 {
  margin: 8px 0 4px;
}

.trilha__passo p {
  color: var(--texto-suave);
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .trilha {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  .trilha__passo {
    display: block;
  }

  .trilha__passo:not(:last-child)::before {
    left: 54px;
    right: -10px;
    top: 21px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .trilha__passo h3 {
    margin-top: 16px;
  }
}

/* ---------- 5. O que tem dentro ---------- */
.numeros {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 32px;
}

.numeros li {
  padding: 8px 14px;
  border: 1px solid var(--borda);
  border-radius: 999px;
  background: var(--branco);
  color: var(--texto-suave);
  font-size: 0.875rem;
}

.numeros strong {
  color: var(--azul-escuro);
  font-size: 1.05rem;
}

.partes {
  display: grid;
  gap: 14px;
}

.parte {
  padding: 20px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--branco);
  box-shadow: var(--sombra);
}

.parte__num {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--amarelo);
  color: var(--azul-escuro);
  font-size: 0.8rem;
  font-weight: 700;
}

.parte h3 {
  margin: 10px 0 6px;
}

.parte p {
  color: var(--texto-suave);
  font-size: 0.93rem;
  line-height: 1.5;
}

@media (min-width: 600px) {
  .partes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .partes {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.faixa-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--azul-claro);
  color: var(--azul-escuro);
}

.faixa-info .icone {
  margin-top: 2px;
  color: var(--verde);
}

/* Galeria de prints */
.galeria__titulo {
  margin-top: 56px;
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem);
}

.galeria__dica {
  color: var(--texto-suave);
  font-size: 0.9rem;
}

.galeria {
  --g-altura: 420px;
  position: relative;
  margin-top: 12px;
}

.galeria__trilho {
  display: flex;
  gap: 16px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 8px var(--gutter) 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--azul) transparent;
}

.galeria__trilho:focus-visible {
  outline-offset: -3px;
}

.galeria__item {
  flex: 0 0 auto;
  width: calc(var(--g-altura) * 1075 / 1521);
  scroll-snap-align: start;
}

.galeria__item figure {
  margin: 0;
}

.galeria__link {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--borda);
  border-radius: 12px;
  background: var(--branco);
  box-shadow: 0 8px 22px rgba(19, 37, 102, 0.12);
}

.galeria__link img {
  width: 100%;
  transition: transform 0.3s ease;
}

.galeria__link:hover img {
  transform: scale(1.02);
}

.galeria__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--azul-escuro);
  color: var(--branco);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.galeria__zoom svg {
  width: 22px;
  height: 22px;
}

.galeria__item figcaption {
  margin-top: 10px;
  color: var(--texto);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.galeria__nav {
  display: none;
}

@media (min-width: 768px) {
  .galeria {
    --g-altura: 460px;
  }

  .galeria__trilho {
    margin-inline: 0;
    padding-inline: 4px;
    scroll-padding-inline: 4px;
  }

  .galeria__nav {
    position: absolute;
    top: calc(var(--g-altura) / 2 - 16px);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--borda);
    border-radius: 50%;
    background: var(--branco);
    color: var(--azul-escuro);
    box-shadow: 0 8px 20px rgba(19, 37, 102, 0.18);
    cursor: pointer;
  }

  .galeria__nav:hover {
    background: var(--amarelo);
  }

  .galeria__nav svg {
    width: 22px;
    height: 22px;
  }

  .galeria__nav--ant {
    left: -10px;
  }

  .galeria__nav--ant svg {
    transform: rotate(180deg);
  }

  .galeria__nav--prox {
    right: -10px;
  }
}

/* ---------- 6. Como funciona ---------- */
.passos {
  display: grid;
  gap: 16px;
}

.passo {
  padding: 24px;
  border: 1px solid var(--borda);
  border-radius: var(--raio-grande);
  background: var(--branco);
  box-shadow: var(--sombra);
}

.passo__icone {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: var(--azul-claro);
  color: var(--azul);
}

.passo__icone svg {
  width: 28px;
  height: 28px;
}

.passo__num {
  color: var(--azul);
}

.passo p {
  color: var(--texto-suave);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .passos {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ---------- 7. Para quem é ---------- */
.duas-colunas {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .duas-colunas {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 8. Adicionais ---------- */
.adicionais {
  display: grid;
  gap: 20px;
}

.adicional {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--borda);
  border-radius: var(--raio-grande);
  background: var(--branco);
  box-shadow: var(--sombra);
}

.adicional > img {
  width: 100%;
  max-width: 340px;
  border-radius: 14px;
}

.adicional__texto p {
  color: var(--texto-suave);
  font-size: 0.95rem;
}

.adicional__prints {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.adicional__prints img {
  border: 1px solid var(--borda);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(19, 37, 102, 0.12);
}

@media (min-width: 860px) {
  .adicionais {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .adicional {
    grid-template-columns: 200px 1fr;
    align-items: start;
  }
}

/* ---------- 9. Depoimentos ---------- */
.depoimentos {
  display: grid;
  gap: 16px;
}

.depoimento {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--branco);
  box-shadow: var(--sombra);
}

.depoimento blockquote {
  margin: 0 0 14px;
  color: var(--texto);
}

.depoimento figcaption {
  color: var(--azul-escuro);
  font-size: 0.9rem;
  font-weight: 600;
}

.depoimento__detalhe {
  display: block;
  color: var(--texto-suave);
  font-weight: 400;
}

@media (min-width: 768px) {
  .depoimentos {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

/* ---------- 10. Garantia ---------- */
.garantia {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 40px);
  border: 2px dashed #c7d2f5;
  border-radius: var(--raio-grande);
  text-align: center;
}

.selo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border: 6px solid var(--amarelo);
  border-radius: 50%;
  background: var(--azul-escuro);
  color: var(--branco);
  box-shadow: 0 0 0 6px var(--azul-claro), var(--sombra);
  line-height: 1;
}

.selo__escudo {
  width: 28px;
  height: 28px;
  color: var(--amarelo);
}

.selo__dias {
  margin-top: 4px;
  font-size: 2.6rem;
  font-weight: 700;
}

.selo__texto {
  max-width: 90px;
  margin-top: 4px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.garantia__texto p {
  color: var(--texto-suave);
}

@media (min-width: 700px) {
  .garantia {
    flex-direction: row;
    gap: 36px;
    text-align: left;
  }
}

/* ---------- 11. Oferta ---------- */
.secao--oferta {
  background: linear-gradient(165deg, var(--azul-escuro) 0%, #1a3191 70%, #2448c2 100%);
}

.oferta {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(20px, 5vw, 44px);
  border: 3px solid var(--amarelo);
  border-radius: var(--raio-grande);
  background: var(--branco);
  box-shadow: var(--sombra-forte);
}

.oferta__topo {
  display: grid;
  gap: 16px;
  justify-items: center;
  margin-bottom: 24px;
  text-align: center;
}

.oferta__topo img {
  width: 100%;
  max-width: 240px;
  border-radius: 14px;
}

.oferta__topo h2 {
  margin-bottom: 6px;
}

.oferta__formato {
  color: var(--texto-suave);
  font-size: 0.9rem;
}

.oferta__lista {
  display: grid;
  gap: 12px;
}

.oferta__lista li {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.oferta__preco {
  margin: 28px 0 20px;
  padding: 20px 16px;
  border-radius: var(--raio);
  background: var(--cinza);
  text-align: center;
}

.oferta__de {
  margin-bottom: 4px;
  color: var(--texto-suave);
}

.oferta__valor {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 12px;
  margin: 0;
}

.oferta__numero {
  color: var(--azul-escuro);
  font-size: clamp(2.6rem, 2rem + 3vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.oferta__pagamento {
  color: var(--texto-suave);
  font-size: 1rem;
  font-weight: 500;
}

.oferta__parcelas {
  margin: 6px 0 0;
  color: var(--texto-suave);
}

.oferta__dia {
  margin: 8px 0 0;
  color: var(--azul);
  font-weight: 600;
}

.oferta .btn--comprar {
  width: 100%;
}

.oferta__extra {
  margin-top: 16px;
  color: var(--texto-suave);
  font-size: 0.85rem;
  text-align: center;
}

@media (min-width: 640px) {
  .oferta__topo {
    grid-template-columns: 200px 1fr;
    align-items: center;
    text-align: left;
  }

  .oferta__lista {
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
  }
}

/* ---------- 12. FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--borda);
  border-radius: 14px;
  background: var(--branco);
}

.faq__pergunta {
  margin: 0;
  font-size: 1rem;
}

.faq__pergunta button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  border: 0;
  border-radius: 14px;
  background: none;
  color: var(--azul-escuro);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.faq__pergunta button:hover {
  color: var(--azul);
}

.faq__pergunta svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--azul);
  transition: transform 0.2s ease;
}

.faq__pergunta button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq__resposta {
  padding: 0 20px 18px;
  color: var(--texto-suave);
}

/* ---------- 13. CTA final ---------- */
.cta-final {
  background: linear-gradient(165deg, var(--azul-escuro) 0%, #1a3191 100%);
  color: var(--branco);
  text-align: center;
}

.cta-final h2 {
  color: var(--branco);
}

.cta-final__texto {
  margin-bottom: 28px;
  color: var(--texto-claro);
  font-size: var(--fs-lead);
}

.cta-final__texto strong {
  color: var(--amarelo);
}

.cta-final__preco {
  margin-top: 14px;
  color: var(--texto-claro);
  font-size: 0.9rem;
}

.cta-final :focus-visible,
.secao--oferta :focus-visible {
  outline-color: var(--amarelo);
}

.oferta :focus-visible {
  outline-color: var(--azul);
}

/* ---------- 14. Rodapé ---------- */
.rodape {
  padding: 40px 0;
  background: var(--azul-noite);
  color: var(--texto-claro);
  font-size: 0.875rem;
}

.rodape__marca {
  color: var(--branco);
  font-weight: 700;
}

.rodape__aviso {
  max-width: 720px;
}

.rodape__contato {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 16px;
}

.rodape__contato li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rodape a {
  color: var(--branco);
}

.rodape :focus-visible {
  outline-color: var(--amarelo);
}

.rodape__direitos {
  color: #aab6e0;
  font-size: 0.8125rem;
}

/* ---------- 15. Barra de compra fixa (celular) ---------- */
.barra-compra {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--branco);
  box-shadow: 0 -8px 24px rgba(19, 37, 102, 0.16);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s ease;
}

.barra-compra.is-visivel {
  transform: none;
  visibility: visible;
}

.barra-compra__preco {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--azul-escuro);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
}

.barra-compra__obs {
  color: var(--texto-suave);
  font-size: 0.75rem;
  font-weight: 500;
}

.barra-compra .btn--curto {
  flex: 1 1 auto;
  max-width: 220px;
}

@media (max-width: 767px) {
  .rodape {
    padding-bottom: calc(40px + 88px);
  }
}

@media (min-width: 768px) {
  .barra-compra {
    display: none;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 12px 84px;
  background: rgba(8, 14, 40, 0.94);
}

.lightbox__conteudo {
  display: flex;
  max-width: 100%;
  max-height: 100%;
}

.lightbox__figura {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  max-height: 100%;
}

.lightbox__figura img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  border-radius: 8px;
  background: var(--branco);
}

.lightbox.is-carregando .lightbox__figura img {
  visibility: hidden;
}

.lightbox__figura figcaption {
  margin-top: 12px;
  color: var(--branco);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}

.lightbox__btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--branco);
  color: var(--azul-escuro);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.lightbox__btn:hover {
  background: var(--amarelo);
}

.lightbox__btn:focus-visible {
  outline-color: var(--amarelo);
}

.lightbox__btn svg {
  width: 24px;
  height: 24px;
}

.lightbox__fechar {
  top: 10px;
  right: 12px;
}

.lightbox__ant,
.lightbox__prox {
  bottom: 16px;
}

.lightbox__ant {
  left: 16px;
}

.lightbox__ant svg {
  transform: rotate(180deg);
}

.lightbox__prox {
  right: 16px;
}

@media (min-width: 768px) {
  .lightbox {
    padding: 40px 88px;
  }

  .lightbox__figura img {
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
  }

  .lightbox__ant,
  .lightbox__prox {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .lightbox__fechar {
    top: 20px;
    right: 24px;
  }

  .lightbox__ant {
    left: 24px;
  }

  .lightbox__prox {
    right: 24px;
  }
}

body.sem-rolagem {
  overflow: hidden;
}

/* ---------- Revelar ao rolar (só com JS ativo) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visivel {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .galeria__link img,
  .faq__pergunta svg,
  .barra-compra {
    transition: none;
  }

  .btn--comprar:hover,
  .btn--comprar:active,
  .galeria__link:hover img {
    transform: none;
  }
}

/* O atributo hidden sempre vence (o :not(#_) só aumenta a especificidade). */
[hidden]:not(#_) {
  display: none;
}
