/* =========================================================================
   RetaPrep — estilos da página de vendas
   Direção: confiança acadêmica, clareza, acabamento editorial.
   ========================================================================= */

:root {
  /* Paleta da marca */
  --azul: #102B46;
  --verde: #1F6B5C;
  --verde-escuro: #185548;
  --fundo: #F7F5EF;
  --branco: #FFFFFF;
  --texto: #263544;
  --texto-sec: #5A6875;
  --bordas: #DFE5E8;

  /* Oferta indisponível */
  --off-fundo: #F0F2F3;
  --off-texto: #697580;
  --off-bordas: #D5DCE1;

  /* Tipografia */
  --fonte-titulo: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --fonte-corpo: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  /* Formas e sombras */
  --raio: 18px;
  --raio-sm: 12px;
  --sombra: 0 1px 2px rgba(16, 43, 70, .04), 0 8px 24px rgba(16, 43, 70, .06);
  --sombra-forte: 0 2px 4px rgba(16, 43, 70, .06), 0 16px 40px rgba(16, 43, 70, .12);

  /* Layout */
  --maxw: 1140px;
  --maxw-narrow: 760px;
  --gutter: 20px;
  --topbar-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fonte-corpo);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, picture { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  color: var(--azul);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}

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

a { color: var(--verde); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--azul);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ----------------------------- Layout ----------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: var(--maxw-narrow); }

.section {
  padding: clamp(52px, 8vw, 92px) 0;
  border-top: 1px solid transparent;
}
.section--alt { background: linear-gradient(180deg, rgba(16,43,70,.025), rgba(16,43,70,.015)); }

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 52px);
  text-align: center;
}
.section__head h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); font-weight: 750; }
.section__lead { color: var(--texto-sec); font-size: 1.08rem; }

.section__cta { text-align: center; margin-top: clamp(28px, 4vw, 44px); }

.eyebrow {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 1rem;
}

/* ----------------------------- Botões ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 13px 26px;
  background: var(--verde);
  color: #fff;
  font-family: var(--fonte-corpo);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 16px rgba(31, 107, 92, .22);
}
.btn:hover { background: var(--verde-escuro); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 54px; padding: 16px 34px; font-size: 1.08rem; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; box-shadow: none; }
.btn--block { display: flex; width: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--azul);
  border-color: var(--bordas);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(16,43,70,.04); border-color: #c7d0d5; }

.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--off-fundo);
  color: var(--off-texto);
  border-color: var(--off-bordas);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ----------------------------- Cartões base ----------------------------- */
.card {
  background: var(--branco);
  border: 1px solid var(--bordas);
  border-radius: var(--raio);
  padding: 26px;
  box-shadow: var(--sombra);
}

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ----------------------------- Barra superior ----------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-h);
  background: rgba(247, 245, 239, .88);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--bordas);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.topbar__logo { display: inline-flex; }
.topbar__logo img { height: 30px; width: auto; }
.topbar__nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.topbar__nav a {
  color: var(--texto);
  font-weight: 500;
  font-size: .98rem;
  padding: 6px 2px;
}
.topbar__nav a:hover { color: var(--verde); text-decoration: none; }
.topbar__cta { margin-left: 8px; }

/* ----------------------------- 1. Hero ----------------------------- */
.hero {
  padding: clamp(32px, 6vw, 72px) 0 clamp(44px, 7vw, 84px);
  background:
    radial-gradient(1100px 440px at 78% -8%, rgba(31,107,92,.08), transparent 60%),
    var(--fundo);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero__sub {
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  color: var(--texto-sec);
  margin: 1.1rem 0 1.6rem;
}
.hero__actions { margin-bottom: 1rem; }
.hero__line { font-weight: 600; color: var(--azul); margin-bottom: 1.2rem; }
.hero__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--azul);
  background: var(--branco);
  border: 1px solid var(--bordas);
  border-radius: 999px;
  padding: 8px 14px;
}
.hero__chips li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--verde);
  flex: none;
}
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--raio);
  box-shadow: var(--sombra-forte);
  border: 1px solid rgba(16,43,70,.06);
}

/* ----------------------------- 2. Receber (features) ----------------------------- */
.feature__icon {
  display: inline-flex;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(31,107,92,.1);
  color: var(--verde);
  margin-bottom: 14px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.16rem; }
