/* Pixel-iA — système visuel du site
   Police Inter variable auto-hébergée, canvas clair, une seule couleur d'action. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-var.1dc044f482.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-var.521e24d174.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --canvas: #f8f6fd;
  --blanc: #ffffff;
  --sable: #efeaf8;
  --lilas: #e8e2f6;
  --encre: #171b33;
  --encre-douce: rgba(23, 27, 51, 0.68);
  --encre-muette: rgba(23, 27, 51, 0.65);
  --trait: rgba(23, 27, 51, 0.11);
  --trait-fort: rgba(23, 27, 51, 0.19);

  --bleu: #2b5be6;
  --bleu-fonce: #234dc7;
  --bleu-pale: #e8eefc;
  --mauve: #7c3aed;
  --mauve-pale: #f0e8fd;
  --rose: #e91e8c;
  --rose-pale: #fde7f3;
  --vert: #0f9f6e;
  --vert-texte: #0a7a52;
  --rose-texte: #c9126e;
  --vert-pale: #e3f7ef;

  --marque: linear-gradient(115deg, #2b5be6 0%, #7c3aed 48%, #e91e8c 100%);
  --marque-clair: linear-gradient(115deg, #8fb0ff 0%, #c9b1ff 48%, #ffa3cf 100%);

  --ombre-1: 0 1px 2px rgba(47, 42, 95, 0.05), 0 8px 24px rgba(47, 42, 95, 0.07);
  --ombre-2: 0 4px 12px rgba(47, 42, 95, 0.07), 0 28px 64px rgba(47, 42, 95, 0.12);
  --ombre-3: 0 12px 32px rgba(47, 42, 95, 0.12), 0 56px 110px rgba(47, 42, 95, 0.18);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pilule: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --marge: clamp(20px, 4vw, 44px);
  --section: clamp(72px, 8.4vw, 124px);
  --entete: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:focus-within { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--encre);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
strong { font-weight: 700; }
::selection { background: rgba(43, 91, 230, 0.18); }

:focus-visible { outline: 3px solid rgba(43, 91, 230, 0.5); outline-offset: 3px; border-radius: 6px; }

.saut { position: absolute; left: -9999px; top: 14px; z-index: 300; background: var(--encre); color: #fff; padding: 12px 20px; border-radius: var(--pilule); font-weight: 600; }
.saut:focus { left: 20px; }

.env { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: var(--marge); }
.env--large { max-width: 1400px; }
.env--etroit { max-width: 860px; }

/* ─── Typographie ───────────────────────────────────────────── */
.t-hero, .t-1, .t-2, .t-3 { font-weight: 900; letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; font-feature-settings: 'cv11', 'ss01', 'ss03', 'calt'; }
.t-hero { font-size: clamp(38px, 5vw, 72px); letter-spacing: -0.052em; line-height: 0.95; }
.t-1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1; }
.t-2 { font-size: clamp(25px, 2.9vw, 38px); letter-spacing: -0.038em; line-height: 1.06; }
.t-3 { font-size: clamp(19px, 1.8vw, 23px); letter-spacing: -0.028em; line-height: 1.2; font-weight: 800; }
/* Le dégradé ne survit qu'aux titres de première ligne : répété sur chaque H2,
   il devenait du papier peint. Ailleurs, un simple aplat bleu suffit. */
.degrade { color: var(--bleu); }
.hero-panneau .degrade, .page-hero .degrade, .fiche-hero .degrade, .appel .degrade, .perdu .degrade, .chiffre b.degrade {
  background: var(--marque); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.chapeau { font-size: clamp(16.5px, 1.25vw, 18.5px); line-height: 1.62; color: var(--encre-douce); max-width: 56ch; text-wrap: pretty; }
.chapeau strong { color: var(--encre); font-weight: 600; }
.sur-titre { display: inline-flex; align-items: center; gap: 11px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bleu); }
.sur-titre::before { content: ''; width: 22px; height: 2px; background: var(--marque); border-radius: 2px; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; margin-bottom: 0.6em; }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--bleu); text-decoration: underline; text-decoration-color: rgba(43, 91, 230, 0.35); text-underline-offset: 3px; }
.prose li a, .prose td a { display: inline-block; padding-block: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.2em 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.prose th { font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--encre-muette); }
.tableau-defile { overflow-x: auto; }

