/* Masterclass Vendas de Alto Padrão · Aline Furtado · Método MAF® */

:root {
  --bg: #FDFBF8;
  --hero-bg: #2A1E17;
  --ink: #3B2B22;
  --ink-hover: #6B4F3F;
  --card-dark: #48352A;
  --line-dark: #5A463A;
  --gold: #BFA06A;
  --gold-light: #E3CAA4;
  --on-dark: #F6EFE7;
  --on-dark-2: #E8DCCE;
  --on-dark-3: #D9C9B8;
  --on-dark-4: #C9B8A6;
  --sand-1: #F2EAE0;
  --sand-2: #F6EFE7;
  --sand-3: #FBF6F0;
  --line: #E2D4C3;
  --line-2: #D9C7B4;
  --line-3: #EADFD2;

  --serif: 'DM Serif Display', serif;
  --sans: Inter, sans-serif;
  --section-y: clamp(72px, 9vw, 110px);
  --gutter: max(24px, calc((100% - 1192px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.page { min-height: 100vh; overflow-x: hidden; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* ---------- Layout ---------- */
.wide { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.block {
  border-radius: 56px;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px);
}
.block--dark { background: var(--ink); }
.block--sand { background: var(--sand-1); }

/* ---------- Componentes ---------- */
.rule { display: block; width: 42px; height: 1px; background: var(--gold); flex: none; }

.label { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-hover);
}
.eyebrow--gold { color: var(--gold-light); }

.head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; }
.h2--dark { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; color: var(--on-dark); }
.h2--dark em { color: var(--gold-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 58px;
  padding: 0 36px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background .2s;
}
.btn:hover { background: var(--ink-hover); color: var(--bg); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: var(--gold-light); color: var(--ink); }

.chip {
  padding: 9px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-hover);
}

/* ---------- 01 · Hero ---------- */
.hero {
  position: relative;
  background: var(--hero-bg);
  overflow: hidden;
  min-height: clamp(620px, 90vh, 820px);
  display: flex;
  align-items: center;
}
.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: max(58%, min(100%, 680px));
}
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 16%;
  filter: brightness(.74) saturate(.85) contrast(1.05);
}
.hero__photo::before,
.hero__photo::after { content: ""; position: absolute; inset: 0; }
.hero__photo::before { background: rgba(59, 43, 34, .42); mix-blend-mode: multiply; }
.hero__photo::after {
  background: linear-gradient(90deg, #2A1E17 0%, rgba(42, 30, 23, .7) 24%, rgba(42, 30, 23, .15) 60%, rgba(42, 30, 23, .1) 100%);
}
/* Escurecimento extra em telas estreitas (some a partir de 1400px) */
.hero__shade {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: max(0px, calc(1400px - 100vw));
  background: linear-gradient(90deg, rgba(42, 30, 23, .66) 70%, rgba(42, 30, 23, 0) 100%);
  pointer-events: none;
}
.hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(42, 30, 23, .65) 0%, rgba(42, 30, 23, 0) 18%, rgba(42, 30, 23, 0) 72%, rgba(42, 30, 23, .85) 100%);
  pointer-events: none;
}
.hero__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 24px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero__top img { display: block; width: 44px; height: auto; }
.hero__tag { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-3); }

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 112px var(--gutter) clamp(56px, 7vw, 96px);
}
.hero__text { max-width: 580px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--on-dark);
}
.hero h1 em { color: var(--gold-light); }
.hero__lead { font-size: 17px; font-weight: 300; line-height: 1.65; color: var(--on-dark-2); max-width: 520px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(232, 220, 206, .22);
  border-radius: 24px;
  overflow: hidden;
  max-width: 540px;
  background: rgba(255, 255, 255, .03);
}
.facts div { padding: 15px 16px; display: flex; flex-direction: column; gap: 4px; }
.facts div + div { border-left: 1px solid rgba(232, 220, 206, .22); }
.facts strong { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.1; color: var(--on-dark); }
.facts span { font-size: 12.5px; color: var(--on-dark-4); }

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.hero__by { font-size: 13.5px; color: var(--on-dark-4); }
.hero__by strong { font-weight: 500; color: var(--on-dark); }

