/*
 * LAPIDARE DESIGN SYSTEM — ds-lapidare.css
 * Fonte: indica-lapidare.html
 * Como usar: <link rel="stylesheet" href="../design-system/ds-lapidare.css">
 *             <link rel="stylesheet" href="../design-system/ds-lapidare.css">
 * Em novas LPs importe este arquivo ANTES do CSS específico da LP.
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════
   1. TOKENS — variáveis CSS (altere aqui para refletir em tudo)
   ═══════════════════════════════════════════════ */
:root {
  /* Cores */
  --lp-primary:      #414141;      /* texto escuro, títulos, snum, nav */
  --lp-accent:       #00b5b0;      /* teal — CTAs, destaques, ícones */
  --lp-white:        #FFFFFF;
  --lp-off-white:    #bbd7d5;      /* fundo geral da página */
  --lp-light-gray:   #E8EAED;      /* fundo seções alternadas */
  --lp-medium-gray:  #D1D5DB;      /* bordas, divisores */
  --lp-text:         #4B5563;      /* corpo de texto */
  --lp-dark-bg:      #414141;      /* seção números / ticker */
  --lp-footer-bg:    #111111;

  /* Tipografia */
  --lp-font:         'Montserrat', sans-serif;
  --lp-lh-body:      1.6;
  --lp-lh-heading:   1.2;

  /* Tamanhos de fonte (clamp responsivo) */
  --lp-fs-h1:        clamp(32px, 4vw, 54px);
  --lp-fs-h2:        clamp(32px, 4vw, 48px);
  --lp-fs-h2-sm:     clamp(32px, 4vw, 42px);
  --lp-fs-h3:        26px;
  --lp-fs-h4:        1rem;
  --lp-fs-body:      1rem;
  --lp-fs-sm:        0.9rem;
  --lp-fs-xs:        0.75rem;

  /* Espaçamentos */
  --lp-section-pad:  100px 5%;
  --lp-section-pad-mobile: 80px 5%;
  --lp-max-width:    1200px;
  --lp-gap-lg:       60px;
  --lp-gap-md:       30px;
  --lp-gap-sm:       15px;

  /* Bordas / Sombras */
  --lp-radius-sm:    8px;
  --lp-radius-md:    12px;
  --lp-radius-lg:    20px;
  --lp-radius-xl:    25px;
  --lp-radius-pill:  100px;
  --lp-shadow-sm:    0 5px 20px rgba(0,0,0,0.03);
  --lp-shadow-md:    0 10px 30px rgba(0,0,0,0.05);
  --lp-shadow-lg:    0 20px 50px rgba(0,0,0,0.08);
  --lp-header-shadow: 0 2px 15px rgba(0,0,0,0.08);

  /* Transições */
  --lp-transition:   0.3s ease;
}


/* ═══════════════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--lp-font);
  line-height: var(--lp-lh-body);
  color: var(--lp-text);
  background-color: var(--lp-off-white);
  overflow-x: hidden;
}


/* ═══════════════════════════════════════════════
   3. TIPOGRAFIA
   ═══════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--lp-font);
  font-weight: 800;
  line-height: var(--lp-lh-heading);
  color: var(--lp-primary);
}
h1 { font-size: var(--lp-fs-h1); }
h2 { font-size: var(--lp-fs-h2); }
h3 { font-size: var(--lp-fs-h3); }
h4 { font-size: var(--lp-fs-h4); }

/* Itálico colorido em títulos — padrão da marca */
h1 em, h2 em, h3 em { font-style: italic; color: var(--lp-accent); }

p { font-size: var(--lp-fs-body); color: var(--lp-text); }


/* ═══════════════════════════════════════════════
   4. HEADER
   ═══════════════════════════════════════════════ */
.lp-header {
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--lp-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--lp-header-shadow);
  height: 70px;
}

.lp-logo { height: 50px; width: auto; max-width: 150px; }

.lp-nav { display: flex; gap: 30px; align-items: center; }
.lp-nav a {
  color: var(--lp-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  transition: var(--lp-transition);
}
.lp-nav a:hover { color: var(--lp-accent); }

.lp-menu-icon { display: none; font-size: 24px; color: var(--lp-primary); cursor: pointer; }


/* ═══════════════════════════════════════════════
   5. BADGE / PILL (rótulo de seção)
   ═══════════════════════════════════════════════ */
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0,181,176,0.1);
  border: 1px solid rgba(0,181,176,0.65);
  color: rgba(0,181,176,1);
  padding: 0.5rem 1.2rem;
  border-radius: var(--lp-radius-pill);
  margin-bottom: 1.5rem;
  font-size: var(--lp-fs-xs);
  font-weight: 700;
}

