/* Page d'accueil publique : thème sombre ou clair */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.landing { --lp-bg: #f3f6fb; --lp-band: #eaf0f8; --lp-card: #ffffff; --lp-deep: #f7f9fd; --wave1: rgba(0, 153, 255, .07); --wave2: rgba(0, 229, 153, .05); --wave3: rgba(123, 97, 255, .05); background: var(--lp-bg); }
html[data-theme="dark"] .landing { --lp-bg: #0b0d13; --lp-band: #0b0d13; --lp-card: #131722; --lp-deep: #0e121b; --wave1: rgba(0, 153, 255, .10); --wave2: rgba(0, 229, 153, .06); --wave3: rgba(123, 97, 255, .07); }
.landing .page { display: block; position: relative; z-index: 1; }
#top, #methode, #aide, #wave { scroll-margin-top: 80px; }

/* Vagues d'arrière-plan (douces, animées, adaptées aux deux thèmes) */
.waves { position: fixed; left: 0; right: 0; bottom: 0; height: 32vh; z-index: 0; pointer-events: none; overflow: hidden; }
.waves svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; animation: waveMove 26s linear infinite; }
.waves .w1 { fill: var(--wave1); } .waves .w2 { fill: var(--wave2); animation: waveBob 9s ease-in-out infinite; } .waves .w3 { fill: var(--wave3); animation: waveBob 12s ease-in-out infinite reverse; }
@keyframes waveMove { to { transform: translateX(-50%); } }
@keyframes waveBob { 50% { transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .waves svg, .waves path { animation: none; } }

/* Bandeau jaune et navigation */
.ribbon { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; padding: 6px 16px; background: #ffcc00; color: #0b0d13; font-size: .74rem; font-weight: 700; position: relative; z-index: 2; }
.ribbon a { color: #0b0d13; display: inline-flex; align-items: center; gap: 6px; } .ribbon .ic { width: 14px; height: 14px; }
.ribbon-live { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .02em; min-width: 0; white-space: nowrap; overflow: hidden; } .ribbon-links { display: none; gap: 18px; }
.lp-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 16px;
  background: color-mix(in srgb, var(--lp-bg) 85%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lp-brand .logo { width: 108px; } .lp-links { display: none; gap: 4px; margin-left: 22px; }
.lp-links a { padding: 8px 14px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: .9rem; transition: background .25s, color .25s; }
.lp-links a.on, .lp-links a:hover { color: var(--text); background: var(--surface2); text-decoration: none; }
.hide-xs { display: none; }
.lp { overflow-x: clip; } .lp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.lp h2 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); line-height: 1.15; margin: 0 0 8px; font-weight: 800; letter-spacing: -.03em; }

/* Accueil */
.lp-hero { max-width: 1240px; margin: 0 auto; padding: 36px 16px 48px; display: grid; gap: 30px; align-items: center; }
.lp-net { margin-bottom: 16px; } .lp-title { font-size: clamp(2.1rem, 8vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 14px; }
.lp-dooh { background: linear-gradient(90deg, #00c2ff, #0099ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-kicker { display: flex; align-items: center; gap: 8px; color: var(--link); font-weight: 600; margin: 0 0 14px; } .lp-kicker .ic { width: 18px; height: 18px; }
.lp-lead { color: var(--muted); font-size: 1.02rem; max-width: 56ch; margin: 0 0 22px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; } .lp-cta .btn { flex: 1 1 200px; }
.lp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 26px; }
.lp-stats div { position: relative; overflow: hidden; padding: 14px 16px; border-radius: 14px; color: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.lp-stats div::after { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.lp-stats div:hover { transform: translateY(-4px); }
.lp-stats .st-green { background: linear-gradient(135deg, #00c27f, #008f5d); box-shadow: 0 12px 28px -14px rgba(0, 194, 127, .8); }
.lp-stats .st-orange { background: linear-gradient(135deg, #ff9a2e, #e0620b); box-shadow: 0 12px 28px -14px rgba(255, 138, 31, .8); }
.lp-stats .st-red { background: linear-gradient(135deg, #ff5a4f, #c9241a); box-shadow: 0 12px 28px -14px rgba(255, 77, 67, .8); }
.lp-stats b { display: block; font: 800 1.7rem/1.1 var(--font-head); color: #fff; } .lp-stats span { display: block; margin-top: 4px; font: 700 .66rem/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.lp-stats small { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: .74rem; color: rgba(255, 255, 255, .9); } .lp-stats small .ic { width: 13px; height: 13px; }
.lp-stats .dot { background: #fff; }
.lp-screen-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #000; border: 1px solid var(--line);
  box-shadow: 0 0 0 8px var(--lp-card), 0 0 0 9px var(--line), 0 24px 50px -24px rgba(0, 0, 0, .5); }
.lp-screen-frame video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 1 !important; }
.lp-onair { position: absolute; top: 14px; left: 14px; background: rgba(0, 0, 0, .65); }

/* Sections (sans ligne de séparation) */
.lp-band { padding: 48px 0; background: transparent; }
.lp-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; } .lp-sec-head .muted { max-width: 60ch; margin: 0; }
.lp-ssl { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--lp-card); }
.lp-ssl .ic { color: var(--ok); } .lp-ssl b { display: block; font-size: .8rem; } .lp-ssl small { display: block; color: var(--muted); font-size: .72rem; }
.lp-wave { display: grid; gap: 16px; padding: 18px; border-radius: 22px; border: 1px solid var(--line); background: var(--lp-deep); box-shadow: var(--shadow); }
.lp-wave-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; } .lp-wave-brand b { display: block; font: 800 1.2rem/1.2 var(--font-head); } .lp-wave-brand small { color: var(--muted); }
.wave-logo { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: #1dc8ff; color: #0b0d13; box-shadow: 0 10px 30px -8px rgba(29, 200, 255, .7); } .wave-logo .ic { width: 28px; height: 28px; }
.lp-feats { display: grid; gap: 10px; grid-template-columns: 1fr; }
.lp-feats > div, .lp-grid .panel { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: var(--lp-card); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.lp-feats > div:hover, .lp-grid .panel:hover { transform: translateY(-3px); border-color: var(--blue); }
.lp-feats b { font-size: .92rem; } .lp-feats small { color: var(--muted); font-size: .8rem; }
.fi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface2); color: var(--muted); margin-bottom: 6px; } .fi .ic { width: 18px; height: 18px; }
.fi.green { background: var(--okbg); color: var(--ok); } .fi.blue { background: var(--infobg); color: var(--link); } .fi.amber { background: var(--amberbg); color: var(--amber-t); }
.lp-steps { padding: 16px; border-radius: 18px; background: var(--lp-card); border: 1px solid var(--line); }
.lp-steps-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; } .lp-steps-head b { display: inline-flex; align-items: center; gap: 8px; } .lp-steps-head b .ic { color: var(--link); }
.lp-steps ol { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.lp-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); }
.lp-steps li span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 800; }
.lp-steps li:last-child span { background: var(--green); color: #002112; } .lp-steps p { margin: 0; font-size: .86rem; }

/* Méthode : onglets avec contenus animés */
.lp-method { padding-top: 40px; padding-bottom: 40px; }
.lp-pwa { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--lp-card); font-size: .8rem; color: var(--muted); } .lp-pwa .ic { width: 16px; height: 16px; color: var(--link); }
.lp-tabs { display: grid; gap: 18px; }
.lp-tablist { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; } .lp-tablist::-webkit-scrollbar { display: none; }
.lp-tablist button { flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--lp-card); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: all .3s var(--ease); }
.lp-tablist button .ic { color: var(--muted); transition: color .3s; } .lp-tablist button b { display: block; font-size: .9rem; } .lp-tablist button small { display: none; color: var(--muted); font-size: .74rem; }
.lp-tablist button:hover { transform: translateX(3px); }
.lp-tablist button.on { border-color: rgba(0, 153, 255, .5); background: linear-gradient(90deg, rgba(0, 153, 255, .16), transparent); box-shadow: inset 3px 0 0 var(--blue); } .lp-tablist button.on .ic { color: var(--link); }
.lp-fleet { display: none; }
.lp-pane { position: relative; overflow: hidden; background: var(--lp-card); }
.lp-pane::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 153, 255, .14), transparent 70%); pointer-events: none; }
.lp-pane.enter { animation: paneIn .5s var(--ease) both; } .lp-pane.enter > * { animation: paneIn .55s var(--ease) both; }
.lp-pane.enter > *:nth-child(2) { animation-delay: .05s; } .lp-pane.enter > *:nth-child(3) { animation-delay: .1s; } .lp-pane.enter > *:nth-child(4) { animation-delay: .15s; } .lp-pane.enter > *:nth-child(5) { animation-delay: .2s; }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } }
.lp-pane h3 { font-size: clamp(1.3rem, 3.6vw, 1.9rem); margin: 0 0 12px; } .lp-pane p { color: var(--muted); } .lp-pane-lead { font-size: 1rem; }
.lp-hl { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 16px 0; }
.hl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface2); }
.hl .ic { grid-row: span 2; width: 36px; height: 36px; padding: 8px; border-radius: 10px; } .hl b { font-size: .9rem; } .hl small { color: var(--muted); font-size: .78rem; }
.hl.blue .ic { background: var(--infobg); color: var(--link); } .hl.amber .ic { background: var(--amberbg); color: var(--amber-t); } .hl.green .ic { background: var(--okbg); color: var(--ok); }
.lp-note { padding: 14px; border-radius: 12px; background: var(--surface2); border-left: 3px solid var(--blue); } .lp-note b { display: flex; align-items: center; gap: 8px; color: var(--link); font-size: .86rem; } .lp-note b .ic { width: 16px; height: 16px; } .lp-note p { margin: 6px 0 0; font-size: .9rem; }
.lp-cards { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; counter-reset: none; }
.lp-cards li { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.lp-cards li:hover { transform: translateY(-2px); border-color: var(--blue); }
.lp-cards p { margin: 0; color: var(--text) !important; font-size: .9rem; font-weight: 500; }
.lc-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font: 800 .8rem var(--font-head); box-shadow: var(--glow); }
.lc-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--infobg); color: var(--link); } .lc-ic .ic { width: 19px; height: 19px; }
.tips-cards .lc-ic { background: var(--amberbg); color: var(--amber-t); }
.lp-feat-title { display: flex; align-items: center; gap: 8px; margin: 26px 0 12px; font-size: 1.05rem; } .lp-feat-title .ic { color: var(--link); }
.lp-grid { display: grid; gap: 12px; grid-template-columns: 1fr; } .lp-grid h4 { margin: 2px 0; font-size: 1.02rem; } .lp-grid p { margin: 0; color: var(--muted); font-size: .86rem; } .lp-grid small { font-weight: 700; font-size: .76rem; margin-top: 6px; }

