/* Pages publiques LiveoSport (HTML statique, hors Angular) — charte : bleu primaire #4e73df.
   nginx met les .css/.js en cache 1 an : après toute modification de ce fichier ou de site.js,
   changer le ?v=… des balises <link>/<script> dans les 5 pages (front/src/site). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/site/fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #4e73df;
  --primary-dark: #1c3faa;
  --primary-deep: #142c7a;
  --primary-pale: #eef2ff;
  --primary-soft: #dfe7fd;
  --accent: #7c9cff;
  --text: #121a33;
  --text-muted: #56607a;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --border: #e3e8f3;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 28px rgba(28, 63, 170, .08);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .05), 0 22px 48px rgba(28, 63, 170, .16);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.18; margin: 0 0 .75rem; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
strong { font-weight: 700; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

:focus-visible { outline: 3px solid rgba(78, 115, 223, .45); outline-offset: 2px; border-radius: 6px; }

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.45rem; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 8px 20px rgba(78, 115, 223, .35); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(78, 115, 223, .45); }
.btn--outline { background: #fff; color: var(--primary-dark); border-color: var(--primary-soft); }
.btn--outline:hover { border-color: var(--primary); }
.btn--light { background: #fff; color: var(--primary-dark); box-shadow: 0 10px 24px rgba(10, 20, 60, .25); }
.btn--light:hover { box-shadow: 0 14px 32px rgba(10, 20, 60, .32); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

/* ── En-tête ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.site-header.is-scrolled { background: rgba(255,255,255,.94); border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(16, 24, 40, .06); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.site-logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--primary-deep); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; }
.site-logo img { width: 36px; height: 36px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.site-nav__links { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.site-nav__links a {
  display: block; padding: .45rem .8rem; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background .2s, color .2s;
}
.site-nav__links a:hover, .site-nav__links a[aria-current="page"] { background: var(--primary-pale); color: var(--primary-dark); }
.site-nav__actions { display: flex; gap: .5rem; align-items: center; }
.site-nav__login {
  color: var(--primary-dark); font-weight: 700; text-decoration: none; font-size: .95rem;
  padding: .4rem 1rem; border-radius: 999px; border: 2px solid var(--primary-soft);
  transition: border-color .2s;
}
.site-nav__login:hover { border-color: var(--primary); }
.menu-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; color: var(--text);
}
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 20px 1.25rem;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__links { flex-direction: column; gap: .15rem; }
  .site-nav__links a { padding: .7rem .9rem; font-size: 1.05rem; border-radius: 10px; }
  .site-nav__actions { flex-direction: column; align-items: stretch; }
  .site-nav__login { text-align: center; padding: .7rem 1rem; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 8rem);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(124, 156, 255, .55), transparent 60%),
    radial-gradient(700px 500px at 5% 100%, rgba(20, 44, 122, .9), transparent 65%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, var(--primary-deep) 100%);
}
.hero::before { /* trame de points */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero::after { /* bord bas incliné */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--bg);
  clip-path: polygon(0 100%, 100% 30%, 100% 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { /* mot-clé surligné façon marqueur */
  font-style: normal; color: #fff; padding: 0 .08em; border-radius: 6px;
  background: linear-gradient(180deg, transparent 58%, rgba(124, 156, 255, .75) 58%, rgba(124, 156, 255, .75) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__lead { font-size: clamp(1.08rem, 2vw, 1.25rem); max-width: 620px; opacity: .95; margin-bottom: 2rem; }
.hero__note { margin: 1.1rem 0 0; font-size: .92rem; opacity: .88; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.hero__note span::before { content: "✓ "; font-weight: 800; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.25); padding: .35rem .9rem; border-radius: 999px;
  font-size: .85rem; font-weight: 700; margin-bottom: 1.25rem;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c9d6ff; box-shadow: 0 0 0 4px rgba(201,214,255,.25); }

/* Composition décorative (en attendant les captures) : tuiles d'icônes reliées au logo */
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; margin-left: auto; }
.hero-art__links { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art__links line { stroke: rgba(255,255,255,.4); stroke-width: 1.5; stroke-dasharray: 5 7; animation: tirets 18s linear infinite; }
.hero-art__core { /* logo mis en lumière, sans forme ajoutée autour */
  position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center;
}
.hero-art__core::before {
  content: ""; position: absolute; inset: -40%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.55) 0%, rgba(255,255,255,.22) 38%, transparent 70%);
}
.hero-art__core img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(255,255,255,.45)) drop-shadow(0 10px 22px rgba(8,20,70,.35)); }
.tile {
  position: absolute; display: flex; align-items: center; gap: .55rem;
  padding: .55rem .9rem .55rem .55rem; border-radius: 16px;
  background: rgba(255,255,255,.96); color: var(--text); font-weight: 700; font-size: .9rem;
  box-shadow: 0 14px 34px rgba(8, 20, 70, .35);
  transform: translate(-50%, -50%);
  animation: flotte 6s ease-in-out infinite alternate;
  white-space: nowrap;
}
.tile__icon {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.tile__icon svg { width: 17px; height: 17px; }
.tile:nth-of-type(2n) { animation-duration: 7s; animation-delay: -2s; }
.tile:nth-of-type(3n) { animation-duration: 8s; animation-delay: -4s; }

@keyframes flotte { from { transform: translate(-50%, -50%); } to { transform: translate(-50%, calc(-50% - 10px)); } }
@keyframes tirets { to { stroke-dashoffset: -240; } }

/* ── Sections ────────────────────────────────────────────── */
.section { position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin: 0; }
.eyebrow {
  display: inline-block; margin-bottom: .8rem; padding: .3rem .85rem; border-radius: 999px;
  background: var(--primary-pale); color: var(--primary-dark);
  font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); text-align: left;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-soft); }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--text-muted); }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-pale), var(--primary-soft)); color: var(--primary-dark);
}
.card__icon svg { width: 21px; height: 21px; }
.card__link { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1rem; font-weight: 700; text-decoration: none; }
.card__link::after { content: "→"; transition: transform .2s var(--ease); }
.card:hover .card__link::after, .card__link:hover::after { transform: translateX(4px); }
.card--big { padding: 2rem; }
.card--big .card__icon { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 10px 24px rgba(78,115,223,.35); }
.card--big .card__icon svg { width: 26px; height: 26px; }

