/* Sorabs — charte 2026 (refonte). Marine (confiance), bleu technologique, cyan (détails sur fond sombre), orange (action).
   Pile de polices système : aucune requête vers un tiers. Contrastes visés : WCAG 2.2 AA. */
:root {
  --nuit: #0B1426; --nuit-2: #12213D; --nuit-3: #1E3A6E;
  --bleu: #2563EB; --bleu-fonce: #1D4ED8; --cyan: #06B6D4;
  --orange: #FF8500; --orange-clair: #FF9A2E; --orange-texte: #A84F00;
  --gris: #F1F5F9; --blanc: #FFFFFF; --texte: #1E293B; --discret: #475569; --ligne: #DDE4EE;
  --sable: var(--gris); --brume: #E8F0FE; --ambre: var(--orange);
  --rayon: 16px; --rayon-s: 10px;
  --ombre: 0 1px 2px rgba(11, 20, 38, .05), 0 10px 28px -16px rgba(11, 20, 38, .22);
  --ombre-forte: 0 2px 4px rgba(11, 20, 38, .06), 0 22px 44px -20px rgba(11, 20, 38, .3);
  --police: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --police-titre: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --largeur: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--police); font-size: 1.0625rem; line-height: 1.65; color: var(--texte); background: var(--blanc); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { max-width: 100%; display: block; height: auto; }
svg { flex: none; }
a { color: var(--bleu-fonce); text-underline-offset: 3px; }
a:hover { color: var(--nuit); }
h1, h2, h3, h4 { font-family: var(--police-titre); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .6em; color: var(--nuit); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); letter-spacing: -.03em; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 6px; }
.sombre :focus-visible, .hero :focus-visible, .pied :focus-visible, .appel :focus-visible { outline-color: var(--orange-clair); }

