/* =====================================================================
   LP DE VENDAS · SEMINÁRIO INTERNACIONAL · LIA BATISTA
   Identidade visual coerente com a squeeze page existente
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --parchment: #F5EFE0;
  --parchment-soft: #FAF6ED;
  --clay: #8B4513;
  --clay-deep: #6B3410;
  --ink: #1A1A1A;
  --ink-soft: #2C2C2C;
  --whisper: #8B7E6C;
  --paper: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --max-container: 1200px;
  --max-narrow: 720px;

  --pad-x-mobile: 24px;
  --pad-x-tablet: 48px;
  --pad-x-desktop: 80px;

  --section-y-mobile: 64px;
  --section-y-desktop: 96px;
}

/* ---------- Reset leve ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, .btn { font-family: var(--font-body); }

/* ---------- Container & spacing ---------- */
.container {
  width: 100%;
  max-width: var(--max-container);
  margin: 0 auto;
  padding-left: var(--pad-x-mobile);
  padding-right: var(--pad-x-mobile);
}
.narrow { max-width: var(--max-narrow); }
.center { text-align: center; }

section {
  padding-top: var(--section-y-mobile);
  padding-bottom: var(--section-y-mobile);
  /* fade-in */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
section.visible { opacity: 1; transform: translateY(0); }

/* ---------- Tipografia base ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--ink); margin: 0; }
p { margin: 0 0 1.1em; }

.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 24px;
}
.tag-light { color: var(--parchment-soft); }

.section-heading {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.on-dark { color: var(--parchment); }

.accent {
  font-style: italic;
  color: var(--clay);
  font-weight: 500;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  padding: 18px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-clay {
  background: var(--clay);
  color: var(--paper);
}
.btn-clay:hover { background: var(--clay-deep); }
.btn-parchment {
  background: var(--parchment);
  color: var(--clay);
}
.btn-parchment:hover { background: var(--parchment-soft); }
.btn:active { transform: translateY(1px); }

/* =====================================================================
   BLOCO 1 · HERO
   ===================================================================== */
.hero {
  background: var(--parchment);
  padding-top: 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text { order: 1; }
.hero-media { order: 2; }

.hero-headline {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  /* desktop: enquadramento centrado · mobile sobrescreve abaixo */
  object-position: center;
  /* esmaece a foto no parchment do fundo, em direção ao texto */
  mask-image: linear-gradient(to left, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 70%, transparent 100%);
}

/* No mobile não esmaece pra esquerda (faria sentido só no split desktop) */
@media (max-width: 1023px) {
  .hero-image {
    /* mobile: corta só o logo do topo, mantém rosto visível */
    object-position: center 20%;
    mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
    max-height: 480px;
  }
  .hero .btn { width: 100%; text-align: center; }
}

/* =====================================================================
   BLOCO 2 · PROBLEMA
   ===================================================================== */
.problem {
  background: var(--parchment);
}
.problem p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  color: var(--clay);
  margin-top: 32px;
}

/* =====================================================================
   BLOCO 3 · PROPOSTA (clay escuro)
   ===================================================================== */
.proposal {
  background: var(--clay-deep);
}
.proposal p {
  font-size: 17px;
  line-height: 1.75;
}
.proposal .tag-light { color: var(--parchment-soft); opacity: 0.85; }

/* =====================================================================
   BLOCO 4 · CRONOGRAMA · 8 ENCONTROS
   ===================================================================== */
.schedule { background: var(--parchment); }
.schedule-head {
  max-width: var(--max-narrow);
  margin: 0 auto 56px;
  text-align: center;
}
.schedule-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--clay);
  margin: 8px 0 0;
}
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  /* altura variável: cards curtos não esticam pra acompanhar os longos */
  align-items: start;
}
.meeting {
  background: var(--paper);
  border-left: 2px solid var(--clay);
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
/* card largo: encontros 06-08 ocupam a linha inteira no grid */
.meeting--wide { grid-column: 1 / -1; }

.meeting:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-left-color: var(--clay-deep);
}
/* Touch devices: sem hover persistente, mas mantém feedback no :active */
@media (hover: none) {
  .meeting:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-left-color: var(--clay);
  }
  .meeting:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }
}
.meeting-number {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
}
.meeting-month {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-top: 2px;
}
.meeting-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  color: var(--ink);
  margin: 14px 0 0;
}

