:root {
  --cream: #f5f0e6;
  --red: #9c2a2a;
  --red-dark: #7a2121;
  --text: #3f3f3f;
  --white: #fff;

  /* FONTS (ALTERADO) */
  --font-body: "Kiwi Maru", serif;
  --font-accent: "Homemade Apple", cursive;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Garante títulos em Kiwi Maru (caso alguma regra externa sobrescreva) */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .benefit-title, .buy-title {
  font-family: var(--font-body);
}

/* === ANIMAÇÕES === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rotate)); }
  50% { transform: translateY(-12px) rotate(var(--rotate)); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes ribbonScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Fade-in ao scroll */
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

/* NAVBAR */
.navbar {
  background: var(--red);
  padding: 12px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  animation: fadeInUp 0.5s ease;
}
.navbar-logo {
  height: 2.4em;
  transition: transform 0.3s ease;
}
.navbar-logo:hover {
  transform: scale(1.05);
}

.nav-link-mini {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.92;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.nav-link-mini:hover {
  opacity: 1;
  color: var(--white);
  transform: translateY(-2px);
}

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(245,240,230,0.92), rgba(245,240,230,1)),
              url('./imagens/backgroundxadrez.png');
  background-size: cover;
  background-position: center;
  padding: 120px 0 50px;
  overflow: hidden;
}

/* DECORAÇÃO com flutuação */
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.decor {
  position: absolute;
  width: clamp(44px, 6vw, 86px);
  height: clamp(44px, 6vw, 86px);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: .15;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.12));
  animation: float 4s ease-in-out infinite;
}

.decor-heart {
  top: 18px;
  left: 10%;
  background-image: url('./imagens/botaoverde.png');
  --rotate: -12deg;
  animation-delay: 0s;
}

.decor-red {
  top: 18px;
  right: 10%;
  background-image: url('./imagens/botaovermelho.png');
  --rotate: 8deg;
  animation-delay: 0.5s;
}

.decor-pink {
  top: 130px;
  right: 6%;
  background-image: url('./imagens/botaorosa.png');
  --rotate: -6deg;
  animation-delay: 1s;
}

.decor-flower {
  top: 130px;
  left: 6%;
  background-image: url('./imagens/botaoflor.png');
  --rotate: 10deg;
  animation-delay: 1.5s;
}

@media (min-width: 1200px) {
  .decor-heart { left: 22%; }
  .decor-red { right: 22%; }
  .decor-pink { right: 18%; }
  .decor-flower { left: 18%; }
}

@media (max-width: 575px) {
  .decor {
    width: 46px;
    height: 46px;
    opacity: .10;
  }
  .decor-pink, .decor-flower { top: 110px; }
}

@media (max-width: 420px) {
  .hero-decor { display: none; }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-highlight { 
  color: var(--red); 
  display: block; 
  margin-top: 20px;
  font-family: var(--font-accent);
  font-weight: 400;
  line-height: 1.2;
  font-size: 1.8rem;
 }

.hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.4s backwards;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  animation: fadeInUp 0.6s ease 0.5s backwards;
}
.hero-bullets li { display: flex; align-items: flex-start; gap: 10px; }
.hero-bullets i { color: var(--red); margin-top: 4px; flex-shrink: 0; }

/* Preço com animação */
.price-box {
  background: rgba(255,255,255,0.85);
  border: 2px solid rgba(156,42,42,0.12);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.6s backwards;
}

.price-header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.price-old { font-size: 1.1rem; text-decoration: line-through; opacity: 0.7; }

/* Badge de desconto com pulso */
.price-badge {
  background: var(--red);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  animation: pulse 2s ease-in-out infinite;
}

