/* ============================================================
   MAXIME DIGITAL — sites web pour clubs sportifs
   Refonte 2026 · « sport-tech » clair, vivant et animé.
   Identité : dégradé émeraude → citron vert sur encre marine.
   Tout se personnalise via les variables --* ci-dessous.
   ============================================================ */

:root {
  /* ── Couleurs de marque ── */
  --emerald: #059669;
  --green:   #22c55e;
  --lime:    #a3e635;
  --accent:  #10b981;
  --accent-deep: #047857;
  --accent-soft: #d9f7e6;

  --grad: linear-gradient(118deg, #059669 0%, #22c55e 52%, #a3e635 100%);
  --grad-text: linear-gradient(100deg, #047857 0%, #16a34a 45%, #65a30d 100%);

  --ink:      #0a1628;   /* encre marine profonde */
  --ink-soft: #14253a;
  --muted:    #566576;
  --muted-2:  #8595a3;

  --bg:      #ffffff;
  --bg-alt:  #f3faf6;    /* menthe très claire */
  --bg-mint: #ecfdf5;
  --border:  #e7efe9;
  --border-2:#d6e6dc;

  --radius:    18px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  --shadow-sm: 0 2px 10px rgba(10, 22, 40, .05);
  --shadow:    0 18px 44px -16px rgba(10, 22, 40, .16);
  --shadow-lg: 0 44px 90px -28px rgba(10, 22, 40, .30);
  --shadow-accent: 0 18px 46px -14px rgba(16, 185, 129, .50);

  --max: 1140px;
  --font: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Bricolage Grotesque Variable', 'Inter Variable', system-ui, sans-serif;
  --font-mono: 'Space Grotesk Variable', 'Inter Variable', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--ring, rgba(16,185,129,.5)); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }

/* ── Layout ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }
.container--narrow { max-width: 780px; }
.section { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-top: clamp(2rem, 5vw, 3rem); }

.section-head { text-align: center; max-width: 660px; margin: 0 auto clamp(2.2rem, 5vw, 3.4rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 0.55rem 0 0.7rem; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; font-weight: 700; letter-spacing: -0.015em; }

/* ── Eyebrow (petit label) ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 600;
  background: var(--accent-soft); padding: 0.4rem 0.85rem; border-radius: 99px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.eyebrow--plain { background: none; padding: 0; color: var(--accent); }
.eyebrow--plain::before { display: none; }

/* ── Texte en dégradé ── */
.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── Boutons ── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.96rem; line-height: 1;
  padding: 0.92rem 1.7rem; border-radius: 99px; cursor: pointer; border: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-accent); background-size: 160% 160%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 56px -14px rgba(16,185,129,.6); background-position: 100% 50%; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  background-size: 220% 100%; background-position: 200% 0; transition: none; pointer-events: none;
}
.btn-primary:hover::after { animation: sheen 0.9s ease; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--border-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent-deep); box-shadow: var(--shadow); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

