/* ============================================================
   XSoft — feuille de style globale
   Bleu nuit + bleu XSoft #0e0eb0 + dégradé vert → turquoise du logo
   Typo sobre : Outfit (titres) / Plus Jakarta Sans (texte)
   ============================================================ */
:root {
  --nuit: #06063d;
  --nuit-2: #0d0d57;
  --bleu: #0e0eb0;
  --bleu-vif: #3b3bff;
  --vert: #81cd34;
  --vert-fonce: #6cb522;
  --turquoise: #03b3c0;
  --degrade: linear-gradient(135deg, #82cd35 0%, #35c48f 45%, #03b3c0 100%);
  --encre: #11133b;
  --gris: #5b5e80;
  --ligne: #e2e4f1;
  --papier: #ffffff;
  --pale: #f3f5fd;
  --rayon: 14px;
  --rayon-l: 24px;
  --titre: 'Outfit', system-ui, sans-serif;
  --texte: 'Plus Jakarta Sans', system-ui, sans-serif;
  --gouttiere: clamp(16px, 4vw, 48px);
  --entete-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 16px/1.65 var(--texte); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; }
.ic { display: inline-flex; width: 1.2em; height: 1.2em; flex: none; }
.ic svg { width: 100%; height: 100%; fill: currentColor; }
::selection { background: var(--vert); color: var(--nuit); }

.lien-evitement { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--bleu); color: #fff; padding: 10px 16px; border-radius: 8px; }
.lien-evitement:focus { top: 16px; }

.conteneur { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-nuit { background: var(--nuit); color: #dfe1f5; }
.section-pale { background: var(--pale); }

.sur-titre { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 700 12.5px/1 var(--texte); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bleu); }
.sur-titre::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--degrade); }
.section-nuit .sur-titre, .pied-appel .sur-titre { color: var(--vert); }
.titre-section { font-size: clamp(28px, 3.6vw, 48px); max-width: 20ch; }
.section-nuit .titre-section { color: #fff; }
.note { font-size: 13px; color: var(--gris); margin-top: 18px; }
.texte-courant { display: grid; gap: 16px; font-size: 16.5px; color: #3c3f62; align-content: start; justify-items: start; }
.texte-clair { color: #c9cbe6; }

.mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mot > span { display: inline-block; will-change: transform; }
[data-perspective] { perspective: 900px; }
[data-perspective] .mot { overflow: visible; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 15px/1 var(--texte); white-space: nowrap; border: 1.5px solid transparent; transition: background 0.3s, color 0.3s, transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.bouton:hover { transform: translateY(-2px); }
.bouton .ic { transition: transform 0.3s var(--ease); }
.bouton:hover .ic { transform: translateX(3px); }
.bouton-vert { background: var(--vert); color: var(--nuit); box-shadow: 0 10px 30px -12px rgba(129, 205, 52, 0.8); }
.bouton-vert:hover { background: #93dc47; }
.bouton-bleu { background: var(--bleu); color: #fff; }
.bouton-contour { border-color: var(--encre); color: var(--encre); }
.bouton-contour:hover { background: var(--encre); color: #fff; }
.bouton-contour-clair { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.bouton-contour-clair:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.bouton-petit { min-height: 42px; padding: 0 18px; font-size: 14px; }
.bouton:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.lien-fleche { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 4px; }
.lien-fleche .ic { transition: transform 0.3s var(--ease); }
.lien-fleche:hover .ic { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--bleu); }
.logo-x { width: 38px; height: auto; transition: transform 0.6s var(--ease); }
a:hover > .logo .logo-x { transform: rotate(-8deg) scale(1.06); }
.logo-texte { display: flex; align-items: center; gap: 10px; line-height: 1; }
.logo-texte b { font: 800 28px/1 var(--titre); letter-spacing: 0.01em; }
.logo-texte small { font: 600 9px/1.35 var(--texte); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; padding-left: 10px; border-left: 1px solid currentColor; }
.logo-clair { color: #fff; }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--entete-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--gouttiere); color: #fff; transition: background 0.4s, color 0.4s, transform 0.5s var(--ease), box-shadow 0.4s; }
.entete .logo { color: #fff; transition: color 0.4s; }
.page-claire .entete, .entete-solide { color: var(--encre); }
.page-claire .entete .logo, .entete-solide .logo { color: var(--bleu); }
.entete-solide { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--ligne); }
.entete-cache { transform: translateY(-100%); }
.menu-ouvert .entete { color: #fff; background: transparent; box-shadow: none; transform: none; backdrop-filter: none; }
.menu-ouvert .entete .logo { color: #fff; }
.entete-nav { display: flex; gap: 26px; font-weight: 600; font-size: 14.5px; }
.entete-nav a { position: relative; padding-block: 6px; opacity: 0.85; }
.entete-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--degrade); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.entete-nav a:hover::after, .entete-nav a.actif::after { transform: scaleX(1); transform-origin: left; }
.entete-nav a.actif, .entete-nav a:hover { opacity: 1; }
.entete-actions { display: flex; align-items: center; gap: 16px; }
.entete-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.burger { width: 46px; height: 46px; border-radius: 50%; display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1.5px solid currentColor; }
.burger span { width: 18px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease); }
.menu-ouvert .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-ouvert .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Menu plein écran */
.menu-mobile { position: fixed; inset: 0; z-index: 90; background: var(--nuit); color: #fff; display: flex; flex-direction: column; padding: calc(var(--entete-h) + 24px) var(--gouttiere) 28px; clip-path: inset(0 0 100% 0); transition: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1); overflow-y: auto; overflow-x: hidden; }
.menu-ouvert .menu-mobile { clip-path: inset(0 0 0 0); }
.menu-x { position: absolute; right: -8%; top: 8%; width: min(70vh, 60vw); opacity: 0.08; pointer-events: none; }
.menu-corps { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; flex: 1; }
.menu-liens { display: flex; flex-direction: column; }
.menu-liens a { display: flex; align-items: baseline; gap: 16px; font: 700 clamp(26px, 3.6vw, 44px)/1.2 var(--titre); padding-block: 3px; overflow: hidden; transition: color 0.3s; }
.menu-liens a small { font: 700 13px var(--texte); color: var(--vert); }
.menu-liens a:hover, .menu-liens a.actif { color: var(--vert); }
.menu-cote .sur-titre { color: var(--vert); }
.menu-poles { display: grid; gap: 12px; }
.menu-poles a { position: relative; display: block; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 16 / 6; }
.menu-poles img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.menu-poles a:hover img { transform: scale(1.07); }
.menu-poles span { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 10px; padding: 14px 16px; font: 700 18px var(--titre); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 85%, #000) 0%, transparent 75%); }
.menu-poles small { font: 700 12px var(--texte); opacity: 0.8; }
.menu-mobile-pied { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); flex-wrap: wrap; }
.menu-tuiles { display: flex; gap: 10px; flex-wrap: wrap; }
.menu-tuiles a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-weight: 600; font-size: 14px; }
.menu-tuiles a:hover { background: var(--bleu); }
.menu-reseaux, .pied-reseaux { display: flex; gap: 10px; }
.menu-reseaux a, .pied-reseaux a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.2); transition: background 0.3s, border-color 0.3s; }
.menu-reseaux a:hover, .pied-reseaux a:hover { background: var(--bleu); border-color: var(--bleu); }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--nuit); display: grid; place-items: center; color: #fff; }
.intro-finie { display: none; }
.intro-scene { display: grid; justify-items: center; gap: 18px; width: min(560px, 90vw); }
.intro-atelier { display: grid; gap: 18px; justify-items: center; width: 100%; }
.intro-code { font: 500 clamp(14px, 2vw, 19px)/1.4 ui-monospace, 'Cascadia Code', Consolas, monospace; color: #c8ccff; white-space: nowrap; min-height: 1.4em; }
.intro-chevron { color: var(--vert); }
.intro-curseur { display: inline-block; width: 9px; height: 1.1em; vertical-align: -3px; margin-left: 2px; background: var(--vert); animation: clignote 0.9s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.intro-plume { width: min(320px, 76vw); overflow: visible; }
.intro-courbe { fill: none; stroke: var(--turquoise); stroke-width: 4; stroke-linecap: round; }
.intro-poignee { stroke: #8e93ff; stroke-width: 1.2; }
.intro-ancre { fill: var(--nuit); stroke: #fff; stroke-width: 1.6; }
.intro-bout { fill: #8e93ff; }
.intro-marque { display: flex; align-items: center; gap: 6px; }
.intro-x { width: clamp(70px, 12vw, 104px); }
.intro-nom { font: 800 clamp(48px, 9vw, 82px)/1 var(--titre); letter-spacing: 0.02em; }
.intro-nom span { display: inline-block; }
.intro-slogan { font-size: 13px; color: #a9addd; letter-spacing: 0.18em; text-transform: uppercase; text-align: center; }
.intro-charge { display: flex; align-items: center; gap: 12px; justify-content: center; margin-top: 8px; font-size: 12px; color: #a9addd; }
.intro-barre { width: 140px; height: 2px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.intro-barre i { display: block; height: 100%; background: var(--degrade); transform: scaleX(0); transform-origin: left; }

/* ---------- Héros : la photo se resserre dans le X ---------- */
.heros { --mx: 2600vmin; --px: 50%; --py: 50%; position: relative; height: 330vh; background: var(--nuit); }
.heros-scene { position: sticky; top: 0; height: 100svh; overflow: hidden; color: #fff; }
.heros-halo { --c: #3b3bff; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at var(--px) var(--py), color-mix(in srgb, var(--c) 45%, transparent) 0, transparent 38%), radial-gradient(circle at 15% 90%, rgba(14, 14, 176, 0.45), transparent 45%); }
.hx-cadre { position: absolute; inset: 0; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45)); transform-origin: var(--px) var(--py); }
.hx-masque {
  position: absolute; inset: 0;
  -webkit-mask-image: url('../img/marque/x.png'); mask-image: url('../img/marque/x.png');
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: var(--mx); mask-size: var(--mx);
  -webkit-mask-position: var(--px) var(--py); mask-position: var(--px) var(--py);
}
.hx-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heros-voile { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 6, 61, 0.88) 0%, rgba(6, 6, 61, 0.55) 45%, rgba(6, 6, 61, 0.1) 75%), linear-gradient(0deg, rgba(6, 6, 61, 0.6), transparent 35%); pointer-events: none; }
.heros-texte { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-top: var(--entete-h); }
.heros-entree { max-width: 700px; }
.heros-sur { color: var(--vert); }
.heros-titre { font-size: clamp(34px, 4.2vw, 52px); max-width: 18ch; line-height: 1.06; }
.heros-chapeau { margin-top: 22px; max-width: 54ch; font-size: clamp(15px, 1.15vw, 17.5px); color: #d8dbf5; }
.heros-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.heros-poles { position: absolute; left: var(--gouttiere); top: 50%; width: min(520px, 44vw); transform: translateY(-40%); height: 300px; }
.hp-pole { position: absolute; inset: 0 0 auto; opacity: 0; visibility: hidden; display: grid; gap: 14px; justify-items: start; }
.hp-num { font: 700 15px var(--titre); color: var(--c); }
.hp-num span { color: #8a8dc0; font-weight: 500; }
.hp-pole h2 { font-size: clamp(30px, 3.6vw, 48px); }
.hp-pole h2::after { content: ''; display: block; width: 70px; height: 4px; margin-top: 16px; border-radius: 4px; background: var(--c); }
.hp-pole > p:not(.hp-num) { color: #cfd2ef; font-size: 17px; max-width: 42ch; }
.heros-etapes { position: absolute; right: var(--gouttiere); top: calc(var(--entete-h) + 14px); display: flex; gap: 8px; z-index: 4; opacity: 0; }
.heros-etapes li { padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.55); transition: background 0.4s, color 0.4s; }
.heros-etapes li.actif { background: var(--c); color: var(--nuit); }
.heros-defiler { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #c9cbe6; }
.heros-defiler span { width: 1.5px; height: 40px; background: linear-gradient(#fff, transparent); animation: descendre 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes descendre { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.heros-passer { position: absolute; left: var(--gouttiere); bottom: 26px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 700; }
.heros-passer .ic { transform: rotate(90deg); }
.heros-passer:hover { background: var(--vert); color: var(--nuit); }

/* ---------- Bandeau défilant ---------- */
.defilant { overflow: hidden; background: var(--degrade); color: var(--nuit); padding-block: 18px; }
.defilant-piste { display: flex; width: max-content; align-items: center; gap: 28px; font: 700 clamp(17px, 1.8vw, 24px)/1 var(--titre); }
.defilant-piste span { white-space: nowrap; }
.defilant-piste i { width: 10px; height: 10px; background: var(--nuit); transform: rotate(45deg); flex: none; }

/* ---------- Manifeste ---------- */
.manifeste-grille { display: grid; grid-template-columns: 1fr 2.6fr; gap: 40px; align-items: start; }
.manifeste-texte { font: 600 clamp(23px, 2.7vw, 36px)/1.3 var(--titre); letter-spacing: -0.01em; color: var(--encre); }
.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.atout { display: grid; gap: 8px; padding: 22px 0 0; border-top: 2px solid var(--ligne); position: relative; }
.atout::before { content: ''; position: absolute; top: -2px; left: 0; width: 46px; height: 2px; background: var(--degrade); }
.atout b { font: 700 20px var(--titre); color: var(--bleu); }
.atout span { font-size: 14.5px; color: var(--gris); }
.manifeste-lien { margin-top: 34px; color: var(--bleu); }

/* ---------- Solutions ---------- */
.entete-section { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(32px, 4.5vw, 56px); flex-wrap: wrap; }
.entete-texte { max-width: 46ch; color: var(--gris); }
.filtres { display: flex; gap: 8px; flex-wrap: wrap; }
.filtres button { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ligne); background: #fff; font-weight: 700; font-size: 14px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.filtres button:hover { border-color: var(--encre); }
.filtres button.actif { background: var(--c, var(--encre)); border-color: var(--c, var(--encre)); color: #fff; }
.solutions-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.solutions-3 { grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
.solution { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 64px; border-radius: var(--rayon-l); background: #fff; border: 1px solid var(--ligne); transition: transform 0.5s var(--ease), box-shadow 0.5s, color 0.4s, border-color 0.4s; }
.solution::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 55%, var(--nuit))); clip-path: circle(0% at 90% 90%); transition: clip-path 0.7s var(--ease); }
a.solution:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c) 70%, transparent); color: #fff; border-color: transparent; }
a.solution:hover::before { clip-path: circle(150% at 90% 90%); }
.so-icone { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--c, var(--bleu)) 12%, #fff); color: var(--c, var(--bleu)); font-size: 24px; transition: background 0.4s, color 0.4s; }
a.solution:hover .so-icone { background: rgba(255, 255, 255, 0.18); color: #fff; }
.solution h3 { font-size: 19px; }
.solution p { font-size: 14.5px; color: var(--gris); transition: color 0.4s; }
a.solution:hover p { color: rgba(255, 255, 255, 0.88); }
.so-plus { position: absolute; left: 24px; bottom: 22px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--c); color: var(--c); transition: background 0.4s, color 0.4s, border-color 0.4s; }
a.solution:hover .so-plus { background: #fff; border-color: #fff; color: var(--c); }
.solution-statique { padding-bottom: 26px; }

/* ---------- Logiciels (accueil) ---------- */
.la-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.la-texte { display: grid; gap: 20px; justify-items: start; }
.la-texte .sur-titre { margin: 0; }
.la-chapeau { color: #c9cbe6; font-size: 17px; max-width: 52ch; }
.la-fonctions { display: grid; gap: 12px; }
.la-fonctions li { display: flex; gap: 12px; font-size: 15px; color: #c9cbe6; }
.la-fonctions b { color: #fff; }
.la-fonctions .ic { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--vert); color: var(--nuit); margin-top: 2px; }
.gamme { display: flex; gap: 8px; flex-wrap: wrap; }
.gamme a { padding: 8px 14px; transition: background 0.3s, border-color 0.3s; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); font: 700 13px var(--titre); letter-spacing: 0.06em; }

.gamme a:hover { background: var(--vert); border-color: var(--vert); color: var(--nuit); }
.la-visuel { position: relative; padding: 0 8% 14% 0; }
.la-ordi { display: block; }
.la-visuel .la-mobile { position: absolute; right: 0; bottom: 0; width: 26%; }
.la-visuel .la-mobile-2 { right: 22%; bottom: -4%; width: 22%; z-index: -1; transform: rotate(-6deg); opacity: 0.95; }
.la-visuel { isolation: isolate; }

/* ---------- Vraies captures : navigateur, téléphones ---------- */
.ecran { display: block; }
.navigateur { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(6, 6, 61, 0.55), 0 0 0 1px rgba(6, 6, 61, 0.08); }
.nav-barre { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #eceef6; }
.nav-barre i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.nav-barre i:nth-child(2) { background: #febc2e; }
.nav-barre i:nth-child(3) { background: #28c840; }
.nav-barre span { margin-left: 12px; flex: 1; max-width: 320px; padding: 4px 12px; border-radius: 999px; background: #fff; font-size: 11.5px; color: var(--gris); }
.navigateur img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.telephones { display: flex; justify-content: center; align-items: center; gap: 0; padding: 4% 0; }
.telephone { margin: 0; position: relative; flex: none; width: 32%; aspect-ratio: 591 / 1280; padding: 2.2%; border-radius: 13% / 6%; background: #0b0b1f; box-shadow: 0 30px 60px -25px rgba(6, 6, 61, 0.6), inset 0 0 0 2px #2a2a40; }
.telephone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 11% / 5%; }
.telephones .telephone + .telephone { margin-left: -6%; }
.telephones[data-n="3"] .telephone:nth-child(1) { transform: rotate(-6deg) translateY(6%); z-index: 1; }
.telephones[data-n="3"] .telephone:nth-child(2) { z-index: 2; width: 35%; }
.telephones[data-n="3"] .telephone:nth-child(3) { transform: rotate(6deg) translateY(6%); z-index: 1; }
.telephones[data-n="2"] .telephone { width: 36%; }
.telephones[data-n="2"] .telephone:nth-child(1) { transform: rotate(-4deg); z-index: 2; }
.telephones[data-n="2"] .telephone:nth-child(2) { transform: rotate(4deg) translateY(8%); }
.ecran-image { margin: 0; border-radius: var(--rayon-l); overflow: hidden; background: var(--nuit); box-shadow: 0 30px 60px -30px rgba(6, 6, 61, 0.45); }
.ecran-image img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; object-position: top; }

/* ---------- Logiciels : produits ---------- */
.produits-liste { display: grid; gap: clamp(60px, 8vw, 110px); }
.produit { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; scroll-margin-top: calc(var(--entete-h) + 20px); }
.produit.inverse .produit-visuel { order: 2; }
.produit-visuel { position: relative; }
.produit-visuel::before { content: ''; position: absolute; inset: 8% 6%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); filter: blur(10px); }
.produit-visuel { isolation: isolate; }
.produit-texte { display: grid; gap: 14px; justify-items: start; }
.produit-texte h3 { font-size: clamp(28px, 3vw, 40px); color: var(--c); }
.produit-accroche { font: 600 19px/1.35 var(--titre); color: var(--encre); }
.produit-texte > p:not(.produit-accroche) { color: var(--gris); }
.produit .liste-coches .ic { background: var(--c); color: #fff; }
.produits .note { margin-top: 56px; }
.ref-visuel { position: relative; }

/* ---------- Créations (défilement horizontal) ---------- */
.creations-h { background: var(--pale); }
.creations-epingle { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--entete-h) + 10px) 40px; overflow: hidden; }
.creations-entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.creations-astuce { max-width: 40ch; color: var(--gris); font-size: 15px; }
.creations-piste { display: flex; gap: 20px; padding-inline: var(--gouttiere); width: max-content; }
.carte-creation { width: clamp(320px, 46vw, 680px); flex: none; border-radius: var(--rayon-l); overflow: hidden; background: #fff; border: 1px solid var(--ligne); display: flex; flex-direction: column; transition: border-color 0.4s, box-shadow 0.4s; }
.carte-creation:hover { border-color: var(--c); box-shadow: 0 24px 50px -30px var(--c); }
.cc-image { aspect-ratio: 2260 / 900; overflow: hidden; background: var(--nuit); }
.cc-image img { width: 112%; max-width: none; height: 100%; object-fit: cover; margin-left: -6%; }
.cc-corps { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 22px 24px 26px; align-items: baseline; }
.cc-num { grid-row: span 2; font: 800 30px var(--titre); color: var(--c); }
.cc-corps h3 { font-size: 22px; }
.cc-corps p { color: var(--gris); font-size: 15px; }
.carte-toute { width: clamp(280px, 26vw, 380px); justify-content: center; align-items: flex-start; gap: 18px; padding: 36px; background: var(--nuit); color: #fff; border: 0; }
.carte-toute img { width: 80px; }
.carte-toute h3 { font-size: 28px; }
.carte-toute .lien-fleche { color: var(--vert); }

/* ---------- Packs ---------- */
.packs-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border-radius: var(--rayon-l); background: #fff; border: 1px solid var(--ligne); }
.pack .bouton { margin-top: auto; }
.pack-vedette { background: var(--nuit); color: #fff; border-color: var(--nuit); box-shadow: 0 30px 60px -30px rgba(6, 6, 61, 0.7); }
.pack-badge { position: absolute; top: -13px; left: 28px; padding: 6px 14px; border-radius: 999px; background: var(--degrade); color: var(--nuit); font-size: 12px; font-weight: 800; }
.pack-type { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--turquoise); }
.pack h3 { font-size: 26px; }
.pack-prix { font-weight: 700; color: var(--gris); }
.pack-prix small { display: block; font-size: 13px; font-weight: 600; }
.pack-prix b { font: 800 clamp(34px, 3.4vw, 44px)/1.1 var(--titre); color: var(--bleu); }
.pack-vedette .pack-prix { color: #b9bce0; }
.pack-vedette .pack-prix b { color: var(--vert); }
.pack-base { font-size: 14px; color: var(--gris); padding-bottom: 14px; border-bottom: 1px solid var(--ligne); }
.pack-vedette .pack-base { color: #b9bce0; border-color: rgba(255, 255, 255, 0.14); }
.liste-coches { display: grid; gap: 10px; padding-bottom: 10px; }
.liste-coches li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 500; }
.liste-coches .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--vert); color: var(--nuit); margin-top: 1px; }
.pack-vedette .bouton-contour { border-color: #fff; color: #fff; }

/* ---------- Références / logos ---------- */
.logos-defilant { overflow: hidden; padding-block: 8px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-piste { gap: 16px; }
.logo-client { margin: 0; width: 260px; height: 130px; flex: none; display: grid; place-items: center; padding: 18px 22px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--ligne); }
.logo-client img { width: 100%; height: 100%; object-fit: contain; }
.technos { margin-top: 48px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.technos p { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }
.technos ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; align-items: center; }
.technos img { height: 30px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.3s, opacity 0.3s; }
.technos li:hover img { filter: none; opacity: 1; }
.technos-sombre { margin-top: 56px; justify-content: flex-start; display: flex; flex-wrap: wrap; gap: 12px; }
.technos-sombre li { padding: 14px 20px; border-radius: 12px; background: #fff; }
.technos-sombre img { height: 28px; width: auto; max-width: 120px; object-fit: contain; }
.logos-grille { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.logos-grille li { display: grid; place-items: center; height: 130px; padding: 22px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--ligne); transition: border-color 0.3s, transform 0.4s var(--ease); }
.logos-grille li:hover { border-color: var(--turquoise); transform: translateY(-4px); }
.logos-grille img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Méthode ---------- */
.etapes-ligne { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 48px; }
.etapes-ligne li { border-top: 2px solid rgba(255, 255, 255, 0.15); padding-top: 22px; display: grid; gap: 10px; align-content: start; position: relative; }
.etapes-ligne li::before { content: ''; position: absolute; top: -2px; left: 0; width: 40%; height: 2px; background: var(--degrade); }
.etapes-ligne span { font: 800 15px var(--titre); color: var(--vert); }
.etapes-ligne h3 { font-size: 19px; color: #fff; }
.etapes-ligne p { font-size: 14.5px; color: #a9addd; }
.etapes-claires li { border-color: var(--ligne); }
.etapes-claires span { color: var(--bleu); }
.etapes-claires h3 { color: var(--encre); }
.etapes-claires p { color: var(--gris); }

/* ---------- FAQ / accordéon ---------- */
.faq-grille { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-aside { display: grid; gap: 18px; justify-items: start; position: sticky; top: calc(var(--entete-h) + 30px); }
.faq-aside .sur-titre { margin: 0; }
.faq-aside > p:not(.sur-titre) { font: 600 22px/1.3 var(--titre); }
.faq-aside .lien-fleche { color: var(--bleu); }
.acc-item { border-bottom: 1px solid var(--ligne); }
.acc-item:first-child { border-top: 1px solid var(--ligne); }
.acc-item h3 button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; text-align: left; font: 600 clamp(17px, 1.5vw, 20px)/1.35 var(--titre); }
.acc-plus { position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none; border: 1.5px solid var(--encre); transition: background 0.3s, border-color 0.3s; }
.acc-plus::before, .acc-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.acc-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.ouvert .acc-plus { background: var(--vert); border-color: var(--vert); color: var(--nuit); }
.acc-item.ouvert .acc-plus::after { transform: translate(-50%, -50%) rotate(0); }
.acc-reponse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.acc-reponse > div { overflow: hidden; }
.acc-reponse p { padding-bottom: 24px; color: var(--gris); max-width: 64ch; }
.acc-item.ouvert .acc-reponse { grid-template-rows: 1fr; }

/* ---------- Pied de page ---------- */
.pied { display: block; background: var(--nuit); color: #c9cbe6; }
.pied-appel { position: relative; overflow: hidden; background: var(--bleu); color: #fff; padding-block: clamp(50px, 7vw, 90px); }
.pied-appel-x { position: absolute; right: -60px; top: 50%; width: 360px; transform: translateY(-50%) rotate(-12deg); opacity: 0.22; pointer-events: none; }
.pied-appel-grille { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap; }
.pied-titre { font-size: clamp(28px, 3.6vw, 48px); color: #fff; }
.pied-appel-texte { margin-top: 14px; max-width: 54ch; color: rgba(255, 255, 255, 0.85); }
.pied-appel-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pied-corps { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-block: 72px 56px; }
.pied-marque { display: grid; gap: 20px; align-content: start; }
.pied-marque p { font-size: 14.5px; max-width: 38ch; color: #a2a6d6; }
.pied-col h3 { font: 700 13px var(--texte); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.pied-col h3 button { cursor: default; text-align: left; letter-spacing: inherit; text-transform: inherit; font: inherit; }
.pied-liste { display: grid; gap: 11px; font-size: 14.5px; }
.pied-liste a { transition: color 0.3s; }
.pied-liste a:hover { color: var(--vert); }
.pied-contact li { display: flex; gap: 11px; align-items: flex-start; }
.pied-contact .ic { color: var(--vert); margin-top: 3px; }
.pied-contact small { color: #8e92c6; }
.pied-bas { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 22px; font-size: 13px; color: #8e92c6; }
.pied-bas-grille { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.pied-bas nav { display: flex; gap: 20px; flex-wrap: wrap; }
.pied-bas a:hover { color: #fff; }

/* ---------- Actions rapides collées à droite (comme Uniforma) ---------- */
.rail-bouton {
  --p: 0; position: fixed; z-index: 95; right: 0; top: calc(50% + (var(--i) - 1.5) * 58px); height: 54px; width: 54px;
  display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; white-space: nowrap;
  border-radius: 10px 0 0 10px; font-weight: 700; font-size: 15px; box-shadow: 0 6px 20px rgba(6, 6, 61, 0.22);
}
.rail-bouton.au-repos { transition: width 0.25s; }
.rail-bouton .ic, .pied-actions .ic { flex: none; width: 24px; height: 24px; }
.rail-bouton span:not(.ic) { opacity: var(--p); max-width: calc(var(--p) * 100px); }
.rail-appeler, .pied-appeler { background: #fff; color: var(--encre); }
.rail-whatsapp, .pied-whatsapp { background: #128c4a; color: #fff; }
.rail-devis, .pied-devis { background: var(--vert); color: var(--nuit); }
@media (hover: hover) {
  .rail-bouton.au-repos:hover { width: 138px; }
  .rail-bouton.au-repos:hover span:not(.ic) { opacity: 1; max-width: 100px; }
}
.menu-ouvert .rail { visibility: hidden; }
.pied-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-bottom: 40px; }
.pied-actions a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 28px; font-weight: 700; font-size: 15px; visibility: hidden; }

/* ---------- Consentement aux cookies ---------- */
.cookies { position: fixed; left: 24px; bottom: 24px; z-index: 150; width: min(440px, calc(100vw - 32px)); display: grid; gap: 12px; padding: 24px; border-radius: var(--rayon-l); background: var(--nuit); color: #c9cbe6; box-shadow: 0 30px 60px -20px rgba(6, 6, 61, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); }
.cookies h2 { font-size: 19px; color: #fff; }
.cookies p { font-size: 14px; line-height: 1.55; }
.cookies a { color: var(--vert); text-decoration: underline; }
.cookies-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.cookies-lien { font-size: 13.5px; font-weight: 600; color: #fff; text-decoration: underline; padding: 8px 6px; }
.cookies-fond { position: fixed; inset: 0; z-index: 160; background: rgba(6, 6, 61, 0.55); backdrop-filter: blur(3px); }
.cookies-prefs { position: fixed; z-index: 170; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(620px, calc(100vw - 24px)); max-height: calc(100svh - 32px); display: flex; flex-direction: column; border-radius: var(--rayon-l); background: #fff; color: var(--encre); box-shadow: 0 40px 80px -20px rgba(6, 6, 61, 0.6); overflow: hidden; }
.prefs-tete { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--ligne); }
.prefs-tete h2 { font-size: 20px; }
.prefs-fermer { width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; background: var(--pale); }
.prefs-corps { padding: 20px 24px; overflow-y: auto; display: grid; gap: 16px; font-size: 14.5px; color: var(--gris); }
.prefs-corps a { color: var(--bleu); text-decoration: underline; }
.prefs-cat { display: flex; justify-content: space-between; gap: 18px; padding-top: 16px; border-top: 1px solid var(--ligne); }
.prefs-cat h3 { font-size: 16px; color: var(--encre); margin-bottom: 4px; }
.prefs-cat p { font-size: 13.5px; }
.interrupteur { position: relative; flex: none; width: 48px; height: 28px; cursor: pointer; }
.interrupteur input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.interrupteur span { position: absolute; inset: 0; border-radius: 999px; background: #c9ccdd; transition: background 0.3s; pointer-events: none; }
.interrupteur span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.interrupteur input:checked + span { background: var(--vert); }
.interrupteur input:checked + span::after { transform: translateX(20px); }
.interrupteur input:focus-visible + span { outline: 2px solid var(--turquoise); outline-offset: 2px; }
.interrupteur.fixe { opacity: 0.6; cursor: not-allowed; }
.prefs-pied { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 16px 24px; border-top: 1px solid var(--ligne); background: var(--pale); }
.pied-cookies { font-size: 13px; color: inherit; text-decoration: underline; }
.pied-cookies:hover { color: #fff; }
.mentions table { width: 100%; border-collapse: collapse; font-size: 14px; margin-block: 8px; display: block; overflow-x: auto; }
.mentions td, .mentions th { border: 1px solid var(--ligne); padding: 10px 12px; text-align: left; vertical-align: top; }
.mentions h2 { font-size: 19px; letter-spacing: 0.02em; }
.mentions > .bouton, .mentions .bouton { margin-top: 24px; }

/* ---------- Bannière des pages annexes ---------- */
.banniere { padding-top: calc(var(--entete-h) + clamp(40px, 6vw, 80px)); position: relative; }
.banniere::before { content: ''; position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; background: radial-gradient(circle at 85% 0%, rgba(3, 179, 192, 0.12), transparent 50%), radial-gradient(circle at 10% 10%, rgba(129, 205, 52, 0.1), transparent 40%); }
.fil { display: flex; gap: 10px; font-size: 13px; color: var(--gris); margin-bottom: 26px; flex-wrap: wrap; }
.fil a:hover { color: var(--bleu); }
.banniere-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; padding-bottom: clamp(36px, 5vw, 64px); }
.banniere h1 { font-size: clamp(34px, 4.2vw, 52px); max-width: 17ch; color: var(--encre); }
.banniere-intro p { color: var(--gris); font-size: 17px; max-width: 48ch; }
.banniere-image { height: clamp(300px, 58vh, 600px); overflow: hidden; margin-inline: var(--gouttiere); border-radius: var(--rayon-l); background: var(--nuit); }
.banniere-image img { width: 100%; height: 120%; object-fit: cover; margin-top: -10%; }

/* ---------- Pages annexes ---------- */
.sommaire { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 48px; }
.sommaire a { display: inline-flex; gap: 10px; align-items: center; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--ligne); font-weight: 700; font-size: 14px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.sommaire a span { color: var(--c); font-size: 12px; }
.sommaire a:hover { background: var(--c); border-color: var(--c); color: #fff; }
.sommaire a:hover span { color: #fff; }
.service-detail { scroll-margin-top: var(--entete-h); }
.sd-grille { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.inverse .sd-image { order: 2; }
.sd-image { border-radius: var(--rayon-l); overflow: hidden; aspect-ratio: 4 / 4.2; }
.sd-image img { width: 100%; height: 100%; object-fit: cover; }
.sd-texte { display: grid; gap: 18px; justify-items: start; }
.sd-num { display: inline-flex; align-items: center; gap: 8px; color: var(--c); font-weight: 800; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--c) 11%, #fff); }
.sd-chapeau { color: var(--gris); font-size: 17px; max-width: 54ch; }
.sd-liste { display: grid; gap: 18px; width: 100%; }
.sd-liste li { display: flex; gap: 16px; padding-top: 18px; border-top: 1px solid var(--ligne); }
.sd-liste h3 { font-size: 18px; margin-bottom: 4px; }
.sd-liste p { font-size: 14.5px; color: var(--gris); }
.sd-texte .lien-fleche { color: var(--c); }
.systemes-grille { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 6vw, 80px); margin-top: 40px; }
.systemes-blocs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bloc-sombre { --c: var(--turquoise); display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--rayon-l); background: var(--nuit-2); border: 1px solid rgba(255, 255, 255, 0.08); }
.bloc-sombre .so-icone { background: rgba(3, 179, 192, 0.15); }
.bloc-sombre h3 { color: #fff; font-size: 20px; }
.bloc-sombre p { font-size: 14.5px; color: #a9addd; }

.saas-grille, .apropos-grille { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.assurpro-tete { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.assurpro-modele { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 12px; background: rgba(129, 205, 52, 0.12); color: #e8f7d6; font-weight: 600; font-size: 15px; }
.assurpro-modele .ic { color: var(--vert); }
.fonctions-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-block: 56px 40px; }
.fonctions-grille li { display: grid; gap: 10px; align-content: start; padding: 26px 22px; border-radius: var(--rayon-l); background: var(--nuit-2); border: 1px solid rgba(255, 255, 255, 0.08); transition: border-color 0.3s, transform 0.4s var(--ease); }
.fonctions-grille li:hover { border-color: var(--vert); transform: translateY(-4px); }
.fonctions-grille span { font: 800 14px var(--titre); background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fonctions-grille h3 { font-size: 18px; color: #fff; }
.fonctions-grille p { font-size: 14px; color: #a9addd; }
.options-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.option { --c: var(--turquoise); display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--rayon-l); border: 1px solid var(--ligne); transition: border-color 0.3s, transform 0.4s var(--ease); }
.option:hover { border-color: var(--turquoise); transform: translateY(-4px); }
.option h3 { font-size: 18px; }
.option p { font-size: 14px; color: var(--gris); }

.creations-liste { padding-block: clamp(50px, 7vw, 100px); display: grid; gap: clamp(70px, 10vw, 140px); }
.creation { scroll-margin-top: calc(var(--entete-h) + 20px); }
.creation-image { border-radius: var(--rayon-l); overflow: hidden; aspect-ratio: 2260 / 760; background: var(--nuit); }
.creation-image img { width: 100%; height: 100%; object-fit: cover; }
.creation-texte { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(26px, 5vw, 80px); margin-top: 36px; }
.creation-texte .titre-section { margin-top: 16px; font-size: clamp(26px, 3vw, 40px); }
.creation-texte .lien-fleche { color: var(--c); }

.references-liste { display: grid; gap: clamp(60px, 8vw, 110px); }
.reference { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.reference:nth-child(even) .ref-visuel { order: 2; }
.ref-texte { display: grid; gap: 14px; justify-items: start; }
.ref-num { font: 800 15px var(--titre); color: var(--c); }
.ref-client { font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }
.ref-texte h2 { font-size: clamp(26px, 3vw, 38px); }
.ref-texte > p:not(.ref-client) { color: var(--gris); font-size: 16px; }
.ref-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ref-tags li { padding: 7px 13px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); font-size: 13px; font-weight: 700; }
.ref-texte .lien-fleche { color: var(--bleu); }
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 14px; grid-auto-flow: dense; }
.galerie-item { position: relative; border-radius: var(--rayon); overflow: hidden; display: block; }
.galerie-item.large { grid-column: span 2; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.galerie-item:hover img { transform: scale(1.06); }
.galerie-item span { position: absolute; inset: auto 0 0; padding: 50px 18px 16px; display: grid; color: #fff; background: linear-gradient(transparent, rgba(6, 6, 61, 0.85)); }
.galerie-item small { color: var(--vert); font-weight: 700; font-size: 12px; }
.galerie-item b { font: 700 19px var(--titre); }

.poles-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pole-carte { position: relative; display: block; border-radius: var(--rayon-l); overflow: hidden; min-height: 440px; color: #fff; isolation: isolate; }
.pole-carte img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pole-carte::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--c) 70%, var(--nuit)) 10%, transparent 75%); }
.pole-carte:hover img { transform: scale(1.06); }
.pole-carte div { position: absolute; inset: auto 0 0; padding: 28px; display: grid; gap: 8px; }
.pole-carte span { font: 800 14px var(--titre); opacity: 0.85; }
.pole-carte h3 { font-size: 26px; }
.pole-carte p { font-size: 14.5px; color: rgba(255, 255, 255, 0.88); }
.engagements-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.engagement { --c: var(--bleu); display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--rayon-l); border: 1px solid var(--ligne); }
.engagement h3 { font-size: 19px; }
.engagement p { font-size: 14.5px; color: var(--gris); }
.fiche-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.fiche-specs div { padding: 20px 22px; border-radius: var(--rayon); background: var(--pale); }
.fiche-specs .fs-large { grid-column: span 2; }
.fiche-specs dt { font-size: 13px; color: var(--gris); }
.fiche-specs dd { margin: 4px 0 0; font: 700 20px var(--titre); color: var(--bleu); }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.formulaire { display: grid; gap: 22px; }
.formulaire fieldset { border: 0; padding: 0; margin: 0; }
.formulaire legend { font: 700 20px var(--titre); margin-bottom: 14px; }
.formulaire legend small { font: 500 13px var(--texte); color: var(--gris); }
.choix-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { position: relative; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ligne); font-weight: 600; font-size: 14px; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.puce input { position: absolute; opacity: 0; pointer-events: none; }
.puce.choisie { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.puce:has(input:focus-visible) { outline: 2px solid var(--turquoise); outline-offset: 2px; }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ { display: grid; gap: 7px; }
.champ span { font-size: 13.5px; font-weight: 700; }
.champ input, .champ select, .champ textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--ligne); background: #fff; transition: border-color 0.3s; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--turquoise); }
.boutons-envoi { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--entete-h) + 24px); }
.contact-carte { display: grid; gap: 18px; justify-items: start; padding: 28px; border-radius: var(--rayon-l); background: var(--nuit); color: #c9cbe6; }
.contact-carte h2 { font-size: 20px; color: #fff; }
.contact-services { background: var(--pale); color: var(--encre); }
.contact-services h2 { color: var(--encre); }
.contact-services ul { display: grid; gap: 8px; }
.contact-services li { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 14.5px; }
.contact-services li::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.contact-image { border-radius: var(--rayon-l); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* ---------- Mentions / 404 ---------- */
.mentions { max-width: 860px; }
.mentions h2 { font-size: 21px; margin-top: 18px; color: var(--encre); }
.mentions a { color: var(--bleu); text-decoration: underline; }
.introuvable { min-height: 80svh; display: grid; place-content: center; justify-items: center; gap: 26px; text-align: center; padding-top: var(--entete-h); }
.introuvable-code { font: 800 clamp(90px, 16vw, 200px)/1 var(--titre); background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1240px) {
  .entete-nav { gap: 18px; font-size: 14px; }
  .entete-tel { display: none; }
  .logo-texte small { display: none; }
  .solutions-grille, .solutions-3, .options-grille, .fonctions-grille { grid-template-columns: repeat(3, 1fr); }
  .engagements-grille { grid-template-columns: repeat(2, 1fr); }
  .etapes-ligne { grid-template-columns: repeat(3, 1fr); }
  .logos-grille { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1060px) {
  .entete-nav, .entete-actions > .bouton { display: none; }
  .burger { display: flex; }
}

@media (max-width: 899px) {
  :root { --entete-h: 66px; }
  .logo-x { width: 32px; }
  .logo-texte b { font-size: 24px; }
  .menu-corps { grid-template-columns: 1fr; gap: 28px; }
  .menu-poles { grid-template-columns: repeat(3, 220px); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gouttiere)); padding-inline: var(--gouttiere); scrollbar-width: none; }
  .menu-poles a { aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .menu-poles span { background: linear-gradient(0deg, color-mix(in srgb, var(--c) 85%, #000) 0%, transparent 80%); font-size: 16px; }

  .heros { height: 300vh; }
  .heros-voile { background: linear-gradient(0deg, rgba(6, 6, 61, 0.92) 15%, rgba(6, 6, 61, 0.3) 65%, rgba(6, 6, 61, 0.5)); }
  .heros-texte { justify-content: flex-end; padding-bottom: 90px; }
  .heros-poles { width: auto; right: calc(var(--gouttiere) + 40px); top: auto; bottom: 90px; transform: none; height: 230px; }
  .hp-pole h2 { font-size: 28px; }
  .hp-pole > p:not(.hp-num) { font-size: 15px; }
  .heros-etapes { left: var(--gouttiere); right: auto; top: calc(var(--entete-h) + 8px); bottom: auto; }
  .heros-defiler { display: none; }
  .heros-passer { left: auto; right: var(--gouttiere); bottom: 22px; }

  .manifeste-grille, .la-grille, .faq-grille, .sd-grille, .saas-grille, .apropos-grille, .assurpro-tete, .systemes-grille, .creation-texte, .reference, .contact-grille, .banniere-intro { grid-template-columns: 1fr; }
  .inverse .sd-image, .reference:nth-child(even) .ref-visuel, .produit.inverse .produit-visuel { order: 0; }
  .produit { grid-template-columns: 1fr; }
  .la-visuel { padding: 0 6% 16% 0; }
  .atouts { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
  .atout { padding-block: 18px; }
  .solutions-grille, .solutions-3 { grid-template-columns: 1fr; }
  .options-grille, .fonctions-grille { grid-template-columns: 1fr 1fr; }
  .systemes-blocs { grid-template-columns: 1fr; }
  .la-visuel { aspect-ratio: 4 / 3.4; }

  .creations-epingle { padding-block: 70px; min-height: 0; }
  .creations-entete { flex-direction: column; align-items: flex-start; }
  .creations-piste { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .creations-piste::-webkit-scrollbar { display: none; }
  .carte-creation { width: 84vw; scroll-snap-align: center; }
  .cc-image img { width: 100%; margin: 0; }

  .packs-grille { grid-template-columns: 1fr; gap: 28px; }
  .logo-client { width: 170px; height: 96px; }
  .logos-grille { grid-template-columns: repeat(2, 1fr); }
  .logos-grille li { height: 100px; }
  .etapes-ligne { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .poles-grille, .engagements-grille { grid-template-columns: 1fr; }
  .pole-carte { min-height: 360px; }
  .galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .creation-image { aspect-ratio: 16 / 9; }
  .fiche-specs { grid-template-columns: 1fr; }
  .fiche-specs .fs-large { grid-column: auto; }

  .pied-appel-x { width: 220px; right: -70px; }
  .pied-corps { grid-template-columns: 1fr; gap: 0; padding-block: 48px 24px; }
  .pied-marque { padding-bottom: 28px; }
  .pied-col { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .pied-col h3 { margin: 0; }
  .pied-col h3 button { width: 100%; padding: 18px 0; display: flex; justify-content: space-between; cursor: pointer; }
  .pied-col h3 button::after { content: '+'; font-size: 20px; line-height: 1; transition: transform 0.3s; }
  .pied-col.ouverte h3 button::after { transform: rotate(45deg); }
  .pied-liste { display: none; padding-bottom: 20px; }
  .pied-col.ouverte .pied-liste { display: grid; }

  .pied-actions { gap: 6px; padding-bottom: 28px; }
  .pied-actions a { font-size: 13px; height: 50px; gap: 6px; border-radius: 25px; }
  .pied-actions .ic { width: 18px; height: 18px; }
  .rail-bouton { width: 46px; height: 46px; top: calc(40% + (var(--i) - 1.5) * 50px); }

  .banniere-image { height: 280px; }
  .cookies { left: 16px; bottom: 16px; padding: 20px; }
  .prefs-pied .bouton { flex: 1; }
  .heros-actions, .pied-appel-actions { display: grid; width: 100%; }
  .heros-actions .bouton, .pied-appel-actions .bouton, .boutons-envoi .bouton, .assurpro .bouton, .faq-aside .bouton { width: 100%; }
  .pied-appel-grille { gap: 28px; }
  .champs-2 { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}

@media (max-width: 520px) {
  .options-grille, .fonctions-grille { grid-template-columns: 1fr; }
  .boutons-envoi .bouton { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .heros { height: auto; }
  .heros-scene { position: relative; }
  .heros-poles, .heros-etapes, .heros-passer, .heros-defiler { display: none; }
}

/* ============================================================
   Contenu saisi dans le CMS (pages Smartend) dans le nouveau design
   ============================================================ */
.contenu-cms { display: grid; gap: 18px; font-size: 16.5px; color: #3c3f62; max-width: 860px; }
.contenu-cms h1, .contenu-cms h2, .contenu-cms h3, .contenu-cms h4 { color: var(--encre); margin-top: 14px; font-size: clamp(22px, 2.4vw, 30px); }
.contenu-cms h3, .contenu-cms h4 { font-size: 20px; }
.contenu-cms img { height: auto; border-radius: var(--rayon); }
.contenu-cms a { color: var(--bleu); text-decoration: underline; }
.contenu-cms ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.contenu-cms ol { list-style: decimal; padding-left: 22px; display: grid; gap: 6px; }
.contenu-cms table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.contenu-cms td, .contenu-cms th { border: 1px solid var(--ligne); padding: 10px 12px; text-align: left; vertical-align: top; }
.contenu-cms .row { display: flex; flex-wrap: wrap; gap: 20px; }
.contenu-cms .row > [class*="col-"] { flex: 1 1 260px; }
.contenu-cms .btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--vert); color: var(--nuit); font-weight: 700; text-decoration: none; }
.contenu-cms p:empty { display: none; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 40px; }
.pagination li a, .pagination li span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ligne); font-weight: 700; }
.pagination li.active span { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.formulaire-statut { padding: 14px 18px; border-radius: 12px; font-weight: 600; display: none; }
.formulaire-statut.ok { display: block; background: #e9f8dc; color: #2d5d0a; }
.formulaire-statut.erreur { display: block; background: #fde8ea; color: #8b1a28; }

.liste-topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.liste-topics .carte-creation { width: auto; }
.cc-corps h2 { font-size: 22px; }
.creation-detail .creation-image { margin-bottom: 0; }
.creation-detail .bouton { margin-top: 8px; }
@media (max-width: 899px) { .liste-topics { grid-template-columns: 1fr; } }

/* Boutons « Contactez-nous » saisis dans le CMS (<div class="btn"><a class="btn-second">) */
.contenu-cms div.btn { display: block; min-height: 0; padding: 0; background: none; }
.contenu-cms .btn-second, .contenu-cms a.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--vert); color: var(--nuit); font-weight: 700; text-decoration: none; transition: transform 0.3s var(--ease); }
.contenu-cms .btn-second:hover, .contenu-cms a.btn:hover { transform: translateY(-2px); }
.creation-texte .titre-section { font-size: clamp(22px, 2.4vw, 32px); max-width: 26ch; }