/* Aide */
.lp-help { display: grid; gap: 20px; margin-bottom: 56px; padding: 26px 18px; border-radius: 24px; border: 1px solid var(--line); background: var(--lp-deep); box-shadow: var(--shadow); }
.lp-help h2 { margin-top: 12px; } .lp-help .muted { margin: 0 0 18px; }
.lp-faq { display: grid; gap: 8px; background: var(--lp-card); } .lp-faq-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .lp-faq-head .ic { color: var(--link); }
.lp-faq details { border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); }
.lp-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; font-weight: 600; font-size: .88rem; }
.lp-faq summary::-webkit-details-marker { display: none; } .lp-faq summary .ic { width: 16px; height: 16px; transition: transform .2s; } .lp-faq details[open] summary .ic { transform: rotate(180deg); }
.lp-faq details p { margin: 0; padding: 0 14px 14px; color: var(--muted); font-size: .86rem; } .lp-faq details[open] p { animation: paneIn .35s var(--ease) both; }

/* Pied de page */
.lp-foot { position: relative; z-index: 1; background: var(--lp-card); padding: 34px 0 calc(20px + env(safe-area-inset-bottom)); }
.lp-foot-grid { display: grid; gap: 22px; } .lp-foot-grid > div { display: grid; gap: 8px; align-content: start; } .lp-foot-grid a { color: var(--muted); font-size: .88rem; } .lp-foot-grid a:hover { color: var(--text); }
.lp-foot-grid b { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; } .foot-logo { width: 170px; height: auto; }
.lp-foot-grid p { margin: 0; font-size: .86rem; max-width: 42ch; } .lp-copy { text-align: center; color: var(--muted); font-size: .78rem; margin: 26px 0 0; }