.hero__badge {
  display: none;
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: clamp(48px, 8vh, 96px);
  background: rgba(42, 30, 23, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 220, 206, .25);
  border-radius: 20px;
  padding: 14px 18px;
  flex-direction: column;
  gap: 2px;
}
.hero__badge strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; color: var(--on-dark); }
.hero__badge span { font-size: 12px; line-height: 1.35; color: var(--on-dark-2); }
@media (min-width: 1100px) { .hero__badge { display: flex; } }

/* ---------- 02 · Dor + promessa ---------- */
.pain { margin-top: clamp(56px, 7vw, 88px); }
.pain__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.pain__text { display: flex; flex-direction: column; gap: 22px; }
.pain__text h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; }
.pain__text p { font-size: 17.5px; font-weight: 300; line-height: 1.7; color: var(--ink-hover); }

.promise {
  background: var(--ink);
  border-radius: 36px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.promise .eyebrow { font-size: 11.5px; }
.promise ol { list-style: none; margin: 0; padding: 0; }
.promise li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--on-dark);
}
.promise li:last-child { border-bottom: 1px solid var(--line-dark); }
.promise li > span:first-child { font-family: var(--serif); font-size: 20px; color: var(--gold); }
.promise strong { font-weight: 500; }

/* ---------- 03 · 5 dificuldades ---------- */
.issues { max-width: 1240px; margin: 0 auto; padding: var(--section-y) 24px; }
.issues .head { margin-bottom: 44px; }
.issues h2 { max-width: 720px; }
.issues__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 14px;
}
.issue {
  background: var(--sand-2);
  border-radius: 32px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .25s;
}
.issue:hover { background: var(--sand-1); }
.issue__num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--gold); }
.issue h3 { font-size: 21px; line-height: 1.22; text-wrap: wrap; }
.issue p { font-size: 15px; font-weight: 300; line-height: 1.55; color: var(--ink-hover); }
.center { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- 04 · Entregáveis ---------- */
.inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }
.deliver__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 16px;
}
.deliver {
  background: var(--card-dark);
  border-radius: 36px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.deliver__tag { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); }
.deliver h3 { font-size: 26px; line-height: 1.2; color: var(--on-dark); text-wrap: wrap; }
.deliver p { font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--on-dark-2); }

/* ---------- 05 · Para quem é ---------- */
.audience {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--section-y) 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.audience h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.25; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }

/* ---------- 06 · Quem conduz ---------- */
.about { max-width: 1240px; margin: 0 auto; padding: var(--section-y) 24px; }
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about__photo { position: relative; max-width: 480px; width: 100%; justify-self: center; }
.about__frame { aspect-ratio: 1; border-radius: 40px; overflow: hidden; background: var(--sand-1); }
.about__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__stats { position: absolute; left: -12px; bottom: -24px; display: flex; gap: 8px; }
.stat {
  border-radius: 22px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
.stat span { font-size: 12px; }
.stat--dark { background: var(--ink); box-shadow: 0 16px 36px rgba(59, 43, 34, .18); }
.stat--dark strong { color: var(--on-dark); }
.stat--dark span { color: var(--on-dark-2); }
.stat--light { background: var(--bg); border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(59, 43, 34, .10); }
.stat--light strong { color: var(--ink); }
.stat--light span { color: var(--ink-hover); }

.about__text { display: flex; flex-direction: column; gap: 22px; }
.about__text h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; }
.about__role { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--ink-hover); }
.about__bio { font-size: 17px; font-weight: 300; line-height: 1.7; color: var(--ink-hover); }

/* ---------- 07 · Como será + ingresso ---------- */
.ticket { scroll-margin-top: 16px; }
.ticket .inner { gap: 40px; }
.ticket .head { gap: 16px; }
.ticket__when { font-size: 15px; color: var(--on-dark-2); }
.ticket__row { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }

