/* =========================================================
   LP Emerson Cesarino — Processo Seletivo
   Direção: premium, sóbrio, confiável. Base escura + dourado suave.
   ========================================================= */

:root {
  /* Paleta */
  --bg:            #0d0f14;   /* grafite / preto azulado */
  --bg-2:          #12151d;   /* painel um tom acima */
  --bg-3:          #1a1e28;   /* cards */
  --line:          rgba(255,255,255,.09);
  --text:          #eef0f4;
  --text-soft:     #b7bcc7;
  --text-mut:      #8a90a0;
  --gold:          #c9a875;   /* dourado suave (destaque) */
  --gold-soft:     #d9c39a;
  --wa:            #25d366;   /* verde WhatsApp */
  --wa-dark:       #1da851;

  /* Tipografia */
  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1120px;
  --radius: 16px;
  --header-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Tipografia utilitária ---------- */
.display {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: #fff;
  margin: 0 0 .5em;
}
h1.display { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2.display { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
h3 { font-size: 1.18rem; margin: 0 0 .4em; color: #fff; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 1rem;
}

.lead { font-size: 1.12rem; color: var(--text-soft); }
.micro { font-size: .86rem; color: var(--text-mut); margin-top: .9rem; }
p { color: var(--text-soft); }
strong { color: var(--text); font-weight: 600; }

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 15px 28px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  line-height: 1;
}
.btn-whatsapp {
  background: var(--wa);
  color: #06331a;
  box-shadow: 0 8px 26px rgba(37,211,102,.28);
}
.btn-whatsapp:hover { background: var(--wa-dark); color:#fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,.36); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 18px 36px; font-size: 1.08rem; }
.ico-wa { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.btn-lg .ico-wa { width: 1.4em; height: 1.4em; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 60;
  display: flex;
  align-items: center;
  background: rgba(13,15,20,.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(13,15,20,.9);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; line-height: 1.05; text-decoration: none; }
.brand-eyebrow { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.brand-name { font-family: var(--serif); font-size: 1.18rem; color: #fff; font-weight: 600; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 46px);
  padding-bottom: 46px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 620px at 78% 8%, rgba(201,168,117,.12), transparent 60%),
    radial-gradient(900px 700px at 0% 100%, rgba(40,60,110,.22), transparent 60%),
    linear-gradient(180deg, #0d0f14 0%, #10131b 100%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 1.1rem; }

/* Foto */
.photo-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
  background:
    linear-gradient(135deg, rgba(201,168,117,.10), rgba(255,255,255,0) 40%),
    #171b24;
}
.photo-frame::after {
  /* moldura dourada fina */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(201,168,117,.22);
  pointer-events: none;
}
.photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.photo-frame--soft .photo { aspect-ratio: 3 / 4; }
.photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 18px 14px;
  font-size: .82rem; color: var(--text-soft);
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
}
/* Placeholder enquanto não há foto (JS adiciona .is-empty) */
.photo-frame.is-empty { display: flex; align-items: center; justify-content: center; min-height: 320px; }
.photo-frame.is-empty .photo { display: none; }
.photo-frame.is-empty::before {
  content: "Foto do Emerson";
  color: var(--text-mut); font-size: .9rem; letter-spacing: .04em;
}

/* Faixa de confiança */
.trust-strip {
  list-style: none; margin: 40px 0 0; padding: 22px 10px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.trust-strip li { display: flex; flex-direction: column; gap: 3px; }
.trust-strip strong { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-soft); font-weight: 600; }
.trust-strip span { font-size: .82rem; color: var(--text-mut); letter-spacing: .02em; }

/* =========================================================
   SEÇÕES GERAIS
   ========================================================= */
.section { padding: 78px 0; }
.section--panel { background: var(--bg-2); border-block: 1px solid var(--line); }

.split {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center;
}
.split-copy .highlight {
  color: var(--gold-soft); font-size: 1.08rem; font-weight: 500;
  border-left: 2px solid var(--gold); padding-left: 16px; margin: 1.4rem 0;
}
.signature {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem;
  color: #fff; margin-top: 1.2rem;
}

.mystery {
  margin: 2rem auto 0; padding: 24px 28px; max-width: 620px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-3);
  font-family: var(--serif); font-style: italic; font-size: 1.12rem;
  color: var(--gold-soft); line-height: 1.55;
}

/* Cards */
.cards { display: grid; gap: 22px; margin: 42px 0 0; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(201,168,117,.35); }
.card-ico {
  display: inline-flex; width: 46px; height: 46px; margin-bottom: 16px;
  align-items: center; justify-content: center; border-radius: 12px;
  background: rgba(201,168,117,.12); border: 1px solid rgba(201,168,117,.28);
}
.card-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin-bottom: 0; }

.note {
  margin: 34px auto 0; max-width: 720px; font-size: 1rem; color: var(--text-mut);
}

/* Stepper (3 etapas) */
.stepper { list-style: none; margin: 46px auto 0; padding: 0; max-width: 760px; display: grid; gap: 8px; }
.step { display: flex; gap: 22px; align-items: flex-start; padding: 22px 0; position: relative; }
.step + .step { border-top: 1px solid var(--line); }
.step-num {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.3rem; color: var(--bg);
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
  box-shadow: 0 6px 18px rgba(201,168,117,.28);
}
.step h3 { margin-bottom: .25em; }
.step p { margin: 0; }

/* Lista de perfil */
.check-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
  position: relative; padding-left: 40px; font-size: 1.05rem; color: var(--text-soft);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(201,168,117,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9c39a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat;
  border: 1px solid rgba(201,168,117,.3);
}
.counterpoint {
  margin-top: 30px; padding: 16px 20px; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  color: var(--text-mut); font-size: .98rem; text-align: center;
}

/* Depoimentos */
.testimonial { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.testimonial-quote { font-family: var(--serif); font-style: italic; color: var(--text); font-size: 1.05rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(145deg,#2a3040,#171b24); border: 1px solid var(--line); flex: none; }
.testimonial-name { font-size: .9rem; color: var(--text-mut); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { margin: 40px 0 0; display: grid; gap: 12px; }
.faq-item {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(201,168,117,.35); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 54px 20px 22px;
  font-weight: 600; color: #fff; position: relative; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px;
  margin-top: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a875' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .22s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-body { padding: 0 22px 20px; }
.faq-body p { margin: 0; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final {
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(201,168,117,.14), transparent 65%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-final .lead { margin: 0 auto 1.8rem; max-width: 620px; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer { background: #0a0c11; border-top: 1px solid var(--line); padding: 48px 0 36px; }
.footer-inner { display: grid; gap: 20px; justify-items: center; text-align: center; }
.footer-brand { display: flex; flex-direction: column; line-height: 1.1; }
.disclaimer { max-width: 640px; font-size: .82rem; color: var(--text-mut); line-height: 1.55; margin: 6px 0 0; }
.copyright { font-size: .78rem; color: #5a5f6c; margin: 0; }

/* =========================================================
   FAB WhatsApp
   ========================================================= */
.fab-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .2s ease;
  animation: fabIn .4s ease .6s both;
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 30px; height: 30px; fill: #fff; }
@keyframes fabIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* =========================================================
   REVEAL (fade-in ao rolar)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  /* No mobile: gancho + CTA primeiro; foto reforça logo abaixo. */
  .hero-photo { max-width: 420px; margin-inline: auto; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split-media { max-width: 380px; }
  .cards.three { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 58px 0; }
  .cards.two { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; gap: 18px; padding: 20px 0; }
  .btn { width: 100%; justify-content: center; }
  .header-inner .btn { width: auto; }
  .hero-copy .btn { width: 100%; }
  .step { gap: 16px; }
  .brand-name { font-size: 1.05rem; }
}

/* Acessibilidade: respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab-whatsapp { animation: none; }
  * { transition: none !important; }
}
