/* ============================================================
   FÊNIX PERÍCIAS — style.css
   Paleta, tipografia e layout responsivo (mobile-first).
   ============================================================ */

/* ---------- Variáveis / Design tokens ---------- */
:root {
  /* Vermelho fênix (primária / CTAs) */
  --red: #C41E2A;
  --red-hot: #E03A2F;
  --grad-red: linear-gradient(135deg, #E03A2F 0%, #C41E2A 100%);

  /* Grafite / preto profundo */
  --ink: #111214;
  --ink-2: #1A1C20;
  --ink-3: #24272C;

  /* Off-white / areia */
  --sand: #F5F1EA;
  --sand-2: #FAF8F5;

  /* Dourado sutil */
  --gold: #C9A24B;

  /* Texto */
  --text-dark: #1A1C20;   /* sobre fundo claro */
  --text-mut: #5A5750;    /* texto secundário claro */
  --text-light: #F5F1EA;  /* sobre fundo escuro */
  --text-light-mut: rgba(245, 241, 234, 0.72);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.12);

  --maxw: 1120px;
  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset básico ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--sand-2);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.12; font-weight: 600; }
p { margin: 0 0 1em; }

/* Foco visível (acessibilidade) */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.section { padding: 84px 0; position: relative; }
.section-light { background: var(--sand-2); color: var(--text-dark); }
.section-dark { background: var(--ink); color: var(--text-light); }

.center-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 16px;
}
.section-dark .eyebrow, .section-pitch .eyebrow { color: var(--gold); }
.eyebrow-center { display: block; text-align: center; }

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -.01em;
}
.section-title.center { text-align: center; }
.accent { color: var(--red-hot); }
.section-dark .accent { color: var(--gold); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-red);
  color: #fff;
  padding: 16px 30px;
  box-shadow: 0 10px 30px rgba(196, 30, 42, 0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(196, 30, 42, 0.5); }
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(245, 241, 234, 0.4);
  padding: 11px 20px;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { font-size: .9rem; }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }
.btn-xl { padding: 21px 44px; font-size: 1.18rem; }
.ico-wa { flex-shrink: 0; }

/* ---------- Barra de progresso ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-red);
  z-index: 200;
  transition: width .1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(17, 18, 20, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(17, 18, 20, 0.96);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { flex-shrink: 0; }
.brand-text {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--text-light);
}
.brand-text em { color: var(--gold); font-style: normal; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(224, 58, 47, 0.22), transparent 60%),
    linear-gradient(180deg, #0D0E10 0%, #16171B 100%);
  color: var(--text-light);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-glow {
  position: absolute; bottom: -30%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(224, 58, 47, 0.25), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: .3em;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--text-light-mut);
  max-width: 640px;
  margin: 0 auto 34px;
}
.hero-sub strong { color: var(--text-light); }
.hero-cta { margin-bottom: 34px; }

.micro-proof {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px;
  font-size: .92rem;
  color: var(--text-light-mut);
}
.micro-proof li { position: relative; }
.micro-proof li + li::before {
  content: "•";
  position: absolute; left: -16px;
  color: var(--gold);
}
.micro-proof strong { color: var(--gold); }

/* Indicador de scroll */
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(245, 241, 234, 0.35);
  border-radius: 14px;
  z-index: 3;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; margin-left: -3px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: scrolldot 1.6s ease-in-out infinite;
}
@keyframes scrolldot { 0% { top: 8px; opacity: 1; } 70% { top: 24px; opacity: 0; } 100% { top: 8px; opacity: 0; } }

/* Brasas / partículas */
.embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ember {
  position: absolute; bottom: -10px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--red-hot);
  box-shadow: 0 0 8px 1px rgba(224, 58, 47, 0.8);
  opacity: 0;
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: .9; }
  90% { opacity: .6; }
  100% { transform: translateY(-90vh) scale(.4); opacity: 0; }
}

/* ---------- 2. DOR ---------- */
.pain-list { max-width: 640px; margin: 8px auto 0; }
.pain-list p {
  font-size: 1.12rem;
  padding-left: 26px;
  position: relative;
  color: var(--text-light-mut);
}
.pain-list p::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red-hot);
}
.pain-list strong { color: var(--text-light); }
.turn {
  text-align: center;
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--gold);
  margin-top: 48px;
  position: relative;
}
.turn-line {
  display: block; width: 60px; height: 2px;
  background: var(--gold); margin: 22px auto 0; opacity: .6;
}

