@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Manrope:wght@300;400;500;600&display=swap');

/* ========================
   TOKENS & VARIABLES
   ======================== */
:root {
  --navy:        #071E35;
  --navy-light:  #12385C;
  --gold:        #C9A227;
  --gold-muted:  rgba(201, 162, 39, 0.12);
  --gold-hover:  #AA871D;
  --offwhite:    #F7F3EC;
  --white:       #FFFFFF;
  --text-dark:   #13263A;
  --text-muted:  #3E5168;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans:  'Manrope', sans-serif;

  --radius-sm: 2px;
  --radius-md: 8px;
  --shadow-card: 0 8px 30px rgba(7, 30, 53, 0.07);
  --shadow-card-hover: 0 16px 40px rgba(7, 30, 53, 0.12);
  --shadow-book: 0 30px 60px -15px rgba(0,0,0,0.55), 0 10px 20px -5px rgba(0,0,0,0.3);
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ========================
   RESET
   ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-color: var(--offwhite);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}
img, svg { max-width: 100%; display: block; }
ul        { list-style: none; }
a         { text-decoration: none; color: inherit; }

/* ========================
   GLOBAL TYPOGRAPHY (clamp-based, Mobile First)
   ======================== */
h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: inherit;
  /* Fluid: 2.2rem @ 320px → 4rem @ 1200px */
  font-size: clamp(2.2rem, 5vw + 0.5rem, 4rem);
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  margin-bottom: 1.25rem;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
  font-size: clamp(1.75rem, 4vw + 0.5rem, 2.75rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.5vw + 0.3rem, 1.75rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

p {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.125rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

strong { font-weight: 600; color: var(--text-dark); }

/* ========================
   LAYOUT UTILITIES
   ======================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* MOBILE FIRST section padding */
.section { padding: 4rem 0; }

@media (min-width: 768px) {
  .section { padding: 6rem 0; }
}

/* Color helpers */
.bg-navy           { background-color: var(--navy); color: var(--offwhite); }
.bg-navy h1,
.bg-navy h2,
.bg-navy h3        { color: var(--offwhite); }
.bg-navy p         { color: rgba(247,243,236,0.8); }
.bg-navy strong    { color: var(--white); }
.bg-white          { background-color: var(--white); }
.gold-text         { color: var(--gold); }
.italic            { font-style: italic; }

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.1rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(201,162,39,0.25);
  width: 100%; /* Mobile: full width */
  max-width: 100%;
}

.btn .arrow { transition: transform 0.3s ease; font-size: 1.2em; }
.btn:hover   { background-color: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201,162,39,0.35); }
.btn:hover .arrow { transform: translateX(5px); }

/* Desktop: inline-flex, auto width  */
@media (min-width: 768px) {
  .btn {
    display: inline-flex;
    width: auto;
  }
}

.btn-large     { padding: 1.25rem 3rem; font-size: 1.05rem; }
.btn-outline   { background-color: transparent; border-color: var(--gold); color: var(--gold); box-shadow: none; }
.btn-outline:hover { background-color: var(--gold); color: var(--navy); }

.microcopy {
  display: block;
  font-size: 0.82rem;
  margin-top: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.bg-navy .microcopy { color: rgba(247,243,236,0.45); }

/* ========================
   HERO — MOBILE FIRST
   ======================== */
.hero {
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
}

/* Subtle depth radial gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 60%, rgba(201,162,39,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 20%, rgba(255,255,255,0.025) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Mobile: text on top */
.hero-content {
  order: 1;
  width: 100%;
}

/* Mobile: book below text */
.hero-visual {
  order: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.tag-premium {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201,162,39,0.4);
  padding-bottom: 0.4rem;
}

.hero .lead {
  font-size: clamp(1.05rem, 2vw + 0.5rem, 1.25rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(247,243,236,0.85);
}

.book-cover {
  width: 80%;          /* Mobile: 80% of container */
  max-width: 340px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-book);
  transform: perspective(900px) rotateY(0deg) rotateX(0deg);
  transition: var(--transition);
}

/* Desktop: 2-column side by side */
@media (min-width: 768px) {
  .hero { padding: 8rem 0 6rem; }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: 5rem;
    align-items: center;
  }

  .hero-content { order: 1; }
  .hero-visual   { order: 2; }

  .book-cover {
    width: 100%;
    max-width: 420px;
    transform: perspective(1000px) rotateY(-12deg) rotateX(4deg) scale(1.02);
  }

  .book-cover:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.04);
  }
}

