/* =============================================================================
   CERBERE — Landing VSL Cabinets Comptables
   Design system: charte main (Montserrat + DM Sans, gradient orange-rouge)
   ============================================================================= */

/* ---------- 1. RESET & TOKENS -------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--surface); color: var(--text1); -webkit-font-smoothing: antialiased; }

:root {
  --grad:       linear-gradient(135deg, #CC2200, #E8560A, #F5A800);
  --grad-dark:  linear-gradient(135deg, #B81E00, #D04800, #E09600);
  --dark:       #1A1514;
  --surface:    #FAF8F3;
  --white:      #FFFFFF;
  --text1:      #1A1514;
  --text2:      #6B5F5A;
  --text3:      #9E9088;
  --border:     #E8E0D8;
  --accent:     #E8560A;
  --accent-soft:#F5A800;
  --success:    #2A9D50;
  --danger:     #CC2200;
}

/* ---------- 2. PRIMITIVES ------------------------------------------------ */

.container       { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section         { padding: 104px 0; }
.eyebrow         { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-title   { font-family: 'Montserrat', sans-serif; font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; text-transform: uppercase; color: var(--text1); margin-bottom: 24px; }
.grad-text       { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 16px;
  padding: 14px 30px; border-radius: 10px;
  border: none; cursor: pointer; text-decoration: none;
  box-shadow: 0 6px 20px rgba(232,86,10,0.30);
  transition: all 200ms ease-out;
}
.btn-primary:hover { background: var(--grad-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,86,10,0.40); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text1);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 15px;
  padding: 12px 24px; border-radius: 10px;
  border: 1.5px solid var(--border); cursor: pointer; text-decoration: none;
  transition: all 200ms ease-out;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 3. NAV ------------------------------------------------------- */

nav { position: sticky; top: 0; z-index: 100; background: rgba(250,248,243,0.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo span { font-family: 'Montserrat', sans-serif; font-weight: 550; font-size: 21px; letter-spacing: 0.05em; color: var(--text1); }
.nav-cta {
  background: var(--grad); color: #fff;
  font-weight: 600; font-size: 14px;
  padding: 10px 22px; border-radius: 8px;
  border: none; cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 12px rgba(232,86,10,0.28);
  transition: all 200ms ease-out;
}
.nav-cta:hover { background: var(--grad-dark); transform: translateY(-1px); }

/* ---------- 4. HERO ------------------------------------------------------ */

.hero { padding: 96px 0 64px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(ellipse, rgba(232,86,10,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 28px;
  padding: 6px 16px;
  border: 1px solid rgba(232,86,10,0.25);
  border-radius: 9999px;
  background: rgba(232,86,10,0.04);
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 900; line-height: 1.06; letter-spacing: -0.03em;
  text-transform: uppercase; color: var(--text1);
  max-width: 860px; margin: 0 auto 24px;
}
.hero-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text2); line-height: 1.7;
  max-width: 620px; margin: 0 auto;
}

/* ---------- 5. VSL PLAYER ------------------------------------------------ */

.vsl { padding: 32px 0 64px; position: relative; }
.vsl-wrapper {
  position: relative;
  max-width: 880px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(26,21,20,0.18), 0 4px 12px rgba(26,21,20,0.08);
  background: var(--dark);
}
.vsl-wrapper video { display: block; width: 100%; height: auto; }

.vsl-sound-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,21,20,0.40);
  cursor: pointer;
  transition: opacity 300ms ease-out;
  z-index: 2;
}
.vsl-sound-overlay.hidden { opacity: 0; pointer-events: none; }
.vsl-sound-overlay-inner {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.95);
  padding: 14px 28px;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--text1);
  box-shadow: 0 8px 28px rgba(0,0,0,0.30);
  transition: transform 200ms ease-out;
}
.vsl-sound-overlay:hover .vsl-sound-overlay-inner { transform: scale(1.04); }
.vsl-sound-overlay svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- 6. HERO BULLETS ---------------------------------------------- */

.hero-bullets { padding: 0 0 56px; }
.bullets-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; max-width: 920px; margin: 0 auto;
}
.bullet {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px; padding: 24px 16px;
}
.bullet-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); padding: 2px;
  display: flex; align-items: center; justify-content: center;
}
.bullet-icon-inner {
  width: 100%; height: 100%; background: var(--surface); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.bullet-icon svg { width: 22px; height: 22px; }
.bullet-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--text1);
  text-transform: uppercase; letter-spacing: 0.02em;
}

/* ---------- 7. CTA ROW (post-hero) --------------------------------------- */