/* ─── Pastille & boutons ────────────────────────────────────── */
.pastille { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 12px; border-radius: var(--pilule); background: #fff; border: 1px solid var(--trait); box-shadow: var(--ombre-1); font-size: 13.5px; font-weight: 600; color: var(--encre-douce); }
.point { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 0 rgba(15, 159, 110, 0.5); animation: pouls 2.2s infinite; flex: none; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(15, 159, 110, 0.45); } 70% { box-shadow: 0 0 0 9px rgba(15, 159, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(15, 159, 110, 0); } }

.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; border-radius: var(--pilule); font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, border-color 0.25s; white-space: nowrap; }
.bouton svg { width: 17px; height: 17px; flex: none; transition: transform 0.35s var(--ease); }
.bouton:hover svg { transform: translateX(3px); }
.bouton--primaire { background: var(--bleu); color: #fff; box-shadow: 0 8px 22px rgba(43, 91, 230, 0.28); }
.bouton--primaire:hover { background: var(--bleu-fonce); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(43, 91, 230, 0.32); }
.bouton--fantome { background: #fff; color: var(--encre); border: 1px solid var(--trait-fort); }
.bouton--fantome:hover { border-color: var(--encre); transform: translateY(-2px); }
.bouton--encre { background: var(--encre); color: #fff; }
.bouton--encre:hover { transform: translateY(-2px); background: #0f1226; }
.bouton--petit { padding: 10px 18px; font-size: 14px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--bleu); }
.lien-fleche svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.lien-fleche:hover svg { transform: translateX(4px); }

/* ─── En-tête ───────────────────────────────────────────────── */
.entete { position: sticky; top: 0; z-index: 100; height: var(--entete); display: flex; align-items: center; background: rgba(248, 246, 253, 0.74); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color 0.3s, background-color 0.3s; }
.entete.defile { border-bottom-color: var(--trait); background: rgba(248, 246, 253, 0.93); }
.entete .env { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.marque { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19.5px; letter-spacing: -0.03em; color: var(--encre); white-space: nowrap; flex: none; }
.marque svg { width: 27px; height: 27px; flex: none; }
.marque .ia { color: var(--rose); }
.nav-principale { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 32px); white-space: nowrap; }
.nav-principale a { font-weight: 500; font-size: 14.5px; letter-spacing: -0.005em; color: var(--encre-douce); transition: color 0.2s; position: relative; padding-block: 6px; }
.nav-principale a:hover, .nav-principale a[aria-current] { color: var(--encre); }
.nav-principale a[aria-current] { font-weight: 600; }
.nav-principale a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--marque); }
.entete-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.entete-actions .court { display: none; }
@media (max-width: 480px) { .entete-actions .long { display: none; } .entete-actions .court { display: inline; } }
@media (max-width: 1300px) { .entete-actions .bouton--fantome { display: none; } }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--trait); background: #fff; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--encre); border-radius: 2px; position: relative; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--encre); border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.menu-mobile { display: none; }
@media (max-width: 960px) {
  .nav-principale, .entete-actions .bouton--fantome { display: none; }
  .burger { display: inline-flex; }
  .menu-mobile { display: block; position: fixed; inset: var(--entete) 0 0 0; z-index: 99; background: var(--canvas); padding: 24px var(--marge) 40px; overflow: auto; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
  .menu-mobile.ouvert { opacity: 1; transform: none; pointer-events: auto; }
  .menu-mobile a { display: block; padding: 16px 0; font-weight: 800; font-size: 26px; letter-spacing: -0.03em; border-bottom: 1px solid var(--trait); }
  .menu-mobile .bouton { margin-top: 22px; width: 100%; font-size: 17px; }
  .menu-mobile .menu-contact { margin-top: 26px; color: var(--encre-muette); font-size: 14px; }
  body.menu-ouvert { overflow: hidden; }
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 72px); overflow: clip; }
.hero-fond { position: absolute; inset: -20% -10% auto -10%; height: 130%; pointer-events: none; z-index: -1; }
.hero-fond span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.hero-fond .f1 { width: 46vw; height: 46vw; left: 40%; top: -10%; background: #cdd9ff; animation: derive 18s ease-in-out infinite alternate; }
.hero-fond .f2 { width: 38vw; height: 38vw; left: 62%; top: 22%; background: #e9d5ff; animation: derive 22s ease-in-out infinite alternate-reverse; }
.hero-fond .f3 { width: 30vw; height: 30vw; left: 74%; top: 46%; background: #ffd1e8; animation: derive 26s ease-in-out infinite alternate; }
@keyframes derive { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6%, 5%, 0) scale(1.08); } }
.hero-grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; position: relative; z-index: 2; }
.hero-texte .t-hero { max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.preuves { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 2px; font-size: 13.5px; color: var(--encre-muette); font-weight: 500; }
.preuves li { display: flex; align-items: center; gap: 7px; }
.preuves svg { width: 15px; height: 15px; color: var(--bleu); flex: none; }

.hero-visuel { position: relative; height: clamp(520px, 62vw, 680px); display: grid; align-items: end; justify-items: end; overflow: visible; }
.mila-hero { position: relative; z-index: 1; width: min(58%, 400px); align-self: end; justify-self: end; margin-right: 3%; filter: drop-shadow(0 30px 40px rgba(47, 42, 95, 0.18)); opacity: 0; transform: translateY(26px); animation: entree 1s var(--ease) 0.1s forwards; }
.mila-hero img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 99%); mask-image: linear-gradient(180deg, #000 74%, transparent 99%); }
.mila-socle { position: absolute; left: 62%; bottom: -4%; width: 70%; height: 46%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.16), rgba(233, 30, 140, 0.06) 55%, transparent 72%); z-index: 0; }
@keyframes entree { to { opacity: 1; transform: none; } }