.lp-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lp-accent);
  flex-shrink: 0;
}

/* alias para classes usadas na LP original */
.hero-badge   { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(0,181,176,0.1) !important; border: 1px solid rgba(0,181,176,0.65) !important; padding: 0.5rem 1.2rem; border-radius: var(--lp-radius-pill); margin-bottom: 1.5rem; }
.hero-badge span { color: rgba(0,181,176,1) !important; font-size: var(--lp-fs-xs); font-weight: 700; }
.hero-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(0,181,176,1) !important; }

[class*="badge"], [class*="pill"] {
  background: rgba(0,181,176,0.1) !important;
  border: 1px solid rgba(0,181,176,0.65) !important;
  color: rgba(0,181,176,1) !important;
  border-radius: var(--lp-radius-pill);
}


/* ═══════════════════════════════════════════════
   6. BOTÕES
   ═══════════════════════════════════════════════ */

/* Primário — fundo teal sólido */
.lp-btn-primary,
.bricks--component-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--lp-accent);
  color: var(--lp-white);
  font-family: var(--lp-font);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--lp-radius-sm);
  padding: 0 10px;
  height: 45px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: var(--lp-transition);
  width: 100%;
  max-width: 479px;
}
.lp-btn-primary:hover,
.bricks--component-button:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* Outline — borda teal, fundo transparente */
.lp-btn-outline,
.btn-hero-new {
  display: inline-block;
  border: 2px solid var(--lp-accent);
  color: var(--lp-accent);
  padding: 16px 45px;
  text-decoration: none;
  font-weight: 800;
  border-radius: var(--lp-radius-md);
  transition: var(--lp-transition);
  font-family: var(--lp-font);
}
.lp-btn-outline:hover,
.btn-hero-new:hover {
  background: var(--lp-accent);
  color: var(--lp-white);
  transform: translateY(-5px);
}


/* ═══════════════════════════════════════════════
   7. FORMULÁRIO (campo de conversão RD Station)
   ═══════════════════════════════════════════════ */
.lp-form-label {
  color: var(--lp-white);
  font-family: var(--lp-font);
  font-size: 13px;
  font-weight: 400;
  display: inline-block;
  margin-bottom: 0.4em;
}

.lp-form-input,
.bricks-form__input {
  display: block;
  width: 100%;
  height: 35px;
  padding: 0 0.5em;
  color: #555;
  background-color: var(--lp-white);
  border: none;
  border-radius: var(--lp-radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  box-shadow: inset 0px 2px 3px #ddd;
  -webkit-box-shadow: inset 0px 2px 3px #ddd;
}
.lp-form-input::placeholder { color: transparent; }
.lp-form-input.error { border: 1px solid red !important; }

.lp-form-card {
  background: rgba(28,28,28,0.68);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: var(--lp-radius-lg);
  padding: 10px 25px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  color: var(--lp-white);
}


/* ═══════════════════════════════════════════════
   8. SEÇÃO — layout padrão
   ═══════════════════════════════════════════════ */
.lp-section { padding: var(--lp-section-pad); }

.lp-section-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lp-section-header h2 {
  font-size: var(--lp-fs-h2-sm);
  color: var(--lp-primary);
  font-weight: 800;
  line-height: 1.2;
}
.lp-section-header h2 em { font-style: italic; color: var(--lp-accent); }

/* Aliases usados na LP original */
.section       { padding: var(--lp-section-pad); }
.section-header { text-align: center; margin-bottom: 50px; display: flex; flex-direction: column; align-items: center; }
.section-header h2 { font-size: var(--lp-fs-h2-sm); color: var(--lp-primary); font-weight: 800; line-height: 1.2; }
.section-header h2 em { font-style: italic; color: var(--lp-accent); }


/* ═══════════════════════════════════════════════
   9. TICKER (faixa animada)
   ═══════════════════════════════════════════════ */
.ticker {
  background: var(--lp-dark-bg);
  padding: 1rem 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: lp-ticker 30s linear infinite;
}
.tick {
  font-size: var(--lp-fs-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  padding: 0 2.5rem;
  display: inline-flex;
  align-items: center;
}
.tick::after {
  content: '·';
  font-size: 1.2rem;
  color: var(--lp-accent);
  margin-left: 2rem;
}
@keyframes lp-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════════════
   10. CARDS DE BENEFIT (benefícios)
   ═══════════════════════════════════════════════ */
.lp-card,
.bcol {
  background: var(--lp-white);
  padding: 45px;
  border-radius: var(--lp-radius-lg);
  box-shadow: var(--lp-shadow-md);
  border-bottom: 4px solid transparent;
  transition: var(--lp-transition);
}
.lp-card:hover,
.bcol:hover { transform: translateY(-10px); border-bottom-color: var(--lp-accent); }

.lp-card-icon,
.bcol-icon { font-size: 35px; color: var(--lp-accent); margin-bottom: 20px; }

.lp-card-eyebrow,
.bcol-who {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--lp-accent);
  letter-spacing: 1px;
}

.lp-card h3,
.bcol h3 {
  font-size: var(--lp-fs-h3);
  color: var(--lp-primary);
  margin: 10px 0;
  font-weight: 800;
}
.lp-card h3 em,
.bcol h3 em { font-style: italic; color: var(--lp-accent); }

.lp-card-desc,
.bcol-desc { font-size: 15px; color: var(--lp-text); margin-bottom: 25px; }

.lp-card-rule,
.bcol-rule {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-primary);
  margin-bottom: 10px;
}
.lp-card-rule svg,
.bcol-rule svg {
  width: 16px;
  height: 16px;
  stroke: var(--lp-accent);
  stroke-width: 3;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}