@media (min-width: 480px) { .hide-xs { display: inline-flex; } }
@media (min-width: 720px) {
  .ribbon-links { display: inline-flex; } .lp-feats { grid-template-columns: 1fr 1fr; } .lp-grid { grid-template-columns: 1fr 1fr; } .lp-foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .lp-help { padding: 40px; } .lp-tablist button small { display: block; } .lp-hl { grid-template-columns: repeat(3, 1fr); } .lp-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .lp-nav { padding: 0 32px; } .lp-links { display: flex; } .lp-wrap { padding: 0 32px; }
  .lp-hero { grid-template-columns: 55fr 45fr; padding: 64px 32px 72px; gap: 48px; }
  .lp-wave { grid-template-columns: 1.4fr 1fr; padding: 28px; gap: 24px; }
  .lp-tabs { grid-template-columns: 300px 1fr; gap: 26px; } .lp-tablist { flex-direction: column; overflow: visible; }
  .lp-tablist button { width: 100%; } .lp-fleet { display: block; padding: 16px; border-radius: 14px; background: var(--lp-card); border: 1px solid var(--line); margin-top: 8px; }
  .lp-fleet b { display: flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; } .lp-fleet b .ic { width: 16px; height: 16px; }
  .lp-fleet p { color: var(--muted); font-size: .84rem; margin: 8px 0; } .lp-fleet span { font-size: .78rem; color: var(--muted); }
  .lp-help { grid-template-columns: 1.15fr 1fr; align-items: center; padding: 48px; }
}

/* Bouton « Se connecter » : vert, pulsation douce pour attirer l'œil */
.btn-pulse { position: relative; isolation: isolate; font-weight: 800; }
.btn-pulse .ic { width: 16px; height: 16px; }
.btn-pulse::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--green); animation: btnPulse 2s cubic-bezier(.2, .7, .3, 1) infinite; }
.btn-pulse:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-pulse:hover::after { animation-play-state: paused; opacity: 0; }
@keyframes btnPulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.35, 1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .btn-pulse::after { animation: none; opacity: 0; } }
.lp-pay-logos { justify-content: flex-start; gap: 10px; margin: 0 0 18px; } .lp-pay-logos img { width: 46px; height: 46px; border-radius: 12px; }
