/* ============================================================
   MentorIA de Negócios — Raquel Mateus / Upwise
   Design system compartilhado (3 páginas)
   ============================================================ */

:root {
  --ink: #0E0E0E;
  --ink-soft: #1A1A1A;
  --cream: #FAF8F4;
  --cream-2: #F1ECE3;
  --gold: #DBB17E;
  --gold-deep: #B8935F;
  --gold-dark: #8C6E45;
  --line: rgba(219, 177, 126, 0.28);
  --muted: #6B6459;
  --muted-dark: rgba(250, 248, 244, 0.62);
  --white: #ffffff;
  --radius: 18px;
  --maxw: 1100px;
  --shadow: 0 30px 80px -40px rgba(14, 14, 14, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.serif { font-family: 'Fraunces', Georgia, serif; }
.hand { font-family: 'Caveat', cursive; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }

.section.dark { background: var(--ink); color: var(--cream); }
.section.dark .muted { color: var(--muted-dark); }
.section.cream-2 { background: var(--cream-2); }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 20px;
  display: inline-block;
}
.dark .eyebrow { color: var(--gold); }

h1.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
h2.title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
h3.sub {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.6; }
.muted { color: var(--muted); }
.gold-text { color: var(--gold-deep); }
.dark .gold-text { color: var(--gold); }

p + p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 20px 40px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  text-align: center;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(184, 147, 95, 0.85);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -18px rgba(184, 147, 95, 0.95); }
.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover { transform: translateY(-3px); }
.btn-ghost {
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 14px 20px;
  font-weight: 600;
  opacity: 0.7;
}
.btn-ghost:hover { opacity: 1; }
.btn-lg { padding: 24px 52px; font-size: 1.1rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Divider / flourish ---------- */
.flourish {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--gold-deep); margin: 0 0 24px;
}
.flourish .line { width: 46px; height: 1px; background: currentColor; }
.flourish .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Cards / lists ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.dark .card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(219,177,126,0.22);
}

ul.check { list-style: none; display: grid; gap: 14px; }
ul.check li { position: relative; padding-left: 34px; line-height: 1.5; }
ul.check li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/72% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/72% no-repeat;
}
ul.cross { list-style: none; display: grid; gap: 14px; }
ul.cross li { position: relative; padding-left: 34px; line-height: 1.5; }
ul.cross li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(140, 110, 69, 0.55);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m18.3 5.7-1.4-1.4L12 9.2 7.1 4.3 5.7 5.7 10.6 10.6 5.7 15.5l1.4 1.4L12 12l4.9 4.9 1.4-1.4L13.4 10.6z'/%3E%3C/svg%3E") center/64% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m18.3 5.7-1.4-1.4L12 9.2 7.1 4.3 5.7 5.7 10.6 10.6 5.7 15.5l1.4 1.4L12 12l4.9 4.9 1.4-1.4L13.4 10.6z'/%3E%3C/svg%3E") center/64% no-repeat;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- Pill / tags ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--gold-deep);
}
.dark .pill { color: var(--gold); }