/* ═══════════════════════════════════════════════
   11. RULE CARDS (regulamento / ícone + texto)
   ═══════════════════════════════════════════════ */
.lp-rule-card,
.rule-card {
  background: var(--lp-white);
  padding: 40px;
  border-radius: var(--lp-radius-lg);
  text-align: center;
  box-shadow: var(--lp-shadow-sm);
  transition: var(--lp-transition);
}
.lp-rule-card:hover,
.rule-card:hover { background: var(--lp-primary); color: var(--lp-white); transform: scale(1.05); }
.lp-rule-card:hover h4,
.rule-card:hover h4 { color: var(--lp-white); }

.rule-icon { font-size: 35px; color: var(--lp-accent); margin-bottom: 20px; }


/* ═══════════════════════════════════════════════
   12. STEPS (como funciona)
   ═══════════════════════════════════════════════ */
.lp-steps { display: flex; flex-direction: column; }

.lp-step,
.step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1.5rem;
  padding: 30px 0;
  border-bottom: 1px solid var(--lp-medium-gray);
}

.lp-step-num,
.snum {
  width: 40px;
  height: 40px;
  background: var(--lp-primary);
  color: var(--lp-white);
  border-radius: var(--lp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--lp-font);
}

.lp-step h3,
.step h3 { color: var(--lp-primary); margin-bottom: 5px; font-weight: 700; }


/* ═══════════════════════════════════════════════
   13. STAT CARDS (números / prova social)
   ═══════════════════════════════════════════════ */
.lp-stat,
.stat {
  background: rgba(255,255,255,0.05);
  padding: 35px;
  border-radius: var(--lp-radius-lg);
  text-align: center;
}
.lp-stat-value,
.stat-val {
  font-size: 45px;
  font-weight: 800;
  color: var(--lp-accent);
  font-family: var(--lp-font);
}
.lp-stat-label,
.stat-label { color: rgba(255,255,255,0.7); font-size: var(--lp-fs-sm); }


/* ═══════════════════════════════════════════════
   14. CHECKLIST
   ═══════════════════════════════════════════════ */
.lp-checklist,
.checklist { margin-top: 35px; text-align: left; }

.lp-check-item,
.ck {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
  align-items: center;
  font-weight: 500;
  font-family: var(--lp-font);
}
.lp-check-icon,
.ck-icon { color: var(--lp-accent); flex-shrink: 0; }


/* ═══════════════════════════════════════════════
   15. FAQ
   ═══════════════════════════════════════════════ */