.conteneur { width: min(var(--largeur), 100% - 32px); margin-inline: auto; }
.etroit { max-width: min(860px, 100% - 32px); }
.centre { text-align: center; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--nuit); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.evitement:focus { left: 12px; }
section { padding: clamp(52px, 7vw, 96px) 0; }
.alt { background: var(--gris); }
.sombre { background: var(--nuit); color: #CBD5E1; }
.sombre h2, .sombre h3 { color: var(--blanc); }
.sombre a { color: #93C5FD; }

/* ---------------------------------------------------------------- Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: var(--rayon-s); font: 700 .98rem/1.25 var(--police); text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.bouton-principal { background: var(--orange); color: var(--nuit); box-shadow: 0 10px 24px -14px rgba(255, 133, 0, .9); }
.bouton-principal:hover { background: var(--orange-clair); color: var(--nuit); transform: translateY(-1px); }
.bouton-contour, .bouton-secondaire { background: var(--blanc); color: var(--nuit); border-color: #94A3B8; }
.bouton-contour:hover, .bouton-secondaire:hover { border-color: var(--nuit); background: var(--nuit); color: var(--blanc); }
.bouton-clair { background: rgba(255, 255, 255, .06); color: var(--blanc); border-color: rgba(255, 255, 255, .55); }
.bouton-clair:hover { background: var(--blanc); color: var(--nuit); border-color: var(--blanc); }
.bouton:disabled { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 700; color: var(--bleu-fonce); text-decoration: none; }
.lien-fleche:hover { text-decoration: underline; color: var(--bleu-fonce); }
.lien-fleche svg { transition: transform .15s ease; }
.lien-fleche:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--ligne); backdrop-filter: saturate(160%) blur(10px); }
.entete .conteneur { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.marque { display: inline-flex; align-items: center; min-height: 44px; }
.marque img { height: 36px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-liste { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-liste > li { position: relative; display: flex; align-items: center; }
.nav-liste a { display: flex; align-items: center; min-height: 44px; white-space: nowrap; color: var(--texte); text-decoration: none; padding: 8px 10px; font-weight: 600; font-size: .95rem; border-radius: 8px; }
.nav-liste a:hover { color: var(--bleu-fonce); }
.nav-liste > li > a[aria-current="page"] { color: var(--bleu-fonce); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.sub-toggle { background: none; border: 0; width: 28px; height: 44px; margin-left: -8px; cursor: pointer; color: var(--discret); display: inline-flex; align-items: center; justify-content: center; }
.sous-menu { position: absolute; top: 100%; left: 0; min-width: 300px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 12px; box-shadow: var(--ombre-forte); padding: 8px; list-style: none; margin: 0; display: none; z-index: 70; }
.has-sub:hover > .sous-menu, .has-sub:focus-within > .sous-menu, .has-sub.ouvert > .sous-menu { display: block; }
.sous-menu a { padding: 10px 12px; }
.sous-menu a:hover { background: var(--brume); }
.nav a.langue { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 6px 10px; border: 1.5px solid #94A3B8; border-radius: 999px; color: var(--nuit); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-decoration: none; }
.nav a.langue:hover { background: var(--brume); border-color: var(--bleu-fonce); }
.nav .nav-cta { min-height: 44px; padding: 10px 16px; font-size: .92rem; white-space: nowrap; }
.menu-bouton { display: none; margin-left: auto; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--nuit); align-items: center; justify-content: center; }

/* ---------------------------------------------------------------- Photos */
.photo { position: relative; display: block; overflow: hidden; }
.photo picture { display: block; width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.legende-ia { position: absolute; right: 8px; bottom: 8px; background: rgba(11, 20, 38, .82); color: #E2E8F0; font-size: .72rem; line-height: 1; padding: 6px 9px; border-radius: 6px; }

/* ---------------------------------------------------------------- Bandeaux */
.hero { position: relative; overflow: hidden; background: var(--nuit); color: #D7E0EC; padding: 0; isolation: isolate; }
.hero .conteneur { position: relative; z-index: 2; }
.hero-contenu { max-width: 590px; padding: clamp(36px, 5vw, 68px) 0; }
.hero.simple .hero-contenu { max-width: 800px; }
.hero h1 { color: var(--blanc); }
.hero h1 em { font-style: normal; color: var(--orange-clair); }
.hero .chapo { font-size: clamp(1.05rem, 1.4vw, 1.18rem); max-width: 34em; margin-bottom: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: #67E8F9; margin-bottom: 16px; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 58%; z-index: 0; }
.hero-media .photo { width: 100%; height: 100%; }
.hero-media img { object-position: 60% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--nuit) 0%, rgba(11, 20, 38, .78) 16%, rgba(11, 20, 38, .18) 44%, rgba(11, 20, 38, 0) 70%); pointer-events: none; }
.hero-media .legende-ia { z-index: 2; }
.hero:not(.simple) .conteneur { min-height: 440px; display: flex; align-items: center; }
.hero.accueil:not(.simple) .conteneur { min-height: 580px; }
.hero.accueil h1 { font-size: clamp(2rem, 3.9vw, 3.1rem); }
.hero.accueil .hero-contenu { max-width: 620px; }
.hero.article h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.fil ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .85rem; color: #A9B8CE; }
.fil li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.fil a { color: #D7E0EC; display: inline-block; min-height: 24px; }
.fil a:hover { color: var(--blanc); }
.benefices { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.benefices li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--blanc); font-size: .95rem; }
.benefices .pastille-icone { width: 34px; height: 34px; margin: 0; background: rgba(255, 133, 0, .16); color: var(--orange-clair); }
.prix-hero { margin: 22px 0 0; font-size: 1rem; }
.prix-hero strong { color: var(--blanc); font-size: 1.5rem; }
.prix-hero small { color: #A9B8CE; margin-left: 6px; }

.publics { background: var(--gris); border-bottom: 1px solid var(--ligne); padding: 18px 0; }
.publics .conteneur { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }
.publics p { margin: 0; font-weight: 700; color: var(--nuit); }
.publics ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.publics li { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 999px; padding: 5px 14px; font-size: .9rem; font-weight: 600; color: var(--discret); }

/* ---------------------------------------------------------------- Titres et cartes */
.titre-section { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.titre-section.centre { margin-inline: auto; }
.titre-section p:last-child { color: var(--discret); margin-bottom: 0; }
.sombre .titre-section p:last-child { color: #B6C4D8; }
.titre-section .surtitre, .surtitre { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-texte); margin-bottom: 12px; }
.sombre .titre-section .surtitre { color: #67E8F9; }
.titre-section h2 { margin-bottom: .45em; }
.carte { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px; box-shadow: var(--ombre); display: flex; flex-direction: column; }
.carte p:last-child { margin-bottom: 0; }
.carte-corps { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.carte-corps > .lien-fleche, .carte-corps > .bouton { margin-top: auto; align-self: flex-start; }
.pastille-icone { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brume); color: var(--bleu-fonce); margin-bottom: 16px; flex: none; }
.grille { display: grid; gap: 20px; }
.grille.nue { list-style: none; padding: 0; margin: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4, .g5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sombre .carte { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); box-shadow: none; color: #CBD5E1; }
.liste-coche { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 9px; }
.liste-coche li { padding-left: 28px; position: relative; }
.liste-coche li::before { content: ""; position: absolute; left: 3px; top: .52em; width: 12px; height: 7px; border-left: 2.5px solid var(--bleu); border-bottom: 2.5px solid var(--bleu); transform: rotate(-45deg); }
.liste-coche.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.liste-coche.alerte li::before { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--orange); transform: none; top: .6em; }
.liste-coche.non li::before { width: 12px; height: 2.5px; border: 0; background: #94A3B8; transform: none; top: .75em; }
.sombre .liste-coche li::before { border-color: var(--cyan); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: var(--discret); margin-bottom: 12px; }
.etiquette { display: inline-block; align-self: flex-start; font-size: .76rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--brume); color: var(--nuit-3); }
.etiquette.discrete { background: transparent; border: 1px solid #94A3B8; color: var(--discret); }
.note { font-size: .9rem; color: var(--discret); }
.sombre .note { color: #A9B8CE; }
.texte-fort { font-size: 1.12rem; color: var(--nuit); }
.avertissement { background: var(--brume); border-left: 4px solid var(--bleu); border-radius: var(--rayon-s); padding: 15px 18px; color: var(--nuit-2); font-size: .95rem; margin-top: 28px; }

/* Problématiques */
.grille-problemes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.grille-problemes h3 { font-size: 1.08rem; }
.grille-problemes p { color: var(--discret); font-size: .96rem; }
.reponse { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-texte); border-top: 1px solid var(--ligne); padding-top: 12px; margin-bottom: 4px; }

/* Prestations */
.grille-offres, .grille-apps, .grille-articles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.offre, .cas-carte, .article-carte, .app { padding: 0; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.offre:hover, .cas-carte:hover, .article-carte:hover, .app:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.offre > .photo, .article-carte > .photo { aspect-ratio: 16 / 10; }
.offre .carte-corps { position: relative; padding-top: 38px; }
.offre .pastille-icone { position: absolute; top: -26px; left: 20px; width: 52px; height: 52px; background: var(--blanc); border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.offre .liste-coche { font-size: .92rem; gap: 6px; }
.offre .bouton { align-self: stretch; }
.prix-carte { margin: auto 0 14px; color: var(--discret); font-size: .92rem; }
.prix-carte strong { display: block; color: var(--orange-texte); font-size: 1.45rem; letter-spacing: -.01em; }
.prix-bloc { margin: 0 0 4px; }
.prix-bloc strong { font-size: 1.9rem; color: var(--nuit); letter-spacing: -.02em; }
.prix-bloc small { color: var(--discret); margin-left: 8px; }
.prix-bloc.grand strong { font-size: clamp(2.2rem, 5vw, 3rem); }
.encadre h2 { font-size: 1.35rem; }

/* Technologies */
.familles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.familles li { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--rayon); padding: 16px; font-weight: 600; color: var(--blanc); }
.familles .pastille-icone { margin: 0; background: rgba(6, 182, 212, .16); color: #67E8F9; }
.techno-titre { margin-top: 36px; text-align: center; }
.techno-noms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; }
.techno-noms li { border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 7px 16px; color: var(--blanc); font-weight: 600; }
#integrations .note { text-align: center; }

/* Cas d'usage */
.grille-cas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 36px; }
.cas-carte > .photo { aspect-ratio: 16 / 9; }
.cas-carte .liste-coche { font-size: .93rem; gap: 6px; }
.cas-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(22px, 4vw, 52px); align-items: start; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--ligne); }
.cas-detail:first-child { padding-top: 0; }
.cas-detail:last-child { border-bottom: 0; padding-bottom: 0; }
.cas-detail.inverse .cas-media { order: 2; }
.cas-detail.inverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cas-media { position: sticky; top: 96px; }
.cas-media .photo { border-radius: var(--rayon); aspect-ratio: 4 / 3; box-shadow: var(--ombre-forte); }
.cas-vignette { display: grid; place-items: center; background: var(--brume); border-radius: var(--rayon); padding: 34px; }
.cas-vignette img { width: 100%; max-width: 300px; }
.cas-texte h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--discret); margin: 22px 0 8px; }
.chaine { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; counter-reset: ch; }
.chaine li { counter-increment: ch; display: flex; align-items: center; gap: 9px; background: var(--gris); border: 1px solid var(--ligne); border-radius: 999px; padding: 7px 15px 7px 8px; font-size: .92rem; font-weight: 600; color: var(--nuit); }
.chaine li::before { content: counter(ch); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bleu); color: var(--blanc); font-size: .78rem; }

/* Avant / après */
.comparaison { display: grid; gap: 22px; }
.bascule { display: none; justify-self: center; gap: 4px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 12px; padding: 5px; }
.bascule button { min-height: 44px; padding: 8px 22px; border: 0; border-radius: 8px; background: none; font: 700 .95rem var(--police); color: var(--discret); cursor: pointer; }
.bascule button[aria-pressed="true"] { background: var(--nuit); color: var(--blanc); }
.comparaison.actif .bascule { display: inline-flex; }
.comparaison.actif[data-mode="avant"] .parcours-apres, .comparaison.actif[data-mode="apres"] .parcours-avant { display: none; }
.parcours { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: clamp(20px, 3vw, 32px); box-shadow: var(--ombre); }
.parcours h3 { text-align: center; }
.parcours ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 20px 0; }
.parcours li { position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; font-size: .95rem; }
.parcours li b { display: block; color: var(--nuit); }
.parcours li small { display: block; color: var(--discret); }
.parcours li:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: calc(50% + 36px); right: calc(-50% + 24px); border-top: 2px dashed #94A3B8; }
.parcours-apres li:not(:last-child)::after { border-top: 2px solid var(--bleu); }
.rond { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gris); border: 1px solid var(--ligne); color: var(--discret); }
.parcours-apres .rond { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.comparaison.actif .parcours li { animation: apparaitre .4s ease both; animation-delay: calc(var(--n) * 90ms); }
@keyframes apparaitre { from { transform: translateY(8px); opacity: .2; } to { transform: none; opacity: 1; } }
.bilan { text-align: center; margin: 0; font-weight: 600; color: var(--nuit); }

/* Applications (cartes) */
.app-capture { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brume); border-bottom: 1px solid var(--ligne); }
.app-capture img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.app h3 { font-size: 1.08rem; }
.app p { color: var(--discret); font-size: .95rem; }

/* Méthode */
.parcours-methode { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0 0 28px; }
.parcours-methode li { position: relative; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px; box-shadow: var(--ombre); }
.parcours-methode li:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -21px; width: 21px; border-top: 2px solid var(--orange); }
.etape-icone { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--nuit); color: var(--orange-clair); margin-bottom: 16px; }
.etape-num { position: absolute; top: 22px; right: 22px; font: 700 1.5rem var(--police-titre); color: #64748B; }
.parcours-methode p { color: var(--discret); font-size: .97rem; margin: 0; }
.etapes { counter-reset: e; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0; list-style: none; margin: 0; }
.etapes li { counter-increment: e; padding: 22px; border-radius: var(--rayon); border: 1px solid var(--ligne); background: var(--blanc); }
.etapes li::before { content: counter(e, decimal-leading-zero); display: block; font-weight: 700; letter-spacing: .08em; color: var(--orange-texte); margin-bottom: 12px; }
.etapes p { color: var(--discret); margin: 0; font-size: .97rem; }

/* Deux colonnes, pourquoi */
.deux-colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.deux-colonnes.haut { align-items: start; }
.deux-colonnes.inverse > :first-child { order: 2; }
.deux-colonnes > div > .photo { border-radius: var(--rayon); box-shadow: var(--ombre-forte); }
.duo-photos { position: relative; padding-bottom: 22%; }
.duo-photos .photo { border-radius: var(--rayon); box-shadow: var(--ombre-forte); }
.duo-photos .photo:first-child { width: 90%; aspect-ratio: 4 / 3; }
.duo-photos .photo:last-child { position: absolute; right: 0; bottom: 0; width: 60%; aspect-ratio: 16 / 10; border: 6px solid var(--blanc); }
.duo-photos .photo:first-child .legende-ia { right: auto; left: 8px; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; list-style: none; padding: 0; margin: 26px 0; }
.points li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .96rem; color: var(--nuit); line-height: 1.35; }
.points .pastille-icone { width: 40px; height: 40px; margin: 0; }