.feature p { color: var(--texto-sec); margin: 0; }
.feature--note {
  background: var(--azul);
  border-color: var(--azul);
}
.feature--note h3 { color: #fff; }
.feature--note p { color: #c7d3dd; }

/* ----------------------------- 3. Benefícios ----------------------------- */
.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
}
.benefit {
  position: relative;
  padding: 20px 0 20px 44px;
  border-bottom: 1px solid var(--bordas);
}
.benefit::before {
  content: "";
  position: absolute;
  left: 2px; top: 22px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(31,107,92,.12);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='m6 12.5 4 4 8-9' stroke='%231F6B5C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}
.benefit h3 { font-size: 1.1rem; margin-bottom: .2em; }
.benefit p { color: var(--texto-sec); margin: 0; }

/* ----------------------------- 4. Bônus ----------------------------- */
.bonus { display: flex; flex-direction: column; }
.bonus__top { margin-bottom: 14px; }
.bonus h3 { font-size: 1.12rem; }
.bonus p { color: var(--texto-sec); }
.tag {
  display: inline-block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--verde);
  background: rgba(31,107,92,.1);
  border-radius: 999px;
  padding: 5px 11px;
}
.tag--alt { color: var(--azul); background: rgba(16,43,70,.08); }
.bonus__price {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.bonus__ref { color: var(--texto-sec); text-decoration: line-through; font-size: .95rem; }
.bonus__incluido { color: var(--verde); font-weight: 700; }
.bonus--summary { background: var(--fundo); border-style: dashed; }
.bonus--summary h3 { font-size: 1.05rem; }
.bonus--summary p { color: var(--texto); margin: 0; }

/* ----------------------------- 5. Ofertas ----------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 28px 24px;
}
.plan--featured {
  border-color: var(--verde);
  box-shadow: 0 2px 4px rgba(31,107,92,.08), 0 18px 44px rgba(31,107,92,.15);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--verde);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(31,107,92,.25);
}
.plan__head h3 { font-size: 1.4rem; margin-bottom: 0; }

/* Hierarquia de preço */
.plan__price {
  margin: 18px 0 20px;
  padding: 16px 0;
  border-top: 1px solid var(--bordas);
  border-bottom: 1px solid var(--bordas);
}
.price__de {
  font-size: .9rem;
  color: var(--texto-sec);
}
.price__de s { text-decoration: line-through; }
.price__parcela {
  display: block;
  font-family: var(--fonte-titulo);
  font-weight: 800;
  color: var(--azul);
  font-size: 1.62rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 2px 0 4px;
}
.price__vista {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--texto);
}
.price__economia {
  display: block;
  margin-top: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--verde);
}
.price__economia svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 4px; }
.price__juros {
  display: block;
  margin-top: 8px;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--texto-sec);
}

.plan__feats {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.plan__feats li {
  position: relative;
  padding-left: 28px;
  font-size: .96rem;
  color: var(--texto);
}
.plan__feats li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='m5 12.5 4 4 10-11' stroke='%231F6B5C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.plan__feats .plan__total {
  font-weight: 700;
  color: var(--azul);
}
.plan__feats .plan__muted { color: var(--texto-sec); }
.plan__feats .plan__muted::before { opacity: .55; }
.plan__cta { margin-top: auto; }
.plan__cta .cta-note {
  display: block;
  margin-top: 8px;
  font-size: .82rem;
  color: var(--texto-sec);
  text-align: center;
}

/* Card de correção (indisponível) */
.plan-correcao {
  margin-top: 22px;
  background: var(--off-fundo);
  border: 1px solid var(--off-bordas);
  border-radius: var(--raio);
  padding: 24px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.plan-correcao__main {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: center;
}
.plan-correcao__info h3 { color: var(--off-texto); font-size: 1.18rem; }
.plan-correcao__info p { color: var(--off-texto); font-size: .96rem; }
.plan-correcao__info ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--off-texto);
  font-size: .92rem;
}
.plan-correcao__info li { margin-bottom: 6px; }
.plan-correcao__aside {
  border-left: 1px solid var(--off-bordas);
  padding-left: 24px;
}
.plan__price--muted { border-color: var(--off-bordas); }
.plan__price--muted .price__parcela,
.plan__price--muted .price__vista { color: var(--off-texto); }
.plan__price--muted .price__de,
.plan__price--muted .price__economia { color: var(--off-texto); }
.plan-correcao__status {
  font-weight: 700;
  color: var(--off-texto);
  font-size: .95rem;
  margin: 2px 0 12px;
}