@keyframes sheen { from { background-position: 200% 0; } to { background-position: -120% 0; } }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav-wrap.scrolled { background: rgba(255,255,255,.9); border-bottom-color: var(--border); box-shadow: 0 8px 30px -18px rgba(10,22,40,.3); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.4rem; max-width: var(--max); margin: 0 auto;
  transition: padding .3s;
}
.nav-wrap.scrolled .nav { padding-top: 0.6rem; padding-bottom: 0.6rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark { width: 38px; height: 38px; flex: none; border-radius: 11px; box-shadow: 0 6px 16px -6px rgba(16,185,129,.7); transition: transform .35s cubic-bezier(.2,.9,.2,1.2); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.brand-text { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.brand-text b { font-weight: 800; }
.brand-text span { color: var(--muted-2); font-weight: 600; }

.nav-links { display: flex; gap: 1.7rem; align-items: center; list-style: none; }
.nav-links > li > a:not(.btn) { position: relative; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); padding: 0.3rem 0; }
.nav-links > li > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--grad); border-radius: 2px; transition: right .28s ease;
}
.nav-links > li > a:not(.btn):hover::after { right: 0; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; padding: 0 10px; background: #fff;
  border: 1px solid var(--border-2); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 0.5rem 1.4rem 1.1rem;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .35s ease, opacity .25s ease;
  }
  .nav-links.open { max-height: 80vh; opacity: 1; pointer-events: auto; }
  .nav-links li { padding: 0.15rem 0; }
  .nav-links > li > a:not(.btn) { display: block; padding: 0.7rem 0; font-size: 1.05rem; }
  .nav-links .btn { display: flex; justify-content: center; margin-top: 0.5rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 6.5rem) 1.4rem clamp(3rem, 7vw, 5rem); text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(125% 95% at 50% -15%, #e9fbf1 0%, #f5fcf8 42%, #ffffff 72%), linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%); }
.hero-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(74px); opacity: .38; will-change: transform; }
.hero-blob.b1 { width: 460px; height: 460px; top: -140px; left: -90px;  background: radial-gradient(circle at 30% 30%, #34d399, transparent 70%); animation: drift1 19s ease-in-out infinite; }
.hero-blob.b2 { width: 420px; height: 420px; top: -90px;  right: -100px; background: radial-gradient(circle at 70% 30%, #a3e635, transparent 70%); animation: drift2 23s ease-in-out infinite; }
.hero-blob.b3 { width: 360px; height: 360px; bottom: -160px; left: 35%;  background: radial-gradient(circle at 50% 50%, #5eead4, transparent 70%); animation: drift3 27s ease-in-out infinite; }

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px, 40px) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px, -40px) scale(1.15); } }

.hero-inner { max-width: 880px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); max-width: 16ch; margin: 1rem auto 1.1rem; }
.hero p { font-size: clamp(1.06rem, 2.3vw, 1.28rem); color: var(--muted); max-width: 60ch; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 0.7rem 1.6rem; justify-content: center; flex-wrap: wrap;
  list-style: none; margin-top: 2rem; color: var(--ink-soft); font-size: 0.92rem; font-weight: 500;
}
.hero-badges li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-badges svg { width: 1.1em; height: 1.1em; color: var(--accent); flex: none; }

/* ── Showcase (navigateur + téléphone) ── */
.showcase { position: relative; max-width: 880px; margin: clamp(2.8rem, 6vw, 4.5rem) auto 0; padding-bottom: 1rem; }
.tilt { transition: transform .3s ease; transform-style: preserve-3d; will-change: transform; }
.browser {
  border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--border-2); box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex; align-items: center; gap: 0.55rem; padding: 0.7rem 0.95rem;
  background: linear-gradient(180deg,#fbfdfc,#f1f6f3); border-bottom: 1px solid var(--border);
}
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.browser-bar .dot:nth-child(1){ background:#ff5f57; } .browser-bar .dot:nth-child(2){ background:#febc2e; } .browser-bar .dot:nth-child(3){ background:#28c840; }
.browser-url {
  margin-left: 0.6rem; flex: 1; max-width: 360px; font-family: var(--font-mono);
  font-size: 0.78rem; color: var(--muted); background: #fff; border: 1px solid var(--border);
  border-radius: 8px; padding: 0.35rem 0.8rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-url b { color: var(--accent-deep); font-weight: 600; }
.showcase-desktop { display: block; width: 100%; height: auto; }
.showcase-phone {
  position: absolute; right: -0.6rem; bottom: -0.6rem; width: clamp(108px, 21%, 188px); height: auto;
  border-radius: 18px; border: 4px solid #fff; box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 540px) {
  .showcase { padding-bottom: 0; }
  .showcase-phone { position: static; display: block; width: 150px; margin: -2rem auto 0; animation: none; }
}

/* ── Indice de scroll ── */
.scroll-cue { display: inline-flex; margin-top: 2.4rem; width: 26px; height: 42px; border: 2px solid var(--border-2); border-radius: 99px; position: relative; }
.scroll-cue::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--accent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 60% { opacity: 1; transform: translateY(12px); } 100% { opacity: 0; transform: translateY(14px); } }

/* ============================================================
   MARQUEE (sports défilants)
   ============================================================ */
.marquee { position: relative; overflow: hidden; padding: 1.4rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--ink); opacity: .55; white-space: nowrap; }
.marquee-item::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   STATS (chiffres animés)
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat { text-align: center; padding: 1.4rem 1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat-num { font-family: var(--font-mono); font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.stat-num .unit { font-size: 0.5em; margin-left: 0.12em; color: var(--accent-deep); }
.stat-label { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; line-height: 1.4; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   CARTES / BENTO (avantages, garanties)
   ============================================================ */
.grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity .35s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 15px; background: var(--accent-soft);
  font-size: 1.65rem; margin-bottom: 1.1rem; box-shadow: inset 0 0 0 1px rgba(16,185,129,.12);
  transition: transform .35s;
}
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card h3 { font-size: 1.22rem; margin-bottom: 0.45rem; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ============================================================
   ÉTAPES (comment ça marche)
   ============================================================ */
.steps { position: relative; list-style: none; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-2) 0 10px, transparent 10px 20px);
  z-index: 0;
}
@media (max-width: 760px) { .steps::before { display: none; } }
.step { position: relative; z-index: 1; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem 1.6rem 1.6rem; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  position: absolute; top: -20px; left: 1.6rem; width: 44px; height: 44px; border-radius: 14px;
  background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 1.18rem; font-weight: 700; box-shadow: var(--shadow-accent);
}
.step-icon { font-size: 1.9rem; margin: 0.5rem 0 0.6rem; }
.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ============================================================
   TARIFS / FORMULES
   ============================================================ */
.pricing { display: grid; gap: 1.7rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 840px; margin: 0 auto; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.2rem 2rem; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card--featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-accent);
}
@media (min-width: 781px) { .price-card--featured { transform: scale(1.04); } .price-card--featured:hover { transform: scale(1.04) translateY(-6px); } }
.price-badge {
  position: absolute; top: -0.9rem; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 99px;
  white-space: nowrap; box-shadow: var(--shadow-accent);
}
.price-name { font-size: 1.55rem; }
.price-tagline { color: var(--muted); font-size: 0.96rem; margin-top: 0.2rem; }
.price-amount { font-family: var(--font-mono); font-size: 3.2rem; font-weight: 700; margin-top: 1.1rem; line-height: 1; letter-spacing: -0.02em; }
.price-unit { color: var(--muted); font-size: 0.85rem; }
.price-features { list-style: none; margin: 1.5rem 0 1.9rem; display: grid; gap: 0.75rem; }
.price-features li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); font-size: 0.96rem; }
.price-features li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.78rem no-repeat;
}
.price-card .btn { margin-top: auto; justify-content: center; }
.pricing-note { text-align: center; color: var(--muted); font-size: 0.95rem; margin-top: 1.9rem; }
.pricing-reassurance {
  display: flex; align-items: flex-start; gap: 0.7rem; max-width: 660px; margin: 1rem auto 0;
  padding: 1rem 1.3rem; background: var(--accent-soft); border: 1px solid var(--border-2);
  border-radius: 14px; color: var(--accent-deep); font-size: 0.93rem; line-height: 1.55;
}
.pricing-reassurance-icon { flex: none; font-weight: 700; }