/* =====================================================================
   BLOCO 5 · BIO
   ===================================================================== */
.bio { background: var(--parchment); }
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.bio-media { order: 1; }
.bio-text { order: 2; }
.bio-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  /* desktop: enquadramento centrado · mobile sobrescreve abaixo */
  object-position: center;
}
@media (max-width: 640px) {
  .bio-image {
    max-height: 400px;
    /* mobile: corta só o logo do topo, mantém rosto visível */
    object-position: center 20%;
  }
}
.bio-role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--clay);
  margin: 4px 0 20px;
}
.divider {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--clay);
  margin: 0 0 28px;
}
.bio-text p {
  font-size: 17px;
  color: var(--ink-soft);
}

/* =====================================================================
   BLOCO 6 · CTA FINAL
   ===================================================================== */
.cta-final {
  background: var(--clay-deep);
  padding-top: 80px;
  padding-bottom: 80px;
}
.cta-heading { margin-bottom: 36px; }
.cta-note {
  margin-top: 28px;
  font-size: 14px;
  color: var(--parchment-soft);
  opacity: 0.85;
}
.cta-note a {
  display: inline-block;
  /* touch target ~48px no mobile */
  padding: 12px 0;
  color: var(--parchment-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* CTA mobile: botão 100% width, padding reduzido (já é 80px aqui no base) */
@media (max-width: 640px) {
  .cta-final .btn { width: 100%; text-align: center; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  background: var(--parchment);
  padding: 48px 0;
  border-top: 1px solid rgba(139, 126, 108, 0.2);
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  display: block;
}
.footer-role {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--whisper);
  margin-top: 4px;
}
.footer-copy {
  margin: 0;
  font-size: 14px;
  color: var(--whisper);
}

/* =====================================================================
   BREAKPOINT · 640px (tablet)
   ===================================================================== */
@media (min-width: 640px) {
  body { font-size: 17px; }
  .container { padding-left: var(--pad-x-tablet); padding-right: var(--pad-x-tablet); }
  .hero .btn { width: auto; }
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .meeting { padding: 28px; }
}

/* =====================================================================
   BREAKPOINT · 1024px (desktop)
   ===================================================================== */
@media (min-width: 1024px) {
  section {
    padding-top: var(--section-y-desktop);
    padding-bottom: var(--section-y-desktop);
  }
  .container {
    padding-left: var(--pad-x-desktop);
    padding-right: var(--pad-x-desktop);
  }
  .hero { padding-top: 96px; }

  /* HERO split */
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }
  .hero-text { order: 1; }
  .hero-media { order: 2; }
  .hero-image { max-height: 640px; }

  /* Cards do cronograma · padding maior e gap maior */
  .schedule-grid { gap: 24px; }
  .meeting { padding: 32px; }

  /* CTA final desktop · padding vertical maior */
  .cta-final { padding-top: 120px; padding-bottom: 120px; }

  /* BIO split invertido */
  .bio-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
  }
  .bio-media { order: 1; }
  .bio-text { order: 2; }

  /* Footer split */
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .footer-copy { text-align: right; }
}

/* =====================================================================
   Sticky CTA · mobile-only
   ===================================================================== */
.sticky-cta { display: none; }

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(245, 239, 224, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-top: 1px solid rgba(139, 69, 19, 0.12);
    z-index: 100;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
  }
  .sticky-cta .btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }
  /* Garantir que o conteúdo não seja coberto pelo sticky */
  body { padding-bottom: 80px; }
}

/* =====================================================================
   Acessibilidade / motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  section { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
