/* ============================================================
   Medexply — feuille de style principale
   Site statique (HTML/CSS/JS vanilla) — aucune dépendance externe
   ============================================================ */

/* ---------- Polices auto-hébergées (RGPD : pas de CDN tiers) ---------- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/outfit-400.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/outfit-500.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/outfit-600.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/outfit-700.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/outfit-800.woff2") format("woff2");
}

/* ---------- Variables ---------- */
:root {
  --cyan: #29abe2;
  --blue: #2e5fcb;
  --indigo: #2b2e86;
  --navy: #12122e;
  --navy-soft: #1b1b3d;

  --primary: #274086;
  --primary-dark: #1d3068;
  --accent: #116dff;

  --brand-gradient: linear-gradient(135deg, #29abe2 0%, #2e5fcb 52%, #2b2e86 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(41,171,226,.12), rgba(43,46,134,.12));

  --ink: #101528;
  --ink-soft: #3c4358;
  --muted: #626c82;
  --line: #e7edf6;
  --bg: #ffffff;
  --bg-alt: #f4f8fd;
  --bg-tint: #eef4fc;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(16, 30, 74, .06);
  --shadow: 0 18px 50px -20px rgba(20, 34, 90, .35);
  --shadow-lg: 0 40px 90px -30px rgba(20, 34, 90, .45);

  --container: 1140px;
  --nav-h: 74px;

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1.1em; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

section { position: relative; }

.section {
  padding-block: clamp(64px, 9vw, 118px);
}
.section--alt { background: var(--bg-alt); }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-head.left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg-tint);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

h2.title {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
}
.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: #fff;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(39, 64, 134, .7); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand-gradient); background-size: 140% 140%; }
.btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--bg-tint); box-shadow: none; }
.btn--light { background: #fff; color: var(--primary); }
.btn--block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand:hover { text-decoration: none; }
.brand__mark { height: 40px; width: auto; display: block; }
.brand__name {
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .98rem;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--brand-gradient);
  transition: width .25s ease;
}
.nav-links a:hover { text-decoration: none; color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px));
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 780px; max-height: 780px;
  background: radial-gradient(circle at center, rgba(41,171,226,.20), rgba(46,95,203,.08) 45%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -15%;
  width: 50vw; height: 50vw;
  max-width: 620px; max-height: 620px;
  background: radial-gradient(circle at center, rgba(43,46,134,.14), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: .35em;
}
.hero__lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 30ch;
  margin-bottom: 2em;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note {
  margin-top: 18px;
  font-size: .9rem;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.hero__note svg { flex: none; color: var(--primary); }

/* ---------- Badges de store ---------- */
.store-badge {
  --b-bg: #101528;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px 11px 18px;
  border-radius: 14px;
  background: var(--b-bg);
  color: #fff;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .18s ease, box-shadow .25s ease, opacity .2s ease;
  cursor: pointer;
}
.store-badge:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.store-badge.is-disabled { cursor: default; }
.store-badge.is-disabled:hover { transform: none; box-shadow: none; }
.store-badge svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store-badge__txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge__txt small { font-size: .66rem; opacity: .82; font-weight: 400; letter-spacing: .02em; }
.store-badge__txt b { font-size: 1.06rem; font-weight: 600; }
.store-badge.is-disabled { opacity: .55; filter: grayscale(.25); }
.store-badge.is-disabled::after {
  content: "Bientôt disponible";
  position: absolute;
  top: -10px; right: -8px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 3px 9px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* ---------- Phone mockups ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1080 / 2340;
  margin-inline: auto;
  border-radius: 44px;
  background: #0d1020;
  padding: 11px;
  box-shadow: var(--shadow-lg);
}
.phone::before {
  content: "";
  position: absolute;
  top: 15px; left: 50%;
  transform: translateX(-50%);
  width: 42%; height: 22px;
  background: #0d1020;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 34px;
  background: #fff;
}

.hero__visual { position: relative; display: grid; place-items: center; }
.hero__phones { position: relative; width: min(100%, 340px); }
.hero__phones .phone { max-width: 262px; }
.hero__phones .phone--back {
  position: absolute;
  top: 34px; right: -6%;
  transform: rotate(6deg) scale(.86);
  max-width: 240px;
  z-index: 1;
  opacity: .96;
  filter: saturate(1.02);
}
.hero__phones .phone--front {
  position: relative;
  z-index: 3;
  transform: rotate(-3deg);
}
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty--slow { animation-duration: 7.5s; animation-delay: -2s; }

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

/* pastille décorative flottante */
.chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
}
.chip svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
.chip--1 { top: 8%; left: -6%; }
.chip--2 { bottom: 12%; right: -4%; }

/* ---------- Solution ---------- */
.solution__lead {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
  max-width: 900px;
  margin: 0 auto 2em;
  text-align: center;
  line-height: 1.5;
}
.solution__body {
  max-width: 820px;
  margin-inline: auto;
  color: var(--ink-soft);
}
.solution__body p { font-size: 1.05rem; }
.solution__cta {
  margin-top: 2.4em;
  padding: 26px 30px;
  border-radius: var(--radius);
  background: var(--brand-gradient-soft);
  border: 1px solid var(--line);
  text-align: center;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 820px;
  margin-inline: auto;
}
.solution__cta b { font-weight: 700; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 3em auto 0;
}
.stat {
  text-align: center;
  padding: 22px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.stat b {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.stat span { font-size: .92rem; color: var(--muted); }

/* ---------- Fonctionnalités ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(70px, 9vw, 128px); }
.feature:nth-child(even) .feature__media { order: -1; }

.feature__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.feature h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  margin-bottom: .5em;
}
.feature p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 0; }
.feature__list {
  list-style: none;
  padding: 0;
  margin: 1.4em 0 0;
  display: grid;
  gap: 12px;
}
.feature__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: .98rem;
}
.feature__list svg { flex: none; width: 22px; height: 22px; color: var(--primary); margin-top: 1px; }

.feature__media { position: relative; display: grid; place-items: center; }
.feature__media::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  background: var(--brand-gradient);
  filter: blur(60px);
  opacity: .18;
  border-radius: 50%;
  z-index: 0;
}
.feature__media .phone { position: relative; z-index: 1; max-width: 278px; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}
.contact__aside h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.contact__aside p { color: var(--muted); font-size: 1.05rem; }
.contact__info {
  list-style: none;
  padding: 0;
  margin: 2em 0 0;
  display: grid;
  gap: 16px;
}
.contact__info li { display: flex; align-items: center; gap: 14px; color: var(--ink-soft); }
.contact__info .ic {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--primary);
}
.contact__info a { color: var(--ink-soft); }
.contact__info a:hover { color: var(--primary); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field label .req { color: #d1435b; }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa4b6; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(17, 109, 255, .12);
}
.field textarea { min-height: 132px; resize: vertical; }

.form-consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.form-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--primary); }
.form-consent a { color: var(--primary); }

.form-status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: #e6f7ee; color: #1a7a48; border: 1px solid #b7e6cd; }
.form-status.is-error { background: #fdeaec; color: #b5273c; border: 1px solid #f4c4cc; }

.btn.is-loading { position: relative; color: transparent; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c7cce0;
  padding-block: clamp(52px, 7vw, 78px) 34px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer__brand img { height: 34px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer__brand p { color: #939bbb; font-size: .95rem; max-width: 34ch; }
.footer__col h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a { color: #c7cce0; font-size: .96rem; }
.footer__col a:hover { color: #fff; text-decoration: none; }
.footer__legal-firm { color: #939bbb; font-size: .9rem; line-height: 1.7; }
.footer__legal-firm b { color: #e7eaf6; font-weight: 600; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  color: #7f88a9;
  font-size: .88rem;
}
.footer__bottom a { color: #7f88a9; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Pages légales ---------- */
.legal-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 30px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.legal-hero .container { max-width: 860px; }
.legal-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: .3em; }
.legal-hero .updated { color: var(--muted); font-size: .95rem; margin: 0; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--primary); }

.legal-body { padding-block: clamp(44px, 6vw, 72px); }
.legal-body .container { max-width: 860px; }
.legal-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2.2em;
  margin-bottom: .6em;
  padding-top: .3em;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 1.12rem; font-weight: 600; margin-top: 1.6em; margin-bottom: .4em; color: var(--ink); }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body ul, .legal-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.legal-body li { margin-bottom: .5em; }