/* ============================================================
   À PROPOS (split avec portrait encadré)
   ============================================================ */
.about-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .about-split { grid-template-columns: 1fr; } }
.about-media { position: relative; }
.about-figure {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; max-width: 420px;
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-media::before {
  content: ""; position: absolute; inset: -14px -14px auto auto; width: 130px; height: 130px;
  border-radius: 50%; background: var(--grad); filter: blur(8px); opacity: .35; z-index: -1;
}
.about-badge {
  position: absolute; bottom: 1.2rem; left: -1rem; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 0.85rem 1.1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.7rem;
}
.about-badge .ab-mark { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.about-badge b { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.about-badge span { color: var(--muted); font-size: 0.8rem; }
.about-content h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); margin-bottom: 1rem; }
.about-content p { color: var(--muted); margin-bottom: 1.4rem; }
@media (max-width: 820px) { .about-badge { left: auto; right: 1rem; } }

/* ============================================================
   BANDEAU CTA
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; text-align: center; padding: clamp(3.5rem, 9vw, 6rem) 1.4rem; background-size: cover; background-position: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(4,120,87,.92), rgba(10,22,40,.78)); }
.cta-band-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 5vw, 3rem); margin: 0 auto 1.6rem; }

/* ============================================================
   ACTUALITÉS
   ============================================================ */
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card-top { height: 6px; background: var(--grad); }
.news-card-body { padding: 1.6rem; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-soft); padding: 0.25rem 0.7rem; border-radius: 99px; margin-bottom: 0.7rem; }
.news-card-body h3 { font-size: 1.16rem; margin-bottom: 0.4rem; }
.news-card-body time { font-size: 0.82rem; color: var(--muted-2); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 0.8rem; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: #fff; padding: 0 1.3rem; transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--border-2); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.15rem 0; font-weight: 600; font-family: var(--font-display); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 8px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 0.85rem no-repeat; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item p { color: var(--muted); padding: 0 0 1.2rem; font-size: 0.97rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 5vw, 3rem); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1.1rem; align-content: start; }
.contact-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-item .ci-icon { flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent-deep); }
.contact-item .ci-icon svg { width: 1.3rem; height: 1.3rem; }
.contact-item h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); font-family: var(--font-mono); font-weight: 600; }
.contact-item a, .contact-item p { color: var(--ink); font-size: 1.02rem; font-weight: 500; }
.contact-item a:hover { color: var(--accent-deep); }
.contact-form { display: grid; gap: 0.85rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2rem); box-shadow: var(--shadow-sm); }
.contact-form input, .contact-form textarea { font: inherit; padding: 0.9rem 1.05rem; border: 1px solid var(--border-2); border-radius: 12px; background: var(--bg-alt); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted-2); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--ring, rgba(16,185,129,.16)); }
.contact-form .btn { justify-content: center; margin-top: 0.3rem; }

