/* ==========================================================================
   HymSport — Nouvelle identité (logo + palette + typo)
   Bleu nuit + dégradé vert citron → turquoise · Montserrat (titres) + Inter (texte).
   Valeurs reprises de la maquette « HymSport — nouvelle identité ».
   ========================================================================== */

:root {
  --nuit:        #0B1F44;
  --nuit-2:      #17346B;
  --lime:        #7BEA00;
  --teal:        #00D3B2;
  --grad:        linear-gradient(90deg, #7BEA00, #00D3B2);
  --lime-texte:  #2F6E00;
  --craie:       #F4F7FA;
  --sable:       #E8EDF3;
  --survol:      #EEF3F8;
  --trait:       #E2E8F0;
  --encre-2:     #5A6478;
  --encre-3:     #6E7888;
  --brume:       #C9D3E6;
  --brume-2:     #B3BFD4;
  --brume-3:     #9AA8C2;
  --verre:       rgba(11, 31, 68, 0.55);
  --verre-trait: rgba(244, 247, 250, 0.14);
  --font:        'Inter', sans-serif;
  --font-titre:  'Montserrat', sans-serif;
  --wrap:        1240px;
  --topbar-h:    109px;  /* hauteur de l'en-tête fixe en haut de page */

  /* Jetons attendus par le popup de contact (assets/css/site.css) */
  --bg:          #FFFFFF;
  --surface:     #FFFFFF;
  --border:      var(--trait);
  --text:        var(--nuit);
  --text-muted:  var(--encre-2);
  --signal:      var(--lime);
  --signal-text: var(--lime-texte);
  --font-d:      var(--font);
  --font-l:      var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--nuit); color: var(--craie); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, .ghost { font-family: var(--font-titre); }
h1, h2 { font-weight: 700; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--nuit); }
.light .portal :focus-visible, .light .pricing-card--cloud :focus-visible { outline-color: var(--lime); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Éléments partagés ──────────────────────────────────────────────────── */
.night-bg { background: radial-gradient(ellipse at 70% 30%, var(--nuit-2) 0%, var(--nuit) 62%); color: var(--craie); }

.ghost {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: clamp(120px, 19vw, 300px); font-weight: 700; letter-spacing: -0.02em; line-height: .8; white-space: nowrap;
  background-image: linear-gradient(180deg, rgba(123,234,0,0.13), rgba(0,211,178,0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none; user-select: none;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 1 1 auto; }
.brand img { width: 40px; height: 40px; display: block; flex: none; }
.wordmark { font-family: var(--font-titre); font-weight: 800; font-size: 23px; letter-spacing: -0.01em; line-height: 1; }
.wordmark b { font-weight: 800; color: #FFFFFF; }
.wordmark i { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--lime-texte); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px var(--lime-texte); }
.eyebrow--bar { color: var(--nuit); }
.eyebrow--bar::before { width: 22px; height: 4px; border-radius: 2px; background: var(--grad); box-shadow: none; }
.eyebrow--on-dark { color: var(--lime); }
.eyebrow--on-dark::before { box-shadow: none; }

.h2 { margin: 14px 0 0; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.12; letter-spacing: -0.02em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px;
  border-radius: 999px; border: 0; text-decoration: none; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, filter .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lime { background: var(--lime); color: var(--nuit); }
.btn--lime:hover { box-shadow: 0 14px 30px -14px rgba(123,234,0,0.7); }
.btn--line { background: transparent; color: var(--nuit); border: 1px solid var(--nuit); }
.btn--glass { background: transparent; color: var(--brume); border: 1px solid rgba(244,247,250,0.25); padding: 0 26px; }
.btn--glass:hover { color: #FFFFFF; border-color: rgba(244,247,250,0.5); }
.btn--block { display: flex; width: 100%; min-height: 52px; margin-top: 28px; }

.seg { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--sable); }
.seg button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-size: 15px; background: transparent; color: var(--encre-2); transition: background .15s, color .15s; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--nuit); color: #FFFFFF; font-weight: 500; }

.card { padding: 28px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--trait); }
.card h3 { margin: 20px 0 8px; font-size: 19px; font-weight: 600; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--encre-2); font-weight: 300; }

/* ── En-tête ────────────────────────────────────────────────────────────── */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .25s, box-shadow .25s; }
.topbar.is-scrolled { background: rgba(11,31,68,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(244,247,250,0.08), 0 12px 30px -18px rgba(0,0,0,0.6); }
.site-top { position: relative; z-index: 3; padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; transition: padding .25s; }
.topbar.is-scrolled .site-top { padding-top: 12px; padding-bottom: 12px; }
.top-nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 999px; background: var(--verre); border: 1px solid var(--verre-trait); font-size: 15px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.top-nav a { text-decoration: none; padding: 10px 16px; border-radius: 999px; color: var(--brume); transition: background .15s, color .15s; }
.top-nav a:hover { background: rgba(244,247,250,0.08); color: #FFFFFF; }
.login { text-decoration: none; font-size: 15px; padding: 12px 6px; color: var(--brume); }
.login:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { display: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--verre-trait); background: var(--verre); color: var(--craie); font: inherit; font-size: 15px; cursor: pointer; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 860px; overflow: hidden; padding-top: var(--topbar-h); }
.hero-photo {
  position: absolute; right: 0; top: 0; height: 100%; width: 62%; object-fit: cover; object-position: 30% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 78%, transparent 100%), linear-gradient(180deg, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 78%, transparent 100%), linear-gradient(180deg, #000 70%, transparent 100%);
  mask-composite: intersect;
}
.hero-body { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 240px; }
.hero-copy { max-width: 600px; }
.hero-kicker { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.22em; color: var(--brume); }
.hero-kicker::before { content: ""; flex: none; width: 44px; height: 4px; border-radius: 2px; background: var(--grad); }
.hero h1 { margin: 22px 0 0; font-size: clamp(44px, 5.4vw, 72px); line-height: 1.08; letter-spacing: -0.025em; }
.hero-lead { margin: 28px 0 0; font-size: 18px; line-height: 1.65; color: var(--brume-2); font-weight: 300; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 40px; }
.link-arrow { text-decoration: none; font-size: 16px; padding: 12px 0; color: var(--brume); }
.link-arrow:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }

.hero-chips { position: absolute; right: 24px; bottom: 260px; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.chip { padding: 12px 16px; border-radius: 14px; background: rgba(11,31,68,0.6); border: 1px solid rgba(244,247,250,0.16); font-size: 13px; color: var(--brume); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chip--stat { padding: 14px 18px; border-radius: 16px; display: flex; align-items: center; gap: 14px; }
.chip--stat strong { font-size: 28px; font-weight: 600; color: var(--lime); }
.chip--stat span { line-height: 1.3; color: var(--brume-2); }
.chip .dot { color: var(--lime); }
.hero .ghost { bottom: -14px; }

/* ── Bandeau points forts ───────────────────────────────────────────────── */
.highlights { background: var(--grad); color: var(--nuit); }
.highlights .wrap { padding-top: 34px; padding-bottom: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.highlights b { display: block; font-family: var(--font-titre); font-size: 18px; font-weight: 700; }
.highlights span { display: block; font-size: 14px; margin-top: 4px; }

/* ── Zone claire ────────────────────────────────────────────────────────── */
.light { background: #FFFFFF; color: var(--nuit); }
.section { padding-top: 140px; }

/* Un seul noyau */
.core { padding-top: 120px; display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.core-copy { flex: 1 1 360px; }
.core-copy .h2 { font-weight: 700; }
.core-copy p { margin: 20px 0 0; font-size: 17px; line-height: 1.65; color: var(--encre-2); max-width: 440px; }
.core-old { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.core-old li { padding: 8px 14px; border-radius: 999px; background: var(--craie); color: var(--encre-2); font-size: 14px; text-decoration: line-through; }
.hub { flex: 1 1 480px; position: relative; aspect-ratio: 1.15 / 1; border-radius: 32px; background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, var(--craie) 70%); }
.hub > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub > .hub-lines-m { display: none; }
.hub-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; height: 150px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 30px 60px -24px rgba(11,31,68,0.45), 0 0 0 10px rgba(123,234,0,0.10), 0 0 0 22px rgba(0,211,178,0.07); display: flex; align-items: center; justify-content: center; }
.hub-core img { width: 104px; height: 104px; display: block; }
.hub-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 10px 30px -12px rgba(11,31,68,0.35); font-size: 15px; font-weight: 600; white-space: nowrap; }
.hub-node::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--lime)); }
.hub-node--teal { --c: var(--teal); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 48px; padding: 0; list-style: none; }
.feature-no { width: 44px; height: 44px; border-radius: 12px; background: var(--nuit); display: flex; align-items: center; justify-content: center; color: var(--lime); font-weight: 600; font-size: 15px; }