/* ========================
   DOR — EDITORIAL
   ======================== */
.dor { padding: 4rem 0; }

.editorial-block {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.dor .lead-text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw + 0.5rem, 2rem);
  line-height: 1.3;
  color: var(--navy);
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
}

.dor-list { margin-top: 1.25rem; }
.dor-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: clamp(1rem, 1.5vw + 0.4rem, 1.1rem);
}
.dor-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }

@media (min-width: 768px) {
  .dor { padding: 6rem 0; }
  .editorial-block { flex-direction: row; align-items: center; gap: 4rem; }
  .editorial-block > * { flex: 1; }
}

/* ========================
   BENEFÍCIOS — CARDS (MOBILE FIRST)
   ======================== */
.beneficios { padding: 4rem 0; }

.beneficios-grid {
  display: grid;
  grid-template-columns: 1fr;    /* Mobile: 1 column */
  gap: 1.5rem;
  margin-top: 3rem;
}

.card-premium {
  background-color: var(--white);
  padding: 2.5rem;
  border: 1px solid rgba(7, 30, 53, 0.06);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--gold);
}

.card-premium h3 {
  color: var(--navy) !important;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.card-premium p {
  color: var(--text-muted) !important;
}

.card-premium:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(201,162,39,0.3);
  transform: translateY(-4px);
}

.icon-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--offwhite);
  border: 1.5px solid var(--gold);
  margin-bottom: 1.25rem;
}

.icon-line svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Desktop: 2x2 grid, max 1000px */
@media (min-width: 768px) {
  .beneficios { padding: 6rem 0; }
  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========================
   PILARES (4 pilares)
   ======================== */
.metodo-wrapper { max-width: 800px; margin: 3rem auto 0; }

.pilar-row {
  display: flex;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(247,243,236,0.1);
}
.pilar-row:last-child { border-bottom: none; }

.pilar-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  line-height: 1;
  font-style: italic;
  min-width: 50px;
}

.pilar-content h3 {
  color: var(--offwhite);
  font-size: clamp(1.2rem, 2vw + 0.3rem, 1.5rem);
  margin-bottom: 0.4rem;
}

/* ========================
   TIMELINE 90 MINUTOS — VERTICAL STEPPER (MOBILE FIRST)
   ======================== */
.timeline-section { padding: 4rem 0; }

/* --- Mobile: vertical stepper --- */
.timeline-stepper {
  position: relative;
  margin-top: 3rem;
  padding-left: 2.5rem;
}

/* Vertical line */
.timeline-stepper::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(201,162,39,0.15) 100%);
}

.time-step {
  position: relative;
  margin-bottom: 2.25rem;
}

.time-step:last-child { margin-bottom: 0; }

/* Gold dot on the vertical line */
.time-step::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--gold);
  border: 2px solid var(--navy);
  /* Center the dot on the vertical line: 7px - 7px = 0 */
  transform: translateX(0px);
}

.time-step .duration {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
  font-weight: 500;
}

.time-step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Desktop: horizontal timeline --- */
@media (min-width: 1024px) {
  .timeline-section { padding: 6rem 0; }

  .timeline-stepper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    padding-left: 0;
    margin-top: 4rem;
  }

  /* Remove vertical line */
  .timeline-stepper::before { display: none; }

  .time-step {
    margin-bottom: 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(18, 56, 92, 0.2);
    position: relative;
  }

  /* Gold dot on top horizontal border */
  .time-step::before {
    left: 0;
    top: -4px;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--offwhite);
    transform: none;
  }
}

/* ========================
   RESGATE
   ======================== */
.resgate { 
  padding: 4rem 0; 
  background-color: var(--offwhite);
}

.quote-block { 
  text-align: center; 
  max-width: 650px; 
  margin: 0 auto; 
}

.tag-resgate {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy);
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(7, 30, 53, 0.2);
  padding-bottom: 0.6rem;
  font-weight: 500;
}

