:root {
  --bg: #0b0b0d;
  --bg-alt: #111114;
  --card: #16161a;
  --card-hover: #1c1c22;
  --border: #26262e;
  --text: #f2f2f4;
  --muted: #9a9aa6;
  --accent: #ff3b30;
  --accent-2: #ff7a1a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
code { background: #222229; padding: 2px 6px; border-radius: 6px; font-size: .9em; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { font-weight: 900; font-size: 1.6rem; letter-spacing: 1px; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn, .burger, .icon-btn {
  background: var(--card); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 8px 12px; cursor: pointer; font-size: 1rem;
  transition: background .2s, border-color .2s;
}
.cart-btn:hover, .burger:hover, .icon-btn:hover { background: var(--card-hover); border-color: var(--accent); }
.cart-count {
  display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px;
  background: var(--accent); color: #fff; border-radius: 999px; font-size: .8rem; font-weight: 700; text-align: center;
}
.burger { display: none; }

/* BOUTONS */
.btn {
  display: inline-block; border: 0; cursor: pointer; font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: 10px; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 22px rgba(255, 59, 48, .3); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-block { width: 100%; margin-top: 10px; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }

/* HERO */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 90px;
  background:
    radial-gradient(900px 450px at 85% -10%, rgba(255, 59, 48, .22), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(255, 122, 26, .12), transparent 60%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; margin-bottom: 18px; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.05; font-weight: 900; letter-spacing: -1px; }
.hero-text { color: var(--muted); font-size: 1.12rem; margin: 22px 0 30px; max-width: 620px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 2rem; font-weight: 900; }
.hero-stats span { color: var(--muted); font-size: .9rem; }

/* SECTIONS */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -.5px; }
.section-sub { color: var(--muted); margin: 8px 0 34px; max-width: 620px; }
.note { color: var(--muted); font-size: .88rem; margin-top: 26px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* CARTES */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s, background .2s;
}
.card:hover { transform: translateY(-5px); border-color: var(--accent); background: var(--card-hover); }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .94rem; }

.spec-card { padding: 26px; }
.spec-icon { font-size: 2.2rem; margin-bottom: 10px; }

