/* ===== Page d'accueil : design premium + animations ===== */
:root { --navy: #041a5c; --navy-2: #06277f; --sun: #ffb020; --sun-2: #ff7a18; }

/* Barre de progression de scroll */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: linear-gradient(90deg, var(--cyan), var(--sun), var(--sun-2)); box-shadow: 0 0 10px rgba(255,176,32,.7); }
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(4, 26, 92, .12); }
.site-header .container { transition: height .3s ease; }
.site-header.scrolled .container { height: 62px; }
.logo img { transition: height .3s ease; }
.site-header.scrolled .logo img { height: 44px; }

/* Révélation au scroll */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.from-left { transform: translateX(-40px); }
.js .reveal.from-right { transform: translateX(40px); }
.js .reveal.from-left.in, .js .reveal.from-right.in { transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: .00s; }
.stagger.in > *:nth-child(2) { transition-delay: .09s; }
.stagger.in > *:nth-child(3) { transition-delay: .18s; }
.stagger.in > *:nth-child(4) { transition-delay: .27s; }
.stagger.in > *:nth-child(5) { transition-delay: .36s; }
.stagger.in > *:nth-child(6) { transition-delay: .45s; }
.stagger.in > *:nth-child(n+7) { transition-delay: .5s; }

.js .stagger.done > * { transition: transform .2s ease, box-shadow .3s ease, border-color .3s ease !important; transition-delay: 0s !important; }

/* ===== HERO ===== */
.hero-pro {
  position: relative; overflow: hidden; color: #fff; padding: 72px 0 110px;
  background: radial-gradient(1200px 600px at 85% -10%, #0b4fe0 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #0a3fc4 100%);
}
.hero-pro::before { /* grille technique */
  content: ''; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  animation: gridMove 22s linear infinite;
}
@keyframes gridMove { to { background-position: 54px 54px, 54px 54px; } }
.sun { position: absolute; right: -140px; top: -160px; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,176,32,.55) 0%, rgba(255,122,24,.25) 35%, transparent 68%); animation: sunPulse 6s ease-in-out infinite; }
.sun::after { content: ''; position: absolute; inset: 60px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 8%, rgba(255,200,80,.35) 10% 12%, transparent 14% 24%, rgba(255,200,80,.3) 26% 28%, transparent 30% 40%, rgba(255,200,80,.35) 42% 44%, transparent 46% 56%, rgba(255,200,80,.3) 58% 60%, transparent 62% 72%, rgba(255,200,80,.35) 74% 76%, transparent 78% 88%, rgba(255,200,80,.3) 90% 92%, transparent 94%);
  -webkit-mask-image: radial-gradient(circle, transparent 38%, #000 40%, transparent 72%); mask-image: radial-gradient(circle, transparent 38%, #000 40%, transparent 72%);
  animation: spin 40s linear infinite; }