.lp-faq-item,
.fi {
  border-bottom: 1px solid var(--lp-medium-gray);
  margin-bottom: 15px;
  background: var(--lp-white);
  border-radius: var(--lp-radius-md);
  padding: 0 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.lp-faq-question,
.fq {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--lp-primary);
  font-family: var(--lp-font);
  text-transform: none;
}

.lp-faq-answer,
.fa {
  padding: 0 0 25px;
  display: none;
  color: var(--lp-text) !important;
  font-family: var(--lp-font) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
  text-transform: none !important;
  font-style: normal !important;
}


/* ═══════════════════════════════════════════════
   16. SEÇÃO DARK (números / depoimentos sobre fundo escuro)
   ═══════════════════════════════════════════════ */
.lp-section-dark,
.numbers {
  background: var(--lp-dark-bg);
  color: var(--lp-white);
  padding: var(--lp-section-pad);
}
.lp-section-dark h2,
.numbers-content h2 {
  color: var(--lp-white);
  font-size: var(--lp-fs-h2);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.lp-section-dark h2 em,
.numbers-content h2 em { font-style: italic; color: var(--lp-accent); }
.lp-section-dark p,
.numbers-content p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }


/* ═══════════════════════════════════════════════
   17. SEÇÕES DE FUNDO (alternância)
   ═══════════════════════════════════════════════ */
.lp-bg-white  { background-color: var(--lp-white); }
.lp-bg-gray   { background-color: var(--lp-light-gray); }
.lp-bg-dark   { background-color: var(--lp-dark-bg); }

/* aliases da LP original */
.how            { background-color: var(--lp-white); }
.benefit-section { background-color: var(--lp-light-gray); }
.rules-section  { background-color: var(--lp-white); }
.form-section   { background-color: var(--lp-white); }
.faq-section    { background-color: var(--lp-light-gray); }


/* ═══════════════════════════════════════════════
   18. GRIDS PADRÃO
   ═══════════════════════════════════════════════ */
.lp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--lp-gap-md); max-width: var(--lp-max-width); margin: 0 auto; }
.lp-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--lp-gap-md); max-width: var(--lp-max-width); margin: 0 auto; }
.lp-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: var(--lp-gap-md); max-width: var(--lp-max-width); margin: 0 auto; }


/* ═══════════════════════════════════════════════
   19. ANIMAÇÃO REVEAL (scroll)
   ═══════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.on { opacity: 1; transform: translateY(0); }


/* ═══════════════════════════════════════════════
   20. FOOTER
   ═══════════════════════════════════════════════ */
.lp-footer,
footer {
  background: var(--lp-footer-bg);
  color: #999;
  padding: 80px 5% 40px;
  font-family: var(--lp-font);
}

.lp-footer-brand { font-size: 1rem; font-weight: 800; color: var(--lp-white); text-transform: uppercase; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 20px; }
.lp-footer-brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-accent); }
.lp-footer-col h5 { color: var(--lp-white); margin-bottom: 25px; font-size: 1.1rem; }
.lp-footer-col a { display: block; color: #999; text-decoration: none; margin-bottom: 12px; transition: var(--lp-transition); }
.lp-footer-col a:hover { color: var(--lp-accent); }
.lp-footer-bottom { border-top: 1px solid #333; padding-top: 30px; text-align: center; font-size: 13px; }


/* ═══════════════════════════════════════════════
   21. RESPONSIVO — Mobile (≤768px)
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Header */
  .lp-header,
  header { height: 70px; flex-direction: row; justify-content: space-between; padding: 0 5%; align-items: center; }
  .lp-nav, .nav-links { display: none; }
  .lp-menu-icon, .menu-mobile-icon { display: block; }

  /* Seções */
  .lp-section, .section { padding: var(--lp-section-pad-mobile); }

  /* Grids → coluna única */
  .lp-grid-2,
  .lp-grid-3,
  .how-layout,
  .benefit-big,
  .numbers-inner,
  .form-layout,
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Seção dark */
  .numbers { overflow: hidden; }
  .stats-grid { grid-template-columns: 1fr; width: 100%; overflow: hidden; }
  .stat, .lp-stat { min-width: 0; word-break: break-word; }
  .stat-val, .lp-stat-value { font-size: 2rem; }

  /* Alinhamento */
  .lp-section-dark .lp-section-header,
  .how-header-side,
  .numbers-content { text-align: center; align-items: center; }
}
