/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:    #DC582A;
  --orange-2:  #E1523D;
  --teal:      #0D5257;
  --teal-dark: #083B3F;
  --cream:     #F2F0EB;
  --white:     #FFFFFF;
  --text:      #1A1A1A;
  --text-mid:  #3D3D3D;
  --text-soft: #6B6B6B;
  --border:    #E0DDD7;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow:    0 4px 24px rgba(13,82,87,.10);
  --shadow-lg: 0 12px 48px rgba(13,82,87,.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  font-size: 13px;
  padding: 10px 16px;
  letter-spacing: .02em;
}
.topbar strong { color: #A8D5D8; }

/* ===== SECTION HELPERS ===== */
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--teal-dark);
  margin-bottom: 20px;
}

/* ===== HERO ===== */
.hero {
  background: var(--cream);
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* linha decorativa lateral esquerda */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-2) 100%);
}

.hero__container {
  width: min(1100px, 92%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: end;
}

/* COPY */
.hero__copy { padding-bottom: 72px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: .03em;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--teal-dark);
  margin-bottom: 20px;
}
.hero__headline em {
  font-style: italic;
  color: var(--orange);
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.75;
}
.hero__sub strong { color: var(--text); }

/* EXPERT PHOTO */
.hero__expert {
  align-self: end;
  position: relative;
}

.expert-photo-wrap {
  position: relative;
}

/* plano de fundo decorativo atrás da foto */
.expert-photo-wrap::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 82%;
  height: 88%;
  background: linear-gradient(160deg, rgba(13,82,87,.07) 0%, rgba(220,88,42,.08) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid var(--border);
}

.expert-photo {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 8px 32px rgba(13,59,63,.12));
}

/* E-BOOK FLUTUANDO */
.ebook-float {
  position: absolute;
  bottom: 60px;
  left: -48px;
  z-index: 10;
  filter: drop-shadow(0 16px 40px rgba(13,59,63,.22));
  animation: float 4s ease-in-out infinite;
}

.ebook-float__img {
  width: 140px;
  border-radius: 6px;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.expert-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-dark);
  color: #A8D5D8;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(8,59,63,.25);
}

.hero__wave {
  margin-top: -2px;
  line-height: 0;
}
.hero__wave svg { width: 100%; height: 60px; }

/* ===== FORM CARD ===== */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-card--hero { max-width: 520px; }

.form-card__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .10em;
  margin-bottom: 16px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form__input {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.form__input:focus { border-color: var(--orange); }
.form__input::placeholder { color: #9A9A9A; }

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(220,88,42,.45);
  letter-spacing: .01em;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(220,88,42,.55);
}
.btn-cta:active { transform: translateY(0); }

.form-card__micro {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}

/* no fundo escuro (CTA final), microcopy mais claro */
.cta-final .form-card__micro {
  color: rgba(255,255,255,.45);
}
.cta-final .form-card__label {
  color: rgba(255,255,255,.55);
}
.cta-final .form-card {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}

/* ===== IDENTIFICATION ===== */
.identification {
  background: var(--cream);
  padding: 90px 0 70px;
}

.identification__intro {
  text-align: center;
  margin-bottom: 56px;
}

.scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.scene {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.scene__icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
  flex-shrink: 0;
}

.scene p {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.scene p strong { color: var(--text); }

/* REVEAL */
.identification__reveal {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.identification__reveal > p {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.reveal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px auto;
  max-width: 520px;
}

.reveal-list li {
  background: var(--white);
  border-left: 4px solid var(--teal);
  padding: 14px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .95rem;
  color: var(--text-mid);
  text-align: left;
  box-shadow: var(--shadow);
}
.reveal-list li strong { color: var(--teal-dark); }

.reveal-ending {
  font-size: 1rem;
  color: var(--text-mid);
  margin-top: 20px;
}
.reveal-ending strong { color: var(--teal-dark); }

/* ===== CHECKLIST ===== */
.checklist-section {
  background: var(--teal-dark);
  padding: 80px 0;
}

.checklist-section .section-eyebrow { color: #A8D5D8; }
.checklist-section .section-title { color: var(--white); text-align: center; }
.checklist-section > .container > .section-eyebrow { text-align: center; }

.checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  margin: 40px auto 0;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  transition: background .2s;
}
.checklist__item:hover { background: rgba(255,255,255,.10); }

.check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.checklist__item p {
  color: rgba(255,255,255,.85);
  font-size: .98rem;
  line-height: 1.6;
}

/* ===== MATERIAL ===== */
.material-section {
  background: var(--cream);
  padding: 90px 0;
}

.material-section__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: center;
}

/* CAPA REAL DO E-BOOK */
.ebook-cover-img {
  width: 100%;
  max-width: 300px;
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 20px 48px rgba(13,59,63,.20));
  border-radius: 6px;
  transition: transform .3s ease;
}
.ebook-cover-img:hover {
  transform: translateY(-6px) rotate(-1deg);
}

/* MATERIAL LIST */
.material-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.material-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: .98rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.material-list li strong { color: var(--text); }

.material-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(13,82,87,.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-top: 2px;
}

/* ===== EXPERT SECTION ===== */
.expert-section {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.expert-section__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.expert-section__photo-wrap {
  position: relative;
}

.expert-section__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.expert-section__photo-wrap.no-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--cream) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.expert-section__photo-wrap.no-photo::after {
  content: 'Neto Pucci';
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-soft);
}

