/* ============ RESET / BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #0c0f13;          /* fond sombre principal */
  --ink-2: #141922;        /* fond sombre secondaire */
  --ink-card: #1b2230;
  --light: #f5f6f8;        /* fond clair */
  --cream: #efe9df;        /* fond crème (avant/après) */
  --white: #ffffff;
  --txt-dark: #1a2029;
  --txt-mut: #5b6472;
  --txt-light: #e8ecf2;
  --txt-light-mut: #9aa6b5;
  --blue: #1479ff;
  --blue-deep: #0a4bd6;
  --blue-grad: linear-gradient(135deg, #3b93ff 0%, #0a4bd6 100%);
  --radius: 20px;
  --shadow: 0 18px 50px rgba(8, 15, 30, .14);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--txt-dark);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.container { width: min(1160px, 92%); margin: 0 auto; }
.container-narrow { width: min(820px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: .5em; }

.kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9em;
}
.section-dark .kicker { color: #6db2ff; }

/* ============ BOUTONS ============ */
.btn {
  display: inline-block;
  background: var(--blue-grad);
  color: #fff; text-decoration: none;
  font-weight: 700; font-family: var(--font-body);
  padding: 15px 34px; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(20, 121, 255, .35);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(20, 121, 255, .45); }
.btn-big { font-size: 1.06rem; padding: 18px 44px; }
.btn-small { padding: 10px 22px; font-size: .9rem; }
.cta-note { display: block; margin-top: 12px; font-size: .85rem; color: var(--txt-light-mut); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 15, 19, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.brand img { width: 170px; height: auto; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  color: var(--txt-light-mut); text-decoration: none;
  font-size: .92rem; font-weight: 600;
  transition: color .15s ease;
}
.main-nav a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ============ HERO ============ */
.hero { background: radial-gradient(1200px 600px at 75% -10%, #1c2637 0%, var(--ink) 55%); color: var(--txt-light); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center;
  padding: 72px 0 84px;
}
.rating-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 214, 64, .1); border: 1px solid rgba(255, 214, 64, .25);
  color: #ffd640; font-weight: 700; font-size: .85rem;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.rating-pill span { color: var(--txt-light); font-weight: 600; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: #57a4ff; }
.hero-sub { color: var(--txt-light-mut); font-size: 1.06rem; max-width: 34em; margin-bottom: 26px; }
.hero-checks { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; }
.hero-checks li { padding-left: 32px; position: relative; font-weight: 600; }
.hero-checks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-grad);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="11" fill="white" stroke="none"/><path d="M7 12.5l3.2 3.2L17 9" stroke="black"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="11" fill="white" stroke="none"/><path d="M7 12.5l3.2 3.2L17 9" stroke="black"/></svg>') center/contain no-repeat;
}
.hero-media { position: relative; }
.hero-media img {
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 255, 255, .08);
}
.hero-badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(10, 14, 20, .78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--txt-light); font-size: .85rem; font-weight: 600;
  padding: 10px 18px; border-radius: 14px;
}
.hero-badge strong { color: #57a4ff; margin-right: 8px; font-family: var(--font-display); }

/* ============ TRUSTBAR ============ */
.trustbar { background: var(--ink-2); color: var(--txt-light); border-top: 1px solid rgba(255,255,255,.06); }
.trustbar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding: 22px 0; text-align: center;
}
.trustbar-inner div { display: grid; gap: 2px; }
.trustbar-inner strong { font-size: .95rem; }
.trustbar-inner span { font-size: .8rem; color: var(--txt-light-mut); }

/* ============ SECTIONS GÉNÉRIQUES ============ */
.section { padding: 84px 0; }
.section-light { background: var(--light); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: var(--txt-light); }
.section-intro { color: var(--txt-mut); max-width: 40em; margin-bottom: 40px; }
.section-dark .section-intro { color: var(--txt-light-mut); }

/* ============ PROBLÈME ============ */
.probleme-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.probleme-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.pain-list { list-style: none; display: grid; gap: 20px; }
.pain-list li {
  background: var(--white); border-radius: 16px; padding: 18px 22px 18px 58px;
  position: relative; box-shadow: 0 8px 24px rgba(8, 15, 30, .07);
}
.pain-list li::before {
  content: "!"; position: absolute; left: 20px; top: 20px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #ffe1e1; color: #d33;
  font-weight: 800; text-align: center; line-height: 24px; font-size: .9rem;
}
.pain-list strong { display: block; font-size: 1.02rem; }
.pain-list span { color: var(--txt-mut); font-size: .93rem; }