/* ============================================================
   BARRE D'ACTION FIXE (mobile)
   ============================================================ */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--border);
  }
  .mobile-cta-btn { display: flex; align-items: center; justify-content: center; gap: 0.4rem; text-align: center; font-weight: 600; font-size: 0.95rem; padding: 0.82rem 1rem; border-radius: 12px; border: 1px solid var(--border-2); color: var(--ink); background: #fff; }
  .mobile-cta-btn--primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-accent); }
  body { padding-bottom: 4.6rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; background: var(--ink); color: #fff; padding: 3rem 0 1.6rem; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.6rem; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-brand-text { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.footer-tagline { color: rgba(255,255,255,.5); font-size: 0.9rem; margin-top: 0.4rem; max-width: 30ch; }
.footer-links { display: flex; gap: 1.4rem; list-style: none; flex-wrap: wrap; align-items: center; }
.footer-links a { color: rgba(255,255,255,.62); font-size: 0.92rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { text-align: center; color: rgba(255,255,255,.32); font-size: 0.8rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); }

/* ============================================================
   PAGE LÉGALE
   ============================================================ */
.legal h2 { font-size: 1.35rem; margin: 1.9rem 0 0.5rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); margin-bottom: 0.85rem; }
.legal a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   REVEAL AU SCROLL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ── Respect du « mouvement réduit » ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-blob, .showcase-phone, .marquee-track { animation: none !important; }
  .marquee-track { transform: none; }
}

