/* ================================================
   CRAQUES DE PAPEL — style.css
   Mobile-first · Sem frameworks
   ================================================ */

/* === VARIÁVEIS === */
:root {
  --c-black:   #050D08;
  --c-deep:    #091408;
  --c-dark:    #0C2016;
  --c-mid:     #163320;
  --c-green:   #1C4228;
  --c-gold:    #F5B800;
  --c-gold-dk: #C49600;
  --c-gold-lt: #FFD240;
  --c-white:   #FFFFFF;
  --c-cream:   #F7F5F0;
  --c-border:  #E6E2D8;
  --c-txt:     #111111;
  --c-txt-md:  #505050;
  --c-txt-lt:  #909090;
  --c-grn-bg:  #F0FFF6;
  --c-grn-bd:  #B2F0C8;

  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  24px;

  --sh-sm:   0 2px 10px rgba(0,0,0,0.07);
  --sh-md:   0 6px 30px rgba(0,0,0,0.11);
  --sh-lg:   0 18px 60px rgba(0,0,0,0.18);
  --sh-gold: 0 6px 32px rgba(245,184,0,0.32);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:  0.24s;

  --max:       1100px;
  --ft-title:  'Bebas Neue', sans-serif;
  --ft-body:   'Inter', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--ft-body);
  background:  var(--c-cream);
  color:       var(--c-txt);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img    { max-width: 100%; display: block; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { font-family: inherit; }

/* === LAYOUT === */
.container  { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section    { padding: 80px 0; }
.txt-center { text-align: center; }

/* === SECTION TAG (pílula dourada) === */
.section-tag {
  display: inline-block;
  background: var(--c-gold);
  color: var(--c-dark);
  font-size:  0.69rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* === SECTION TITLE === */
.section-title {
  font-family: var(--ft-title);
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

/* destaque dourado */
.hl { color: var(--c-gold-dk); }

/* ================================================
   BOTÕES
   ================================================ */
.btn {
  display: inline-block;
  font-family: var(--ft-body);
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: none;
  text-align: center;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}
.btn:hover  { transform: translateY(-3px); box-shadow: var(--sh-gold); }
.btn:active { transform: translateY(-1px); box-shadow: none; }

.btn--sm {
  padding: 10px 22px;
  font-size: 0.85rem;
  background: var(--c-gold);
  color: var(--c-dark);
}
.btn--lg {
  padding: 17px 40px;
  font-size: 1rem;
  background: var(--c-gold);
  color: var(--c-dark);
}
.btn--hero {
  display: block;
  width: 100%;
  padding: 19px 28px;
  font-size: 1.05rem;
  background: var(--c-gold);
  color: var(--c-dark);
  border-radius: var(--r-sm);
}
.btn--hero:hover { box-shadow: var(--sh-gold); }

/* ================================================
   HEADER — BARRA DE URGÊNCIA COM CRONÔMETRO
   ================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--c-deep);
  border-bottom: 2px solid rgba(245,184,0,0.25);
  transition: box-shadow var(--dur) var(--ease);
}
.header.is-scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.55); }

.urgency-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 20px;
}

.urgency-bar__text {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.urgency-bar__timer {
  display: flex;
  align-items: center;
  gap: 3px;
}

.countdown__digit {
  background: var(--c-gold);
  color: var(--c-black);
  font-family: var(--ft-title);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 6px;
  min-width: 46px;
  text-align: center;
  letter-spacing: 1px;
}

.countdown__sep {
  color: var(--c-gold);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  padding: 0 2px;
}

/* ================================================
   HERO
   ================================================ */
.hero {
  background: linear-gradient(155deg, var(--c-black) 0%, var(--c-dark) 52%, var(--c-mid) 100%);
  color: #fff;
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  top: -100px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(245,184,0,0.09) 0%, transparent 65%);
}
.hero::after {
  bottom: -160px; left: -100px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(245,184,0,0.055) 0%, transparent 65%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  border: 1.5px solid rgba(245,184,0,0.4);
  color: var(--c-gold-lt);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero__title {
  font-family: var(--ft-title);
  font-size: clamp(2.8rem, 8.5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
}
.hero__title-gold { color: var(--c-gold); display: block; }

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.12rem);
  color: rgba(255,255,255,0.76);
  margin-bottom: 36px;
  line-height: 1.68;
}

.hero .btn--hero {
  max-width: 440px;
  margin: 0 auto 16px;
}

.hero__micro {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  margin-top: 6px;
}

.hero__logo {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 24px;
  display: block;
}

/* ================================================
   CARROSSEL DE MODELOS
   ================================================ */
.carousel-section {
  background: var(--c-black);
  padding: 72px 0 64px;
  overflow: hidden;
}

.carousel-section .section-title { color: #fff; }

.carousel {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.carousel__row { overflow: hidden; width: 100%; }

.carousel__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.carousel__row--ltr .carousel__track {
  animation: scroll-ltr 46s linear infinite;
}
.carousel__row--rtl .carousel__track {
  animation: scroll-rtl 46s linear infinite;
}

.carousel:hover .carousel__track {
  animation-play-state: paused;
}

@keyframes scroll-ltr {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scroll-rtl {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.carousel__item {
  flex-shrink: 0;
  width: 170px;
  height: 170px;
  margin-right: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(245,184,0,0.22);
  box-shadow: 0 4px 20px rgba(0,0,0,0.38);
}
.carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================================
   COMO FUNCIONA
   ================================================ */
.how-it-works {
  background: linear-gradient(138deg, var(--c-dark) 0%, var(--c-mid) 100%);
  color: #fff;
}

.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 44px;
}

.step-card {
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(245,184,0,0.2);
  border-radius: var(--r-md);
  padding: 34px 26px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.step-card__num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--ft-title);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(245,184,0,0.1);
  letter-spacing: 0;
  user-select: none;
}

.step-card__icon { font-size: 2.6rem; margin-bottom: 14px; }

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
}

/* ================================================
   PROVA SOCIAL — CARROSSEL HORIZONTAL AUTOMÁTICO
   ================================================ */
.social-proof {
  background: var(--c-cream);
  overflow: hidden;
}

.proof__lead {
  font-size: 1.02rem;
  color: var(--c-txt-md);
  margin-bottom: 36px;
  margin-top: 4px;
}

.proof-carousel {
  overflow: hidden;
  margin-top: 8px;
  padding: 12px 0 18px;
}

.proof-carousel__track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: proof-scroll 28s linear infinite;
  will-change: transform;
}

.proof-carousel:hover .proof-carousel__track {
  animation-play-state: paused;
}

@keyframes proof-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.proof-carousel__item {
  flex-shrink: 0;
  width: 220px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-md);
}

.proof-carousel__item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

/* ================================================
   OFERTA — DOIS CARDS DE PLANO
   ================================================ */
.offer {
  background: linear-gradient(155deg, var(--c-black) 0%, var(--c-dark) 60%, var(--c-mid) 100%);
}

.plans {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 44px auto 0;
  max-width: 880px;
  align-items: stretch;
}

.plan-card {
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.plan-card--top {
  border: 3px solid var(--c-gold);
  box-shadow: var(--sh-gold), 0 20px 60px rgba(0,0,0,0.4);
}

.plan-card__top {
  background: var(--c-dark);
  padding: 24px 24px 20px;
  text-align: center;
}

.plan-card__brand {
  font-family: var(--ft-title);
  font-size: 0.95rem;
  color: rgba(245,184,0,0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.plan-card__badge {
  display: inline-block;
  background: var(--c-gold);
  color: var(--c-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.card__logo {
  width: 100%;
  max-width: 90px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
}

.plan-card__name {
  font-family: var(--ft-title);
  font-size: 2.1rem;
  color: var(--c-gold);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.plan-card__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.55;
}

.plan-card__body {
  padding: 26px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-card__price-block {
  text-align: center;
  margin-bottom: 24px;
}

.plan-card__from {
  font-size: 0.85rem;
  color: var(--c-txt-lt);
  margin-bottom: 4px;
}

.plan-card__value {
  font-family: var(--ft-title);
  font-size: 4rem;
  line-height: 1;
  color: var(--c-dark);
  letter-spacing: 1px;
}
.plan-card__value span { font-size: 2rem; }

.plan-card__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  flex: 1;
}
.plan-card__list li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-txt);
}

.offer__micro {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* garantia */
.guarantee {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--c-grn-bg);
  border: 1px solid var(--c-grn-bd);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  text-align: left;
}
.guarantee__icon { font-size: 1.9rem; flex-shrink: 0; }
.guarantee strong { display: block; font-size: 0.9rem; color: var(--c-dark); margin-bottom: 3px; }
.guarantee p { font-size: 0.8rem; color: var(--c-txt-md); line-height: 1.55; }

/* ================================================
   FAQ
   ================================================ */
.faq { background: var(--c-cream); }

.faq__list {
  max-width: 680px;
  margin: 44px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.faq__btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--c-txt);
  text-align: left;
  gap: 16px;
  transition: background var(--dur) var(--ease);
}
.faq__btn:hover { background: #fafaf8; }

.faq__icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--c-gold-dk);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease);
}
.faq__answer p {
  padding: 0 22px 20px;
  font-size: 0.88rem;
  color: var(--c-txt-md);
  line-height: 1.72;
}
.faq__item.is-open .faq__answer { max-height: 300px; }

/* ================================================
   CTA FINAL
   ================================================ */
.final-cta {
  background: var(--c-deep);
  padding: 84px 0;
  text-align: center;
}
.final-cta__sub {
  color: rgba(255,255,255,0.58);
  font-size: 1.02rem;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.62;
}
.final-cta .btn--hero { max-width: 440px; margin: 0 auto; }
.final-cta__micro {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--c-black);
  padding: 42px 0;
  color: rgba(255,255,255,0.36);
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer__logo-img {
  width: 100%;
  max-width: 140px;
  height: auto;
  object-fit: contain;
  margin-bottom: 8px;
}
.footer__copy      { font-size: 0.8rem; }
.footer__disclaimer {
  font-size: 0.69rem;
  max-width: 490px;
  line-height: 1.62;
  margin-top: 2px;
}
.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.footer__links a {
  font-size: 0.76rem;
  transition: color var(--dur) var(--ease);
}
.footer__links a:hover { color: var(--c-gold); }

.footer__legal {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.2);
  line-height: 1.7;
  text-align: center;
  max-width: 520px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ================================================
   POR QUE AS CRIANÇAS AMAM
   ================================================ */
.why-section { background: var(--c-cream); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.why-card__icon { font-size: 2rem; margin-bottom: 10px; }

.why-card h3 {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 6px;
}
.why-card p {
  font-size: 0.82rem;
  color: var(--c-txt-md);
  line-height: 1.6;
}

.text-gold { color: var(--c-gold); font-weight: 700; }

.carousel-section__sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-top: 10px;
}

.offer__urgency {
  font-size: 0.82rem;
  color: var(--c-gold-lt);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}

.plan-card__subtitle {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.45;
  padding: 0 6px;
}

.plan-card__tag {
  display: inline-block;
  background: rgba(245,184,0,0.18);
  border: 1px solid rgba(245,184,0,0.45);
  color: var(--c-gold-lt);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.proof__context {
  font-size: 0.92rem;
  color: var(--c-txt-md);
  font-weight: 500;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
  font-style: italic;
}

/* ================================================
   SCROLL REVEAL
   ================================================ */
.reveal-grid > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal-grid > *.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-grid > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-grid > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-grid > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-grid > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-grid > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-grid > *:nth-child(6) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .carousel__track,
  .proof-carousel__track { animation: none; }
  .reveal-grid > *       { opacity: 1; transform: none; transition: none; }
  .btn, .pulse-cta       { transition: none; animation: none; }
}

/* ================================================
   PULSE CTA — botões dos cards de oferta
   ================================================ */
@keyframes pulseCta {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 214, 0, 0.55);
  }
  70% {
    transform: scale(1.035);
    box-shadow: 0 0 0 12px rgba(255, 214, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 214, 0, 0);
  }
}

