/*
Theme Name: Codigo Divino
Description: Custom landing page theme for Codigo Divino
Version: 1.0
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  background: #0d0a05;
  color: #e8dcc8;
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Cinzel', serif; color: #c9a84c; line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 0 0 30px rgba(201,168,76,0.5); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; color: #d4c49a; margin: 1.5rem 0 1rem; }
p { margin-bottom: 1rem; }
strong { color: #c9a84c; }

/* ===== DIVIDER ===== */
.divider { width: 80px; height: 3px; background: linear-gradient(90deg, transparent, #c9a84c, transparent); margin: 1rem auto 2rem; }

/* ===== STICKY BAR ===== */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: linear-gradient(135deg, #1a1208, #2a1e08);
  border-top: 2px solid #c9a84c;
  padding: 0.75rem 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}
.sticky-bar__price { color: #c9a84c; font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; }

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, #c9a84c, #a8842a);
  color: #0d0a05;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(201,168,76,0.35);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(201,168,76,0.55); background: linear-gradient(135deg, #d4b85c, #c9a84c); }
.btn-cta--large { font-size: 1.05rem; padding: 1rem 2.5rem; }
.btn-cta--sticky { font-size: 0.85rem; padding: 0.6rem 1.5rem; }
.btn-wrapper { margin-top: 2rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0 4rem;
  background-color: #0a0805;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('https://assets.zyrosite.com/V2xm3ECi9zJz4bke/teste-wp-dWxO7M149zSxqZ4n.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.55;
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,5,0.3) 0%, rgba(10,8,5,0.7) 100%);
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.hero__text { flex: 1 1 400px; }
.hero__image { flex: 0 0 auto; max-width: 420px; width: 100%; }
.hero__image img { filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8)); border-radius: 8px; }
.hero__brand { color: #c9a84c; font-family: 'Cinzel', serif; font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.5rem; }
.hero__subtitle { font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: #d4c49a; margin: 1rem 0; font-style: italic; }
.hero__desc { font-size: 1.05rem; color: #c0b090; margin-bottom: 2rem; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section--mid { background: #110e06; }
.section--dark { background: #0a0805; border-top: 1px solid rgba(201,168,76,0.15); border-bottom: 1px solid rgba(201,168,76,0.15); }
.section--cta { background: linear-gradient(180deg, #0d0a05 0%, #1a1208 100%); border-top: 2px solid #c9a84c; }

/* ===== CHECKLIST ===== */
.checklist { list-style: none; text-align: left; max-width: 600px; margin: 0 auto 1rem; }
.checklist li { padding: 0.6rem 0 0.6rem 2rem; position: relative; border-bottom: 1px solid rgba(201,168,76,0.1); color: #d4c49a; }
.checklist li::before { content: '\2714'; position: absolute; left: 0; color: #c9a84c; font-size: 1rem; }

/* ===== INCLUDED GRID ===== */
.included-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.included-card { background: rgba(201,168,76,0.06); border: 1px solid rgba(201,168,76,0.2); border-radius: 8px; padding: 1.75rem 1.5rem; text-align: center; transition: transform 0.2s ease, border-color 0.2s ease; }
.included-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.5); }
.included-card__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.included-card__title { font-family: 'Cinzel', serif; color: #c9a84c; font-size: 1rem; margin-bottom: 0.5rem; font-weight: 700; }
.included-card__desc { color: #a09070; font-size: 0.9rem; line-height: 1.5; }

/* ===== BENEFITS GRID ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; text-align: left; }
.benefit-item { display: flex; gap: 1rem; align-items: flex-start; }
.benefit-icon { color: #c9a84c; font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.benefit-item strong { display: block; font-family: 'Cinzel', serif; font-size: 1rem; margin-bottom: 0.25rem; }
.benefit-item p { color: #a09070; font-size: 0.9rem; margin: 0; }

/* ===== AUDIENCE GRID ===== */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.audience-card { background: rgba(201,168,76,0.06); border: 1px solid rgba(201,168,76,0.2); border-radius: 8px; padding: 1.75rem 1.25rem; text-align: center; }
.audience-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.audience-card strong { display: block; font-family: 'Cinzel', serif; font-size: 1rem; margin-bottom: 0.5rem; }
.audience-card p { color: #a09070; font-size: 0.9rem; margin: 0; }

/* ===== BONUSES GRID ===== */
.bonuses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.75rem; margin-top: 2rem; }
.bonus-card {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.04));
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bonus-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(201,168,76,0.2); }
.bonus-badge { display: inline-block; background: #c9a84c; color: #0d0a05; font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; padding: 0.3rem 0.75rem; border-radius: 20px; margin-bottom: 1rem; }
.bonus-img-wrap { margin: 0 auto 1rem; max-width: 160px; }
.bonus-img-wrap img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 8px 25px rgba(0,0,0,0.6); transition: transform 0.2s ease; }
.bonus-card:hover .bonus-img-wrap img { transform: scale(1.04); }
.bonus-title { font-family: 'Cinzel', serif; color: #c9a84c; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; line-height: 1.3; }
.bonus-value { color: #a8c060; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.6rem; }
.bonus-desc { color: #a09070; font-size: 0.85rem; line-height: 1.5; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.testimonial-card { background: rgba(201,168,76,0.06); border: 1px solid rgba(201,168,76,0.2); border-radius: 8px; padding: 2rem 1.5rem; text-align: left; }
.testimonial-stars { color: #c9a84c; font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial-text { color: #d4c49a; font-style: italic; margin-bottom: 1rem; line-height: 1.7; }
.testimonial-author { color: #c9a84c; font-family: 'Cinzel', serif; font-size: 0.85rem; font-weight: 700; }

/* ===== PRICE BOX ===== */
.price-box { background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04)); border: 2px solid #c9a84c; border-radius: 12px; padding: 3rem 2rem; max-width: 500px; margin: 0 auto; }
.price-box__original { color: #a09070; font-size: 1rem; margin-bottom: 0.5rem; text-decoration: line-through; }
.price-box__price { font-family: 'Cinzel', serif; font-size: 4rem; color: #c9a84c; font-weight: 700; line-height: 1; margin: 0.5rem 0 0.25rem; }
.price-cents { font-size: 2rem; }
.price-currency { font-size: 1.5rem; }
.price-box__desc { color: #a09070; font-size: 0.9rem; margin-bottom: 1.75rem; }
.price-box__includes { margin-top: 1.5rem; text-align: left; border-top: 1px solid rgba(201,168,76,0.2); padding-top: 1.25rem; }
.price-box__includes p { color: #d4c49a; font-size: 0.95rem; margin-bottom: 0.4rem; padding-left: 0.5rem; }

/* ===== GUARANTEE ===== */
.guarantee-box { max-width: 640px; margin: 0 auto; background: rgba(201,168,76,0.06); border: 2px solid rgba(201,168,76,0.35); border-radius: 12px; padding: 3rem 2rem; }
.guarantee-badge { font-size: 3rem; margin-bottom: 1rem; }
.guarantee-box h2 { margin-bottom: 1rem; }
.guarantee-box p { color: #d4c49a; font-size: 1.05rem; margin: 0; }

/* ===== FAQ ===== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(201,168,76,0.15); padding: 1.25rem 0; }
.faq-question { font-family: 'Cinzel', serif; color: #c9a84c; font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.faq-answer { color: #a09070; font-size: 0.95rem; line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { min-height: 100vh; padding: 4rem 0 5rem; }
  .hero__inner { flex-direction: column; text-align: center; }
  .hero__image { max-width: 280px; margin: 0 auto; }
  .sticky-bar { flex-direction: column; gap: 0.5rem; padding: 0.6rem 1rem; }
  .sticky-bar__price { font-size: 0.85rem; }
  .section { padding: 3rem 0; }
  .price-box { padding: 2rem 1.25rem; }
  .price-box__price { font-size: 3rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .bonuses-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .btn-cta--large { font-size: 0.9rem; padding: 0.85rem 1.5rem; }
  .included-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .bonuses-grid { grid-template-columns: 1fr; }
  .bonus-img-wrap { max-width: 130px; }
}

/* ===== EXIT INTENT POPUP ===== */
#exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.exit-popup__box {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #1a1208, #2a1e08);
  border: 2px solid #c9a84c;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  color: #e8dcc8;
}
.exit-popup__box h3 {
  font-family: 'Cinzel', serif;
  color: #c9a84c;
  font-size: 1.4rem;
  margin: 0.75rem 0 1rem;
  line-height: 1.3;
}
.exit-popup__box p {
  color: #d4c49a;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.exit-popup__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  color: #a09070;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.exit-popup__close:hover { color: #c9a84c; }
.exit-popup__box .countdown-wrap {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}
.exit-popup__box .countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  min-width: 60px;
}
.exit-popup__box .countdown-block span {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: #c9a84c;
  font-weight: 700;
  line-height: 1;
}
.exit-popup__box .countdown-block small {
  font-size: 0.65rem;
  color: #a09070;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}
.exit-popup__box .countdown-sep {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: #c9a84c;
  align-self: center;
  padding-bottom: 0.5rem;
}
.exit-popup__box .btn-cta {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}
.exit-popup__box > p:last-child {
  color: #706050;
  font-size: 0.8rem;
  cursor: pointer;
  margin-bottom: 0;
}
.exit-popup__box > p:last-child:hover { color: #a09070; text-decoration: underline; }