/* Articles */
.article-carte { position: relative; }
.article-carte h3 { font-size: 1.1rem; }
.article-carte h3 a { color: var(--nuit); text-decoration: none; }
.article-carte h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.article-carte h3 a:focus-visible { outline: none; }
.article-carte:focus-within { outline: 3px solid var(--bleu); outline-offset: 3px; }
.article-carte:hover h3 a { color: var(--bleu-fonce); }
.article-carte p { color: var(--discret); font-size: .95rem; }
.article-carte > .carte-corps > .lien-fleche { margin-top: auto; }
.texte-article { max-width: 760px; margin-inline: auto; }
.texte-article h2 { font-size: 1.5rem; margin-top: 1.8em; }
.texte-article > h2:first-child { margin-top: 0; }
.texte-article li { margin-bottom: .4em; }
.texte { max-width: 760px; }
.texte h2 { font-size: 1.4rem; margin-top: 1.7em; }
.defile { overflow-x: auto; }
.tableau { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .96rem; background: var(--blanc); border: 1px solid var(--ligne); }
.tableau th, .tableau td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tableau thead th { background: var(--brume); color: var(--nuit); font-size: .86rem; }
.texte-article .tableau { display: block; overflow-x: auto; }
#tarifs .tableau { min-width: 620px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 20px; font-weight: 700; color: var(--nuit); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--orange-texte); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; color: var(--discret); }
.faq details p { margin: 0; }