.price-main { margin-bottom: 10px; }
.price-label { display: block; font-size: 0.95rem; opacity: 0.8; margin-bottom: 4px; }
.price-value-wrap { display: flex; align-items: flex-end; gap: 4px; color: var(--red); }
.price-currency { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.price-value { font-size: 3.5rem; font-weight: 700; line-height: 1; }
.price-cents { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.price-note { font-size: 0.95rem; opacity: 0.85; }
.price-note i { color: var(--red); }

/* CTAs com animação */
.hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease 0.7s backwards;
}

.btn-primary-cta {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(156,42,42,0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary-cta:hover::before {
  left: 100%;
}

.btn-primary-cta:hover {
  background: var(--red-dark);
  color: var(--white);
  box-shadow: 0 8px 26px rgba(156,42,42,0.4);
  transform: translateY(-2px);
}

.btn-secondary-cta {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}
.btn-secondary-cta:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: translateY(-2px);
}

.cta-trust {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
  animation: fadeInUp 0.6s ease 0.8s backwards;
}
.cta-trust i { color: var(--red); }

/* Imagem hero */
.hero-image-wrap {
  position: relative;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.img-highlight {
  max-height: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-highlight:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* === LAÇO SEPARADOR (PEQUENO E DELICADO) === */
.ribbon-separator {
  position: relative;
  width: 100%;
  height: 32px;
  margin: 30px 0;
  overflow: hidden;
  transform: rotate(-1.5deg);
  box-shadow: 0 4px 16px rgba(156,42,42,0.18);
}

.ribbon-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.ribbon-scroll {
  display: flex;
  align-items: center;
  animation: ribbonScroll 25s linear infinite;
  flex-shrink: 0;
}

.ribbon-scroll span {
  display: inline-block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0 30px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

/* No mobile */
@media (max-width: 575px) {
  .ribbon-separator {
    height: 28px;
    margin: 20px 0;
  }
  .ribbon-scroll span {
    font-size: 0.75rem;
    padding: 0 20px;
  }
}

/* SEÇÕES */
.section { padding: 60px 0; }
.section-alt { background: rgba(255,255,255,0.5); }
.section-header { max-width: 700px; margin-left: auto; margin-right: auto; }

.badge-title {
  background: var(--red);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
}

.section-title { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 700; line-height: 1.3; }
.section-subtitle { font-size: 1.05rem; opacity: 0.85; }

/* Cards com animação */
.benefit-card, .content-box, .testimonial-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
}

.benefit-card {
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(156,42,42,0.1);
  color: var(--red);
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 14px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(156,42,42,0.15);
}

.benefit-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.benefit-text { font-size: 0.95rem; opacity: 0.9; margin: 0; }

.content-box { padding: 28px; }
.content-box-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.content-box-title i { color: var(--red); }
.content-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.content-list li { display: flex; align-items: flex-start; gap: 10px; }
.content-list i { color: var(--red); margin-top: 4px; flex-shrink: 0; }
.steps-list { padding-left: 0; margin: 0; list-style: none; display: grid; gap: 12px; }
.steps-list strong { color: var(--red); margin-right: 6px; }

.testimonial-card {
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.stars {
  color: #f0b429;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.testimonial-text { font-size: 0.98rem; margin-bottom: 12px; font-style: italic; }
.testimonial-author { font-size: 0.9rem; opacity: 0.75; font-weight: 600; }

/* Compra */
.buy-block {
  border: 2px solid rgba(156,42,42,0.15);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.9);
}

.buy-price-final { margin-bottom: 20px; }

.buy-title { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; margin-bottom: 12px; }
.buy-subtitle { font-size: 1.05rem; opacity: 0.9; }
.buy-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.buy-features li { display: flex; align-items: flex-start; gap: 10px; }
.buy-features i { color: var(--red); margin-top: 4px; flex-shrink: 0; }
.buy-cta-box { background: rgba(156,42,42,0.04); border-radius: 14px; padding: 24px; text-align: center; }
.buy-value-row { display: flex; align-items: flex-end; justify-content: center; gap: 4px; color: var(--red); }
.buy-currency { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.buy-amount { font-size: 3.5rem; font-weight: 700; line-height: 1; }
.buy-decimal { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.buy-note { font-size: 0.9rem; opacity: 0.8; margin-top: 12px; }
.buy-note i { color: var(--red); }

/* FAQ */
.accordion-button { font-weight: 600; font-size: 1rem; transition: all 0.3s ease; }
.accordion-button:not(.collapsed) { background-color: rgba(156,42,42,0.08); color: var(--red); }
.accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,0.125); }
.accordion-body { font-size: 0.98rem; line-height: 1.7; }

/* Footer */
.footer { background: var(--red); color: var(--white); padding: 40px 0; }
.footer-logo {
  height: 4.5em;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}
.footer-logo:hover { transform: scale(1.05); }
.footer-text { font-size: 0.9rem; opacity: 0.85; }

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(245,240,230,0.98);
  border-top: 2px solid rgba(156,42,42,0.15);
  padding: 12px 16px;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  animation: fadeInUp 0.5s ease;
}

/* Responsivo */
@media (max-width: 991px) {
  body { padding-bottom: 80px; }
  .hero { padding: 90px 0 40px; }
  .hero-cta-wrap { flex-direction: column; width: 100%; }
  .btn-primary-cta, .btn-secondary-cta { width: 100%; }
  .buy-block { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