.offers__meta {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}
.offers__meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .9rem;
  color: var(--texto-sec);
}
.offers__meta li:not(:last-child)::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--bordas);
  margin-left: 9px;
}

/* ----------------------------- 6. Carrossel ----------------------------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; border-radius: var(--raio); }
.carousel__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  transition: transform .4s cubic-bezier(.4,.1,.2,1);
}
.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding: 4px 8px 6px;
}
/* Amostra clicável (páginas verticais, exibidas inteiras). */
.slide-open {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  margin: 0 auto;
  padding: 0;
  width: min(100%, 430px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: zoom-in;
  color: inherit;
  font: inherit;
}
.slide-frame {
  position: relative;
  display: block;
  width: min(100%, 430px);
  aspect-ratio: 1273 / 1800;      /* proporção real da página (A-series) */
  margin: 0 auto;
  background: var(--branco);
  border: 1px solid var(--bordas);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  overflow: hidden;
}
.slide-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.slide-open .slide-frame { width: 100%; }
.slide-open__hint {
  position: absolute;
  left: 50%; bottom: 12px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  background: rgba(16, 43, 70, .86);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(16, 43, 70, .25);
  transition: background-color .15s ease;
}
.slide-open__hint svg { width: 16px; height: 16px; }
.slide-open:hover .slide-frame,
.slide-open:focus-visible .slide-frame { border-color: var(--verde); }
.slide-open:hover .slide-open__hint,
.slide-open:focus-visible .slide-open__hint { background: var(--verde); }
.slide-open__cap {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  color: var(--azul);
  font-size: 1rem;
}
.slide-frame__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--texto-sec);
  background-image: repeating-linear-gradient(135deg, rgba(16,43,70,.03) 0 12px, transparent 12px 24px);
  padding: 40px 20px;
}
.slide-frame__icon { width: 34px; height: 34px; color: var(--verde); opacity: .75; }
.slide-frame__label { font-weight: 700; color: var(--azul); font-family: var(--fonte-titulo); }
.slide-frame__tag {
  font-size: .78rem;
  color: var(--texto-sec);
  background: var(--fundo);
  border: 1px solid var(--bordas);
  border-radius: 999px;
  padding: 4px 12px;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--branco);
  color: var(--azul);
  border: 1px solid var(--bordas);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--sombra);
  transition: background-color .15s ease, transform .15s ease;
  z-index: 2;
}
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn:hover { background: var(--fundo); }
.carousel__btn:disabled { opacity: .4; cursor: not-allowed; }
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
}
.carousel__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--bordas);
  padding: 0;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.carousel__dot[aria-selected="true"] { background: var(--verde); transform: scale(1.25); }

.carousel__caption {
  max-width: 640px;
  margin: 22px auto 0;
  text-align: center;
  font-size: .9rem;
  color: var(--texto-sec);
}

/* Lightbox — ampliação acessível das amostras */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 40px);
  animation: lb-fade .18s ease;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 43, 70, .78);
}
.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 560px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra-forte);
  overflow: hidden;
}
.lightbox__close {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--branco);
  color: var(--azul);
  border: 1px solid var(--bordas);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--sombra);
}
.lightbox__close:hover { background: var(--fundo); }
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.lightbox__img { width: 100%; height: auto; display: block; }
.lightbox__cap {
  flex: none;
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--bordas);
  text-align: center;
  font-size: .9rem;
  color: var(--texto-sec);
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
body.no-scroll { overflow: hidden; }