.legal-body .lead { font-size: 1.1rem; color: var(--ink); }
.legal-body .callout {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 1.6em 0;
}
.legal-body .callout p:last-child { margin-bottom: 0; }
.legal-body .info-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.legal-body .info-list li {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.legal-body .info-list b { min-width: 210px; color: var(--ink); font-weight: 600; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li {
  position: relative;
  padding: 16px 20px 16px 62px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
}

/* ---------- Reveal (animations au scroll) ----------
   Progressive enhancement : le contenu est visible par défaut.
   L'état masqué n'est appliqué que si JavaScript est actif (classe .js),
   pour ne jamais laisser la page vide en cas d'échec ou d'absence de JS. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__badges { justify-content: center; }
  .hero__note { justify-content: center; }
  .hero__visual { margin-top: 40px; }
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature__media { order: 0; }
  .feature__media { margin-top: 10px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 22px 20px;
    transform: translateY(-140%);
    transition: transform .32s cubic-bezier(.2,.8,.2,1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { margin-top: 14px; }
  .nav-links .nav-cta a { border: 0; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .stats { grid-template-columns: 1fr; max-width: 340px; }
  .form-row { grid-template-columns: 1fr; }
  .legal-body .info-list b { min-width: 0; display: block; margin-bottom: 2px; }
  .legal-body .info-list li { flex-direction: column; gap: 2px; }
}

@media (max-width: 460px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__phones .phone--back { display: none; }
  .chip--1 { left: 0; }
  .chip--2 { right: 0; }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .floaty { animation: none !important; }
}