/* ---------- 3. HISTÓRIA ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.story-media { position: relative; }
.story-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--ink-2);
}
.story-badge {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(17, 18, 20, 0.9);
  color: var(--sand);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .04em;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; gap: 10px;
}
.story-badge-line { width: 22px; height: 2px; background: var(--gold); flex-shrink: 0; }
.story-text p { color: var(--text-mut); font-size: 1.06rem; }
.story-text strong { color: var(--text-dark); }
.quote {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--red) !important;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin-top: 26px;
}

/* ---------- 4. CARDS (o que é) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.card {
  background: var(--ink-2);
  border: 1px solid rgba(201, 162, 75, 0.15);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(201, 162, 75, 0.45); }
.card-ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--grad-red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-ico svg { width: 26px; height: 26px; color: #fff; }
.card h3 { font-family: var(--font-title); font-size: 1.28rem; color: var(--text-light); }
.card p { color: var(--text-light-mut); font-size: .98rem; margin: 0; }

/* ---------- 5. STEPS (método) ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 26px 24px 26px 78px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute; top: 24px; left: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-red); color: #fff;
  font-family: var(--font-title); font-weight: 600; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-family: var(--font-title); font-size: 1.24rem; color: var(--text-dark); }
.step p { color: var(--text-mut); margin: 0; font-size: 1rem; }

/* ---------- 6. PROVA SOCIAL ---------- */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  text-align: center;
  border-top: 1px solid rgba(201, 162, 75, 0.2);
  border-bottom: 1px solid rgba(201, 162, 75, 0.2);
  padding: 40px 0;
}
.stat-num {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label { color: var(--text-light-mut); font-size: .95rem; letter-spacing: .03em; }

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.testimonial {
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin: 0;
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 1rem; }
.testimonial blockquote {
  margin: 0 0 18px; padding: 0;
  font-size: 1.02rem; color: var(--text-light);
  font-family: var(--font-title); font-style: italic; line-height: 1.5;
}
.testimonial figcaption { font-size: .9rem; }
.testimonial figcaption strong { display: block; color: var(--gold); font-family: var(--font-body); }
.testimonial figcaption span { color: var(--text-light-mut); }

/* ---------- 7. PARA QUEM ---------- */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.fit {
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.fit h3 { font-family: var(--font-title); font-size: 1.4rem; margin-bottom: 18px; }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--text-mut); }
.fit li::before {
  position: absolute; left: 0; top: -1px;
  font-weight: 700; font-size: 1.1rem;
}
.fit-yes { background: #fff; border-top: 4px solid var(--red); }
.fit-yes li::before { content: "✓"; color: var(--red); }
.fit-no { background: #F0ECE4; border-top: 4px solid #B9B3A7; }
.fit-no li::before { content: "✕"; color: #B9B3A7; }

/* ---------- 8. PITCH ---------- */
.section-pitch {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(900px 500px at 50% 120%, rgba(224, 58, 47, 0.28), transparent 60%),
    linear-gradient(180deg, #16171B 0%, #0D0E10 100%);
  color: var(--text-light);
  padding: 100px 0;
}
.pitch-inner { position: relative; z-index: 2; }
.pitch-lead {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  color: var(--text-light-mut);
  max-width: 620px; margin: 6px auto 34px;
}
.pitch-scarcity { margin-top: 22px; color: var(--gold); font-size: .98rem; }
.pitch-safe { color: var(--text-light-mut); font-size: .9rem; margin: 4px 0 0; }

/* ---------- 9. FAQ ---------- */
.faq-list { margin-top: 8px; }
.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.faq-q {
  width: 100%;
  background: none; border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--text-dark);
  padding: 22px 40px 22px 0;
  cursor: pointer;
  position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-icon {
  position: relative; flex-shrink: 0;
  width: 18px; height: 18px;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 0;
  width: 18px; height: 2px; background: var(--red);
  transition: transform .25s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon::after { transform: rotate(0); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a p { color: var(--text-mut); padding-bottom: 22px; margin: 0; }

/* ---------- CTA rodapé ---------- */
.footer-cta { text-align: center; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0D0E10;
  color: var(--text-light-mut);
  padding: 50px 0 40px;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.brand-footer .brand-text { font-size: 1.3rem; }
.footer-ig { color: var(--gold); font-weight: 600; }
.footer-ig:hover { text-decoration: underline; }
.footer-note { font-size: .82rem; max-width: 560px; opacity: .7; margin: 8px 0 0; }
.footer-copy { font-size: .82rem; opacity: .6; margin: 0; }

/* ---------- BOTÃO FLUTUANTE WHATSAPP ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
  z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.wa-float.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Animação de revelação por scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVO — breakpoints (mobile-first)
   ============================================================ */

/* Tablet ≥ 768px */
@media (min-width: 768px) {
  body { font-size: 18px; }
  .section { padding: 100px 0; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}

/* Desktop ≥ 1024px */
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* Header: em telas pequenas, encurta o texto do botão */
@media (max-width: 520px) {
  .brand-text { font-size: 1rem; }
  .site-header .btn-outline { padding: 9px 14px; font-size: .82rem; }
}

/* Reduz movimento para quem preferir */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
