/* =========================================================================
   SMARTVEX — feuille de style
   ========================================================================= */
:root {
  --blue: #1677FF;          /* bleu principal (accents, titres, contours)  */
  --blue-btn: #0E63E6;      /* bleu des boutons : texte blanc conforme AA */
  --blue-btn-hover: #0B55C8;
  --blue-text: #0B5CD5;     /* bleu pour petits textes sur fond clair     */
  --blue-soft: #6AA8FF;     /* bleu pour petits textes sur fond nuit      */
  --night: #080D18;
  --night-2: #0E1626;
  --night-3: #16213A;
  --light: #F3F7FC;
  --white: #FFFFFF;
  --ink: #0B1220;
  --ink-2: #4A5568;
  --on-dark: #E8EEF8;
  --on-dark-2: #A9B6CC;
  --line-light: #DCE5F1;
  --line-dark: rgba(255,255,255,.10);
  --danger: #D92D20;
  --danger-dark: #FF8A80;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 30, 66, .08);
  --shadow-lg: 0 24px 60px rgba(8, 13, 24, .45);
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--blue);

  --font: "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: var(--night); overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.35rem, 6.2vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.85rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus { outline: none; }
:focus-visible { box-shadow: var(--focus); border-radius: 6px; }
main:focus { box-shadow: none; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 32px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px;
  background: var(--white); color: var(--night); font-weight: 700; border-radius: 8px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.accent { color: var(--blue); }
.muted { color: var(--ink-2); }
[hidden] { display: none !important; }

/* ------------------------------ Boutons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: .9em 1.75em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue-btn); color: var(--white); box-shadow: 0 8px 24px rgba(22,119,255,.35); }
.btn-primary:hover { background: var(--blue-btn-hover); box-shadow: 0 12px 30px rgba(22,119,255,.45); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
.btn-white { background: var(--white); color: var(--blue-text); }
.btn-white:hover { background: var(--light); }
.btn-outline-white { color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline { color: var(--blue-text); border-color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-btn); color: var(--white); border-color: var(--blue-btn); }
.btn-wa { background: #1A7F4B; color: var(--white); }
.btn-wa:hover { background: #146B3E; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ----------------------------- Navigation ------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(8, 13, 24, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled { background: rgba(8, 13, 24, .94); border-bottom-color: var(--line-dark); }
.nav-bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: none; border-radius: 6px; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 10px 14px; color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .97rem;
  border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--white); background: rgba(255,255,255,.08); }
.nav-cta { min-height: 44px; padding: .6em 1.2em; font-size: .95rem; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line-dark); border-radius: 12px;
  background: rgba(255,255,255,.04); color: var(--white); cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 50%; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transform: translateX(-50%); transition: transform .25s, opacity .2s;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; transform: none; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); background: var(--white); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); background: var(--white); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 16px 24px; background: var(--night); border-bottom: 1px solid var(--line-dark);
    box-shadow: var(--shadow-lg); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav:not(.is-open) { display: none; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-list a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .nav-cta { min-height: 52px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ------------------------------ Bannière -------------------------------- */
.hero {
  position: relative; isolation: isolate; color: var(--white); background: var(--night);
  min-height: min(calc(100vh - var(--header-h)), 820px); display: flex; align-items: center;
  margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h);
}
.hero-media { display: block; position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,13,24,.92) 0%, rgba(8,13,24,.55) 38%, rgba(8,13,24,0) 62%),
              linear-gradient(0deg, var(--night) 0%, rgba(8,13,24,0) 22%);
}
.hero-inner { padding-block: 72px 96px; }
.hero-content { max-width: 600px; }
.eyebrow {
  display: inline-block; margin-bottom: 16px; font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-soft);
}
.eyebrow-dark { color: var(--blue-text); }
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--on-dark); margin-bottom: 32px; max-width: 34ch; }

@media (max-width: 900px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: 92vw; min-height: 320px; max-height: 560px; }
  .hero-media img { object-position: 82% 55%; }
  .hero::after { display: none; }
  .hero-media::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
    background: linear-gradient(0deg, var(--night), rgba(8,13,24,0));
  }
  .hero-inner { position: relative; margin-top: -32px; padding-block: 0 56px; }
  .hero-content { max-width: none; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}