/* Panneau « moteur de réponse » */
.moteur { position: absolute; z-index: 3; left: -5%; top: 4%; width: min(64%, 408px); background: #fff; border: 1px solid var(--trait); border-radius: var(--r-lg); box-shadow: var(--ombre-3); overflow: hidden; opacity: 0; transform: translateY(20px); animation: entree 0.9s var(--ease) 0.35s forwards; }
.moteur-barre { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--trait); font-size: 11.5px; white-space: nowrap; overflow: hidden; font-weight: 700; color: var(--encre-muette); letter-spacing: 0.02em; }
.moteur-barre i { width: 9px; height: 9px; border-radius: 50%; background: var(--trait-fort); display: inline-block; }
.moteur-barre b { margin-left: auto; font-weight: 700; color: var(--vert-texte); display: inline-flex; align-items: center; gap: 5px; flex: none; }
.moteur-barre b::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--vert); }
.moteur-question { padding: 16px 18px 6px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; min-height: 62px; }
.moteur-question .curseur { display: inline-block; width: 2px; height: 1em; background: var(--encre); margin-left: 2px; vertical-align: -0.15em; animation: clign 0.9s steps(1) infinite; }
@keyframes clign { 50% { opacity: 0; } }
.moteur-reponse { padding: 4px 18px 16px; font-size: 14px; line-height: 1.55; color: var(--encre-douce); min-height: 138px; }
.moteur-reponse p { min-height: 1em; }
.moteur-source { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 12px 7px 8px; border-radius: var(--pilule); background: var(--bleu-pale); color: var(--bleu); font-weight: 700; font-size: 12.5px; opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.moteur-source.visible { opacity: 1; transform: none; }
.moteur-source img { width: 18px; height: 18px; border-radius: 5px; }
.moteur-choix { display: flex; gap: 6px; padding: 12px 14px 14px; border-top: 1px solid var(--trait); background: var(--sable); }
.moteur-choix::-webkit-scrollbar { display: none; }
.moteur-choix button { flex: 1 1 0; min-width: 0; padding: 7px 6px; text-align: center; border-radius: var(--pilule); background: #fff; border: 1px solid var(--trait); font-size: 12.5px; font-weight: 600; color: var(--encre-douce); transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
.moteur-choix button[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.moteur-legende { position: absolute; z-index: 3; left: 0; bottom: 8%; display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--trait); border-radius: var(--r-md); box-shadow: var(--ombre-2); font-size: 13.5px; opacity: 0; transform: translateY(20px); animation: entree 0.9s var(--ease) 0.6s forwards; max-width: 260px; }
.moteur-legende .rond { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--vert-pale); color: var(--vert-texte); flex: none; }
.moteur-legende .rond svg { width: 18px; height: 18px; }
.moteur-legende strong { display: block; font-weight: 700; letter-spacing: -0.01em; }
.moteur-legende span { color: var(--encre-muette); font-size: 12.5px; }

@media (max-width: 960px) {
  .hero-grille { grid-template-columns: 1fr; }
  .hero-visuel { height: auto; min-height: 0; margin-top: 14px; grid-template-rows: auto auto; justify-items: stretch; align-items: start; overflow: visible; }
  .mila-hero img { -webkit-mask-image: none; mask-image: none; }
  .moteur { position: relative; left: auto; top: auto; width: 100%; max-width: 560px; margin-inline: auto; order: 1; }
  .mila-hero { order: 2; width: min(72%, 340px); margin: -8px auto 0; }
  .moteur-legende { position: relative; right: auto; bottom: auto; order: 3; margin: -34px auto 0; max-width: none; width: fit-content; }
  .hero-fond .f1 { left: 10%; top: 0; width: 80vw; height: 80vw; }
  .hero-fond .f2 { left: 50%; top: 30%; width: 70vw; height: 70vw; }
  .hero-fond .f3 { display: none; }
}

/* ─── Bandeau (marques / logos) ─────────────────────────────── */
.bandeau { padding-block: clamp(28px, 3vw, 40px); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); background: rgba(255, 255, 255, 0.5); overflow: hidden; }
.bandeau .env { display: flex; align-items: center; gap: 34px; }
.bandeau-legende { flex: none; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-muette); max-width: 160px; line-height: 1.35; }
.defilant { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.defilant ul { display: flex; gap: 14px; width: max-content; animation: defile 46s linear infinite; }
.defilant:hover ul { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }
.defilant li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: var(--pilule); background: #fff; border: 1px solid var(--trait); font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; white-space: nowrap; }
.defilant li img { width: 34px; height: 26px; border-radius: 5px; object-fit: cover; object-position: top; border: 1px solid var(--trait); }
.defilant li i { width: 26px; height: 26px; border-radius: 8px; background: var(--marque); display: inline-block; opacity: 0.85; }
.defilant li small { color: var(--encre-muette); font-weight: 500; font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) { .defilant ul { animation: none; flex-wrap: wrap; width: auto; } .hero-fond span { animation: none; } }
@media (max-width: 720px) { .bandeau .env { flex-direction: column; align-items: flex-start; gap: 16px; } .bandeau-legende { max-width: none; } .defilant { width: 100%; } }

/* ─── Sections ──────────────────────────────────────────────── */
.section { padding-block: var(--section); position: relative; }
.section--sable { background: linear-gradient(180deg, var(--sable) 0%, var(--sable) 62%, var(--canvas) 100%); }
.section--sable + .section--sable { background: linear-gradient(180deg, var(--canvas) 0%, var(--sable) 38%, var(--sable) 62%, var(--canvas) 100%); }
.section--blanc { background: var(--blanc); }
.section-tete { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(34px, 4.2vw, 56px); }
.section-tete > div:first-child { display: flex; flex-direction: column; gap: 15px; align-items: flex-start; }
.section-tete .chapeau { margin-bottom: 4px; }
.section-tete--centre { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-tete--centre > div:first-child { align-items: center; }
@media (max-width: 860px) { .section-tete { grid-template-columns: 1fr; } }

/* ─── Pôles (ce que nous faisons) ───────────────────────────── */
.poles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pole { position: relative; display: flex; flex-direction: column; gap: 13px; padding: 28px 26px 26px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--trait); box-shadow: 0 1px 2px rgba(47,42,95,.05), 0 10px 26px rgba(47,42,95,.06); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s; overflow: hidden; min-height: 420px; }
.pole:hover { transform: translateY(-5px); box-shadow: var(--ombre-2); border-color: var(--trait-fort); }
.pole-num { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--encre-muette); }
.pole h3 { font-size: clamp(24px, 2.1vw, 30px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.02; }
.pole p { color: var(--encre-douce); font-size: 15.5px; }
.pole .lien-fleche { margin-top: auto; }
.pole-visuel { margin: 8px -28px -28px; padding: 22px 28px 0; background: linear-gradient(180deg, transparent, var(--sable)); }
.pole-visuel > * { border-radius: 14px 14px 0 0; border: 1px solid var(--trait); border-bottom: 0; box-shadow: var(--ombre-2); background: #fff; overflow: hidden; }
.pole-visuel img { width: 100%; }
.mini-chat { padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.mini-chat .b { max-width: 84%; padding: 8px 11px; border-radius: 12px; line-height: 1.4; }
.mini-chat .b.u { align-self: flex-end; background: var(--bleu); color: #fff; border-bottom-right-radius: 4px; }
.mini-chat .b.a { align-self: flex-start; background: var(--sable); border-bottom-left-radius: 4px; display: flex; gap: 8px; align-items: flex-start; }
.mini-chat .b.a img { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.mini-geo { padding: 14px; font-size: 12.5px; }
.mini-geo .q { font-weight: 700; color: var(--encre); margin-bottom: 8px; }
.mini-geo .ligne { display: flex; gap: 6px; margin-bottom: 6px; }
.mini-geo .puce { flex: 1; padding: 6px 4px; text-align: center; border-radius: 7px; background: var(--sable); border: 1px solid var(--trait); color: var(--encre-muette); font-size: 11.5px; }
.mini-geo .puce.vous { background: var(--rose-pale); border-color: rgba(233, 30, 140, 0.35); color: var(--rose-texte); font-weight: 700; }
.mini-geo .verdict { color: var(--vert-texte); font-weight: 700; margin-top: 4px; }
@media (max-width: 960px) { .poles { grid-template-columns: 1fr; } .pole { min-height: 0; } }

/* ─── Appareils (cadres) ────────────────────────────────────── */
.ordi { position: relative; border-radius: 16px; background: #0e1020; padding: 10px 10px 14px; box-shadow: var(--ombre-3), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.ordi::before { content: ''; position: absolute; top: 4px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: #2a2d45; transform: translateX(-50%); }
.ordi-ecran { position: relative; border-radius: 8px; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; }
.ordi-ecran > img, .ordi-ecran > video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ordi::after { content: ''; position: absolute; left: 50%; bottom: -14px; width: 106%; height: 14px; transform: translateX(-50%); border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #d9dbe8, #b7bacf); }
.tel { position: relative; border-radius: 42px; background: #0e1020; padding: 11px; box-shadow: var(--ombre-3), inset 0 0 0 1px rgba(255, 255, 255, 0.08); width: 100%; }
.tel::before { content: ''; position: absolute; top: 20px; left: 50%; width: 34%; height: 24px; border-radius: 14px; background: #0e1020; transform: translateX(-50%); z-index: 2; }
.tel-ecran { position: relative; border-radius: 32px; overflow: hidden; background: #fff; aspect-ratio: 390 / 844; }
/* La règle générique ci-dessus impose height:100% aux images du cadre ; la bande,
   elle, doit garder sa hauteur réelle pour avoir de quoi glisser. */
.tel-ecran > img.defile-bande { height: auto; object-fit: fill; }
.tel-ecran > img, .tel-ecran > video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tel .bouton-lat { position: absolute; right: -3px; top: 24%; width: 3px; height: 60px; border-radius: 2px; background: #2a2d45; }

/* ─── Vitrine (réalisations) ────────────────────────────────── */
.vitrine { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 110px); }
.piece { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.piece:nth-child(even) .piece-texte { order: 2; }
.piece-texte { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.piece-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.etiquette { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: var(--pilule); background: var(--sable); border: 1px solid var(--trait); font-size: 12px; font-weight: 600; color: var(--encre-douce); letter-spacing: 0.005em; }
.etiquette--bleu { background: var(--bleu-pale); color: var(--bleu); border-color: rgba(43, 91, 230, 0.2); }
.etiquette--rose { background: var(--rose-pale); color: var(--rose-texte); border-color: rgba(233, 30, 140, 0.2); }
.etiquette--vert { background: var(--vert-pale); color: var(--vert-texte); border-color: rgba(15, 159, 110, 0.25); }
.piece-texte h3 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 900; letter-spacing: -0.045em; line-height: 1; }
.piece-texte p { color: var(--encre-douce); font-size: 16.5px; max-width: 46ch; }
.piece-liste { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--encre-douce); }
.piece-liste li { display: flex; gap: 10px; align-items: flex-start; }
.piece-liste svg { width: 16px; height: 16px; color: var(--bleu); flex: none; margin-top: 4px; }
.piece-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 6px; }
.piece-media { position: relative; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-xl); isolation: isolate; }
.piece-media::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--teinte, linear-gradient(135deg, #e6ecff, #f3e9ff 60%, #ffe6f2)); z-index: -1; }
.piece-media .ordi { width: 100%; }
.piece-media .tel { position: absolute; width: 27%; right: 4%; bottom: -6%; transform: rotate(-3deg); }
.piece-media .tel .bouton-lat { display: none; }
@media (max-width: 960px) { .piece { grid-template-columns: 1fr; } .piece:nth-child(even) .piece-texte { order: 0; } .piece-media { padding: 26px 26px 48px; } .piece-media .tel { width: 30%; right: 2%; bottom: -3%; } }

/* ─── Séquence pilotée au défilement (téléphone) ────────────── */
.defile-scene { position: relative; padding: 0; height: 320vh; }
.defile-colle { position: sticky; top: var(--entete); height: calc(100vh - var(--entete)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; overflow: hidden; padding-inline: max(var(--marge), calc((100% - 1220px) / 2 + var(--marge))); }
.defile-texte { position: relative; min-height: 300px; }
.defile-etape { position: absolute; inset: 40px 0 0 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.defile-etape.active { opacity: 1; transform: none; pointer-events: auto; }
.defile-etape .num { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--bleu); }
.defile-etape h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 900; letter-spacing: -0.045em; line-height: 1; }
.defile-etape p { color: var(--encre-douce); max-width: 44ch; font-size: 16.5px; }
.defile-tel { display: grid; place-items: center; }
/* Le contenu du téléphone est une capture longue qu'on fait glisser : c'est le
   compositeur qui travaille, pas le décodeur vidéo. Fluide sur toutes les machines. */
.defile-bande { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; will-change: transform; }
.defile-tel .tel { width: min(300px, 62vw, calc((100vh - var(--entete) - 80px) * 390 / 844)); }
.defile-progres { position: absolute; left: 0; right: 0; bottom: 20px; height: 3px; background: var(--trait); border-radius: 3px; overflow: hidden; }
.defile-progres i { display: block; height: 100%; width: 0; background: var(--marque); transition: width 0.1s linear; }
@media (max-width: 860px) {
  /* Sur téléphone, on abandonne le défilement piloté : repositionner le décodeur
     vidéo à chaque image saccade le scroll. La section redevient normale et la
     vidéo tourne en boucle. */
  .defile-scene { height: auto; padding-block: var(--section); }
  .defile-colle { position: static; height: auto; grid-template-columns: 1fr; gap: 26px; padding-inline: var(--marge); overflow: visible; }
  .defile-texte { position: static; min-height: 0; display: grid; gap: 26px; }
  .defile-etape { position: static; inset: auto; opacity: 1; transform: none; pointer-events: auto; gap: 8px; transition: none; }
  .defile-etape h3 { font-size: clamp(24px, 6.4vw, 30px); }
  .defile-etape p { font-size: 16px; }
  .defile-tel .tel { width: min(260px, 66vw); }
  .defile-progres { display: none; }
  /* Sur téléphone, la bande défile toute seule, doucement, en boucle. */
  .defile-bande { animation: bande-glisse 26s linear infinite alternate; }
  @keyframes bande-glisse { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, calc(-100% + 100cqh), 0); } }
  .tel-ecran { container-type: size; }
}

/* ─── GEO : question → page ─────────────────────────────────── */
.geo-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.definition { padding: 26px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--trait); box-shadow: var(--ombre-1); font-size: 17px; line-height: 1.6; }
.definition dfn { font-style: normal; font-weight: 800; letter-spacing: -0.02em; }
.definition small { display: block; margin-top: 12px; color: var(--encre-muette); font-size: 13.5px; }
.chiffre { display: flex; flex-direction: column; gap: 6px; }
.chiffre b { font-size: clamp(38px, 4.1vw, 56px); font-weight: 900; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.chiffre span { color: var(--encre-douce); font-size: 15px; max-width: 36ch; }
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; margin-top: 28px; }
.pont { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.pont-carte { padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--trait); box-shadow: var(--ombre-2); font-size: 14px; }
.pont-carte .lib { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-muette); margin-bottom: 8px; }
.pont-carte .q { font-weight: 700; letter-spacing: -0.01em; font-size: 15px; }
.pont-carte .page { display: flex; flex-direction: column; gap: 6px; }
.pont-carte .page b { font-size: 15px; letter-spacing: -0.01em; }
.pont-carte .page i { display: block; height: 7px; border-radius: 4px; background: var(--sable); }
.pont-carte .page i:nth-child(3) { width: 82%; } .pont-carte .page i:nth-child(4) { width: 64%; }
.pont-fleche { width: 44px; height: 44px; border-radius: 50%; background: var(--marque); display: grid; place-items: center; color: #fff; box-shadow: var(--ombre-2); }
.pont-fleche svg { width: 20px; height: 20px; }
.pont-liste { display: grid; gap: 12px; margin-top: 16px; }
.pont-liste .pont { opacity: 0; transform: translateY(14px); }
.pont-liste .pont.visible { animation: entree 0.7s var(--ease) forwards; }
@media (max-width: 960px) { .geo-grille { grid-template-columns: 1fr; } .chiffres { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pont { grid-template-columns: 1fr; } .pont-fleche { transform: rotate(90deg); justify-self: center; } .chiffres { grid-template-columns: 1fr; } }

/* ─── Liste éditoriale (méthode, inclus) ────────────────────── */
.etapes { counter-reset: e; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 34px; }
.etape { counter-increment: e; position: relative; padding: 17px 0 0; border-top: 2px solid var(--encre); background: none; display: flex; flex-direction: column; gap: 9px; }
.etape::before { content: counter(e, decimal-leading-zero); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; color: var(--encre-muette); }
.etape h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.18; }
.etape p { color: var(--encre-douce); font-size: 15px; line-height: 1.6; }
.etape .duree { margin-top: auto; padding-top: 12px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--encre-muette); font-weight: 700; }
@media (max-width: 960px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .etapes { grid-template-columns: 1fr; } }

.liste-editoriale { display: grid; gap: 0; border-top: 1px solid var(--trait); }
.liste-editoriale > li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.45fr); gap: 18px 32px; padding: 28px 0; border-bottom: 1px solid var(--trait); align-items: start; }
.liste-editoriale .n { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--encre-muette); padding-top: 6px; }
.liste-editoriale h3 { font-size: clamp(19px, 1.7vw, 23px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.18; }
.liste-editoriale p { color: var(--encre-douce); font-size: 15.5px; }
@media (max-width: 760px) { .liste-editoriale > li { grid-template-columns: 44px minmax(0, 1fr); } .liste-editoriale p { grid-column: 2; } }

/* ─── Mila : assistant sur le site ──────────────────────────── */
.mila-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.demo-chat { position: relative; margin-inline: auto; width: min(100%, 440px); background: #fff; border: 1px solid var(--trait); border-radius: 26px; box-shadow: var(--ombre-3); overflow: hidden; }
.demo-chat-tete { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(115deg, #234dc7 0%, #6d2ed9 48%, #c9126e 100%); color: #fff; }
.demo-chat-tete img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.7); }
.demo-chat-tete strong { display: block; font-size: 15px; letter-spacing: -0.01em; }
.demo-chat-tete span { font-size: 12px; color: rgba(255, 255, 255, 0.92); }
.demo-chat-corps { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; font-size: 14px; }
.demo-chat-corps .b { max-width: 86%; padding: 10px 13px; border-radius: 14px; line-height: 1.45; opacity: 0; transform: translateY(8px); }
.demo-chat-corps .b.visible { animation: entree 0.5s var(--ease) forwards; }
.demo-chat-corps .b.u { align-self: flex-end; background: var(--bleu); color: #fff; border-bottom-right-radius: 4px; }
.demo-chat-corps .b.a { align-self: flex-start; background: var(--sable); border-bottom-left-radius: 4px; }
.demo-chat-pied { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--trait); }
.demo-chat-pied span { flex: 1; padding: 10px 14px; border-radius: var(--pilule); background: var(--sable); color: var(--encre-muette); font-size: 13.5px; }
.demo-chat-pied i { width: 40px; height: 40px; border-radius: 50%; background: var(--bleu); display: grid; place-items: center; color: #fff; }
.demo-chat-pied i svg { width: 16px; height: 16px; }
.garanties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.garantie { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--trait); font-size: 14.5px; }
.garantie svg { width: 20px; height: 20px; color: var(--bleu); flex: none; margin-top: 2px; }
.garantie strong { display: block; letter-spacing: -0.01em; }
.garantie span { color: var(--encre-douce); font-size: 13.5px; }
@media (max-width: 960px) { .mila-grille { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .garanties { grid-template-columns: 1fr; } }

/* ─── Famille d'avatars ─────────────────────────────────────── */
.famille { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 10px; }
.membre { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 140px; text-align: center; }
.membre .cercle { width: 112px; height: 112px; border-radius: 50%; background: var(--fond, var(--sable)); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--trait); box-shadow: var(--ombre-1); transition: transform 0.45s var(--ease); }
.membre:hover .cercle { transform: translateY(-6px) scale(1.03); }
.membre .cercle img { width: 100%; height: 100%; object-fit: cover; }
.membre strong { font-size: 15px; letter-spacing: -0.01em; }
.membre span { font-size: 12.5px; color: var(--encre-muette); line-height: 1.3; }

/* ─── Lite ──────────────────────────────────────────────────── */
.lite { border-radius: var(--r-xl); background: #fff; border: 1px solid var(--trait); box-shadow: var(--ombre-2); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.lite-texte { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.lite-visuel { position: relative; background: linear-gradient(160deg, var(--bleu-pale), var(--mauve-pale) 55%, var(--rose-pale)); padding: clamp(24px, 3vw, 44px); display: grid; place-items: center; overflow: hidden; }
.pages-eventail { position: relative; width: min(100%, 360px); aspect-ratio: 4 / 3; }
.pages-eventail .pg { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 3 / 4; background: #fff; border-radius: 12px; border: 1px solid var(--trait); box-shadow: var(--ombre-2); padding: 14px; transform: translate(-50%, -50%) rotate(var(--rot)) translateX(var(--dx)); font-size: 10.5px; overflow: hidden; }
.pages-eventail .pg .q { font-weight: 800; letter-spacing: -0.02em; font-size: 12px; line-height: 1.2; margin-bottom: 8px; color: var(--encre); }
.pages-eventail .pg i { display: block; height: 5px; border-radius: 3px; background: var(--sable); margin-bottom: 5px; }
.pages-eventail .pg i:nth-of-type(2) { width: 84%; } .pages-eventail .pg i:nth-of-type(3) { width: 70%; } .pages-eventail .pg i:nth-of-type(5) { width: 60%; }
.pages-eventail .pg .tag { display: inline-block; margin-top: 8px; padding: 3px 7px; border-radius: 6px; background: var(--bleu-pale); color: var(--bleu); font-weight: 700; font-size: 9.5px; }
.lite-points { display: grid; gap: 10px; font-size: 15px; color: var(--encre-douce); }
.lite-points li { display: flex; gap: 10px; }
.lite-points svg { width: 17px; height: 17px; color: var(--vert); flex: none; margin-top: 4px; }
@media (max-width: 900px) { .lite { grid-template-columns: 1fr; } .lite-visuel { min-height: 300px; } }

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--trait); border-radius: var(--r-md); overflow: hidden; transition: border-color 0.25s; }
.faq details[open] { border-color: var(--trait-fort); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; font-weight: 700; font-size: 16.5px; letter-spacing: -0.018em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--encre); border-bottom: 2px solid var(--encre); transform: rotate(45deg); transition: transform 0.3s var(--ease); flex: none; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .reponse { padding: 0 22px 22px; color: var(--encre-douce); font-size: 15.5px; }
.faq .reponse p + p { margin-top: 0.7em; }

/* ─── Contact ───────────────────────────────────────────────── */
.contact-grille { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.contact-cote { display: flex; flex-direction: column; gap: 22px; }
.contact-cote .coordonnees { display: grid; gap: 14px; font-size: 15.5px; }
.contact-cote .coordonnees li { display: flex; gap: 12px; align-items: flex-start; color: var(--encre-douce); }
.contact-cote .coordonnees svg { width: 18px; height: 18px; color: var(--bleu); flex: none; margin-top: 3px; }
.contact-cote .coordonnees a { color: var(--encre); font-weight: 600; display: inline-block; padding-block: 3px; }
.mila-contact { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--trait); }
.mila-contact img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.mila-contact p { font-size: 14.5px; color: var(--encre-douce); }
.suite { display: grid; gap: 18px; padding-top: 6px; }
.suite .etapes { counter-reset: e; }
.mila-contact strong { color: var(--encre); }
.formulaire { background: #fff; border: 1px solid var(--trait); border-radius: var(--r-xl); box-shadow: var(--ombre-2); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ--plein { grid-column: 1 / -1; }
.champ label { font-size: 13.5px; font-weight: 700; color: var(--encre-douce); }
.champ input, .champ select, .champ textarea { width: 100%; font: inherit; font-size: 15.5px; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--trait-fort); background: var(--canvas); color: var(--encre); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); background: #fff; box-shadow: 0 0 0 4px rgba(43, 91, 230, 0.14); }
.champ textarea { min-height: 128px; resize: vertical; }
.champ select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23171b33' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.champ .erreur { display: none; font-size: 13px; color: #c81e5b; font-weight: 600; }
.champ.invalide input, .champ.invalide textarea, .champ.invalide select { border-color: #c81e5b; }
.champ.invalide .erreur { display: block; }
.consentement { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--encre-douce); cursor: pointer; padding-block: 2px; }
.consentement input { margin-top: 1px; width: 24px; height: 24px; accent-color: var(--bleu); flex: none; }
.consentement a { color: var(--bleu); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding-block: 4px; }
.piege { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.formulaire .bouton { justify-self: start; }
.formulaire .bouton[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.retour { padding: 14px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.retour--ok { background: var(--vert-pale); color: #0b7a55; }
.retour--ko { background: #fde8ee; color: #b0143f; }
.retour--ok a, .retour--ko a { text-decoration: underline; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .champs { grid-template-columns: 1fr; } }

/* ─── Appel final ───────────────────────────────────────────── */
.appel { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(40px, 5vw, 72px); background: var(--encre); color: #fff; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: center; isolation: isolate; }
.appel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 20% 20%, rgba(124, 58, 237, 0.55), transparent 60%), radial-gradient(50% 70% at 85% 30%, rgba(43, 91, 230, 0.55), transparent 60%), radial-gradient(60% 60% at 70% 100%, rgba(233, 30, 140, 0.45), transparent 60%); }
.appel .t-2 { color: #fff; }
.appel .degrade { background: var(--marque-clair); -webkit-background-clip: text; background-clip: text; }
.appel p { color: rgba(255, 255, 255, 0.78); max-width: 50ch; }
.appel .bouton--primaire { background: #fff; color: var(--encre); box-shadow: none; }
.appel .bouton--primaire:hover { background: #f1f1ff; }
.appel-mila { position: relative; justify-self: center; width: min(100%, 300px); }
.appel-mila img { width: 100%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }
@media (max-width: 860px) { .appel { grid-template-columns: 1fr; } .appel-mila { width: min(70%, 260px); } }

/* ─── Pied de page ──────────────────────────────────────────── */
.pied { padding: clamp(48px, 6vw, 80px) 0 32px; border-top: 1px solid var(--trait); background: var(--blanc); }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.pied h4 { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-muette); margin-bottom: 14px; }
.pied ul { display: grid; gap: 5px; font-size: 15px; }
.pied ul a, .pied ul li { display: inline-block; padding-block: 4px; }
.pied ul a { color: var(--encre-douce); transition: color 0.2s; }
.pied ul a:hover { color: var(--encre); }
.pied-marque p { margin-top: 14px; color: var(--encre-douce); font-size: 14.5px; max-width: 34ch; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--trait); font-size: 13.5px; color: var(--encre-muette); }
.pied-bas a { color: inherit; display: inline-block; padding-block: 4px; }
.pied-bas a:hover { color: var(--encre); }
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied-grille { grid-template-columns: 1fr; } }

/* ─── Pages intérieures ─────────────────────────────────────── */
.page-hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(32px, 4vw, 56px); position: relative; overflow: clip; }
.page-hero .env { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.page-hero .t-1 { max-width: 16ch; }
.page-hero--avec-mila .env { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: end; gap: 24px 48px; }
.page-hero--avec-mila .page-hero-texte { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding-bottom: 20px; }
.page-hero-mila { justify-self: center; width: min(100%, 360px); max-width: 100%; filter: drop-shadow(0 30px 40px rgba(47, 42, 95, 0.18)); }
@media (max-width: 860px) { .page-hero--avec-mila .env { grid-template-columns: 1fr; } .page-hero-mila { width: min(60%, 280px); } }
.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 13.5px; color: var(--encre-muette); }
.fil li { display: inline-flex; align-items: center; min-height: 24px; }
.fil a { color: var(--encre-douce); display: inline-block; padding-block: 3px; }
.fil li + li::before { content: '/'; margin: 0 8px 0 2px; color: var(--trait-fort); }

.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.carte-projet { position: relative; display: flex; flex-direction: column; gap: 15px; padding: 18px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--trait); box-shadow: 0 1px 2px rgba(47,42,95,.05), 0 10px 26px rgba(47,42,95,.06); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s; }
.carte-projet:hover { transform: translateY(-5px); box-shadow: var(--ombre-2); border-color: var(--trait-fort); }
.carte-projet .cadre { border-radius: 18px; overflow: hidden; background: var(--teinte, var(--sable)); padding: 22px 22px 0; }
.carte-projet .cadre .ordi { border-radius: 12px 12px 0 0; padding-bottom: 0; box-shadow: none; }
.carte-projet .cadre .ordi::after { display: none; }
.carte-projet .cadre .ordi-ecran { border-radius: 6px 6px 0 0; aspect-ratio: 16 / 9; }
.carte-projet h3 { font-size: 22px; font-weight: 900; letter-spacing: -0.038em; line-height: 1.08; }
.carte-projet p { color: var(--encre-douce); font-size: 15px; }
.carte-projet > a { position: absolute; inset: 0; border-radius: inherit; }
.carte-projet .piece-meta { margin-top: auto; }
@media (max-width: 760px) { .galerie { grid-template-columns: 1fr; } }

.fiche-hero .env { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.fiche-hero-texte { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding-top: 6px; }
.fiche-hero-long { position: relative; margin: 0; padding: clamp(18px, 2vw, 30px) clamp(18px, 2vw, 30px) 0; border-radius: var(--r-xl); background: var(--teinte, var(--sable)); }
.fiche-hero-long .capture-longue { max-height: clamp(360px, 52vh, 560px); overflow: hidden; border-radius: 14px 14px 0 0; border-bottom: 0; }
.fiche-hero-long .capture-longue img { width: 100%; }
.fiche-hero-long::after { content: ''; position: absolute; left: 0; right: 0; bottom: 44px; height: 130px; border-radius: 0 0 var(--r-xl) var(--r-xl); background: linear-gradient(180deg, transparent, var(--blanc) 78%); pointer-events: none; }
.fiche-hero-long figcaption { position: relative; z-index: 1; padding: 14px 4px 16px; font-size: 13px; color: var(--encre-muette); text-align: center; }
@media (max-width: 960px) { .fiche-hero .env { grid-template-columns: 1fr; } .fiche-hero-long .capture-longue { max-height: 340px; } }

.fiche-medias { display: grid; gap: 20px; }
.fiche-legende { text-align: center; font-size: 14px; color: var(--encre-muette); }
.fiche-medias .grand { position: relative; padding: clamp(26px, 3vw, 44px) clamp(26px, 3vw, 44px) clamp(44px, 4vw, 60px); border-radius: var(--r-xl); background: var(--teinte, linear-gradient(135deg, #e6ecff, #f3e9ff 60%, #ffe6f2)); }
.fiche-medias .grand .tel { position: absolute; width: 15%; right: 4%; bottom: -4%; transform: rotate(-3deg); }
.fiche-medias .grand .tel .bouton-lat { display: none; }
@media (max-width: 700px) { .fiche-medias .grand .tel { width: 22%; right: 2%; bottom: -2%; } }
.fiche-duo { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.fiche-duo .tel { width: min(100%, 300px); margin-inline: auto; }
.fiche-duo figure { padding: clamp(16px, 2vw, 28px); border-radius: var(--r-xl); background: var(--sable); border: 1px solid var(--trait); }
.fiche-duo figcaption { margin-top: 12px; font-size: 13.5px; color: var(--encre-muette); text-align: center; }
.capture-longue { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--trait); box-shadow: var(--ombre-2); background: #fff; }
.fiche-cotes { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.fiche-detail { display: grid; gap: 22px; }
.fiche-detail dt { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-muette); margin-bottom: 6px; }
.fiche-detail dd { font-size: 15.5px; color: var(--encre-douce); }
.fiche-detail dd ul { display: grid; gap: 6px; }
.fiche-detail dd li { display: flex; gap: 8px; }
.fiche-detail dd li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--marque); flex: none; margin-top: 9px; }
.pagination-fiches { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pagination-fiches a { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--trait); transition: border-color 0.2s, transform 0.35s var(--ease); }
.pagination-fiches a:hover { border-color: var(--encre); transform: translateY(-3px); }
.pagination-fiches a:last-child { text-align: right; align-items: flex-end; }
.pagination-fiches small { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-muette); }
.pagination-fiches strong { font-size: 19px; letter-spacing: -0.02em; }
@media (max-width: 860px) { .fiche-duo, .fiche-cotes { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pagination-fiches { grid-template-columns: 1fr; } .pagination-fiches a:last-child { text-align: left; align-items: flex-start; } }

/* ─── Assistant Mila (widget) ───────────────────────────────── */
.mila { position: fixed; right: 18px; bottom: 18px; z-index: 200; font-family: inherit; }
.mila-bouton { position: relative; width: 62px; height: 62px; border-radius: 50%; padding: 3px; background: var(--marque); box-shadow: 0 10px 28px rgba(47, 42, 95, 0.28); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); display: grid; place-items: center; }
.mila-bouton:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 36px rgba(47, 42, 95, 0.32); }
.mila-bouton img { width: 100%; height: 100%; border-radius: 50%; background: #fff; }
.mila-bouton .fermer-x { display: none; width: 22px; height: 22px; color: #fff; }
.mila--ouvert .mila-bouton img { display: none; }
.mila--ouvert .mila-bouton .fermer-x { display: block; }
.mila-bulle { position: absolute; right: 74px; bottom: 10px; width: max-content; max-width: 240px; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: #fff; border: 1px solid var(--trait); box-shadow: var(--ombre-2); font-size: 14px; font-weight: 600; cursor: pointer; animation: entree 0.5s var(--ease) forwards; }
.mila-panneau { position: absolute; right: 0; bottom: 78px; width: min(390px, calc(100vw - 36px)); height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--trait); border-radius: 24px; box-shadow: var(--ombre-3); overflow: hidden; transform-origin: bottom right; transform: scale(0.96) translateY(10px); opacity: 0; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.mila--ouvert .mila-panneau { opacity: 1; transform: none; }
.mila-tete { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(115deg, #234dc7 0%, #6d2ed9 48%, #c9126e 100%); color: #fff; flex: none; }
.mila-tete img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.7); background: #fff; }
.mila-tete strong { display: block; font-size: 15px; letter-spacing: -0.01em; }
.mila-tete span { font-size: 12px; color: rgba(255, 255, 255, 0.92); }
.mila-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; scroll-behavior: smooth; }
.mila-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.mila-msg--user { align-self: flex-end; background: var(--bleu); color: #fff; border-bottom-right-radius: 4px; }
.mila-msg--assistant { align-self: flex-start; background: var(--sable); border-bottom-left-radius: 4px; }
.mila-msg a { color: var(--bleu); text-decoration: underline; }
.mila-msg--user a { color: #fff; }
.mila-ecrit { display: inline-flex; gap: 4px; padding: 4px 2px; }
.mila-ecrit i { width: 6px; height: 6px; border-radius: 50%; background: var(--encre-muette); animation: saut 1s infinite; }
.mila-ecrit i:nth-child(2) { animation-delay: 0.15s; } .mila-ecrit i:nth-child(3) { animation-delay: 0.3s; }
@keyframes saut { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
.mila-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.mila-suggestions button { padding: 7px 12px; border-radius: var(--pilule); background: #fff; border: 1px solid var(--trait-fort); font-size: 13px; font-weight: 600; color: var(--encre-douce); text-align: left; }
.mila-suggestions button:hover { border-color: var(--encre); color: var(--encre); }
.mila-form { display: flex; gap: 8px; padding: 12px 14px 12px; border-top: 1px solid var(--trait); flex: none; align-items: flex-end; }
.mila-champ { flex: 1; resize: none; font: inherit; font-size: 14.5px; padding: 10px 14px; border-radius: 18px; border: 1px solid var(--trait-fort); background: var(--canvas); max-height: 120px; line-height: 1.4; }
.mila-champ:focus { outline: none; border-color: var(--bleu); background: #fff; }
.mila-envoyer { width: 42px; height: 42px; border-radius: 50%; background: var(--bleu); color: #fff; display: grid; place-items: center; flex: none; }
.mila-envoyer[disabled] { opacity: 0.6; }
.mila-envoyer svg { width: 17px; height: 17px; }
.mila-note { padding: 0 16px 12px; font-size: 12px; color: var(--encre-muette); text-align: center; flex: none; }
.mila-note a { text-decoration: underline; display: inline-block; padding: 5px 4px; }
@media (max-width: 560px) {
  .mila { right: 14px; bottom: 14px; }
  .mila--ouvert .mila-panneau { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; bottom: 0; }
  .mila--ouvert .mila-bouton { position: fixed; right: 14px; top: 10px; z-index: 210; width: 44px; height: 44px; }
  .mila-bulle { display: none; }
}

/* ─── Apparitions au défilement ─────────────────────────────── */
.app { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.app.visible { opacity: 1; transform: none; }
.app-d1 { transition-delay: 0.08s; } .app-d2 { transition-delay: 0.16s; } .app-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .app { opacity: 1; transform: none; transition: none; } .mila-hero, .moteur, .moteur-legende { animation: none; opacity: 1; transform: none; } }

/* ─── 404 ───────────────────────────────────────────────────── */
.perdu { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 60px; }
.perdu .env { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.perdu img { width: min(60%, 280px); }

/* ═══ HERO « LE MUR » ══════════════════════════════════════════════════════
   Le premier écran ne promet rien : il montre dix sites réels en mouvement,
   et pose par-dessus la démonstration de ce qu'un moteur IA en dit. */
.hero-mur { position: relative; height: calc(100svh - var(--entete)); min-height: 620px; max-height: 900px; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: stretch; overflow: hidden; background: var(--canvas); }
.hero-mur::after { content: ''; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, transparent, var(--canvas)); pointer-events: none; z-index: 3; }

/* Le mur : colonnes de vraies pages qui dérivent à des vitesses différentes */
.mur { position: relative; height: 100%; overflow: hidden; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; padding: 0 14px; align-items: start; }
.mur::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--canvas) 0%, rgba(248,246,253,0.45) 7%, transparent 17%),
              linear-gradient(180deg, rgba(248,246,253,0.74), transparent 16%, transparent 82%, rgba(248,246,253,0.74)); }
.mur-colonne { display: flex; flex-direction: column; gap: 14px; will-change: transform; animation: mur-monte var(--vit, 60s) linear infinite; }
.mur-colonne > figure { flex: none; }
.mur-colonne--bas { animation-direction: reverse; }
/* Cinq copies empilées, décalage d'exactement une copie : la boucle est
   invisible et la colonne couvre toujours la boîte, quel que soit le nombre
   de vignettes. */
@keyframes mur-monte { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -20%, 0); } }
.mur figure { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--trait); box-shadow: 0 2px 6px rgba(47,42,95,.06), 0 14px 34px rgba(47,42,95,.10); }
.mur img { width: 100%; height: auto; display: block; }
@media (prefers-reduced-motion: reduce) { .mur-colonne { animation: none; } }

/* Le panneau : posé sur le mur, il porte tout le discours */
.hero-panneau { position: relative; z-index: 4; display: flex; flex-direction: column; justify-content: center; gap: clamp(12px, 1.6vh, 20px); padding: clamp(20px, 3vh, 44px) clamp(20px, 3.4vw, 52px) clamp(20px, 3vh, 44px) var(--marge); background: var(--canvas); }
.hero-panneau::after { content: ''; position: absolute; inset: 0 -70px 0 auto; width: 70px; background: linear-gradient(90deg, var(--canvas), transparent); pointer-events: none; }
.hero-panneau .t-hero { font-size: clamp(31px, 3.25vw, 50px); max-width: 15ch; }
.hero-panneau .chapeau { max-width: 48ch; font-size: clamp(15px, 1.1vw, 17px); }

/* La démonstration : une vraie question, la réponse d'un moteur, la source */
.demo-moteur { border: 1px solid var(--trait); border-radius: var(--r-lg); background: #fff; box-shadow: var(--ombre-2); overflow: hidden; }
.demo-moteur-tete { display: flex; align-items: center; gap: 8px; padding: 10px 15px; border-bottom: 1px solid var(--trait); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--encre-muette); }
.demo-moteur-tete i { width: 8px; height: 8px; border-radius: 50%; background: var(--trait-fort); }
.demo-moteur-tete b { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--vert-texte); text-transform: none; letter-spacing: 0; font-size: 12px; }
.demo-moteur-tete b::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--vert); animation: pouls 2.2s infinite; }
.demo-q { padding: 14px 18px 7px; font-size: clamp(16px, 1.45vw, 19.5px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.24; min-height: 2.5em; }
.demo-q .curseur { display: inline-block; width: 2px; height: 0.95em; background: var(--encre); margin-left: 3px; vertical-align: -0.12em; animation: clign 0.9s steps(1) infinite; }
.demo-r { padding: 0 18px 14px; font-size: 14.5px; line-height: 1.58; color: var(--encre-douce); min-height: 6.3em; }
.demo-r p { min-height: 1em; }
.demo-source { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 13px 7px 9px; border-radius: var(--pilule); background: var(--bleu-pale); color: var(--bleu); font-weight: 700; font-size: 12.5px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.demo-source.visible { opacity: 1; transform: none; }
.demo-choix { display: flex; gap: 6px; padding: 11px 13px 13px; border-top: 1px solid var(--trait); background: var(--sable); }
.demo-choix button { flex: 1 1 0; min-width: 0; padding: 8px 6px; border-radius: var(--pilule); background: #fff; border: 1px solid var(--trait); font-size: 12.5px; font-weight: 600; color: var(--encre-douce); transition: background-color .2s, color .2s, border-color .2s; }
.demo-choix button[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }

/* Mila, adossée au mur, à la lisière du panneau */
.hero-mila { position: absolute; z-index: 5; right: -44px; bottom: 0; width: clamp(124px, 11vw, 168px); pointer-events: none; filter: drop-shadow(0 20px 30px rgba(47,42,95,.24)); }
.hero-mila img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 99%); mask-image: linear-gradient(180deg, #000 86%, transparent 99%); }

@media (max-width: 1240px) { .hero-mila { right: -26px; width: 128px; } }
@media (max-height: 780px) { .hero-panneau .preuves { display: none; } .hero-mila { width: 122px; } }
@media (max-width: 960px) {
  .hero-mur { grid-template-columns: 1fr; min-height: 0; }
  .hero-panneau { padding: 26px var(--marge) 18px; }
  .hero-panneau::after { display: none; }
  .hero-mila { position: relative; right: auto; bottom: auto; width: 150px; align-self: flex-end; margin: -6px 0 -18px; }
  /* Sur téléphone, cinq colonnes donneraient des vignettes illisibles : on n'en
     garde que deux, assez larges pour reconnaître chaque site. */
  .mur { height: auto; padding: 4px var(--marge) 18px; gap: 12px; grid-auto-columns: 1fr; }
  .mur-colonne { gap: 12px; height: 62vh; min-height: 340px; overflow: hidden; }
  .mur-colonne:nth-child(n+3) { display: none; }
  .mur::before { background: linear-gradient(180deg, rgba(248,246,253,.9), transparent 12%, transparent 78%, var(--canvas)); }
  .hero-mur::after { display: none; }
}