/* Cartes en rangées centrées : une carte seule en fin de rangée reste au milieu. */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.cards > .card { flex: 0 1 calc((100% - 2.5rem) / 3); }
.cards--2 > .card { flex-basis: calc((100% - 1.25rem) / 2); }
@media (max-width: 960px) { .cards > .card { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (max-width: 680px) { .cards > .card { flex-basis: 100%; } }

/* Plusieurs thèmes courts côte à côte */
.trio__points { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; color: var(--text-muted); }
.trio__points li { position: relative; padding-left: 1.1rem; }
.trio__points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.trio__points strong { color: var(--text); }

/* Bandeau « avec la formule… » */
.pack-band {
  margin-top: 1.5rem; padding: 1.6rem 1.8rem; border-radius: var(--radius);
  background: radial-gradient(400px 200px at 100% 0%, rgba(124,156,255,.5), transparent 60%), linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
  box-shadow: var(--shadow);
}
.pack-band__icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.pack-band__icon svg { width: 22px; height: 22px; }
.pack-band h3 { color: #fff; margin-bottom: .6rem; }
.pack-band ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .5rem; }
.pack-band li { opacity: .95; }
.pack-band li::marker { color: #c9d6ff; }
@media (max-width: 600px) { .pack-band { grid-template-columns: 1fr; } }

.pack-tag {
  display: inline-block; font-size: .76rem; font-weight: 800; color: var(--primary-dark);
  background: var(--primary-pale); border-radius: 999px; padding: .15rem .65rem; vertical-align: middle;
}
.card__note { margin-top: .9rem; }
.muted { color: var(--text-muted); }
.small { font-size: .9rem; }
.center { text-align: center; }

/* Avant / après (« Ce que LiveoSport remplace ») */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center; }
.compare__col { border-radius: var(--radius); padding: 1.75rem; }
.compare__col h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.compare__before { background: #f3f4f7; border: 1px dashed #cdd3df; }
.compare__before h3 { color: #6b7280; }
.compare__before ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.compare__before li {
  display: flex; gap: .7rem; align-items: flex-start; padding: .75rem .9rem; border-radius: 12px;
  background: #fff; color: #6b7280; border: 1px solid #e5e7eb; font-size: .97rem;
}
.compare__before li svg { flex: none; width: 18px; height: 18px; margin-top: .2rem; color: #b4232a; opacity: .7; }
.compare__arrow {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 10px 24px rgba(78,115,223,.4);
}
.compare__arrow svg { width: 24px; height: 24px; }
.compare__after {
  background: linear-gradient(160deg, #fff 0%, var(--primary-pale) 100%); border: 1px solid var(--primary-soft);
  box-shadow: var(--shadow-lg); text-align: center;
}
.compare__after h3 { color: var(--primary-dark); }
.compare__after img { width: 72px; height: 72px; margin-bottom: .5rem; }
.compare__after p { font-size: 1.12rem; font-weight: 700; margin-bottom: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; list-style: none; padding: 0; margin: 0; }
.chips li { padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--primary-soft); color: var(--primary-dark); font-weight: 700; font-size: .85rem; }
@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; }
  .compare__arrow { margin: 0 auto; transform: rotate(90deg); }
}

/* Frise (« Tout est relié ») */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-soft), var(--primary), var(--primary-soft));
}
.timeline__step { position: relative; text-align: center; display: flex; flex-direction: column; }
.timeline__dot {
  position: relative; z-index: 1; width: 58px; height: 58px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.2rem; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 0 0 8px var(--bg), 0 10px 24px rgba(78,115,223,.4);
}
.section--soft .timeline__dot { box-shadow: 0 0 0 8px var(--bg-soft), 0 10px 24px rgba(78,115,223,.4); }
.timeline__step .card { flex: 1; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { top: 0; bottom: 0; left: 28px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--primary-soft), var(--primary), var(--primary-soft)); }
  .timeline__step { display: grid; grid-template-columns: 58px 1fr; gap: 1rem; text-align: left; }
  .timeline__dot { margin: 0; }
}