/* ============================================================
   Harmonisation des icônes SVG inline (V2)
   Le design d'origine utilisait des emojis ; la V2 emploie des
   icônes vectorielles (style Lucide) → on les dimensionne ici.
   ============================================================ */
.card-icon { color: var(--accent-deep); }
.card-icon svg { width: 1.55rem; height: 1.55rem; }
.step-icon { color: var(--accent); display: inline-flex; }
.step-icon svg { width: 1.75rem; height: 1.75rem; }
.browser-url svg { width: 0.85rem; height: 0.85rem; flex: none; vertical-align: -1px; color: var(--accent-deep); }
.mobile-cta-btn svg { width: 1.15rem; height: 1.15rem; flex: none; }

/* ============================================================
   GLASS PREMIUM +++  (cartes en verre dépoli)
   Synergie avec les ballons 3D : la balle (canvas z-20) passe
   DERRIÈRE les cartes (z-30) et se devine FLOUTÉE à travers le
   verre. Sous @supports → repli opaque (#fff de base) si pas de
   backdrop-filter, sinon le texte deviendrait illisible.
   ============================================================ */
@supports ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .card, .price-card, .news-card, .faq-item, .stat, .step,
  .contact-form, .about-badge {
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
    backdrop-filter: blur(16px) saturate(170%);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 44px -20px rgba(10, 22, 40, .22),
                inset 0 1px 0 rgba(255, 255, 255, .6);
  }
  /* Plan mis en avant : verre légèrement teinté émeraude. */
  .price-card--featured {
    background: rgba(217, 247, 230, 0.55);
    border-color: rgba(16, 185, 129, 0.45);
  }
  .faq-item[open] { background: rgba(255, 255, 255, 0.72); }

  /* Mobile : verre plus opaque + flou réduit (lisibilité + perf). */
  @media (max-width: 700px) {
    .card, .price-card, .news-card, .faq-item, .stat, .step,
    .contact-form, .about-badge {
      background: rgba(255, 255, 255, 0.86);
      -webkit-backdrop-filter: blur(9px) saturate(150%);
      backdrop-filter: blur(9px) saturate(150%);
    }
  }
}

/* ============================================================
   Écran de chargement (préchargeur)
   Masque l'init 3D de Three.js ; retiré dès l'évènement
   « balls-ready » (ou au plus tard après 3 s — filet).
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: radial-gradient(125% 95% at 50% 0%, #e9fbf1 0%, #f5fcf8 45%, #ffffff 75%);
  transition: opacity .55s ease, visibility .55s ease;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.pl-mark { width: 58px !important; height: 58px !important; border-radius: 16px;
  box-shadow: 0 14px 34px -10px rgba(16,185,129,.6); animation: plPulse 1.4s ease-in-out infinite; }
.pl-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink); }
.pl-bar { width: 150px; height: 4px; border-radius: 99px; background: var(--accent-soft); overflow: hidden; }
.pl-bar i { display: block; width: 42%; height: 100%; border-radius: 99px; background: var(--grad); animation: plSlide 1.05s ease-in-out infinite; }
@keyframes plPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes plSlide { 0% { transform: translateX(-130%); } 100% { transform: translateX(360%); } }
@media (prefers-reduced-motion: reduce) {
  .pl-mark, .pl-bar i { animation: none; }
  #preloader { transition: opacity .2s ease; }
}

/* ============================================================
   Lenis — smooth scroll inertiel
   ============================================================ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ============================================================
   Reveal premium : blur-in + léger scale (en plus du translate/stagger)
   ============================================================ */
[data-reveal] {
  transform: translateY(30px) scale(.985); filter: blur(8px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1),
              transform .8s cubic-bezier(.2,.8,.2,1),
              filter .8s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
[data-reveal].in { transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

html.lenis { scroll-behavior: auto !important; }
