/* ============================================
   Culinária Havaiana Premium — Página de vendas
   Estrutura inspirada em guiacaninosalsicha.vercel.app
   HTML + CSS + JS puro
   ============================================ */

:root {
  --primary: #ff5a1f;        /* laranja vibrante — CTAs e destaques */
  --primary-dark: #e84400;
  --primary-soft: #fff1e8;   /* laranja claríssimo */
  --secondary: #14926b;      /* verde-palmeira — checks e selos */
  --deep: #0a3550;           /* azul-oceano profundo */
  --deep-soft: #0d4a63;
  --gold: #f5a524;
  --cream: #faf6ec;          /* areia clara — fundos alternados */
  --warm-start: #fff7f0;
  --warm-end: #ffe9dc;
  --ink: #14303f;
  --muted: #5f6f76;
  --border: #ecdfc8;
  --danger: #ff3d00;
  --green-bg: #e2f5ec;
  --card-shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
  --shadow-cta: 0 14px 34px -12px rgba(2, 132, 199, 0.5);
  --gradient-cta: linear-gradient(135deg, #38bdf8, #0284c7);
  --gradient-bar: linear-gradient(90deg, #ff8a2a, #ff3d00);
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
}

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

s {
  opacity: 0.6;
}

/* ---------- Topbar ---------- */

.topbar {
  background: linear-gradient(135deg, #ff8a2a, #ff3d00);
  color: #fff;
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ---------- Botões ---------- */

.gradient-cta {
  display: inline-block;
  margin-top: 1.25rem;
  border-radius: 9999px;
  background: var(--gradient-cta);
  color: #fff;
  padding: 1rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gradient-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(255, 90, 31, 0.65);
}

.success-anchor {
  display: inline-block;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 90, 31, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.success-anchor:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.section-anchor {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---------- Hero (escuro, estilo moderno) ---------- */

.hero {
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(23, 165, 143, 0.45), rgba(23, 165, 143, 0) 60%),
    radial-gradient(720px 420px at 10% 112%, rgba(255, 122, 61, 0.28), rgba(255, 122, 61, 0) 62%),
    linear-gradient(165deg, #0a3550 0%, #0d4a63 45%, #0e6f63 100%);
  padding: 0 1.25rem;
}

.hero-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  text-align: center;
}

.hero h1 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
}

.headline-kicker {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.6rem;
}

.headline-main {
  display: block;
  font-size: clamp(1.5rem, 4.5vw, 2.45rem);
  line-height: 1.2;
  color: #fff;
}

.text-primary {
  color: #ff7a3d;
}

.hero-subheadline {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  color: #cfe9e2;
  margin: 0.8rem auto 0;
  max-width: 40rem;
}

.hero-mockup-wrapper {
  position: relative;
  max-width: 15rem;
  margin: 1.1rem auto 0;
}

.hero-glow {
  position: absolute;
  inset: -1rem;
  background: rgba(255, 90, 31, 0.3);
  border-radius: 1.5rem;
  filter: blur(3rem);
  z-index: 0;
}

.hero-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px -18px rgba(255, 90, 31, 0.5);
}

.hero-digital-badge {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(20, 48, 63, 0.08);
  box-shadow: 0 3px 10px rgba(10, 53, 80, 0.1);
  white-space: nowrap;
}

.hero-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #dbe3f0;
}

.hero-check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: rgba(23, 165, 143, 0.22);
  color: #5eead4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hero-rating {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ---------- Seções e cabeçalhos ---------- */

.section {
  padding: 3.5rem 1.25rem;
}

.section-cream {
  background: var(--cream);
}

.section-warm {
  background: linear-gradient(to bottom, var(--warm-start), var(--warm-end));
}

.section-dark {
  background: var(--deep);
}

.section-dark .section-head h2,
.section-dark .section-head h3 {
  color: #fff;
}

.section-dark .success-anchor {
  color: #ffb08a;
  border-color: rgba(255, 176, 138, 0.4);
}

.section-dark .section-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffc9ad;
}

.container-lg {
  max-width: 64rem;
  margin: 0 auto;
}

.container-md {
  max-width: 42rem;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2,
.section-head h3 {
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-head h3 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

.gradient-bar {
  width: 5rem;
  height: 0.3rem;
  border-radius: 9999px;
  background: var(--gradient-bar);
  margin: 0.8rem auto 0;
}

.section-head--gap {
  margin-top: 3.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: var(--green-bg);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.section-sub {
  color: var(--muted);
  margin-top: 0.9rem;
}

/* ---------- Carrossel de pokes ---------- */

.carousel-shell {
  margin-top: 1rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.1rem 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 88%;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  text-align: left;
}

.carousel-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  cursor: zoom-in;
}

.carousel-body {
  padding: 1.1rem 1.25rem 1.35rem;
}

.carousel-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.carousel-body p {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.carousel-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(46, 42, 36, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.carousel-nav:hover {
  background: var(--primary);
  color: #fff;
}

.carousel-nav--prev {
  left: -0.6rem;
}

.carousel-nav--next {
  right: -0.6rem;
}

.carousel-caption {
  text-align: center;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Destaque numérico ---------- */

.count-callout {
  margin-top: 2.75rem;
  text-align: center;
}

.count-callout p {
  font-size: 1.1rem;
  color: var(--muted);
}

.count-callout strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.05;
}

.count-callout span {
  display: block;
  max-width: 36rem;
  margin: 0.4rem auto 0;
}

/* ---------- Listas com check ---------- */

.benefit-grid,
.check-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.benefit-grid li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.check-circle {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 9999px;
  background: var(--green-bg);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ---------- Prova social ---------- */

.rating {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 3.25rem);
  color: var(--primary);
}

.rating-note {
  text-align: center;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ---------- Marquees ---------- */

.marquee {
  overflow: hidden;
  margin-top: 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-track img {
  width: 13rem;
  height: 9.75rem;
  object-fit: cover;
  border-radius: 0.9rem;
  flex-shrink: 0;
}

.marquee--right {
  animation-direction: reverse;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ---------- Categorias ---------- */

.categories {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0.85rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.category-label {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.category-note {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.4;
}

.category .count {
  color: var(--primary);
  white-space: nowrap;
  font-weight: 700;
}

/* ---------- Bônus ---------- */

.bonus-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.bonus-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 4px 14px rgba(46, 42, 36, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bonus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(46, 42, 36, 0.1);
}

.bonus-tag {
  display: inline-block;
  align-self: center;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bonus-card h3 {
  margin-top: 0.8rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.bonus-card p {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
  flex-grow: 1;
}

.bonus-bottom {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.bonus-free {
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: var(--green-bg);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bonus-price {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Planos ---------- */

.plans {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}

.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-featured {
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-cta);
}

.plan-ribbon {
  position: absolute;
  top: -0.95rem;
  right: 1.4rem;
  background: var(--gradient-cta);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plan-eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.plan h3 {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
}

.plan h3 em {
  font-style: italic;
  color: var(--primary);
}

.plan-mockup {
  margin-top: 1.25rem;
  border-radius: 1rem;
  width: 100%;
  height: auto;
  box-shadow: 0 12px 30px -14px rgba(10, 53, 80, 0.35);
}

.plan-contents {
  margin-top: 1.25rem;
}

.plan-section-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin: 1rem 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.plan-section-title:first-child {
  margin-top: 0;
}

.plan-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.plan-list li > span {
  color: var(--secondary);
  font-weight: 800;
  flex-shrink: 0;
}

.plan-list--gifts li > span {
  color: var(--gold);
}

.plan-list--gifts li s {
  color: var(--muted);
  font-weight: 600;
}

/* Cards destacados dentro do plano */
.plan-highlights {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.plan-highlight {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--primary-soft);
  border: 1px solid #ffd9c4;
  border-radius: 0.9rem;
  padding: 0.7rem 0.9rem;
}

.plan-highlight-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.plan-highlight strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
}

.plan-highlight small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

/* Card WhatsApp — fundo verde */
.plan-highlight--whats {
  background: #e2f5ec;
  border-color: #a9ddc6;
}

.plan-highlight--whats strong {
  color: #0f7a54;
}

/* Card do aplicativo — fundo roxo */
.plan-highlight--app {
  background: #f3edfb;
  border-color: #d9c8f2;
}

.plan-highlight--app strong {
  color: #6d3fb5;
}

/* Contador no plano completo */
.plan-timer {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.plan-timer strong {
  font-family: var(--font-serif);
  color: var(--primary);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.plan-payments {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.plan-timer-note {
  margin-top: 0.4rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.exit-inner .plan-payments,
.exit-inner .plan-timer-note {
  width: 100%;
  text-align: center;
}

/* Bônus dentro da popup */
.exit-inner .plan-section-title {
  width: 100%;
  text-align: left;
  font-size: 0.9rem;
}

.exit-inner .plan-list--gifts {
  width: 100%;
  text-align: left;
}

.exit-inner .plan-list--gifts li {
  font-size: 0.88rem;
  gap: 0.4rem;
}

.plan-price-area {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
}

.plan-price-area > p {
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-price-area .plan-price-pix {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
}

.plan-price-area .plan-installments {
  margin-top: 0.2rem;
  font-size: 0.85rem;
}

.plan-price-area .plan-installments strong {
  color: var(--ink);
  font-weight: 800;
}

.plan-price {
  margin-top: 0.3rem;
  font-family: var(--font-serif);
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.plan-price > span:first-child {
  font-size: 1.2rem;
}

.plan-price strong {
  font-size: 3.4rem;
}

.plan-price > span:last-child {
  font-size: 1.6rem;
}

.plan-price--featured {
  color: var(--primary);
}

.plan-buy {
  display: block;
  margin-top: 1.4rem;
  text-align: center;
  border-radius: 9999px;
  background: var(--gradient-cta);
  color: #fff;
  padding: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s ease;
}

.plan-buy:hover {
  transform: translateY(-2px);
}

.plan-buy--secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
  box-shadow: none;
}

/* ---------- Como receber ---------- */

.delivery-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.delivery-grid article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.6rem;
  text-align: center;
}

.delivery-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--gradient-cta);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 6px 16px -6px rgba(14, 21, 40, 0.6);
}

.delivery-grid h3 {
  margin-top: 0.9rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.delivery-grid p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Garantia ---------- */

.guarantee-box {
  text-align: center;
}

.guarantee-seal {
  display: block;
  margin: 0 auto;
}

.guarantee-seal img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 11rem;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(224, 166, 46, 0.4));
}

.guarantee-box h2 {
  margin-top: 1.25rem;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 900;
}

.guarantee-box > p {
  margin: 0.9rem auto 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0 1.2rem;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.4;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-number {
  font-family: var(--font-serif);
  font-weight: 900;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-label {
  flex-grow: 1;
}

.faq-chevron {
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2.5px solid var(--muted);
  border-bottom: 2.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq details[open] .faq-chevron {
  transform: rotate(-135deg);
}

.faq details p {
  padding: 0 0 1rem 1.7rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- Footer ---------- */

footer {
  background: var(--deep);
  color: #fff;
  padding: 1.75rem 1rem;
  text-align: center;
}

footer h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

footer p {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Lightbox ---------- */

.lightbox {
  border: none;
  background: rgba(10, 14, 24, 0.9);
  padding: 1.25rem;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.9rem;
}

/* Fechado: escondido (o display:flex acima não pode sobrescrever isto) */
.lightbox:not([open]) {
  display: none;
}

.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  background: #fff;
  color: var(--ink);
  border: none;
  border-radius: 9999px;
  padding: 0.55rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

/* ---------- Popup de saída ---------- */

.exit-popup {
  border: none;
  border-radius: 1.5rem;
  padding: 2.2rem 1.75rem 1.9rem;
  max-width: 26rem;
  width: calc(100vw - 2.5rem);
  max-height: 88vh;
  overflow-y: auto;
  margin: auto;
  position: fixed;
  inset: 0;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
  animation: popup-in 0.25s ease;
}

.exit-popup:not([open]) {
  display: none;
}

.exit-popup::backdrop {
  background: rgba(20, 16, 10, 0.72);
  backdrop-filter: blur(3px);
}

@keyframes popup-in {
  from {
    transform: scale(0.92) translateY(12px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.exit-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.exit-close:hover {
  color: var(--ink);
}

.exit-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.exit-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: var(--primary-soft);
  border: 1px solid #ffd9c4;
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.exit-inner h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
}

.exit-inner > p:not(.exit-before):not(.exit-price) {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.exit-before {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.exit-price {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 3.2rem;
  line-height: 1.05;
  color: var(--primary);
}

.exit-inner > p.exit-installments {
  margin-top: 0.5rem;
  font-size: 0.92rem;
}

.exit-inner > p.exit-installments strong {
  color: var(--ink);
  font-weight: 800;
}

.exit-mockup {
  width: 100%;
  max-width: 12.5rem;
  margin: 1.1rem auto 0;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 12px 30px -14px rgba(10, 53, 80, 0.35);
}

.exit-cta {
  display: block;
  width: 100%;
  margin-top: 1.3rem;
  border-radius: 9999px;
  background: var(--gradient-cta);
  color: #fff;
  padding: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s ease;
}

.exit-cta:hover {
  transform: translateY(-2px);
}

.exit-skip {
  margin-top: 0.9rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}

.exit-skip:hover {
  color: var(--ink);
}

/* Cards destacados e contador dentro da popup */
.exit-inner .plan-highlights {
  width: 100%;
  margin-top: 1rem;
  text-align: left;
}

.exit-inner .plan-highlight small {
  font-size: 0.8rem;
}

.exit-inner .plan-timer {
  width: 100%;
  margin-top: 1rem;
}

/* ---------- Responsivo ---------- */

@media (min-width: 640px) {
  .hero-inner {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-subheadline {
    font-size: 1.4rem;
  }

  .hero-mockup-wrapper {
    max-width: 40rem;
    margin-top: 2rem;
  }

  .gradient-cta {
    margin-top: 2rem;
    padding: 1.25rem 2.25rem;
    font-size: 1rem;
  }

  .benefit-grid,
  .check-list,
  .categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .delivery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .carousel-card {
    flex: 0 0 calc((100% - 2.5rem) / 3);
  }

  .bonus-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Com 5 cards: centraliza a segunda linha */
  .bonus-card:nth-child(4) {
    grid-column: 2;
  }

  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- CTA fixa no rodapé (mobile) ---------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.14);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-price small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.2;
}

.sticky-price strong {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--primary-dark);
}

.sticky-btn {
  flex: 1;
  max-width: 17rem;
  text-align: center;
  border-radius: 9999px;
  background: var(--gradient-cta);
  color: #fff;
  padding: 0.85rem 1rem;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
}

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

/* ---------- Divisor de onda ---------- */

.wave-divider {
  line-height: 0;
  margin-top: -1px;
  background: #0e6f63;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 54px;
}

/* ---------- Mockups dos bônus ---------- */

.bonus-mockup-img {
  width: 100%;
  max-width: 12.5rem;
  margin: 0.9rem auto 0;
  height: auto;
  border-radius: 0.9rem;
  box-shadow: 0 8px 18px rgba(10, 53, 80, 0.2);
}

/* ---------- Depoimentos (slider) ---------- */

.testimonial-slider {
  margin-top: 1.5rem;
}

.testimonial-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
}

.testimonial-slide img {
  width: min(56vw, 13.5rem);
  height: auto;
  border-radius: 1.2rem;
  box-shadow: 0 16px 40px -16px rgba(10, 53, 80, 0.35);
  cursor: zoom-in;
  -webkit-user-drag: none;
  user-drag: none;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.testimonial-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  border: none;
  padding: 0;
  background: #d8cfc0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonial-dots button.active {
  background: var(--primary);
  transform: scale(1.35);
}