@media (min-width: 561px) and (max-width: 900px) { .hero .btn-row .btn { flex: 0 1 auto; } .hero-media { height: 64vw; } }

/* ---------------------------- Bandeau essai ----------------------------- */
.trial-band { background: linear-gradient(100deg, #0E63E6 0%, #1677FF 60%, #2B86FF 100%); color: var(--white); }
.trial-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; padding-block: 28px; flex-wrap: wrap; }
.trial-band-text { display: flex; align-items: center; gap: 16px; }
.trial-band h2 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin: 0; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.trial-badge {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 2px solid rgba(255,255,255,.5); font-weight: 800; font-size: .95rem;
}
@media (max-width: 560px) { .trial-band .btn-row, .trial-band .btn-row .btn { width: 100%; } }

/* ------------------------------ Sections -------------------------------- */
.section { padding-block: clamp(72px, 10vw, 120px); }
.section-light { background: var(--light); color: var(--ink); }
.section-dark { background: var(--night); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .muted { color: var(--on-dark-2); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-lead { font-size: 1.1rem; color: var(--ink-2); }
.section-dark .section-lead { color: var(--on-dark-2); }

.feature-media { margin: 0 0 32px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--night-2); }
.feature-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-media-dark { box-shadow: var(--shadow-lg); border: 1px solid var(--line-dark); }
.feature-media figcaption { padding: 12px 18px; font-size: .88rem; color: var(--on-dark-2); background: var(--night-2); }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
.topic-card {
  position: relative; padding: 26px 24px 22px; background: var(--white); border: 1px solid var(--line-light);
  border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.topic-card::before {
  content: ""; position: absolute; left: 24px; top: 0; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--blue);
}
.topic-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11,30,66,.12); }
.topic-card h3 { margin-bottom: .4em; }
.topic-card p { margin: 0; }
.topic-card ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.topic-card-dark { background: var(--night-2); border-color: var(--line-dark); box-shadow: none; }
.topic-card-dark:hover { box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.topic-card-dark ul { color: var(--on-dark-2); }
.note { margin: 24px 0 0; font-size: .92rem; color: var(--ink-2); }

/* ----------------------------- Abonnements ------------------------------ */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan {
  display: flex; flex-direction: column; padding: 32px 28px; background: var(--white);
  border: 1px solid var(--line-light); border-radius: 20px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 18px 44px rgba(22,119,255,.14); }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan-duration { color: var(--ink-2); margin-bottom: 20px; font-size: .95rem; }
.plan-price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }
.plan-price.is-pending { font-size: 1.35rem; color: var(--blue-text); }
.plan-price-note { font-size: .88rem; color: var(--ink-2); margin-bottom: 20px; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 0 0 28px; border-top: 1px solid var(--line-light); display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.plan li svg { width: 20px; height: 20px; flex: none; color: var(--blue-text); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan-alt { margin: 12px 0 0; text-align: center; font-size: .92rem; }
.plan-alt a { color: var(--blue-text); font-weight: 600; }

/* ---------------------------- Formulaire ------------------------------- */
.section-form { background: radial-gradient(1200px 500px at 85% 0%, rgba(22,119,255,.18), transparent 60%), var(--night); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; gap: 36px; } }
.form-intro p { color: var(--on-dark-2); font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--on-dark); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.contact-direct { padding: 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.contact-direct-title { color: var(--white) !important; font-weight: 700; margin-bottom: 12px; }

.form-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.demo-banner {
  margin-bottom: 24px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .93rem;
  background: #FFF6E5; color: #6B4300; border: 1px solid #F5C66B;
}
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 8px; font-size: .95rem; padding: 0; }
.req { color: var(--danger); }
.optional { font-weight: 400; color: var(--ink-2); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--light);
  border: 1.5px solid #C6D3E6; border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%234A5568' stroke-width='2' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #93A9C8; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--blue); background-color: var(--white); box-shadow: 0 0 0 4px rgba(22,119,255,.22); border-radius: var(--radius-sm);
}
.field [aria-invalid="true"] { border-color: var(--danger); background-color: #FFF5F4; }
.field-hint { margin: 6px 0 0; font-size: .85rem; color: var(--ink-2); }
.field-error { margin: 6px 0 0; font-size: .88rem; font-weight: 600; color: var(--danger); }
.field-error:empty { display: none; }
.field-error::before { content: "⚠ "; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--light); border: 1.5px solid #C6D3E6; border-radius: 14px; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented label { margin: 0; display: grid; place-items: center; min-height: 42px; border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s; }
.segmented input:checked + label { background: var(--blue-btn); color: var(--white); box-shadow: 0 4px 14px rgba(22,119,255,.3); }
.segmented input:focus-visible + label { box-shadow: var(--focus); }

.field-check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; align-items: start; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue-btn); cursor: pointer; }
.field-check label { font-weight: 500; margin: 0; cursor: pointer; }
.field-check .field-error { grid-column: 2; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-footnote { margin: 14px 0 0; font-size: .85rem; color: var(--ink-2); }
.form-footnote a { color: var(--blue-text); }
.form-errors { margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius-sm); background: #FFF1F0; border: 1px solid #F4B4AE; color: #8A1C12; font-size: .93rem; }
.form-errors ul { margin: 6px 0 0; padding-left: 1.2em; }
.form-errors a { color: inherit; font-weight: 600; }
.form-status:empty { display: none; }
.form-status { margin-top: 20px; padding: 16px; border-radius: var(--radius-sm); font-size: .95rem; }
.form-status.is-info { background: #FFF6E5; border: 1px solid #F5C66B; color: #5A3900; }
.form-status.is-success { background: #ECFDF3; border: 1px solid #8DD8AE; color: #0B5132; }
.form-status.is-error { background: #FFF1F0; border: 1px solid #F4B4AE; color: #8A1C12; }
.form-status p { margin: 0 0 12px; }
.form-status p:last-child { margin-bottom: 0; }

/* ------------------------------ Appareils ------------------------------- */
.devices { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .devices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .devices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.device {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 12px; text-align: center;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 700;
}
.device svg { width: 40px; height: 40px; color: var(--blue); }
.info-box { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 18px 20px; border-radius: var(--radius); background: #E6F0FF; color: #0A2A5C; border: 1px solid #BCD5FF; }
.info-box svg { width: 24px; height: 24px; flex: none; color: var(--blue-text); margin-top: 1px; }

/* -------------------------------- FAQ ----------------------------------- */
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--night-2); overflow: hidden; transition: border-color .2s; }
.acc-item.is-open { border-color: rgba(22,119,255,.55); }
.acc-item h3 { margin: 0; font-size: 1.08rem; }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px;
  background: none; border: 0; color: var(--white); font: inherit; font-weight: 700; text-align: left; cursor: pointer; border-radius: var(--radius);
}
.acc-btn::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(22,119,255,.16)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236AA8FF' stroke-width='2.4' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s;
}
.acc-btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.acc-btn:hover { background: rgba(255,255,255,.03); }
.acc-btn:focus-visible { box-shadow: inset 0 0 0 3px var(--blue); }
.acc-panel { padding: 0 22px 20px; color: var(--on-dark-2); }
.acc-panel p { margin: 0; }
.acc-panel a { color: var(--blue-soft); font-weight: 600; }

/* ---------------------------- Pied de page ------------------------------ */
.site-footer { background: #050911; color: var(--on-dark-2); padding-top: 64px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand img { width: 170px; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; }
.footer-title { color: var(--white); font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; border-radius: 4px; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex !important; flex-wrap: wrap; gap: 8px 20px !important; }

/* ---------------------------- WhatsApp flottant ------------------------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #1A7F4B; color: var(--white); box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .2s, background-color .2s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); background: #146B3E; }
.wa-float:focus-visible { border-radius: 50%; }

/* ------------------------------ Animations ------------------------------ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .plan:hover, .topic-card:hover, .wa-float:hover { transform: none; }
}

@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  :focus-visible { outline: 3px solid Highlight; }
}

/* Mobile : recadrage pour garder le joueur bien visible */
@media (max-width: 560px) {
  .hero-media { overflow: hidden; }
  .hero-media img { transform: scale(1.45); transform-origin: 82% 58%; }
}
.js-wa-display { white-space: nowrap; }
@media (max-width: 520px) { .device:last-child:nth-child(odd) { grid-column: 1 / -1; } }
