/* ============================================================
   index.css — Landing Page do Pergamino
   Paleta alinhada ao dashboard (Tema Céu Aberto)
   ============================================================ */

:root {
  --color-primary:      #D4920F;   /* Ouro Pergamino */
  --color-primary-hover:#B87C0D;
  --color-secondary:    #7C3AED;   /* Safira */
  --bg-page:            #F2EBD9;    /* Pergaminho */
  --bg-header:          #142446;    /* Azul profundo */
  --bg-card:            #FAF6EF;
  --text-primary:       #2C1E12;
  --text-secondary:     #4A3728;
  --text-muted:         #8A7260;
  --text-inverted:      #FAF6EF;
  --radius-md:          12px;
  --radius-lg:          16px;
  --radius-full:        99px;
  --shadow-md:          0 4px 16px rgba(44, 30, 18, .1);
  --shadow-lg:          0 8px 32px rgba(44, 30, 18, .14);
  --t:                  .2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── BOTÕES ── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  padding: .7rem 1.5rem;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap;
}
.lp-btn--lg { padding: 1rem 2.5rem; font-size: 1.05rem; letter-spacing: .03em; }

.lp-btn--brand {
  background: var(--color-primary);
  color: var(--text-inverted);
  box-shadow: 0 4px 0 var(--color-primary-hover);
}
.lp-btn--brand:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--color-primary-hover); }
.lp-btn--brand:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--color-primary-hover); }

.lp-btn--gold { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-md); }
.lp-btn--gold:hover { transform: translateY(-2px); background: var(--color-primary-hover); }

.lp-btn--ghost { background: transparent; color: var(--text-inverted); }
.lp-btn--ghost:hover { background: rgba(255,255,255,.12); }

.lp-btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.lp-btn--outline:hover { background: var(--color-primary); color: #fff; }

/* ── HEADER ── */
.lp-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-header);
  box-shadow: var(--shadow-md);
}
.lp-header__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
}
.lp-logo {
  font-size: 1.4rem; font-weight: 800;
  color: var(--text-inverted); text-decoration: none;
  display: flex; align-items: center; gap: .4rem;
}
.lp-nav { display: flex; gap: .75rem; }

/* ── HERO ── */
.lp-hero {
  background: linear-gradient(160deg, var(--bg-header) 0%, #1d3361 100%);
  padding: 4rem 1.5rem 5rem;
  color: var(--text-inverted);
}
.lp-hero__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 3rem;
  flex-wrap: wrap-reverse; justify-content: center;
}
.lp-hero__content { flex: 1 1 420px; }
.lp-hero__title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem;
}
.lp-highlight { color: var(--color-primary); }
.lp-hero__subtitle {
  font-size: 1.15rem; opacity: .9; margin-bottom: 2rem; max-width: 480px;
}
.lp-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.lp-hero__art {
  flex: 0 0 280px; position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 280px;
}
.lp-hero__mascot {
  font-size: 9rem; position: relative; z-index: 2;
  animation: float 4s ease-in-out infinite;
}
.lp-hero__glow {
  position: absolute; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(212,146,15,.45), transparent 70%);
  border-radius: 50%; filter: blur(10px);
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ── SEÇÕES ── */
.lp-section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800; color: var(--text-primary);
  margin-bottom: 2.5rem;
}

/* ── FEATURES ── */
.lp-features { max-width: 1100px; margin: 0 auto; padding: 4rem 1.5rem; }
.lp-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.lp-feature {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem; text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--t);
}
.lp-feature:hover { transform: translateY(-6px); }
.lp-feature__icon { font-size: 2.8rem; display: block; margin-bottom: 1rem; }
.lp-feature h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--text-primary); }
.lp-feature p { font-size: .92rem; color: var(--text-muted); }

/* ── COMO FUNCIONA ── */
.lp-how { background: var(--bg-card); padding: 4rem 1.5rem; }
.lp-how__inner { max-width: 760px; margin: 0 auto; }
.lp-steps { list-style: none; display: flex; flex-direction: column; gap: 2rem; }
.lp-step { display: flex; align-items: flex-start; gap: 1.25rem; }
.lp-step__num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--color-secondary); color: #fff;
  border-radius: 50%; font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(124,58,237,.35);
}
.lp-step h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.lp-step p { color: var(--text-muted); font-size: .95rem; }

/* ── DEPOIMENTOS ── */
.lp-testimonials { max-width: 1100px; margin: 0 auto; padding: 4rem 1.5rem; }
.lp-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.lp-testimonial {
  background: var(--bg-card);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem; box-shadow: var(--shadow-md);
}
.lp-testimonial p { font-style: italic; margin-bottom: 1rem; color: var(--text-secondary); }
.lp-testimonial footer { font-weight: 700; font-size: .88rem; color: var(--text-muted); }

/* ── FAQ ── */
.lp-faq { max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem; }
.lp-faq__list { display: flex; flex-direction: column; gap: 1rem; }
.lp-faq__item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.lp-faq__item summary {
  font-weight: 700; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-primary);
}
.lp-faq__item summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); }
.lp-faq__item[open] summary::after { content: '−'; }
.lp-faq__item p { margin-top: .75rem; color: var(--text-muted); font-size: .95rem; }

/* ── CTA FINAL ── */
.lp-cta-final {
  background: linear-gradient(135deg, var(--color-secondary), #5b21b6);
  color: #fff; text-align: center;
  padding: 5rem 1.5rem;
}
.lp-cta-final h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: .75rem; }
.lp-cta-final p { font-size: 1.1rem; opacity: .9; margin-bottom: 2rem; }

/* ── FOOTER ── */
.lp-footer { background: var(--bg-header); color: var(--text-inverted); padding: 2.5rem 1.5rem; }
.lp-footer__inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.lp-footer__brand { font-size: 1.3rem; font-weight: 800; margin-bottom: 1rem; }
.lp-footer__links {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem;
}
.lp-footer__links a {
  color: var(--text-inverted); text-decoration: none; font-size: .9rem; opacity: .85;
  transition: opacity var(--t);
}
.lp-footer__links a:hover { opacity: 1; text-decoration: underline; }
.lp-footer__copy { font-size: .8rem; opacity: .6; }

/* ── RESPONSIVO ── */
@media (max-width: 600px) {
  .lp-hero { padding: 2.5rem 1.25rem 3.5rem; }
  .lp-hero__mascot { font-size: 6rem; }
  .lp-hero__art { flex-basis: 200px; height: 200px; }
  .lp-hero__actions { flex-direction: column; }
  .lp-hero__actions .lp-btn { width: 100%; }
  .lp-logo span { display: none; } /* só o ícone no mobile */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