/* ============ TECHNOLOGIE ============ */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.tech-media img { border-radius: var(--radius); box-shadow: 0 26px 60px rgba(0, 0, 0, .5); }
.tech-copy p { color: var(--txt-light-mut); margin-bottom: 22px; }
.tech-list { list-style: none; display: grid; gap: 14px; margin-bottom: 30px; }
.tech-list li { padding-left: 28px; position: relative; color: var(--txt-light-mut); }
.tech-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px; border-radius: 4px;
  background: var(--blue-grad);
}
.tech-list strong { color: var(--txt-light); }

/* ============ CARTES ATOUTS ============ */
.cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; margin-top: 40px;
}
.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 10px 30px rgba(8, 15, 30, .08);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card-body p { font-size: .92rem; color: var(--txt-mut); }

/* ============ AVANT / APRÈS ============ */
.resultat-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: center; }
.resultat-copy p { color: var(--txt-mut); margin-bottom: 22px; }
.resultat-copy .hero-checks { margin-bottom: 28px; }
.resultat-copy .hero-checks li { font-weight: 600; color: var(--txt-dark); }
.resultat-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ============ ÉTAPES ============ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.step {
  background: var(--ink-card); border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius); padding: 30px 26px;
}
.step-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--blue-grad); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { color: var(--txt-light-mut); font-size: .94rem; }

/* ============ KIT ============ */
.kit-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.kit-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.kit-list { list-style: none; display: grid; gap: 14px; margin: 28px 0 30px; }
.kit-list li {
  background: var(--white); border-radius: 14px; padding: 14px 18px 14px 46px;
  position: relative; box-shadow: 0 6px 18px rgba(8, 15, 30, .06);
}
.kit-list li::before {
  content: ""; position: absolute; left: 16px; top: 19px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-grad);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="11" fill="white"/><path d="M7 12.5l3.2 3.2L17 9" stroke="black" stroke-width="3.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="11" fill="white"/><path d="M7 12.5l3.2 3.2L17 9" stroke="black" stroke-width="3.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
}
.kit-list strong { display: block; font-size: .98rem; }
.kit-list span { color: var(--txt-mut); font-size: .88rem; }

/* ============ STATS ============ */
.statband { background: var(--blue-deep); background-image: var(--blue-grad); color: #fff; }
.statband-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; padding: 44px 0; text-align: center;
}
.statband strong { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.statband span { font-size: .92rem; opacity: .92; display: inline-block; max-width: 22em; margin-top: 8px; }

/* ============ AVIS ============ */
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.avis-card {
  background: var(--white); border-radius: var(--radius);
  padding: 26px 26px 22px; box-shadow: 0 10px 30px rgba(8, 15, 30, .08);
  display: flex; flex-direction: column;
}
.stars { color: #ffb400; letter-spacing: 3px; margin-bottom: 12px; }
.avis-card p { font-size: .95rem; color: var(--txt-dark); flex: 1; }
.avis-card footer { margin-top: 16px; font-weight: 700; font-size: .92rem; }
.avis-card footer span { color: var(--txt-mut); font-weight: 500; }
.avis-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(8, 15, 30, .12); }
.avis-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============ SPECS ============ */
.specs-table {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-top: 38px;
}
.specs-table > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  background: var(--ink-card); border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px; padding: 16px 22px;
}
.specs-table span { color: var(--txt-light-mut); font-size: .88rem; white-space: nowrap; }
.specs-table strong { text-align: right; font-size: .95rem; }

/* ============ FAQ ============ */
.faq-item {
  background: var(--white); border-radius: 16px;
  box-shadow: 0 8px 24px rgba(8, 15, 30, .07);
  margin-top: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1rem;
  padding: 20px 54px 20px 24px; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 500; color: var(--blue);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--txt-mut); font-size: .95rem; }

/* ============ CTA FINAL ============ */
.final-cta {
  background: radial-gradient(900px 500px at 50% -20%, #1c2637 0%, var(--ink) 60%);
  color: var(--txt-light); text-align: center;
}
.final-inner { padding: 90px 0 96px; }
.final-cta h2 { margin-bottom: .4em; }
.final-cta p { color: var(--txt-light-mut); margin-bottom: 30px; }

/* ============ FOOTER ============ */
.site-footer { background: #080a0e; color: var(--txt-light-mut); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 30px 0; flex-wrap: wrap;
}
.footer-inner img { width: 150px; height: auto; opacity: .85; }
.footer-inner p { font-size: .84rem; }

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

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid, .probleme-grid, .tech-grid, .resultat-grid, .kit-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { padding: 52px 0 60px; }
  .hero-media { order: -1; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: repeat(2, 1fr); }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
  .statband-inner { grid-template-columns: 1fr; gap: 30px; }
  .specs-table { grid-template-columns: 1fr; }
  .resultat-media { order: -1; }
}
@media (max-width: 640px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(12, 15, 19, .97); flex-direction: column;
    padding: 18px 6%; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-inner .btn-small { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .cards-grid, .avis-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .brand img { width: 140px; }
}