.visual {
  height: 150px; display: flex; align-items: center; justify-content: center;
  font-size: 3.2rem; position: relative;
  background: linear-gradient(135deg, #1d1d24, #2a1414);
}
.visual.v1 { background: linear-gradient(135deg, #1b1b22, #3a1410); }
.visual.v2 { background: linear-gradient(135deg, #14202a, #1b1b22); }
.visual.v3 { background: linear-gradient(135deg, #2a1d10, #1b1b22); }
.visual.v4 { background: linear-gradient(135deg, #1b2a1c, #1b1b22); }
.visual.v5 { background: linear-gradient(135deg, #261b2e, #1b1b22); }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.tag { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #23232b; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.tag.hot { background: rgba(255, 59, 48, .15); color: var(--accent); }

.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; gap: 10px; }
.price { font-size: 1.3rem; font-weight: 900; }

/* FILTRES */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  background: var(--card); color: var(--muted); border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem;
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* VIDEOS */
.video-box { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1a1a21, #2e1512); cursor: pointer; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
}
.play-btn {
  width: 62px; height: 62px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff;
  box-shadow: 0 0 0 8px rgba(255, 59, 48, .2); transition: transform .2s;
}
.video-box:hover .play-btn { transform: scale(1.1); }
.play small { color: var(--muted); }

/* NEWSLETTER */
.newsletter { text-align: center; max-width: 640px; }
.newsletter h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; }
.newsletter p { color: var(--muted); margin: 10px 0 22px; }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.news-form input {
  flex: 1 1 240px; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--card); color: var(--text); font-size: 1rem;
}
.news-form input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.news-msg { margin-top: 12px !important; color: #4cd964 !important; min-height: 24px; }

/* FOOTER */
.footer { background: #08080a; border-top: 1px solid var(--border); padding: 50px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-text { color: var(--muted); margin-top: 8px; font-size: .92rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; display: grid; gap: 8px; }

/* PANIER */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.overlay.show { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--bg-alt); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform .3s; z-index: 100;
  display: flex; flex-direction: column;
}
.cart.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 20px; }
.cart-empty { color: var(--muted); text-align: center; margin-top: 60px; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-line h4 { font-size: .98rem; }
.cart-line .line-price { font-weight: 700; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); color: var(--text); cursor: pointer; }
.qty button:hover { border-color: var(--accent); }
.remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .82rem; text-decoration: underline; }
.cart-foot { padding: 18px 20px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.15rem; margin-bottom: 6px; }
.mini { color: var(--muted); font-size: .78rem; margin-top: 10px; text-align: center; }

/* MODALE */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.7); z-index: 120; padding: 20px; }
.modal.open { display: flex; }
.modal-box { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; width: min(620px, 100%); max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow); }
.modal-box h3 { margin-bottom: 14px; font-size: 1.4rem; }
.modal-box p { color: var(--muted); margin-bottom: 12px; font-size: .95rem; }
.modal-box ul { margin: 0 0 12px 18px; list-style: disc; color: var(--muted); font-size: .95rem; }
.modal-close { position: absolute; top: 14px; right: 14px; }

/* TOAST */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px);
  background: #222229; border: 1px solid var(--accent); color: var(--text);
  padding: 12px 22px; border-radius: 10px; opacity: 0; pointer-events: none;
  transition: all .3s; z-index: 150; font-size: .92rem;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* RESPONSIVE */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 14px 4%; border-top: 1px solid var(--border); }
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
}

/* ===== PHASE 1 : ajouts ===== */
.head-cta { display: inline-block; }
.btn.btn-sm, a.btn { text-align: center; }

.notice {
  background: rgba(255, 122, 26, .08); border: 1px solid rgba(255, 122, 26, .4);
  color: var(--text); border-radius: 10px; padding: 12px 16px; margin-bottom: 24px; font-size: .92rem;
}

.timeline { position: relative; max-width: 760px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.step { position: relative; padding-bottom: 26px; }
.step:last-child { padding-bottom: 0; }
.step .dot {
  position: absolute; left: -34px; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-alt); border: 2px solid var(--border);
}
.step.done .dot { background: #4cd964; border-color: #4cd964; }
.step.now .dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(255, 59, 48, .2); }
.step-body { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.step.now .step-body { border-color: var(--accent); }
.step h3 { font-size: 1.1rem; margin: 6px 0 4px; }
.step p { color: var(--muted); font-size: .94rem; }

.soon { opacity: .9; border-style: dashed; }
.soon:hover { transform: none; }
.section-sub strong { color: var(--text); }

.newsletter { margin: 56px auto 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; justify-content: center; text-align: left; color: var(--muted); font-size: .84rem; margin-top: 14px; }
.consent input { margin-top: 3px; accent-color: var(--accent); }

@media (max-width: 760px) {
  .head-cta { display: none; }
}
ol.timeline { list-style: none; }

/* ===== COMMUNAUTÉ ===== */
[hidden] { display: none !important; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tab { background: var(--card); color: var(--muted); border: 1px solid var(--border); padding: 11px 20px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: .95rem; transition: all .2s; }
.tab:hover { color: var(--text); border-color: var(--accent); }
.tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.panel-intro { color: var(--muted); margin-bottom: 20px; font-size: .95rem; }
.panel-intro strong { color: var(--text); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 13px; font: inherit; font-weight: 400;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.req-form .consent { justify-content: flex-start; margin: 0 0 10px; }
.req-form .btn { margin-top: 8px; }
.form-msg { margin-top: 12px; min-height: 22px; font-size: .92rem; }
.form-msg.ok { color: #4cd964; }
.form-msg.err { color: var(--accent); }
.sub-title { font-size: 1.5rem; font-weight: 900; margin: 44px 0 18px; }
.inline-link { color: var(--accent); text-decoration: underline; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }

/* ===== v3 : tirets, offres coach, paiement ===== */
.dashes { display: grid; gap: 6px; margin-bottom: 26px; }
.dashes li { display: flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.dashes li::before { content: ""; width: 18px; height: 2px; background: var(--accent); flex: none; }

.offres { display: grid; gap: 10px; margin-top: 10px; }
.offre { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; }
.offre-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.offre-info small { color: var(--muted); }
.offre-act { display: flex; align-items: center; gap: 10px; flex: none; }
.offre .price { font-size: 1.05rem; }
.offre .price small { font-size: .75rem; color: var(--muted); font-weight: 600; }

.orient { margin-top: 26px; border-top: 1px solid var(--border); padding-top: 18px; }
.orient summary { cursor: pointer; font-weight: 700; color: var(--accent); margin-bottom: 16px; }

.pay-price { font-size: 2rem; font-weight: 900; color: var(--text) !important; margin-bottom: 8px; }
.pay-price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
#payForm { margin-top: 14px; display: grid; gap: 10px; }
#payForm .consent { justify-content: flex-start; margin: 0; }
.hero-inner.container { max-width: min(1180px, 92%); }
#coachsGrid { grid-template-columns: repeat(2, 1fr); }
.offre { flex-direction: column; align-items: stretch; }
.offre-act { justify-content: space-between; }
@media (max-width: 760px) { #coachsGrid { grid-template-columns: 1fr; } }

/* ===== v4 : boutique repliée et fiches produit ===== */
#boutique { padding: 34px 0; }
.shop-toggle { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: transparent; border: 1px dashed var(--border); border-radius: 12px; color: var(--text); cursor: pointer; font: inherit; font-weight: 700; text-align: left; transition: border-color .2s; }
.shop-toggle small { color: var(--muted); font-weight: 500; }
.shop-toggle .chev { margin-left: auto; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.shop-toggle:hover { border-color: var(--accent); }
#shopBody { margin-top: 30px; }

.visual svg { height: 132px; width: auto; max-width: 90%; }
.big-emoji { font-size: 3.2rem; line-height: 1; }
.dots { display: flex; gap: 6px; margin-top: 2px; }
.dot-c { width: 12px; height: 12px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(255, 255, 255, .3); }
.price small { font-size: .75rem; color: var(--muted); font-weight: 600; }

.modal-box.wide { width: min(920px, 100%); }
.pm { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.pm-visual { background: linear-gradient(135deg, #1d1d24, #2a1414); border-radius: 12px; display: flex; align-items: center; justify-content: center; min-height: 320px; padding: 20px; }
.pm-visual svg { width: 100%; max-width: 300px; height: auto; }
.pm-visual .big-emoji { font-size: 7rem; }
.pm-text { margin-bottom: 14px !important; }
.opt { margin-bottom: 16px; }
.opt-label { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.opt-label strong { color: var(--text); }
.opt-vals { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .88rem; transition: border-color .15s; }
.pill:hover { border-color: var(--accent); }
.pill small { color: var(--muted); }
.pill.on { border-color: var(--accent); background: rgba(255, 59, 48, .14); }
.swatch { width: 32px; height: 32px; border-radius: 50%; background: var(--sw); border: 2px solid var(--border); cursor: pointer; }
.swatch.on { outline: 2px solid var(--accent); outline-offset: 2px; }
.qty-row, .pm-total { display: flex; justify-content: space-between; align-items: center; margin: 12px 0; }
.qty-row > span { color: var(--muted); font-size: .9rem; }
.pm-total strong { font-size: 1.6rem; }
.pm-total small { color: var(--muted); }
#orderForm { margin-top: 14px; display: grid; gap: 10px; }
#orderForm .consent { justify-content: flex-start; margin: 0; }
@media (max-width: 760px) { .pm { grid-template-columns: 1fr; } .pm-visual { min-height: 220px; } }
.visual:has(svg), .pm-visual:has(svg) { background: radial-gradient(circle at 50% 42%, #4a4a58 0%, #2a2a33 70%); }
.card .visual:has(svg) { background: radial-gradient(circle at 50% 42%, #4a4a58 0%, #2a2a33 72%); }

/* Boutique dans l'en-tête */
.nav-shop { display: none; }
@media (max-width: 760px) { .nav-shop { display: block; } }
@media (max-width: 900px) {
  .burger { display: block; }
  .head-cta { display: none; }
  .nav-shop { display: block; }
  .nav {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav.open { max-height: 360px; }
  .nav a { padding: 14px 4%; border-top: 1px solid var(--border); }
}