/* ---------- Video frame ---------- */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(219,177,126,0.3);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; }
.video-placeholder {
  color: rgba(250,248,244,0.5);
  font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.video-placeholder .play {
  width: 74px; height: 74px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
}
.video-placeholder .play::after {
  content: ""; margin-left: 5px;
  border-left: 22px solid var(--ink);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}

/* ---------- Price block ---------- */
.price-block { text-align: center; }
.price-from {
  font-size: 1.05rem; color: var(--muted);
  text-decoration: line-through; text-decoration-color: var(--gold-deep);
}
.dark .price-from { color: var(--muted-dark); }
.price-now {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin: 4px 0 6px;
}
.price-now small { font-size: 0.4em; font-weight: 500; vertical-align: baseline; }
.price-note { font-size: 0.92rem; color: var(--muted); font-style: italic; }
.dark .price-note { color: var(--muted-dark); }

/* ---------- Delay reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
  pointer-events: none;
}
.reveal.show { opacity: 1; transform: none; pointer-events: auto; }

.countdown {
  font-size: 0.9rem; color: var(--muted); letter-spacing: 0.03em;
}
.dark .countdown { color: var(--muted-dark); }

/* ---------- Form container ---------- */
.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.crm-embed {
  min-height: 520px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px; color: var(--muted);
}
.crm-embed iframe { width: 100%; min-height: 620px; border: 0; border-radius: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-dark); padding: 46px 0; text-align: center; font-size: 0.86rem; }
.footer .brand { font-family: 'Fraunces', serif; color: var(--cream); font-size: 1.2rem; letter-spacing: 0.02em; margin-bottom: 8px; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }
.mb-m { margin-bottom: 28px; }
.maxline { max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.badge-topo {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}

/* ============================================================
   MOVIMENTO / ANIMAÇÕES
   ============================================================ */

/* Scroll reveal (usa .anim-up + .in via IntersectionObserver) */
.anim-up { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.anim-up.in { opacity: 1; transform: none; }
.anim-up.d1 { transition-delay: .08s; }
.anim-up.d2 { transition-delay: .16s; }
.anim-up.d3 { transition-delay: .24s; }
.anim-up.d4 { transition-delay: .32s; }
.anim-up.d5 { transition-delay: .40s; }

/* Glow animado no fundo das seções escuras */
.glow-wrap { position: relative; overflow: hidden; }
.glow-orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .5; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(219,177,126,0.55), rgba(219,177,126,0) 70%);
}
.glow-orb.a { width: 460px; height: 460px; top: -120px; left: -90px; animation: floatA 14s ease-in-out infinite; }
.glow-orb.b { width: 380px; height: 380px; bottom: -140px; right: -80px; animation: floatB 18s ease-in-out infinite; }
.glow-wrap > .wrap { position: relative; z-index: 1; }

@keyframes floatA {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(50px,40px) scale(1.12); }
}
@keyframes floatB {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-40px,-30px) scale(1.1); }
}

/* Brilho que passa pelo texto dourado do hero */
.shine {
  background: linear-gradient(100deg, var(--gold) 20%, #F6E4C8 45%, var(--gold) 70%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shineMove 5.5s linear infinite;
}
@keyframes shineMove { to { background-position: -220% center; } }

/* Botão com sweep de luz */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg); animation: sweep 3.6s ease-in-out infinite;
}
@keyframes sweep { 0% { left: -60%; } 55%,100% { left: 130%; } }

/* Pulso suave no CTA quando revelado */
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 18px 40px -18px rgba(184,147,95,0.85); }
  50% { box-shadow: 0 18px 54px -12px rgba(219,177,126,0.95); }
}
.reveal.show .btn-gold { animation: pulseGlow 2.6s ease-in-out infinite; }

/* Cards com hover elevado */
.card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.card.lift:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -34px rgba(14,14,14,0.5); border-color: var(--gold); }

/* Frente cards com brilho na borda ao hover */
.front { transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.front:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 20px 50px -30px rgba(184,147,95,0.6); }

/* Foto da fundadora */
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center; }
.founder-photo {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,14,14,0.28));
  pointer-events: none;
}
.creds { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.creds li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.4; }
.creds .ci {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(219,177,126,0.14); color: var(--gold-deep);
}
.dark .creds .ci { color: var(--gold); }
.creds .ci svg { width: 20px; height: 20px; }
.stat-row { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.stat b { font-family: 'Fraunces', serif; font-size: 2rem; color: var(--gold-deep); display: block; line-height: 1; }
.dark .stat b { color: var(--gold); }
.stat span { font-size: 0.85rem; color: var(--muted); }
.dark .stat span { color: var(--muted-dark); }

/* Scroll cue no hero */
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 40px; color: var(--muted-dark); font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 1.5px solid rgba(219,177,126,0.5); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; border-radius: 3px; background: var(--gold); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,12px); } }

@media (prefers-reduced-motion: reduce) {
  .anim-up { opacity: 1; transform: none; transition: none; }
  .glow-orb, .shine, .btn-gold::after, .reveal.show .btn-gold, .scroll-cue .mouse::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .founder-grid { grid-template-columns: 1fr; gap: 26px; }
  .founder-photo { max-width: 340px; margin: 0 auto; }
  .glow-orb.a { width: 300px; height: 300px; }
  .glow-orb.b { width: 260px; height: 260px; }
  .stat-row { gap: 22px; }
  body { font-size: 17px; }
  .section { padding: 68px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-shell { padding: 24px; }
  .btn { width: 100%; }
  .card { padding: 26px; }
}