/* ---------------------------------------------------------------- Contact */
.section-contact { background: var(--nuit); color: #CBD5E1; }
.contact-grille { align-items: start; }
.section-contact h2 { color: var(--blanc); }
.section-contact .titre-section p:last-child { color: #B6C4D8; }
.section-contact .titre-section .surtitre { color: #67E8F9; }
.section-contact .titre-section { margin: 28px 0 20px; }
.section-contact .liste-coche li::before { border-color: var(--cyan); }
.contact-visuel > .photo { border-radius: var(--rayon); aspect-ratio: 16 / 10; }
.moyens { display: grid; gap: 12px; list-style: none; padding: 0; margin: 24px 0 0; }
.moyens li { display: flex; align-items: center; gap: 14px; }
.moyens .pastille-icone { margin: 0; background: rgba(255, 133, 0, .16); color: var(--orange-clair); }
.moyens b { display: block; color: var(--blanc); font-size: .92rem; }
.moyens a { color: #CBD5E1; display: inline-block; min-height: 24px; }
.boite-formulaire { background: var(--blanc); color: var(--texte); border-radius: var(--rayon); padding: clamp(20px, 3vw, 34px); box-shadow: var(--ombre-forte); }
.boite-formulaire h3 { font-size: 1.4rem; margin-bottom: .2em; }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.champ { display: grid; gap: 6px; align-content: start; }
.champ.large { grid-column: 1 / -1; }
.champ label { font-weight: 600; font-size: .93rem; color: var(--nuit); }
.etoile { color: var(--orange-texte); }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { width: 100%; min-height: 48px; font: 500 1rem var(--police); color: var(--texte); background: var(--blanc); border: 1.5px solid #8291A9; border-radius: var(--rayon-s); padding: 10px 12px; }
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--bleu); outline-offset: 1px; border-color: var(--bleu); }
[aria-invalid="true"] { border-color: #B91C1C !important; background: #FEF2F2 !important; }
.erreur-champ { color: #B91C1C; font-size: .86rem; font-weight: 600; margin: 0; }
.champ.case { grid-template-columns: 24px minmax(0, 1fr); gap: 4px 12px; margin: 16px 0 10px; }
.champ.case input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--bleu); }
.champ.case label { font-weight: 500; }
.champ.case .erreur-champ { grid-column: 2; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.boite-formulaire .actions { margin-top: 8px; }
.form-etat { margin: 14px 0 0; font-weight: 600; }
.form-etat:empty { margin: 0; }
.form-etat.ok { color: #166534; }
.form-etat.erreur { color: #B91C1C; }
.form-apercu { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form-apercu[hidden] { display: none; }
.form-apercu textarea { font-size: .9rem; background: var(--gris); }

/* Appel à l'action */
.appel { padding: clamp(32px, 5vw, 56px) 0; background: var(--blanc); }
.appel-boite { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 40px; align-items: center; background: linear-gradient(120deg, var(--nuit) 0%, var(--nuit-3) 100%); color: #D7E0EC; border-radius: 22px; padding: clamp(26px, 4vw, 48px); }
.appel h2 { color: var(--blanc); font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .35em; }
.appel p { margin: 0; }
.appel .actions { margin: 0; justify-content: flex-end; }

/* ---------------------------------------------------------------- Pied */
.pied { background: #070E1C; color: #A9B8CE; padding: clamp(44px, 6vw, 68px) 0 28px; font-size: .95rem; }
.pied-grille { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 28px; }
.pied h2 { color: var(--blanc); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.pied a { color: #CBD5E1; text-decoration: none; display: inline-block; padding: 3px 0; min-height: 28px; overflow-wrap: anywhere; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied-marque p { margin-top: 16px; max-width: 22rem; }
.pied-note { border-top: 1px solid rgba(255, 255, 255, .12); margin: 36px 0 0; padding-top: 20px; font-size: .85rem; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .85rem; padding-bottom: 56px; }
.pied-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.wa-flottant { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 12px 18px; border-radius: 999px; background: #0B6B3A; color: var(--blanc); font-weight: 700; font-size: .92rem; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(11, 20, 38, .55); }
.wa-flottant:hover { background: #095A31; color: var(--blanc); }

/* ---------------------------------------------------------------- Applications (outils interactifs) */
.section-outils { background: var(--blanc); }
.outil { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 22px; padding: clamp(18px, 4vw, 40px); margin-bottom: 32px; box-shadow: var(--ombre); scroll-margin-top: 90px; }
.outil-tete { max-width: 46rem; margin-bottom: 26px; }
.outil-tete h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: .4em 0 .3em; }
.outil-tete p { color: var(--discret); margin: 0; }
.outil-corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 44px); align-items: start; }
.formulaire { display: grid; gap: 18px; }
.formulaire label, .question legend { font-weight: 600; color: var(--nuit); font-size: .96rem; display: grid; gap: 8px; align-content: end; }
input[type="range"] { width: 100%; accent-color: var(--bleu); height: 32px; }
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.formulaire .case { display: flex; align-items: flex-start; gap: 12px; }
.formulaire .case input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--bleu); flex: none; }
.discret { color: var(--discret); font-weight: 500; }
.resultat { background: var(--gris); border: 1px solid var(--ligne); border-radius: 16px; padding: clamp(16px, 3vw, 28px); display: grid; gap: 12px; }
.resultat h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--discret); margin: 0; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.trio div { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 12px; padding: 10px 8px; text-align: center; }
.trio span { display: block; font-size: .8rem; color: var(--discret); font-weight: 600; }
.trio b { font-size: 1.25rem; color: var(--nuit); }
.chiffre { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-bottom: 10px; border-bottom: 1px dashed #B8C4D6; }
.chiffre span { color: var(--discret); font-weight: 600; font-size: .96rem; }
.chiffre b { font-size: 1.2rem; color: var(--nuit); text-align: right; }
.chiffre.fort b { font-size: clamp(1.35rem, 2.4vw, 1.8rem); color: var(--bleu-fonce); }
.hypotheses summary { cursor: pointer; font-weight: 700; font-size: .93rem; min-height: 32px; color: var(--nuit); }
.hypotheses ul { font-size: .9rem; color: var(--discret); margin: 6px 0 0; }
.resultat .actions { margin: 0; gap: 10px; }
.progression { height: 10px; border-radius: 999px; background: var(--brume); overflow: hidden; }
.progression i { display: block; height: 100%; width: 0; background: var(--bleu); border-radius: 999px; transition: width .3s ease; }
#d-questions { display: grid; gap: 14px; margin-bottom: 18px; }
.question { border: 1px solid var(--ligne); border-radius: 14px; padding: 16px 18px 18px; margin: 0; background: var(--gris); min-width: 0; }
.question legend { display: block; padding: 0 8px; }
.qn { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--nuit); color: var(--blanc); font-size: .82rem; margin-right: 8px; }
.choix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.choix label { display: block; position: relative; cursor: pointer; font-weight: 600; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span { display: block; height: 100%; text-align: center; padding: 11px 10px; border: 2px solid var(--ligne); border-radius: 10px; background: var(--blanc); min-height: 48px; }
.choix label:hover span { border-color: var(--bleu); }
.choix input:checked + span { border-color: var(--bleu-fonce); background: var(--bleu-fonce); color: var(--blanc); }
.choix input:focus-visible + span { outline: 3px solid var(--bleu); outline-offset: 2px; }
.resultat-diag { background: var(--nuit); color: #D7E0EC; border-radius: 16px; padding: clamp(18px, 4vw, 32px); margin-bottom: 16px; }
.resultat-diag h3, .resultat-diag h4 { color: var(--blanc); }
.resultat-diag h3 small { color: var(--orange-clair); font-size: 1rem; }
.resultat-diag .etiquette { background: rgba(6, 182, 212, .18); color: #A5F3FC; }
.resultat-diag .note { color: #A9B8CE; margin-bottom: 1em; }
.resultat-diag .liste-coche li::before { border-color: var(--cyan); }
.resultat-diag .bouton-secondaire { background: transparent; color: var(--blanc); border-color: rgba(255, 255, 255, .55); }
.resultat-diag .bouton-secondaire:hover { background: var(--blanc); color: var(--nuit); }
.schema { background: var(--nuit); border-radius: 18px; padding: 18px; color: var(--blanc); }
.flux { display: grid; gap: 8px; }
.noeud { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 12px 14px; }
.noeud b { display: block; color: var(--blanc); }
.noeud small { display: block; color: #B6C4D8; font-size: .87rem; line-height: 1.35; }
.noeud .ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); font-size: 1.1rem; font-style: normal; }
.noeud.ia { background: rgba(37, 99, 235, .3); border-color: #60A5FA; }
.noeud.ia .ico { background: var(--bleu); }
.noeud.humain { background: rgba(255, 133, 0, .12); border-color: rgba(255, 133, 0, .65); }
.noeud.humain .ico { background: var(--orange); color: var(--nuit); font-weight: 800; }
.lien { display: grid; place-items: center; height: 16px; }
.lien::before { content: ""; width: 2px; height: 100%; background: repeating-linear-gradient(var(--cyan) 0 4px, transparent 4px 8px); animation: couler 1.2s linear infinite; }
@keyframes couler { to { background-position: 0 8px; } }
.choix-ex { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.choix-ex .bouton[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }
.mail-ex { background: var(--gris); border: 1px solid var(--ligne); border-radius: 16px; padding: 22px; }
.mail-ex .mini { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--discret); margin-bottom: 10px; }
.mail-ex p { margin: 0; }
.vide { color: var(--discret); margin: 0; }
table.extraction { width: 100%; border-collapse: collapse; font-size: .96rem; }
table.extraction th { text-align: left; font-weight: 700; color: var(--discret); padding: 9px 12px 9px 0; vertical-align: top; width: 38%; border-bottom: 1px dashed #B8C4D6; }
table.extraction td { padding: 9px 0; border-bottom: 1px dashed #B8C4D6; color: var(--nuit); font-weight: 600; }
table.extraction tr { animation: apparaitre .35s ease both; }
.suite { margin: 14px 0 0; background: var(--brume); border-left: 4px solid var(--bleu); padding: 12px 16px; border-radius: 10px; }

/* ---------------------------------------------------------------- Guide de marque */
.nuancier { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.teinte { border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--ligne); background: var(--blanc); }
.teinte .pastille-couleur { height: 100px; }
.teinte div:last-child { padding: 14px 16px; font-size: .9rem; }
.teinte b { display: block; font-size: 1rem; color: var(--nuit); }
.teinte code { color: var(--discret); font-size: .85rem; }
.logo-boite { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 36px; display: grid; place-items: center; background: var(--blanc); }
.logo-boite.sombre { background: var(--nuit); }
.logo-boite img { max-height: 64px; width: auto; }
.logo-boite.petit img { max-height: 84px; }
.echelle p { margin: 0 0 10px; }

/* ---------------------------------------------------------------- Écrans */
@media (max-width: 1180px) {
  .menu-bouton { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 10px; background: var(--blanc); border-bottom: 1px solid var(--ligne); padding: 8px 20px 24px; display: none; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow: auto; margin: 0; box-shadow: var(--ombre-forte); }
  .nav.ouvert { display: flex; }
  .nav-liste { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
  .nav-liste > li { flex-wrap: wrap; }
  .nav-liste > li > a { flex: 1; font-size: 1.02rem; }
  .nav-liste > li > a[aria-current="page"] { box-shadow: none; background: var(--brume); border-radius: 8px; }
  .sub-toggle { display: none; }
  .sous-menu { position: static; display: block; min-width: 0; width: 100%; box-shadow: none; border: 0; padding: 0 0 4px 14px; }
  .sous-menu a { font-weight: 500; color: var(--discret); }
  .nav a.langue { align-self: flex-start; }
  html.menu-ouvert .wa-flottant { display: none; }
}
@media (max-width: 1080px) {
  .grille-offres, .grille-apps, .grille-articles, .grille-problemes, .familles, .parcours-methode, .etapes, .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parcours-methode li::after { display: none; }
  .pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-marque { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-media { position: relative; width: 100%; inset: auto; aspect-ratio: 16 / 10; max-height: 420px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(11, 20, 38, 0) 55%, var(--nuit) 100%); }
  .hero:not(.simple) .conteneur, .hero.accueil:not(.simple) .conteneur { min-height: 0; }
  .hero-contenu, .hero.accueil .hero-contenu { max-width: 720px; padding-top: 18px; }
  .hero.simple .hero-contenu { padding-top: 36px; }
  .hero-media .legende-ia { bottom: auto; top: 8px; }
  .deux-colonnes, .outil-corps, .appel-boite, .cas-detail, .cas-detail.inverse { grid-template-columns: minmax(0, 1fr); }
  .deux-colonnes.inverse > :first-child, .cas-detail.inverse .cas-media { order: 0; }
  .cas-media { position: static; }
  .appel .actions { justify-content: flex-start; }
  .grille-cas, .g3 { grid-template-columns: minmax(0, 1fr); }
  .parcours ol { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .parcours li { grid-template-columns: 56px minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; gap: 16px; }
  .parcours li:not(:last-child)::after { top: 58px; bottom: -24px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed #94A3B8; }
  .parcours-apres li:not(:last-child)::after { border-top: 0; border-left: 2px solid var(--bleu); }
}
@media (max-width: 640px) {
  .grille-offres, .grille-apps, .grille-articles, .grille-problemes, .parcours-methode, .etapes, .g2, .g4, .g5, .champs, .liste-coche.deux, .points, .deux, .choix { grid-template-columns: minmax(0, 1fr); }
  .familles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .familles li { flex-direction: column; text-align: center; gap: 8px; padding: 14px 8px; font-size: .9rem; }
  .actions > .bouton { width: 100%; }
  .wa-flottant { padding: 0; width: 52px; height: 52px; justify-content: center; }
  .wa-flottant span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .chiffre { flex-wrap: wrap; gap: 2px 14px; }
  .trio b { font-size: 1.05rem; }
}
@media (max-width: 380px) {
  .pied-grille, .familles { grid-template-columns: minmax(0, 1fr); }
  .bascule button { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .entete, .wa-flottant, .appel, .hero-media { display: none; } }