.cta-row { text-align: center; padding: 0 0 96px; }

/* ---------- 8. LOGO MARQUEE ---------------------------------------------- */

.marquee {
  background: var(--surface);
  padding: 48px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-label {
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text2);
  text-align: center; margin-bottom: 40px;
}
.marquee-track-wrapper { position: relative; overflow: hidden; }
.marquee-track-wrapper::before,
.marquee-track-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px;
  z-index: 2; pointer-events: none;
}
.marquee-track-wrapper::before { left: 0; background: linear-gradient(to right, var(--surface), transparent); }
.marquee-track-wrapper::after  { right: 0; background: linear-gradient(to left,  var(--surface), transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 160px;
  width: max-content;
  animation: marquee 24s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track img {
  height: 50px; width: auto;
  opacity: 0.7;
  transition: opacity 200ms;
}
.marquee-track img:hover { opacity: 1; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- 9. GARANTIE -------------------------------------------------- */

.garantie { background: var(--dark); color: #fff; text-align: center; }
.garantie .section-title { color: #fff; }
.garantie-lead { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 620px; margin: 0 auto; line-height: 1.75; }
.garantie-badge {
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--grad);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 48px auto;
  box-shadow: 0 12px 40px rgba(232,86,10,0.40);
}
.garantie-badge .pct { font-family: 'Montserrat', sans-serif; font-size: 44px; font-weight: 900; color: #fff; line-height: 1; }
.garantie-badge .unit { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.92); letter-spacing: 0.04em; margin-top: 4px; }
.garantie-badge .sub  { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.80); letter-spacing: 0.10em; text-transform: uppercase; margin-top: 8px; }

/* ---------- 10. CE QU'ON INSTALLE (3 colonnes) --------------------------- */

.installe { background: var(--white); }
.installe-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--border); border-radius: 20px; overflow: hidden;
  margin-top: 56px;
}
.installe-cell {
  background: #fff;
  padding: 44px 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.installe-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.installe-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--text1);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.installe-desc { font-size: 15px; color: var(--text2); line-height: 1.7; }

/* ---------- 11. NOT / IS ------------------------------------------------- */

.notnot { background: var(--surface); }
.notnot-grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0; margin-top: 56px; }
.notnot-col { padding: 0 56px; }
.notnot-col:first-child { padding-left: 0; }
.notnot-col:last-child  { padding-right: 0; }
.notnot-divider { background: var(--border); }
.notnot-head { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 32px; }
.notnot-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.notnot-row span { font-size: 16px; color: var(--text2); line-height: 1.6; }
.notnot-row.good span { color: var(--text1); font-weight: 500; }
.notnot-row svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* ---------- 12. ÉLIGIBILITÉ ---------------------------------------------- */

.eligible { background: var(--white); }
.eligible-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 48px;
}
.eligible-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.eligible-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.eligible-card-body { font-size: 15px; color: var(--text1); line-height: 1.6; font-weight: 500; }

/* ---------- 13. CTA FINAL (bloc sombre) ---------------------------------- */

.cta-final { background: var(--surface); }
.cta-box {
  background: var(--dark);
  border-radius: 24px;
  padding: 80px 56px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-box::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(232,86,10,0.18) 0%, transparent 70%);
}
.cta-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900; color: #fff;
  text-transform: uppercase; line-height: 1.15;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.cta-box p {
  font-size: 17px; color: rgba(255,255,255,0.60);
  max-width: 480px; margin: 0 auto 40px;
  line-height: 1.7;
  position: relative; z-index: 1;
}
.cta-box .btn-primary { position: relative; z-index: 1; }

.scarcity {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.40);
  margin-top: 20px;
  position: relative; z-index: 1;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-soft);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* ---------- 14. FOOTER --------------------------------------------------- */

footer { background: var(--dark); padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 150ms; }
.footer-links a:hover { color: rgba(255,255,255,0.6); }
.footer-tag { font-size: 12px; color: rgba(255,255,255,0.20); }

/* ---------- 15. RESPONSIVE ----------------------------------------------- */

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }

  .hero { padding: 64px 0 32px; }
  .vsl { padding: 16px 0 40px; }

  .bullets-row,
  .installe-grid,
  .eligible-grid,
  .notnot-grid { grid-template-columns: 1fr; }
  .notnot-col { padding: 0; margin-bottom: 24px; }
  .notnot-divider { display: none; }

  .cta-box { padding: 56px 24px; }

  .marquee-track { gap: 80px; }
  .marquee-track img { height: 36px; }
}