.pulse-cta {
  animation: pulseCta 1.8s infinite;
}

.pulse-cta:hover {
  animation: none;
  transform: scale(1.03);
  box-shadow: var(--sh-gold);
}

/* ================================================
   NOTIFICAÇÃO DE VENDAS
   ================================================ */
.sales-notif {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 9000;
  background: #fff;
  border-left: 3px solid #1a7c3e;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 220px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.sales-notif.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sales-notif__icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.sales-notif__body { flex: 1; min-width: 0; }

.sales-notif__label {
  display: block;
  font-size: 0.69rem;
  font-weight: 800;
  color: #1a7c3e;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.sales-notif__msg {
  font-size: 0.66rem;
  color: #444;
  line-height: 1.4;
}

/* ================================================
   RESPONSIVE — tablet 640px+
   ================================================ */
@media (min-width: 640px) {
  .steps__grid          { grid-template-columns: repeat(3, 1fr); }
  .carousel__item       { width: 195px; height: 195px; }
  .proof-carousel__item { width: 260px; }
  .proof-carousel__item img { height: 400px; }

  /* dois cards lado a lado no tablet/desktop */
  .plans        { flex-direction: row; align-items: stretch; }
  .plan-card    { flex: 1; }
  /* card Top com destaque à direita — sem reordenação no desktop */
  .plan-card--top { order: 1; }
  .why__grid      { grid-template-columns: repeat(4, 1fr); }
}

/* ================================================
   RESPONSIVE — desktop 960px+
   ================================================ */
@media (min-width: 960px) {
  .section              { padding: 100px 0; }
  .carousel__item       { width: 220px; height: 220px; }
  .proof-carousel__item { width: 280px; }
  .proof-carousel__item img { height: 430px; }
}

/* ================================================
   RESPONSIVE — mobile pequeno <420px
   ================================================ */
@media (max-width: 420px) {
  .hero                 { padding: 52px 0 64px; }
  .hero__title          { font-size: 2.6rem; }
  .btn--hero            { font-size: 0.95rem; padding: 17px 20px; }
  .plan-card__value     { font-size: 3.4rem; }
  .plan-card__value span { font-size: 1.8rem; }
  .carousel__item       { width: 148px; height: 148px; }
  .proof-carousel__item { width: 185px; }
  .proof-carousel__item img { height: 280px; }
  .countdown__digit     { font-size: 1.15rem; padding: 3px 8px; min-width: 38px; }
  .urgency-bar__text    { font-size: 0.76rem; }
  .urgency-bar          { gap: 6px 10px; padding: 8px 16px; }
  .hero__logo           { max-width: 130px; }
  .card__logo           { max-width: 70px; }
  .footer__logo-img     { max-width: 110px; }
  .sales-notif          { bottom: 12px; left: 12px; max-width: 82vw; }
}