/* ── Application mobile ─────────────────────────────────────────────────── */
.app-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.app-head p { margin: 12px 0 0; font-size: 17px; color: var(--encre-2); font-weight: 300; }
.app-body { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.app-steps-col { flex: 1 1 380px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-width: 0; }
.app-steps { display: flex; flex-direction: column; gap: 4px; }

.step { width: 100%; display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 16px 18px; border-radius: 18px; border: 0; cursor: pointer; font: inherit; color: var(--nuit); background: transparent; transition: background .2s; }
.step:hover { background: var(--survol); }
.step[aria-selected="true"] { background: var(--survol); box-shadow: inset 4px 0 0 var(--lime); }
.step-no { flex: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; background: var(--sable); color: var(--encre-2); }
.step[aria-selected="true"] .step-no { background: var(--lime); color: var(--nuit); }
.step-txt { flex: 1; min-width: 0; }
.step-name { display: block; font-size: 13px; font-weight: 500; color: var(--encre-2); }
.step-title { display: block; margin-top: 2px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.step-msg { display: none; margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--encre-2); font-weight: 300; }
.step[aria-selected="true"] .step-msg { display: block; }

.app-ctrl { display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.app-prev { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--brume); background: #FFFFFF; color: var(--nuit); font: inherit; font-size: 20px; cursor: pointer; }
.app-next { height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--nuit); color: #FFFFFF; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.app-counter { margin-left: auto; font-size: 14px; color: var(--encre-2); }

.app-stage { flex: 1 1 520px; position: relative; min-height: 760px; border-radius: 32px; overflow: hidden; background: radial-gradient(ellipse at 50% 30%, var(--nuit-2) 0%, var(--nuit) 72%); display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.app-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-screens { position: relative; z-index: 1; }
.screen.fadein { animation: trfade .35s ease; }
@keyframes trfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.app-callout { position: absolute; z-index: 2; right: 28px; bottom: 36px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #FFFFFF; color: var(--nuit); font-size: 14px; font-weight: 500; box-shadow: 0 18px 40px -16px rgba(11,31,68,0.5); max-width: 240px; }
.app-callout::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); flex: none; }
.app-note { margin: 14px 0 0; font-size: 13px; color: var(--encre-3); }

.iphone { position: relative; flex: none; padding: 11px; border-radius: 55px; background: #1B1D1F; box-shadow: inset 0 0 0 2px #3A3D40, 0 50px 90px -40px rgba(11,31,68,0.65); }
.ib { position: absolute; width: 3px; border-radius: 2px; background: #2A2D30; }

/* ── Portail direction ──────────────────────────────────────────────────── */
.portal { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; padding: 48px; border-radius: 32px; background: var(--nuit); color: var(--craie); }
.portal-copy { flex: 1 1 340px; }
.portal h2 { margin: 14px 0 0; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.02em; }
.portal ul { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: var(--brume); }
.portal li { display: flex; gap: 12px; }
.portal li::before { content: "●"; color: var(--lime); }
.portal-shot { flex: 1.3 1 440px; min-width: 0; }
.browser { width: 100%; border-radius: 16px; overflow: hidden; background: #FFFFFF; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.55); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #EEF1EF; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; }
.browser-bar span { margin-left: 12px; flex: 1; padding: 5px 10px; border-radius: 7px; background: #FFFFFF; font-size: 12px; color: #5E7067; }

/* ── Étapes ─────────────────────────────────────────────────────────────── */
.how-no { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--nuit); font-size: 20px; font-weight: 600; }
.how .card h3 { margin-top: 12px; margin-bottom: 6px; }

/* ── Témoignage ─────────────────────────────────────────────────────────── */
.testimonial { margin: 48px 0 0; display: flex; flex-wrap: wrap; align-items: stretch; border-radius: 32px; overflow: hidden; background: var(--nuit); color: var(--craie); }
.testimonial-logo { flex: 1 1 280px; display: flex; align-items: center; justify-content: center; padding: 48px 40px; background: radial-gradient(ellipse at 30% 20%, var(--nuit-2) 0%, #08172F 75%); border-right: 1px solid rgba(244,247,250,0.08); }
.testimonial-logo img { width: 100%; max-width: 280px; height: auto; display: block; }
.testimonial-body { flex: 2 1 420px; padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.testimonial blockquote p { margin: 0; }
.testimonial figcaption a { color: var(--lime); }
.testimonial blockquote { margin: 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; font-weight: 400; letter-spacing: -0.01em; }
.ref-title { margin: 0; font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.015em; }
.ref-lead { margin: 0; font-size: 17px; line-height: 1.65; color: var(--brume); font-weight: 300; max-width: 560px; }
.ref-lead strong { color: #FFFFFF; font-weight: 600; }
.ref-facts { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ref-facts li { padding: 14px 16px; border-radius: 16px; background: rgba(244,247,250,0.05); border: 1px solid rgba(244,247,250,0.1); display: flex; flex-direction: column; gap: 4px; }
.ref-facts strong { font-family: var(--font-titre); font-size: 18px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ref-facts span { font-size: 13px; color: var(--brume-2); }
.ref-link { align-self: flex-start; color: var(--lime); text-decoration: none; font-weight: 500; }
.ref-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 4px solid; border-image: linear-gradient(180deg, #7BEA00, #00D3B2) 1; }
.testimonial figcaption strong { font-size: 16px; font-weight: 600; }
.testimonial figcaption span { font-size: 14px; color: var(--brume-2); }

/* ── Tarifs ─────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; margin-top: 40px; }
.pricing-card { padding: 36px; border-radius: 24px; }
.pricing-card--cloud { background: var(--nuit); color: var(--craie); }
.pricing-card--licence { background: #FFFFFF; border: 1px solid var(--trait); }
.pricing-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pricing-name { font-size: 18px; font-weight: 500; }
.badge { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--lime); color: var(--nuit); font-weight: 500; }
.price { margin: 28px 0 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price strong { font-size: 56px; font-weight: 600; letter-spacing: -0.03em; }
.price .per { color: var(--brume-3); }
.pricing-card--licence .price .per { color: var(--encre-2); }
.price s { color: var(--encre-3); font-size: 15px; }
.pricing-desc { margin: 20px 0 0; font-size: 15px; line-height: 1.8; color: var(--brume-2); font-weight: 300; }
.pricing-card--licence .pricing-desc { color: var(--encre-2); }
.pricing-foot { margin: 18px 0 0; font-size: 14px; color: var(--encre-2); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { padding-bottom: 140px; display: flex; flex-wrap: wrap; gap: 32px 72px; }
.faq-head { flex: 1 1 300px; max-width: 360px; }
.faq-list { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 18px; background: #FFFFFF; border: 1px solid var(--trait); }
.faq-item button { width: 100%; min-height: 64px; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 0; background: transparent; color: var(--nuit); font: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; border-radius: 18px; }
.faq-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 300; transition: transform .2s, background .2s; background: var(--craie); color: var(--nuit); }
.faq-item button[aria-expanded="true"] .faq-icon { background: var(--lime); transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 24px 22px; font-size: 15px; line-height: 1.65; color: var(--encre-2); font-weight: 300; }

/* ── CTA final + pied de page ───────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; background: radial-gradient(ellipse at 30% 0%, var(--nuit-2) 0%, var(--nuit) 60%); color: var(--craie); }
.cta-motif { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-wave { position: absolute; right: 0; bottom: 0; width: 46%; height: 240px; z-index: 0; }
.cta .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 200px; text-align: center; }
.cta h2 { margin: 0 auto; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.1; letter-spacing: -0.025em; max-width: 760px; }
.cta p { margin: 20px auto 0; font-size: 17px; color: var(--brume-2); font-weight: 300; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.cta .ghost { bottom: -10px; }

.site-foot { background: var(--nuit); border-top: 1px solid rgba(244,247,250,0.1); }
.site-foot .wrap { padding-top: 28px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--brume-3); }
.site-foot .foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.site-foot .foot-brand img { width: 24px; height: 24px; display: block; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--craie); text-decoration: underline; }

/* ── Popup de contact (habillage nouvelle identité) ─────────────────────── */
#hsContactModal .hs-box { border-radius: 24px; }
#hsContactModal h3 { font-family: var(--font-titre); font-weight: 700; }
#hsContactModal label { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; }
#hsContactModal input, #hsContactModal select, #hsContactModal textarea { border-radius: 12px; background: #FFFFFF; }
#hsContactModal .hs-send, #hsContactModal .hs-cancel { border-radius: 999px; font-weight: 600; }

/* ── Pages légales ──────────────────────────────────────────────────────── */
.legal-top { position: relative; overflow: hidden; padding-top: var(--topbar-h); }
.legal-hero { position: relative; z-index: 1; padding-top: 28px; padding-bottom: 72px; }
.legal-hero h1 { margin: 0; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -0.025em; }
.legal-hero p { margin: 16px 0 0; font-size: 15px; font-weight: 300; color: var(--brume-2); }
.legal { padding-top: 72px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: flex-start; }
.legal-toc { flex: 1 1 220px; max-width: 260px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.legal-toc a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--encre-2); }
.legal-toc a:hover { background: var(--survol); color: var(--nuit); }
.legal-body { flex: 999 1 520px; min-width: 0; max-width: 760px; font-size: 16px; line-height: 1.7; color: #2B3747; font-weight: 300; }
.legal-body .intro { font-size: 18px; color: var(--nuit); margin-top: 0; }
.legal-body h2 { margin: 56px 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; color: var(--nuit); scroll-margin-top: 24px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 600; color: var(--nuit); }
.legal-body strong { font-weight: 600; color: var(--nuit); }
.legal-body a { color: var(--lime-texte); }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin: 8px 0; }
.legal-body li::marker { color: var(--lime); }
.legal-card { margin: 16px 0; padding: 24px 28px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--trait); }
.legal-card dl { margin: 0; display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 10px 20px; }
.legal-card dt { font-weight: 600; color: var(--nuit); }
.legal-card dd { margin: 0; }

/* ── Responsive (la maquette est dessinée à 1440 px) ────────────────────── */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; align-items: center; order: 2; }
  .login { order: 3; }
  .top-nav { order: 4; display: none; width: 100%; flex-direction: column; border-radius: 22px; background: rgba(11,31,68,0.96); }
  .site-top.open .top-nav { display: flex; max-height: calc(100vh - 90px); overflow-y: auto; }
  :root { --topbar-h: 100px; }
  .hero-chips { bottom: 200px; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-photo { width: 100%; height: 56%; top: auto; bottom: 0; opacity: .85;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 75%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 75%, transparent 100%); }
  .hero-body { padding-top: 40px; padding-bottom: 120px; }
  .hero-kicker { font-size: 11px; letter-spacing: 0.16em; gap: 10px; }
  .hero-kicker::before { width: 28px; }
  .hero-lead { font-size: 17px; }
  .hero-chips { position: relative; right: auto; bottom: auto; align-items: flex-start; margin-top: 260px; }
  .wordmark { font-size: 20px; }
  .brand img { width: 34px; height: 34px; }
  .login { display: none; }
  .section { padding-top: 96px; }
  .core { padding-top: 80px; }
  .hub { aspect-ratio: 1 / 1.05; border-radius: 24px; }
  .hub-core { width: 108px; height: 108px; }
  .hub-core img { width: 74px; height: 74px; }
  .hub-node { font-size: 13px; padding: 8px 12px; gap: 6px; }
  .hub-node { left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .hub > .hub-lines { display: none; }
  .hub > .hub-lines-m { display: block; }
  .portal { padding: 28px 22px; border-radius: 24px; }
  .app-stage { min-height: 0; padding: 32px 12px 96px; border-radius: 24px; }
  .app-callout { right: 16px; left: 16px; bottom: 20px; max-width: none; }
  .app-ctrl { padding: 0 4px; }
  .testimonial { border-radius: 24px; }
  .testimonial-logo { padding: 32px 28px; }
  .testimonial-body { padding: 28px 22px; }
  .pricing-card { padding: 28px 22px; }
  .price strong { font-size: 44px; }
  .faq { padding-bottom: 96px; }
  .cta .wrap { padding-top: 88px; padding-bottom: 140px; }
  .cta-wave { width: 80%; height: 140px; }
  .legal { padding-top: 48px; padding-bottom: 80px; }
  .legal-toc { position: static; max-width: none; flex-direction: row; flex-wrap: wrap; }
  .legal-card dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-card dd { margin-bottom: 10px; }
}
@media (max-width: 380px) {
  .iphone { transform: scale(.9); margin: -32px -16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screen.fadein { animation: none; }
  .btn:hover { transform: none; }
}