.quote-block h2 { 
  font-size: clamp(2.2rem, 5vw, 3rem); 
  font-style: italic; 
  font-weight: 400; 
  margin-bottom: 2rem; 
  color: var(--navy);
}

.resgate-image {
  margin: 0 auto 2.5rem;
  max-width: 90%;
}

.resgate-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: darken; /* Ensures the image background blends perfectly with the offwhite section */
}

.resgate-text {
  font-size: clamp(1rem, 2vw + 0.4rem, 1.15rem);
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 0;
}

@media (min-width: 768px) { 
  .resgate { padding: 6rem 0; }
  .resgate-image { max-width: 500px; }
}

/* ========================
   ENTREGÁVEIS
   ======================== */
.deliverables-section { padding: 4rem 0; }

.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.deliverable-item { display: flex; gap: 1.25rem; align-items: flex-start; }

.check-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.check-icon svg {
  width: 13px; height: 13px;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.deliverable-item .item-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.deliverable-item p { margin: 0; font-size: 0.975rem; }

@media (min-width: 768px) {
  .deliverables-section { padding: 6rem 0; }
  .deliverables-grid   { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; }
}

/* ========================
   HONESTIDADE
   ======================== */
.honestidade { padding: 4rem 0; }

.box-elegante {
  background-color: var(--white);
  padding: 3rem 2rem;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid rgba(7, 30, 53, 0.05);
  box-shadow: var(--shadow-card);
}

.list-x { display: inline-block; text-align: left; margin: 1.5rem auto; }
.list-x li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.9rem;
  color: var(--text-muted);
  font-size: 1rem;
}
.list-x li::before { content: '✕'; position: absolute; left: 0; opacity: 0.4; font-size: 0.8em; top: 4px; }

@media (min-width: 768px) {
  .honestidade { padding: 6rem 0; }
  .box-elegante { padding: 5rem 4rem; }
}

/* ========================
   FAQ
   ======================== */
.faq { padding: 4rem 0; }
.faq-accordion { max-width: 800px; margin: 3rem auto 0; }

.faq-card {
  border-bottom: 1px solid rgba(7,30,53,0.1);
  padding: 1.75rem 0;
}
.faq-card h3 {
  font-size: clamp(1rem, 1.5vw + 0.4rem, 1.2rem);
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.faq-card p { margin: 0; line-height: 1.65; }

@media (min-width: 768px) { .faq { padding: 6rem 0; }}

/* ========================
   PRICING BOX
   ======================== */
.pricing-box {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  max-width: 500px;
  margin: 0 auto 3rem;
  text-align: center;
}

.pricing-context {
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.price {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.price .currency {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 500;
  margin-top: 0.6rem;
  margin-right: 0.25rem;
  color: rgba(255, 255, 255, 0.6);
}

.price .cents {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.6);
}

.pricing-roi {
  font-size: 1.05rem;
  color: rgba(247, 243, 236, 0.9);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ========================
   CTA FINAL
   ======================== */
.cta-final { padding: 5rem 0; text-align: center; }
.cta-final .btn { margin: 0 auto; }

@media (min-width: 768px) { .cta-final { padding: 8rem 0; }}

/* ========================
   FOOTER
   ======================== */
.footer {
  background-color: #030D17;
  color: rgba(247,243,236,0.35);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* ========================
   FLOATING CTA BAR
   ======================== */

/* Hidden by default — translates off-screen below */
.float-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.9rem 1.5rem;
  background-color: var(--navy);
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Hidden state */
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
  pointer-events: none;
}

/* Visible state triggered by JS */
.float-cta--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.float-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.float-cta__btn:hover {
  background-color: var(--gold-hover);
}

.float-cta__arrow {
  transition: transform 0.3s ease;
}

.float-cta__btn:hover .float-cta__arrow {
  transform: translateX(4px);
}

/* Mobile: full width button */
@media (max-width: 767px) {
  .float-cta__btn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.9rem 1.5rem;
  }
}

/* Desktop: compact pill aligned right */
@media (min-width: 768px) {
  .float-cta {
    padding: 1rem 2rem;
    justify-content: flex-end;
    background-color: rgba(7, 30, 53, 0.97);
    backdrop-filter: blur(8px);
  }
}

/* ========================
   ANIMATION
   ======================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