/* Bloc mis en avant (parents, centre d'aide…) */
.spotlight {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: 24px;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(124,156,255,.25), transparent 60%),
    linear-gradient(135deg, #fff, var(--primary-pale));
  border: 1px solid var(--primary-soft); box-shadow: var(--shadow);
}
.spotlight h2 { margin-bottom: 1rem; }
.spotlight p { color: var(--text-muted); font-size: 1.05rem; }
.spotlight__art { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.spotlight__art .tile { position: static; transform: none; animation: none; box-shadow: var(--shadow); }
@media (max-width: 860px) { .spotlight { grid-template-columns: 1fr; } }

.related { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.related a {
  display: inline-flex; align-items: center; gap: .35rem; padding: .55rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s var(--ease);
}
.related a::after { content: "→"; }
.related a:hover { border-color: var(--primary); transform: translateY(-2px); }
.spotlight .related { justify-content: flex-start; }

/* ── Formules (accueil) ──────────────────────────────────── */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: 1.25rem; justify-content: center; margin: 0 0 1.75rem; }
.price {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price--featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.price__flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--primary); color: #fff; font-size: .75rem; font-weight: 800; padding: .2rem .7rem; border-radius: 999px;
}
.price__name { font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.price__value { font-size: 2.1rem; font-weight: 800; color: var(--primary-deep); letter-spacing: -.03em; }
.price__value span { font-size: .95rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0; }

/* ── Avis ────────────────────────────────────────────────── */
.reviews[hidden] { display: none; }
.reviews .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .reviews .grid { grid-template-columns: 1fr; } }
.review__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.review__avatar {
  width: 46px; height: 46px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.review__role { display: inline-block; font-size: .78rem; font-weight: 700; background: var(--primary-pale); color: var(--primary-dark); border-radius: 999px; padding: .05rem .55rem; }
.review__stars { color: #f6b100; letter-spacing: 2px; }
.card .review__quote { color: var(--text); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { display: grid; gap: .75rem; max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.35rem;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--primary-soft); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary-pale); color: var(--primary-dark); font-size: 1.2rem; font-weight: 700; transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .85rem 0 0; color: var(--text-muted); animation: ouvre .3s var(--ease); }
@keyframes ouvre { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── Bandeau final ───────────────────────────────────────── */
.cta-band { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 5rem); }
.cta-band__box {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem); border-radius: 28px;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(124,156,255,.6), transparent 60%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: var(--shadow-lg);
}
.cta-band__box::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .15;
  background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1.2px); background-size: 22px 22px;
}
.cta-band h2 { color: #fff; }
.cta-band p { opacity: .92; max-width: 620px; margin-left: auto; margin-right: auto; margin-bottom: 1.75rem; }

/* ── Pied de page ────────────────────────────────────────── */
.site-footer { background: #0d1530; color: #c3cbe0; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .8rem; color: #fff; margin-bottom: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #c3cbe0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__brand { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: .75rem; }
.site-footer__brand img { width: 32px; height: 32px; }
.site-footer__copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; color: #8c97b5; }

/* ── Fenêtre « Demander une démo » ───────────────────────── */
.demo-dialog {
  width: min(520px, calc(100% - 32px)); border: 0; border-radius: 22px; padding: 0;
  box-shadow: 0 30px 80px rgba(16, 24, 40, .35);
}
.demo-dialog[open] { animation: ouvre .3s var(--ease); }
.demo-dialog::backdrop { background: rgba(13, 21, 48, .55); }
.demo-dialog__head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border); }
.demo-dialog__head h2 { font-size: 1.25rem; margin: 0; }
.demo-dialog__close { background: var(--primary-pale); border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--primary-dark); width: 38px; height: 38px; border-radius: 50%; }
.demo-dialog__body { padding: 1.25rem 1.5rem 1.5rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .93rem; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid #cfd6e4; border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(78,115,223,.15); }
.field input.is-invalid { border-color: #dc3545; }
.form-message { padding: .75rem 1rem; border-radius: 12px; margin-bottom: 1rem; }
.form-message--error { background: #fdecee; color: #a61b29; }
.form-message--success { background: #e8f7ee; color: #1d6b3b; }
.demo-dialog .btn--primary { width: 100%; }

/* ── Apparition au défilement (uniquement si JavaScript actif) ── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row, .hero__note { justify-content: center; }
  .hero-art { display: none; }
}
@media (max-width: 600px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .prices { grid-template-columns: 1fr; }
}

/* ── Mouvement réduit ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