/* ----------------------------- 7. Quem somos ----------------------------- */
.quem { max-width: 820px; margin: 0 auto; }
.quem__placeholder {
  background: var(--branco);
  border: 1px dashed var(--bordas);
  border-radius: var(--raio);
  padding: 44px 28px;
  text-align: center;
  color: var(--texto-sec);
}
.quem__placeholder svg { width: 40px; height: 40px; color: var(--verde); opacity: .7; margin: 0 auto 12px; }
.quem__placeholder strong { display: block; color: var(--azul); font-family: var(--fonte-titulo); font-size: 1.1rem; margin-bottom: 4px; }
.quem__content { display: grid; gap: 28px; align-items: center; }
.quem__content.has-image { grid-template-columns: 240px 1fr; }
.quem__content img { border-radius: var(--raio); box-shadow: var(--sombra); width: 100%; }

/* ----------------------------- 8. Garantias ----------------------------- */
.guarantee { display: flex; flex-direction: column; }
.guarantee__icon {
  display: inline-flex;
  width: 50px; height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(31,107,92,.1);
  color: var(--verde);
  margin-bottom: 16px;
}
.guarantee__icon svg { width: 28px; height: 28px; }
.guarantee h3 { font-size: 1.2rem; }
.guarantee p { color: var(--texto); }
.guarantee__extra { color: var(--texto-sec); font-size: .95rem; }
.guarantee__conditions {
  margin-top: 8px;
  padding: 16px;
  background: var(--fundo);
  border: 1px solid var(--bordas);
  border-radius: var(--raio-sm);
}
.guarantee__conditions p { font-size: .92rem; color: var(--texto-sec); }
.guarantee__email { font-weight: 600; color: var(--azul); margin-top: 10px !important; }

/* ----------------------------- 9. FAQ ----------------------------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--branco);
  border: 1px solid var(--bordas);
  border-radius: var(--raio-sm);
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-family: var(--fonte-titulo);
  font-weight: 650;
  color: var(--azul);
  font-size: 1.05rem;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron {
  flex: none;
  width: 20px; height: 20px;
  position: relative;
  transition: transform .2s ease;
}
.faq__chevron::before, .faq__chevron::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 11px; height: 2px;
  background: var(--verde);
  border-radius: 2px;
}
.faq__chevron::before { left: 1px; transform: rotate(45deg); }
.faq__chevron::after { right: 1px; transform: rotate(-45deg); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__body { padding: 0 22px 20px; }
.faq__body p { color: var(--texto-sec); margin: 0; }

/* ----------------------------- 10. Rodapé ----------------------------- */
.footer {
  background: var(--azul);
  color: #c7d3dd;
  padding: clamp(40px, 6vw, 60px) 0 clamp(32px, 5vw, 44px);
}
.footer__inner { max-width: 880px; text-align: center; margin: 0 auto; }
.footer__logo { height: 32px; width: auto; margin: 0 auto 18px; }
.footer__copy { color: #fff; font-weight: 600; margin-bottom: 14px; }
.footer__legal { font-size: .86rem; line-height: 1.7; color: #9fb0bd; margin: 0; }

/* ----------------------------- noscript ----------------------------- */
.noscript-note {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--azul);
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-size: .9rem;
  z-index: 100;
}

/* ========================================================================
   RESPONSIVO
   ======================================================================== */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  /* Texto primeiro no celular: a proposta aparece sem a foto empurrá-la para baixo. */
  .hero__media { max-width: 560px; margin: 4px auto 0; }
  .hero__copy { max-width: none; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan--featured { order: -1; }
  .plan__badge { position: static; transform: none; display: inline-block; margin-bottom: 14px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; gap: 0; }
  .benefit { padding-top: 16px; padding-bottom: 16px; }
  .topbar__nav { display: none; }
  .plan-correcao__main { grid-template-columns: 1fr; }
  .plan-correcao__aside { border-left: none; border-top: 1px solid var(--off-bordas); padding-left: 0; padding-top: 20px; }
  .quem__content.has-image { grid-template-columns: 1fr; }
  .carousel__btn--prev { left: 4px; }
  .carousel__btn--next { right: 4px; }
}

@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .card { padding: 22px 18px; }
  .hero h1 { font-size: 1.85rem; }
  .carousel__btn { width: 40px; height: 40px; }
}

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

/* Âncoras consideram a barra fixa */
:target { scroll-margin-top: calc(var(--topbar-h) + 12px); }
section[id] { scroll-margin-top: calc(var(--topbar-h) + 12px); }