.agenda {
  flex: 1.1 1 360px;
  background: var(--card-dark);
  border-radius: 40px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.agenda__bar { display: flex; gap: 6px; height: 12px; }
.agenda__bar span { border-radius: 999px; }
.agenda__bar span:first-child { flex: 75; background: var(--gold); }
.agenda__bar span:last-child { flex: 45; background: var(--gold-light); opacity: .55; }
.agenda__item { display: flex; flex-direction: column; gap: 8px; }
.agenda__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.agenda__tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.agenda__tag--open::before { background: var(--gold-light); opacity: .7; }
.agenda__item p { font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--on-dark); }
.agenda__sep { height: 1px; background: var(--line-dark); }

.price {
  flex: 1 1 320px;
  background: var(--sand-1);
  border-radius: 40px;
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.price__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--ink);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.price__days { font-size: 13px; color: var(--ink-hover); }
.price__days strong { font-weight: 600; color: var(--ink); }
.price__value { display: flex; align-items: baseline; gap: 6px; }
.price__cur { font-size: 20px; color: var(--ink-hover); }
.price__int { font-family: var(--serif); font-size: clamp(68px, 8vw, 92px); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.price__dec { font-family: var(--serif); font-size: 30px; color: var(--ink); }
.price__info { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--ink-hover); }
.price .btn { display: flex; min-height: 60px; padding: 0 28px; }
.price__note { font-size: 14px; line-height: 1.5; color: var(--ink-hover); text-align: center; text-wrap: pretty; }

/* ---------- 08 · FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; padding: var(--section-y) 24px; }
.faq .head { margin-bottom: 36px; }
.faq h2 { font-size: clamp(28px, 3vw, 40px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  min-height: 56px;
}
.faq__q-text { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--ink); }
.faq__sign { font-family: var(--sans); font-size: 24px; font-weight: 300; color: var(--gold); flex: none; width: 24px; text-align: center; }
.faq__a { padding: 0 48px 24px 4px; font-size: 16px; font-weight: 300; line-height: 1.65; color: var(--ink-hover); }
.faq__a[hidden] { display: none; }

/* ---------- 09 · CTA final ---------- */
.final {
  background: var(--sand-1);
  border-radius: 56px;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px) 0;
  overflow: hidden;
}
.final__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 64px);
  align-items: flex-end;
}
.final__text {
  flex: 1.3 1 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: clamp(48px, 7vw, 88px);
}
.final__text h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.1; }
.final__info { font-size: 15px; color: var(--ink-hover); }
.final__text .btn { align-self: flex-start; margin-top: 6px; }
.final__photo {
  flex: 1 1 300px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.final__photo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4%;
  transform: translateX(-50%);
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sand-3) 0%, rgba(251, 246, 240, .6) 45%, rgba(251, 246, 240, 0) 70%);
}
.final__photo img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}

/* ---------- Rodapé ---------- */
.footer { margin: 20px auto; }
.footer__inner {
  background: var(--ink);
  border-radius: 44px;
  padding: 32px clamp(24px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer__brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__brand img { display: block; width: 36px; height: auto; }
.footer__copy { font-size: 12.5px; color: var(--on-dark-4); }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { font-size: 13px; color: var(--on-dark-2); }
.footer__links a:hover { color: var(--gold-light); }

/* ---------- Barra fixa mobile ---------- */
.mobile-bar { display: none; }

@media (max-width: 759px) {
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(253, 251, 248, .94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-3);
    transform: translateY(110%);
    transition: transform .25s ease;
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar__price { display: flex; flex-direction: column; flex: none; padding-left: 6px; }
  .mobile-bar__price span { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-hover); }
  .mobile-bar__price strong { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.1; color: var(--ink); }
  .mobile-bar .btn { flex: 1; display: flex; min-height: 50px; padding: 0 16px; font-size: 12px; letter-spacing: 0.08em; }
  .page { padding-bottom: 84px; }
}