.expert-section__role {
  font-size: .875rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 20px;
  letter-spacing: .02em;
}

.expert-section__bio p {
  font-size: .98rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.75;
}
.expert-section__bio p strong { color: var(--text); }

.expert-section__handle {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin-top: 8px;
}

/* ===== CTA FINAL ===== */
.cta-final {
  background: linear-gradient(145deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(220,88,42,.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final__box {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.cta-final .section-eyebrow { color: #A8D5D8; }

.cta-final__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.cta-final__title em { font-style: italic; color: #F4A07A; }

.cta-final__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 40px;
  line-height: 1.75;
}

.cta-final .form-card {
  text-align: left;
}

.cta-final .form-card .form-card__label {
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--teal-dark);
  padding: 32px 0;
  text-align: center;
}

.footer p {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
}

.footer__legal {
  font-size: .75rem;
  color: rgba(255,255,255,.28);
  margin-top: 8px;
}

/* ===== SUCCESS STATE ===== */
.form--success .form__input,
.form--success .btn-cta {
  display: none;
}

.form__success-msg {
  display: none;
  background: rgba(168,213,216,.15);
  border: 1px solid rgba(168,213,216,.35);
  color: #A8D5D8;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  text-align: center;
  line-height: 1.6;
}
.form--success .form__success-msg { display: block; }

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible { transform: translateX(0); }

/* delay em sequência */
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }

/* ===== STICKY CTA MOBILE ===== */
.sticky-cta {
  display: none;
}

/* ===== TABLET (900px) ===== */
@media (max-width: 900px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero__copy { padding-bottom: 48px; order: 2; }
  .hero__expert { order: 1; }

  .expert-photo-wrap { text-align: center; }
  .expert-photo { max-width: 320px; }

  /* e-book: tira do canto esquerdo negativo, bota dentro */
  .ebook-float {
    left: auto;
    right: 12%;
    bottom: 40px;
    animation: float 4s ease-in-out infinite;
  }
  .ebook-float__img { width: 110px; }

  .scenes { grid-template-columns: 1fr; gap: 16px; }

  .material-section__inner { grid-template-columns: 1fr; }
  .expert-section__inner { grid-template-columns: 1fr; }
  .expert-section__photo { max-width: 260px; margin-inline: auto; }
}

/* ===== MOBILE (600px) ===== */
@media (max-width: 600px) {
  /* hero */
  .hero { padding-top: 0; overflow: visible; }

  .hero__container { gap: 0; }

  /* foto menor, centralizada */
  .hero__expert { background: var(--white); }
  .expert-photo-wrap {
    display: flex;
    justify-content: center;
    padding-top: 32px;
    padding-bottom: 0;
    overflow: hidden;
  }
  .expert-photo {
    max-width: 78vw;
    margin: 0 auto;
  }

  /* e-book flutua no canto inferior direito da foto */
  .ebook-float {
    left: auto;
    right: 8px;
    bottom: 12px;
    animation: float 4s ease-in-out infinite;
  }
  .ebook-float__img { width: 88px; }

  /* copy */
  .hero__copy {
    padding: 32px 20px 100px; /* espaço para sticky CTA */
    background: var(--cream);
  }
  .hero__headline { font-size: 1.65rem; }
  .hero__sub { font-size: .95rem; }

  /* form card inline no mobile */
  .form-card--hero {
    max-width: 100%;
    border-radius: var(--radius);
    padding: 20px;
  }

  /* seções */
  .identification { padding: 56px 0 48px; }
  .identification__intro { margin-bottom: 36px; }
  .material-section { padding: 56px 0; }
  .expert-section { padding: 56px 0; }
  .cta-final { padding: 64px 0; }
  .checklist-section { padding: 56px 0; }

  /* scenes empilhadas com swipe hint */
  .scenes {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .scene { padding: 24px 20px; }

  /* checklist */
  .checklist__item { padding: 16px 18px; gap: 12px; }

  /* material */
  .ebook-cover-img { max-width: 220px; margin-bottom: 32px; }
  .material-section__inner { gap: 32px; }

  /* expert */
  .expert-section__photo { aspect-ratio: 1/1; max-width: 220px; }
  .expert-section__bio p { font-size: .92rem; }

  /* cta final */
  .cta-final__sub { font-size: .92rem; }
  .form-card { padding: 20px; }

  /* STICKY CTA */
  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
    padding: 12px 16px 20px;
    background: linear-gradient(to top, var(--cream) 70%, transparent);
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    transform: translateY(100%);
    opacity: 0;
  }
  .sticky-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .sticky-cta .btn-cta {
    flex: 1;
    pointer-events: all;
    padding: 16px;
    font-size: .92rem;
    box-shadow: 0 -4px 24px rgba(220,88,42,.3), 0 4px 20px rgba(220,88,42,.45);
  }
}

/* ===== MOBILE PEQUENO (380px) ===== */
@media (max-width: 380px) {
  .hero__headline { font-size: 1.45rem; }
  .expert-photo { max-width: 90vw; }
  .ebook-float__img { width: 72px; }
  .badge { font-size: 11px; }
}