@keyframes sunPulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.orb.o1 { width: 280px; height: 280px; background: #00bfff; left: -80px; bottom: -60px; animation: float 9s ease-in-out infinite; }
.orb.o2 { width: 200px; height: 200px; background: #7c3aed; left: 40%; top: -60px; opacity: .25; animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-26px) translateX(14px); } }

.hero-pro .hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-pro .badge { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.hero-pro .badge::before { background: var(--sun); box-shadow: 0 0 0 0 rgba(255,176,32,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255,176,32,0); } 100% { box-shadow: 0 0 0 0 rgba(255,176,32,0); } }
.hero-pro h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -.03em; margin: 20px 0 18px; }
.grad { background: linear-gradient(90deg, #ffd166, #ff9a3c 45%, #ffd166); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.hero-pro p.lead { color: #c9d8ff; font-size: 1.15rem; max-width: 560px; }
.hero-pro .btn-primary { background: linear-gradient(135deg, var(--sun), var(--sun-2)); color: #2a1300; box-shadow: 0 10px 28px rgba(255,122,24,.4); position: relative; overflow: hidden; }
.hero-pro .btn-primary:hover { background: linear-gradient(135deg, #ffc247, #ff8a30); transform: translateY(-2px); }
.hero-pro .btn-primary::after { content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: sweep 3.5s ease-in-out infinite; }
@keyframes sweep { 0%, 60% { left: -120%; } 100% { left: 160%; } }
.hero-pro .btn-outline { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.hero-pro .btn-outline:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.hero-pro .pill { background: rgba(255,255,255,.1); color: #dbe7ff; border: 1px solid rgba(255,255,255,.15); }

.hero-stage { position: relative; perspective: 1200px; }
.hero-card { position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.15);
  transform: rotateY(-8deg) rotateX(3deg); transition: transform .5s ease; background: #0a2a8c; }
.hero-stage:hover .hero-card { transform: rotateY(0) rotateX(0) scale(1.02); }
.hero-card img { width: 100%; height: 460px; object-fit: cover; }
.hero-card .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; background: linear-gradient(0deg, rgba(4,26,92,.95), transparent); }
.hero-card .caption small { display: inline-block; background: var(--sun); color: #2a1300; font-weight: 800; padding: 2px 12px; border-radius: 99px; font-size: .72rem; margin-bottom: 8px; }
.hero-card .caption strong { display: block; font-size: 1.2rem; }
.hero-card .caption span { font-size: .86rem; opacity: .85; }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.96); color: var(--ink); padding: 10px 16px; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.3); font-size: .82rem; font-weight: 700; }
.chip i { font-style: normal; font-size: 1.4rem; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.chip.c1 { left: -28px; top: 36px; animation: bob 5s ease-in-out infinite; }
.chip.c2 { right: -18px; bottom: 90px; animation: bob 6s ease-in-out infinite .8s; }
.chip.c3 { left: 24px; bottom: -22px; animation: bob 5.5s ease-in-out infinite 1.6s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 3; }
.wave svg { width: 100%; height: 70px; display: block; }

/* ===== Bande de statistiques ===== */
.stats-strip { position: relative; z-index: 4; margin-top: -54px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(4,26,92,.16); border: 1px solid var(--line); overflow: hidden; }
.stat-item { padding: 26px 20px; text-align: center; position: relative; }
.stat-item + .stat-item::before { content: ''; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: var(--line); }
.stat-item b { display: block; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.1; background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item > span { color: var(--muted); font-size: .85rem; font-weight: 600; }

/* ===== Marques ===== */
.brands { padding: 44px 0 8px; text-align: center; }
.brands p { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 1.6rem; font-weight: 800; color: #b6c2dc; white-space: nowrap; letter-spacing: -.01em; transition: color .2s; }
.marquee-track span:hover { color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Titres de section ===== */
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-2); margin-bottom: 8px; }
.title-bar { position: relative; display: inline-block; }
.title-bar::after { content: ''; display: block; height: 4px; width: 56px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--sun), var(--sun-2)); }
.center .title-bar::after { margin-left: auto; margin-right: auto; }

/* ===== Cartes (effets) ===== */
.cat-card { transition: transform .3s ease, box-shadow .3s ease; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(6,55,184,.25); }
.cat-card span { font-size: 1.05rem; }
.product-card { transform-style: preserve-3d; will-change: transform; }
.product-card .pimg img { transition: transform .5s ease; }
.product-card:hover .pimg img { transform: scale(1.08); }
.feature { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; position: relative; overflow: hidden; }
.feature::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.feature:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(6,55,184,.16); border-color: #c7d8ff; }
.feature:hover::before { transform: scaleX(1); }
.feature .ico { transition: transform .4s ease, background .3s; }
.feature:hover .ico { transform: rotate(-8deg) scale(1.12); background: #dbe7ff; }

/* ===== Étapes ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; margin-top: 36px; }
.steps::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #b9c9f5 0 8px, transparent 8px 16px); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; padding: 0 8px; }
.step .num { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue), #1f6bff); box-shadow: 0 10px 24px rgba(6,55,184,.3), 0 0 0 8px #fff; transition: transform .3s ease; }
.step:hover .num { transform: scale(1.12) rotate(6deg); background: linear-gradient(135deg, var(--sun-2), var(--sun)); }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .9rem; }

/* ===== Bandeau kits ===== */
.kit-banner { position: relative; overflow: hidden; border-radius: 28px; color: #fff; background: linear-gradient(135deg, var(--navy), #0a3fc4); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; box-shadow: 0 30px 70px rgba(4,26,92,.3); }
.kit-banner::before { content: ''; position: absolute; width: 380px; height: 380px; right: 28%; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,176,32,.4), transparent 65%); }
.kit-banner .txt { padding: 48px; position: relative; z-index: 1; }
.kit-banner .txt h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; margin: 10px 0; }
.kit-banner .txt p { color: #c9d8ff; max-width: 480px; }
.kit-banner .price-tag { display: inline-flex; align-items: baseline; gap: 8px; margin: 18px 0 22px; }
.kit-banner .price-tag b { font-size: 2.4rem; color: var(--sun); }
.kit-banner .price-tag small { color: #c9d8ff; }
.kit-banner .btn { background: linear-gradient(135deg, var(--sun), var(--sun-2)); color: #2a1300; }
.kit-banner .img { position: relative; height: 100%; min-height: 320px; }
.kit-banner .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mask-image: linear-gradient(90deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); transition: transform 8s ease; }
.kit-banner:hover .img img { transform: scale(1.06); }

/* ===== Témoignages ===== */
.testi { transition: transform .3s ease, box-shadow .3s ease; position: relative; }
.testi::before { content: '“'; position: absolute; right: 18px; top: -6px; font-size: 5rem; line-height: 1; color: #e4ecff; font-family: Georgia, serif; }
.testi:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(6,55,184,.15); }

/* ===== FAQ ===== */
.faq details { transition: box-shadow .25s ease, border-color .25s ease; }
.faq details[open] { border-color: #b9c9f5; box-shadow: 0 10px 28px rgba(6,55,184,.1); }
.faq summary::after { transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }

/* ===== Appel final ===== */
.final-cta { position: relative; overflow: hidden; border-radius: 30px; text-align: center; color: #fff; padding: 64px 24px; background: linear-gradient(135deg, var(--navy), #0b4fe0); box-shadow: 0 30px 70px rgba(4,26,92,.3); }
.final-cta::before, .final-cta::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.final-cta::before { width: 420px; height: 420px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(255,176,32,.5), transparent 65%); animation: sunPulse 6s ease-in-out infinite; }
.final-cta::after { width: 300px; height: 300px; left: -100px; bottom: -140px; background: radial-gradient(circle, rgba(0,191,255,.4), transparent 65%); }
.final-cta h2 { position: relative; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.15; max-width: 760px; margin: 0 auto 12px; }
.final-cta p { position: relative; color: #c9d8ff; max-width: 560px; margin: 0 auto 26px; }
.final-cta .row-btns { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-wa { box-shadow: 0 10px 28px rgba(22,163,74,.45); }
.final-cta .btn-outline { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }

/* Bouton WhatsApp flottant animé */
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #16a34a; z-index: -1; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.9); opacity: 0; } }

@media (max-width: 960px) {
  .hero-pro { padding: 52px 0 96px; }
  .hero-pro .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { transform: none; }
  .hero-card img { height: 320px; }
  .chip.c1 { left: 8px; } .chip.c2 { right: 8px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3)::before { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .kit-banner { grid-template-columns: 1fr; }
  .kit-banner .img { min-height: 240px; }
  .kit-banner .img img { mask-image: linear-gradient(0deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(0deg, transparent, #000 35%); }
}
@media (max-width: 560px) {
  .kit-banner .txt { padding: 30px 22px; }
  .stats-grid { border-radius: 18px; }
  .stat-item { padding: 18px 10px; }
  .steps { grid-template-columns: 1fr; }
  .chip.c3 { display: none; }
}

/* Accessibilité : réduire les animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .stagger > * { opacity: 1 !important; transform: none !important; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
}

/* Catégories : tuiles texte + icône (pas de photo) */
#cats { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cat-tile { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.cat-tile:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(6,55,184,.16); border-color: #b9c9f5; }
.ct-ico { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 2rem; background: linear-gradient(135deg, #eaf1ff, #dbe7ff); transition: transform .35s ease; }
.cat-tile:hover .ct-ico { transform: rotate(-8deg) scale(1.1); }
.ct-txt { min-width: 0; }
.ct-txt b { display: block; font-size: 1.08rem; line-height: 1.25; overflow-wrap: anywhere; }
.ct-txt small { color: var(--muted); font-weight: 600; }
.ct-go { margin-left: auto; color: var(--blue); font-weight: 800; font-size: 1.3rem; transition: transform .25s ease; }
.cat-tile:hover .ct-go { transform: translateX(5px); }
