/* Levr — feuille principale */
:root {
  --fond: #F6F5F1;
  --blanc: #FFFFFF;
  --encre: #121211;
  --gris: #6C6A64;
  --gris-c: #9A978F;
  --filet: #E5E2DA;
  /* le dégradé de « superintelligence » (Océan) : il colore aussi le fond des cases */
  --dg-1: #2346FF; --dg-2: #00A3E0; --dg-3: #00B39A;
  --nuit: #0B1533; --clair: #7FDBFF;
  --auto: #00B39A;   --auto-bg: #D4F5EF;
  --agent: #1B2B6B;
  --site: #00A3E0;
  --brand: #2346FF;
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --titre: 'Funnel Display', 'Funnel Sans', system-ui, sans-serif;
  --texte: 'Funnel Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* texte lu par les lecteurs d'écran mais invisible */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* focus clavier toujours visible (contour encre ; blanc sur les fonds foncés) */
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.carte :focus-visible, .pied :focus-visible, .c-btn.noir:focus-visible, .btn-noir:focus-visible, .menu-btn:focus-visible { outline-color: #2346FF; }
.carte .c-btn:focus-visible, .pied :focus-visible { outline-color: #fff; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .25s var(--ease), background .25s; }
.btn-noir { background: var(--encre); color: #fff; }
.btn-noir:hover { background: #2a2a28; }
.btn:active { transform: scale(.97); }

/* ---------- Menu ---------- */
/* Lignes fines qui traversent le fond (scripts/lignes.js) : derrière tout le contenu */
.lignes { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

/* Bandeau d'annonce tout en haut : il part avec le défilement, la nav reste collée */
.bandeau { position: relative; isolation: isolate; overflow: hidden; padding: 10px 20px; text-align: center; color: var(--blanc); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: .01em;
  background: radial-gradient(32% 260% at 84% 50%, rgba(0, 179, 154, .7), transparent 70%), radial-gradient(28% 240% at 14% 50%, rgba(0, 163, 224, .5), transparent 70%), linear-gradient(90deg, #1B30B8, #2346FF 50%, #1B30B8); }
.bandeau p { margin: 0; }
.nav { position: sticky; top: 0; z-index: 20; transition: background .3s, box-shadow .3s; }
.nav.pose { background: rgba(246, 245, 241, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--filet); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--titre); font-size: 27px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.logo-mark { width: 30px; height: 30px; fill: var(--encre); }
.nav-links { display: flex; gap: 26px; font-size: 15px; color: var(--gris); }
.nav-links a:hover { color: var(--encre); }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: #EAE8E2; }
.lang button { height: 32px; padding: 0 11px; border: 0; border-radius: 999px; background: none; font-size: 13px; font-weight: 600; color: var(--gris); }
.lang button[aria-pressed="true"] { background: var(--blanc); color: var(--encre); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }

/* ---------- Héros ---------- */
.hero { padding: 72px 0 48px; }
.hero-in { display: flex; flex-direction: column; align-items: flex-start; }
.hero-sur { font-size: 14px; font-weight: 500; color: var(--gris); animation: monte .8s var(--ease) both; }
.hero-titre { margin-top: 18px; font-family: var(--titre); font-size: clamp(46px, 6.4vw, 96px); white-space: pre-line; font-weight: 300; line-height: 1; letter-spacing: -0.04em; text-wrap: balance; animation: monte .9s .06s var(--ease) both; }
/* Bouton « Voir les offres » sous le texte du titre : descend en douceur jusqu'aux 2 offres (flèche vers le bas) */
.c-btn.hero-btn { display: inline-flex; height: 58px; margin-top: 32px; padding: 0 10px 0 28px; animation: monte .9s .18s var(--ease) both; }
.c-btn.hero-btn:hover i { transform: translateY(3px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.hero-texte { max-width: 780px; margin-top: 24px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: var(--gris); text-wrap: pretty; animation: monte .9s .12s var(--ease) both; }

/* Le mot en dégradé (« Océan »), qui glisse doucement. Pour en changer : les 3 couleurs --dg-* */
.degrade { background: linear-gradient(90deg, var(--dg-1), var(--dg-2) 25%, var(--dg-3) 50%, var(--dg-2) 75%, var(--dg-1)); background: linear-gradient(in oklch 90deg, var(--dg-1), var(--dg-2) 25%, var(--dg-3) 50%, var(--dg-2) 75%, var(--dg-1)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: glisse 7s ease-in-out infinite alternate; }
@keyframes glisse { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }


/* ---------- Services ---------- */
.services { padding: 8px 0 120px; }
.services:has(+ .garantie) { padding-bottom: 72px; }

.groupe + .groupe { margin-top: 104px; }
.g-tete { margin-bottom: 26px; }
.g-tete h2 { font-family: var(--titre); font-size: clamp(36px, 4.4vw, 60px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.grille { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 22px; }
/* Cartes : dégradé « superintelligence » plein, granuleux, comme la carte du milieu de Softriver */
.carte { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 26px 24px 24px; overflow: hidden; border-radius: 26px; color: #fff;
  background:
    radial-gradient(70% 55% at var(--x1, 88%) var(--y1, 6%), rgba(200, 220, 255, .78), transparent 70%),
    radial-gradient(60% 50% at var(--x2, 95%) var(--y2, 95%), rgba(0, 179, 154, .8), transparent 70%),
    radial-gradient(75% 60% at var(--x3, 10%) var(--y3, 80%), rgba(0, 163, 224, .55), transparent 70%),
    linear-gradient(160deg, #2346FF 0%, #1B30B8 48%, #0E1A5E 100%);
  box-shadow: 0 30px 50px -30px rgba(35, 70, 255, .7), inset 0 0 0 1px rgba(255, 255, 255, .14);
  animation: monte .7s calc(var(--i) * 70ms) var(--ease) both; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.carte::after, .bandeau::after { content: ''; position: absolute; inset: 0; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E"); opacity: .36; mix-blend-mode: overlay; pointer-events: none; }
.carte:nth-child(2) { --x1: 12%; --y1: 0%; --x2: 100%; --y2: 45%; --x3: 55%; --y3: 100%; }
.carte:nth-child(3) { --x1: 55%; --y1: -5%; --x2: 0%; --y2: 100%; --x3: 100%; --y3: 75%; }
.carte:nth-child(4) { --x1: 100%; --y1: 55%; --x2: 25%; --y2: 0%; --x3: 0%; --y3: 100%; }
.carte:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -30px rgba(35, 70, 255, .8), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.c-tete { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.carte h3 { font-family: var(--titre); font-size: 23px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.c-tag { flex: none; padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.c-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: 22px; }
.c-prix small { font-size: 15px; opacity: .85; }
.c-prix b { font-family: var(--titre); font-size: 54px; font-weight: 300; line-height: 1; letter-spacing: -0.045em; white-space: nowrap; }
.c-prix em { font-style: normal; font-size: 13px; opacity: .75; }
.c-mois { margin-top: 6px; font-size: 14px; font-weight: 500; opacity: .9; }
.c-texte { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.c-liste { display: grid; gap: 11px; margin: 22px 0 28px; padding: 0; list-style: none; }
.c-liste li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.35; }
.c-liste li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: -1px; border-radius: 50%; background: rgba(255, 255, 255, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.c-pied { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); }
.c-btn { display: flex; align-items: center; justify-content: center; gap: 12px; height: 56px; border-radius: 999px; background: #fff; color: var(--encre); font-size: 16px; font-weight: 500; transition: transform .3s var(--ease); }
.c-btn i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--encre); transition: transform .35s var(--ease); }
.c-btn svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.c-btn:hover i { transform: translateX(4px); }
.c-btn:active { transform: scale(.98); }


/* Le grand cadre « Opérationnel » : même carte, mais au vert d'eau du dégradé */
.cadre { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 40px 64px; padding: 52px 52px 48px;
  background:
    radial-gradient(55% 70% at 92% 8%, rgba(210, 255, 238, .72), transparent 70%),
    radial-gradient(50% 65% at 8% 100%, rgba(0, 163, 224, .55), transparent 70%),
    radial-gradient(45% 60% at 60% 110%, rgba(35, 70, 255, .35), transparent 70%),
    linear-gradient(150deg, #00C2A4 0%, #00967F 45%, #03483F 100%);
  box-shadow: 0 34px 60px -34px rgba(0, 150, 125, .75), inset 0 0 0 1px rgba(255, 255, 255, .16); }
.cadre:hover { transform: translateY(-4px); box-shadow: 0 42px 70px -34px rgba(0, 150, 125, .85), inset 0 0 0 1px rgba(255, 255, 255, .22); }
.cadre-titre { margin-top: 22px; font-family: var(--titre); font-size: clamp(32px, 3.6vw, 52px); font-weight: 300; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.cadre .c-liste { margin: 0 0 30px; gap: 14px; }
.cadre .c-liste li { font-size: 16px; }

/* ---------- Accueil : ce qui rassure (entre le bandeau des réalisations et les offres) ---------- */
.atouts { padding: 46px 0 0; }
.atouts-liste { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; margin: 0; padding: 0 0 30px; list-style: none; border-bottom: 1px solid var(--filet); }
.atout { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; line-height: 1.3; color: var(--encre); }
.atout svg { flex: none; width: 20px; height: 20px; }
.atout.copie { display: none; }   /* copies du défilement : seulement sur téléphone */
.atout circle { fill: var(--encre); }
.atout path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1080px) {
  .atouts-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
}
@media (max-width: 520px) {
  .atouts { padding-top: 34px; }
  /* téléphone : grille 2 × 2 (plus de liste empilée), coche en haut, texte sur 2 lignes */
  .atouts-liste { gap: 20px 16px; padding-bottom: 26px; }
  .atout { align-items: flex-start; gap: 9px; font-size: 14.5px; line-height: 1.32; }
  .atout span { text-wrap: balance; }
  .atout svg { width: 18px; height: 18px; margin-top: 1px; }
}

/* ---------- Accueil : logos des marques d'exemple, une rangée sous les infos qui rassurent ----------
   En foncé ; au survol, chaque logo prend la couleur de sa marque (le webp blanc sert de masque, --marque en fondu dessus). */
.logos { padding: 10px 0 18px; }
.logos-grille { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.logos-grille li { display: grid; place-items: center; height: 92px; }
.logo-m { position: relative; display: block; width: min(var(--w, 100px), 86%); background: #3A3935; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: transform .6s var(--ease); }
.logo-m::after { content: ''; position: absolute; inset: 0; background: var(--marque); opacity: 0; transition: opacity .5s var(--ease); }
@media (hover: hover) {
  .logos-grille li:hover .logo-m { transform: scale(1.06); }
  .logos-grille li:hover .logo-m::after { opacity: 1; }
}
@media (max-width: 900px) {
  .logos { padding-top: 0; }
  .logos-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos-grille li { height: 76px; }
}
@media (max-width: 900px) {
  /* 3 colonnes alignées sur les bords du contenu : 1re à gauche, 2e au centre, 3e à droite */
  .logos-grille li:nth-child(3n + 1) { justify-items: start; }
  .logos-grille li:nth-child(3n) { justify-items: end; }
}
@media (max-width: 520px) {
  .logos { padding-bottom: 26px; }
  .logos-grille li { height: 60px; }
  /* --wm : largeur propre à chaque logo sur téléphone, pour un poids visuel égal */
  .logo-m { width: min(var(--wm, calc(var(--w, 100px) * .78)), 92%); }
}
@media (max-width: 340px) { .atouts-liste { column-gap: 12px; } .atout { gap: 7px; font-size: 13.5px; } .atout svg { width: 16px; height: 16px; } }
/* Téléphone : les 4 points défilent sur une ligne, entre deux filets (si les animations sont désactivées, la grille 2 × 2 reste) */
@media (max-width: 520px) and (prefers-reduced-motion: no-preference) {
  .atouts-defile { overflow: hidden; padding: 15px 0; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
  .atouts-liste { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; padding: 0; border-bottom: 0; animation: atouts-defile 30s linear infinite; }
  .atout, .atout.copie { display: flex; flex: none; align-items: center; gap: 9px; margin-right: 30px; font-size: 15px; white-space: nowrap; }
  .atout span { text-wrap: nowrap; }
  .atout svg { width: 18px; height: 18px; margin-top: 0; }
}
@keyframes atouts-defile { to { transform: translateX(-50%); } }
@media (max-width: 360px) { .logo-m { width: min(calc(var(--wm, 80px) * .84), 92%); } }

/* ---------- Accueil : Levr ou une agence classique ? (tableau léger, colonne Levr en carte blanche) ---------- */
.comparaison { padding: 104px 0 96px; }
.comparaison-titre { margin: 0 0 40px; font-family: var(--titre); font-size: clamp(34px, 4.4vw, 60px); font-weight: 300; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.comp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.comp thead th:first-child { width: 22%; }
.comp thead .comp-levr { width: 41%; }
.comp th, .comp td { padding: 22px 26px; text-align: left; vertical-align: top; border-top: 1px solid var(--filet); }
.comp thead th { padding-top: 24px; padding-bottom: 20px; vertical-align: bottom; border-top: 0; }
.comp tbody th { padding-left: 0; font-family: var(--titre); font-size: 21px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.comp tbody tr:last-child th, .comp tbody tr:last-child .comp-agence { border-bottom: 1px solid var(--filet); }
.comp .comp-levr { background: var(--blanc); border-left: 1px solid var(--filet); border-right: 1px solid var(--filet); }
.comp thead .comp-levr { border-top: 1px solid var(--filet); border-radius: 22px 22px 0 0; }
.comp tbody tr:last-child .comp-levr { border-bottom: 1px solid var(--filet); border-radius: 0 0 22px 22px; }
.comp-logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--titre); font-size: 27px; font-weight: 700; line-height: 1; letter-spacing: -0.045em; color: var(--encre); }
.comp-logo svg { width: 28px; height: 28px; fill: var(--encre); }
.comp thead .comp-agence { font-size: 16px; font-weight: 500; color: var(--gris); }
.comp-cell { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.comp-levr .comp-cell { font-weight: 500; color: var(--encre); }
.comp-agence .comp-cell { color: var(--gris); }
.comp-cell svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.comp-oui circle { fill: var(--encre); }
.comp-oui path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.comp-non circle { fill: none; stroke: var(--gris-c); stroke-width: 1.6; }
.comp-non path { fill: none; stroke: var(--gris-c); stroke-width: 1.8; stroke-linecap: round; }
.comp-court { display: none; }
@media (max-width: 760px) {
  .comparaison { padding: 72px 0 64px; }
  .comparaison-titre { margin-bottom: 20px; }
  .comp thead th:first-child { width: 30%; }
  .comp thead .comp-levr { width: 37%; }
  .comp th, .comp td { padding: 15px 10px; }
  .comp thead th { padding-top: 16px; padding-bottom: 12px; }
  .comp thead .comp-levr { border-radius: 16px 16px 0 0; }
  .comp tbody tr:last-child .comp-levr { border-radius: 0 0 16px 16px; }
  .comp tbody th { padding-right: 8px; font-size: clamp(13px, 3.9vw, 15px); line-height: 1.2; }
  .comp-logo { gap: 6px; font-size: 20px; }
  .comp-logo svg { width: 20px; height: 20px; }
  .comp thead .comp-agence { font-size: 12.5px; line-height: 1.25; }
  .comp-cell { display: block; font-size: clamp(13px, 3.7vw, 14.5px); line-height: 1.3; }
  .comp-cell svg, .comp-long { display: none; }
  .comp-court { display: inline; }
}

/* ---------- Accueil : les 2 offres, chacune dans son grand bloc (Identité = braise, Site = bleu) ---------- */
.offres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.offre { padding: 44px 40px 40px; }
.offre:hover { transform: translateY(-4px); }
.offre-g { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.offre .c-tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; font-size: 11px; }
.offre .c-tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.offre-titre { margin-top: 22px; font-family: var(--titre); font-size: clamp(40px, 3.9vw, 58px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.offre-texte { max-width: 470px; margin-top: 16px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .85); text-wrap: pretty; }
.offre .c-prix { margin-top: auto; padding-top: 32px; }
.offre-d { display: flex; flex-direction: column; margin-top: 34px; }
.offre-sur { font-size: 13px; font-weight: 500; opacity: .75; }
.offre-formules { margin: 12px 0 28px; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .24); }
.offre-formules li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, .24); }
.offre-formules span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 16px; font-weight: 500; }
.offre-formules em { padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--encre); font-size: 11px; font-style: normal; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.offre-formules b { flex: none; font-size: 17px; font-weight: 600; text-align: right; white-space: nowrap; }
.offre-formules small { font-size: 13px; font-weight: 500; opacity: .8; }
.offre .c-btn { margin-top: auto; }
/* 3e bloc (Assistant IA) : pleine largeur, horizontal sur grand écran */
.offre.large { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 72px; }
.offre.large .offre-d { margin-top: 0; }
.offre.large .offre-formules { margin-top: 12px; }
.offre .c-mois { margin-top: 6px; }
.offre-formules .offre-coche { flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.nav-links a[aria-current="page"] { color: var(--encre); }

/* ---------- Menu mobile et tablette (scripts/commun.js) : bouton « Menu » + panneau sous l'en-tête ---------- */
.menu-btn { display: none; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 14px; border: 0; border-radius: 999px; background: var(--encre); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.menu-icone { position: relative; display: block; width: 16px; height: 10px; }
.menu-icone i { position: absolute; left: 0; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-icone i:first-child { top: 0; }
.menu-icone i:last-child { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-icone i:first-child { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icone i:last-child { top: 4px; transform: rotate(-45deg); }
.menu-mobile { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 100%); overflow-y: auto; background: var(--fond); border-top: 1px solid var(--filet);
  opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.menu-mobile.ouvert { opacity: 1; transform: none; }
.menu-mobile nav { display: flex; flex-direction: column; padding: 12px 0 32px; }
.menu-lien { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--filet); font-family: var(--titre); font-size: 30px; font-weight: 400; letter-spacing: -0.03em; color: var(--encre); }
.menu-lien svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.menu-lien:hover svg { transform: translateX(4px); }
.menu-lien[aria-current="page"] { color: var(--gris); }
.menu-cta { margin-top: 28px; height: 58px; }
html.menu-ouvert { overflow: hidden; }
html.menu-ouvert .nav { background: var(--fond); box-shadow: 0 1px 0 var(--filet); }
@media (max-width: 899.98px) {
  .menu-btn { display: inline-flex; }
  .lang button { height: 36px; }
}
@media (min-width: 900px) { .menu-mobile { display: none !important; } }
/* cibles tactiles plus grandes sur téléphone */
@media (max-width: 600px) {
  .logo { padding: 9px 0; }
  .pied-col { gap: 0; }
  .pied-col a { min-width: 44px; padding: 9px 0; }
  .pied-titre { margin-bottom: 6px; }
  /* logos clients qui défilent (page Sites web) : zone de toucher plus haute */
  .defile-logos .defile-moitie a { padding: 13px 0; }
}
/* Survol d'un bloc d'offre : une lumière douce suit la souris, sous le grain (main.js donne --mx / --my) */
.offre::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .7s var(--ease);
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, var(--lueur, .5)), transparent 62%); mix-blend-mode: soft-light; }
@media (hover: hover) { .offre:hover::before { opacity: 1; } }

/* ---------- Accueil : la garantie (on continue jusqu'au bon résultat, sinon remboursé à 100 %) ---------- */
.garantie-ligne { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 44px; max-width: 1000px; }
.garantie-chiffre { margin: 0; padding-right: 44px; border-right: 1px solid var(--filet); font-family: var(--titre); font-size: clamp(56px, 6vw, 88px); font-weight: 300; line-height: .95; letter-spacing: -0.05em; white-space: nowrap; }
.garantie-tag { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 13px; font-weight: 500; color: var(--gris); }
.garantie-tag svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.garantie-titre { margin: 8px 0 0; font-family: var(--titre); font-size: 25px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.garantie-texte { max-width: 640px; margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--gris); text-wrap: pretty; }
.garantie + .o-fin { padding-top: 110px; }
.garantie-lien { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 -8px; padding: 8px 0; font-size: 14.5px; font-weight: 600; color: var(--encre); }
.garantie-lien span { text-decoration: underline; text-decoration-color: var(--filet); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.garantie-lien svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.garantie-lien:hover span { text-decoration-color: currentColor; }
.garantie-lien:hover svg { transform: translateX(3px); }
.o-garantie { padding-top: 96px; }
/* Page Identité : bande de mockups qui défile entre les formules et la garantie (_outils/mockups_identite.py) */
.o-mockups { padding-top: 96px; }
.o-mockups + .o-garantie { padding-top: 88px; }
.m-fenetre { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.m-piste { display: flex; width: max-content; animation: m-defile var(--duree, 60s) linear infinite; }
.m-fenetre:hover .m-piste { animation-play-state: paused; }
.m-moitie { display: flex; gap: 14px; padding-right: 14px; }
.m-tuile { flex: none; height: 300px; aspect-ratio: var(--r); margin: 0; overflow: hidden; border-radius: 20px; background: #E9E6DE; }
.m-tuile img { display: block; width: 100%; height: 100%; object-fit: cover; }
@keyframes m-defile { to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .garantie-ligne { grid-template-columns: 1fr; row-gap: 14px; }
  .garantie-chiffre { padding: 0; border: 0; font-size: 60px; }
  .garantie-titre { font-size: 22px; }
  .garantie + .o-fin { padding-top: 80px; }
  .o-garantie { padding-top: 72px; }
  .o-mockups { padding-top: 72px; }
  .o-mockups + .o-garantie { padding-top: 64px; }
  .m-moitie { gap: 10px; padding-right: 10px; }
  .m-tuile { height: 220px; border-radius: 14px; }
}

/* ---------- Accueil : « Études de cas », 3 tuiles (image + nom + secteur) vers les pages projet ---------- */
.projets-sec { padding-top: 110px; }
.projets-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 28px; }
.projets-tete h2 { margin: 0; font-family: var(--titre); font-size: clamp(34px, 3.8vw, 52px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.projets-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.projet { display: flex; flex-direction: column; gap: 16px; color: var(--encre); }
.projet-image { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 22px; background: var(--filet); }
.projet-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.projet-bas { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.projet-nom { display: block; font-family: var(--titre); font-size: 24px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.projet-sur { display: block; margin-top: 4px; font-size: 14px; color: var(--gris); }
.projet-fl { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--filet); border-radius: 50%; transition: background .3s, border-color .3s; }
.projet-fl svg { width: 16px; height: 16px; fill: none; stroke: var(--encre); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease), stroke .3s; }
@media (hover: hover) {
  .projet:hover .projet-image img { transform: scale(1.04); }
  .projet:hover .projet-fl { background: var(--encre); border-color: var(--encre); }
  .projet:hover .projet-fl svg { stroke: #fff; transform: translateX(2px); }
}
.projets-sec + .o-fin { padding-top: 120px; }

/* ---------- Page Garantie : les conditions du « satisfait ou remboursé » ---------- */
.g-hero { padding: 40px 0 80px; }
.g-hero .hero-sur { margin-top: 40px; }
.g-titre { margin: 14px 0 0; font-family: var(--titre); font-size: clamp(46px, 7.4vw, 112px); font-weight: 300; line-height: .95; letter-spacing: -0.05em; text-wrap: balance; }
.g-intro { max-width: 720px; margin: 24px 0 0; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--gris); text-wrap: pretty; }
.g-resume { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 56px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.g-resume li { padding: 28px 32px 30px 0; }
.g-resume li + li { padding-left: 32px; border-left: 1px solid var(--filet); }
.g-resume b { display: block; font-family: var(--titre); font-size: clamp(44px, 4.6vw, 64px); font-weight: 300; line-height: 1; letter-spacing: -0.045em; white-space: nowrap; }
.g-resume span { display: block; max-width: 290px; margin-top: 12px; font-size: 15.5px; line-height: 1.45; color: var(--gris); text-wrap: pretty; }
.g-conditions-titre { margin: 0 0 8px; font-family: var(--titre); font-size: clamp(30px, 3.4vw, 44px); font-weight: 400; line-height: 1.05; letter-spacing: -0.035em; }
.g-liste { max-width: 1040px; margin: 0; padding: 0; list-style: none; }
.g-cond { display: grid; grid-template-columns: 52px minmax(0, 300px) minmax(0, 1fr); column-gap: 24px; padding: 26px 0 28px; border-bottom: 1px solid var(--filet); }
.g-num { padding-top: 4px; font-family: var(--titre); font-size: 15px; font-weight: 500; color: var(--gris); font-variant-numeric: tabular-nums; }
.g-cond h3 { margin: 0; font-family: var(--titre); font-size: 21px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.g-corps p { margin: 0; font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.g-corps p + ul, .g-corps ul + p { margin-top: 10px; }
.g-corps ul { margin: 0; padding: 0; list-style: none; }
.g-corps li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.g-corps li + li { margin-top: 8px; }
.g-corps li::before { content: ''; position: absolute; left: 0; top: .78em; width: 8px; height: 1.5px; background: var(--encre); }
.g-corps b { font-weight: 600; }
.g-note { max-width: 1040px; margin: 28px 0 0; font-size: 14px; line-height: 1.5; color: var(--gris); }
.g-conditions-sec + .o-fin { padding-top: 110px; }
@media (max-width: 760px) {
  .g-hero { padding-bottom: 56px; }
  .g-hero .hero-sur { margin-top: 28px; }
  .g-resume { grid-template-columns: 1fr; margin-top: 36px; }
  .g-resume li, .g-resume li + li { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; column-gap: 12px; padding: 18px 0; border-left: 0; }
  .g-resume li + li { border-top: 1px solid var(--filet); }
  .g-resume b { font-size: 36px; }
  .g-resume span { margin-top: 0; font-size: 15px; }
  .g-cond { grid-template-columns: 32px minmax(0, 1fr); row-gap: 10px; padding: 22px 0 24px; }
  .g-cond .g-corps { grid-column: 2; }
  .g-cond h3 { font-size: 19px; }
  .g-corps p, .g-corps li { font-size: 15px; }
  .g-conditions-sec + .o-fin { padding-top: 80px; }
}

/* ---------- Pages projet (études de cas) ---------- */
.p-hero { padding: 40px 0 44px; }
.p-hero .hero-sur { margin-top: 40px; }
.p-titre { margin: 14px 0 0; font-family: var(--titre); font-size: clamp(64px, 10vw, 156px); font-weight: 300; line-height: .92; letter-spacing: -0.055em; }
.p-intro { max-width: 760px; margin: 24px 0 0; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--gris); text-wrap: pretty; }
.p-une { margin: 0; }
.p-une img, .p-galerie img { display: block; width: 100%; height: auto; border-radius: 24px; background: var(--filet); }
.p-infos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; margin: 0; padding: 40px 0; border-bottom: 1px solid var(--filet); }
.p-infos dt { font-size: 13px; font-weight: 500; color: var(--gris); }
.p-infos dd { margin: 6px 0 0; font-size: 16px; line-height: 1.45; }
.p-recit-sec { padding: 72px 0 8px; }
.p-bloc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 48px; padding: 32px 0; border-top: 1px solid var(--filet); }
.p-bloc:first-child { border-top: 0; padding-top: 0; }
.p-bloc h2, .p-charte h2 { margin: 0; font-family: var(--titre); font-size: 26px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.p-bloc p { max-width: 720px; margin: 0; font-size: 18px; line-height: 1.6; color: #3B3A36; text-wrap: pretty; }
.p-charte-sec { padding: 64px 0 0; }
.p-charte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; padding: 44px; border: 1px solid var(--filet); border-radius: 26px; background: var(--blanc); }
.p-couleurs, .p-typos { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.p-couleurs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-couleurs li, .p-typos li { display: grid; gap: 2px; }
.p-teinte { display: block; height: 92px; margin-bottom: 10px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.p-couleurs b, .p-typos b { font-size: 15px; font-weight: 600; }
.p-couleurs small, .p-typos small { font-size: 13px; color: var(--gris); }
.p-couleurs small { font-family: ui-monospace, 'Courier New', monospace; text-transform: uppercase; }
.p-typos li { grid-template-columns: 110px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--filet); }
.p-typos li:last-child { border-bottom: 0; padding-bottom: 0; }
.p-specimen { grid-row: 1 / 3; font-size: 64px; line-height: 1; color: var(--encre); }
.p-specimen-img img { display: block; width: 100%; height: auto; border-radius: 0; background: none; }
.p-typos b { align-self: end; }
.p-typos small { align-self: start; }
.p-galerie-sec { padding: 64px 0 0; }
.p-galerie-sec + .o-fin { padding-top: 110px; }
.p-rangee { display: grid; gap: 16px; }
.p-rangee + .p-rangee { margin-top: 16px; }
.p-rangee figure { margin: 0; min-width: 0; }
@media (max-width: 900px) {
  .projets-grille { grid-template-columns: 1fr; max-width: 560px; }
  .p-infos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-bloc { grid-template-columns: 1fr; }
  .p-charte { grid-template-columns: 1fr; padding: 32px 28px; }
}
@media (max-width: 600px) {
  .projets-sec { padding-top: 80px; }
  .projets-grille { gap: 28px; }
  .p-hero { padding-bottom: 32px; }
  .p-hero .hero-sur { margin-top: 28px; }
  .p-une img, .p-galerie img { border-radius: 16px; }
  .p-infos { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .p-recit-sec { padding-top: 48px; }
  .p-bloc p { font-size: 16.5px; }
  .p-charte { padding: 26px 20px; border-radius: 20px; }
  .p-teinte { height: 72px; }
  .p-typos li { grid-template-columns: 84px minmax(0, 1fr); }
  .p-specimen { font-size: 52px; }
  /* sur téléphone, les images en paire passent l'une sous l'autre */
  .p-rangee { grid-template-columns: 1fr !important; gap: 12px; }
  .p-rangee + .p-rangee { margin-top: 12px; }
  .p-galerie-sec + .o-fin, .projets-sec + .o-fin { padding-top: 80px; }
}

/* ---------- Pied de page (toutes les pages) : fond encre, logo blanc, 3 colonnes de liens, ligne légale ---------- */
.pied { padding: 76px 0 34px; background: var(--encre); color: #fff; }
.pied-haut { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; padding-bottom: 60px; }
.pied .logo { font-size: 34px; }
.pied .logo-mark { width: 36px; height: 36px; fill: #fff; }
.pied-marque p { max-width: 330px; margin: 18px 0 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.pied-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 15px; }
.pied-titre { margin: 0 0 4px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .42); }
.pied-col a { color: rgba(255, 255, 255, .86); transition: color .2s; }
.pied-col a:hover { color: #fff; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .5); }
.pied-bas p { margin: 0; }
/* coordonnées pas encore fournies (voir COORDONNEES dans _outils/pages_offres.py) */
.a-remplir { padding: 1px 6px; border-radius: 5px; background: #FFE27A; color: #3D3000; font-size: .92em; font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) {
  .pied-haut { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pied-marque { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .pied { padding: 56px 0 28px; }
  .pied-haut { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-bottom: 40px; }
  .pied-bas { flex-direction: column; }
}

/* ---------- Page 404 ---------- */
.introuvable { padding-bottom: 140px; }
.introuvable-en { margin-top: 28px; font-size: 14px; color: var(--gris); }
.introuvable-en a { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages d'offres ---------- */
.carte.vert { background:
    radial-gradient(55% 70% at 92% 8%, rgba(210, 255, 238, .72), transparent 70%),
    radial-gradient(50% 65% at 8% 100%, rgba(0, 163, 224, .55), transparent 70%),
    radial-gradient(45% 60% at 60% 110%, rgba(35, 70, 255, .35), transparent 70%),
    linear-gradient(150deg, #00C2A4 0%, #00967F 45%, #03483F 100%);
  box-shadow: 0 30px 50px -30px rgba(0, 150, 125, .7), inset 0 0 0 1px rgba(255, 255, 255, .16); }
/* Teinte « braise » : orange, corail et prune, pour sortir du bleu et du vert (Agents IA) */
.carte.braise { background:
    radial-gradient(50% 75% at 94% 4%, rgba(255, 196, 140, .7), transparent 70%),
    radial-gradient(50% 70% at 4% 100%, rgba(255, 70, 130, .55), transparent 70%),
    radial-gradient(45% 60% at 62% 118%, rgba(110, 30, 190, .5), transparent 70%),
    linear-gradient(150deg, #F2602B 0%, #DE3A5A 45%, #561443 100%);
  box-shadow: 0 30px 50px -30px rgba(222, 58, 90, .7), inset 0 0 0 1px rgba(255, 255, 255, .16); }
.carte.braise:hover { box-shadow: 0 40px 60px -30px rgba(222, 58, 90, .8), inset 0 0 0 1px rgba(255, 255, 255, .22); }

/* Cas pratiques (page Opérationnel) : une liste en deux colonnes, l'icône en couleur, un filet entre chaque cas */
.o-cas { padding-top: 44px; }
.o-cas:not([hidden]) + .o-formules { padding-top: 110px; }
.cas-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.cas { display: flex; align-items: flex-start; gap: 20px; padding: 24px 0; border-top: 1px solid var(--filet); }
.cas:nth-last-child(-n+2) { border-bottom: 1px solid var(--filet); }
.cas-icone { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: linear-gradient(150deg, #4A66FF, #2346FF 55%, #1B30B8); }
.cas-icone.vert { background: linear-gradient(150deg, #1FD3B6, #00B39A 55%, #00806D); }
.cas-icone.braise { background: linear-gradient(150deg, #FF8A4C, #F2602B 45%, #DE3A5A); }
.cas-icone.nuit { background: linear-gradient(150deg, #2A3770, #0B1533); }
.cas-icone svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cas h3 { font-family: var(--titre); font-size: 21px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.cas p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--gris); }

/* Formule seule dans sa section : une carte large en deux colonnes */
.formule.large { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 36px 72px; padding: 44px 48px 42px; }
.formule.large h3 { font-size: 30px; }
.f-droite { display: flex; flex-direction: column; }
.formule.large .c-liste { margin-top: 0; }
.formule.large .c-texte { max-width: 380px; }

.carte.vert:hover { box-shadow: 0 40px 60px -30px rgba(0, 150, 125, .8), inset 0 0 0 1px rgba(255, 255, 255, .22); }

.o-hero { padding: 40px 0 16px; }
.retour { display: inline-flex; align-items: center; gap: 8px; padding: 11px 0; margin: -11px 0; font-size: 14.5px; font-weight: 500; color: var(--gris); transition: color .2s; }
.retour svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.retour:hover { color: var(--encre); }
.retour:hover svg { transform: translateX(-3px); }
.o-hero .hero-sur { margin-top: 40px; }
.o-formules { padding-top: 44px; }
.o-section + .o-section { margin-top: 110px; }
.o-h2 { margin-bottom: 36px; font-family: var(--titre); font-size: clamp(36px, 4.4vw, 60px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.formules { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); align-items: stretch; gap: 22px; padding: 26px 0; }
.formules[data-n="2"] { max-width: 900px; }
.formule { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: 26px; animation: monte .7s calc(var(--i) * 80ms) var(--ease) both; }
.formule:not(.carte) { background: var(--blanc); border: 1px solid var(--filet); box-shadow: 0 24px 44px -34px rgba(30, 28, 20, .35); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.formule:not(.carte):hover { transform: translateY(-4px); box-shadow: 0 32px 52px -32px rgba(30, 28, 20, .42); }
/* la formule recommandée dépasse en haut et en bas */
.formule.reco { margin: -26px 0; padding-top: 40px; padding-bottom: 38px; }
.formule h3 { font-family: var(--titre); font-size: 23px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.formule:not(.carte) .c-tag { border-color: var(--filet); background: var(--fond); color: var(--gris); }
.c-reco { border-color: #fff; background: #fff; color: var(--encre); }
.formule:not(.carte) .c-texte { color: var(--gris); }
.formule:not(.carte) .c-pied { border-top-color: var(--filet); }
.formule:not(.carte) .c-liste li::before { background: rgba(35, 70, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%232346FF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
[data-teinte="vert"] .formule:not(.carte) .c-liste li::before { background: rgba(0, 150, 125, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%2300967F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.c-delai { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 14px; font-weight: 500; opacity: .85; }
.c-delai svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.c-prix b.c-devis { font-size: 46px; white-space: normal; }
.c-btn.noir { background: var(--encre); color: #fff; }
.c-btn.noir i { background: #fff; }
.c-btn.noir svg { stroke: var(--encre); }

.o-fin { padding: 110px 0 120px; }
.services + .o-fin { padding-top: 0; }
/* Sites déjà réalisés (page Sites web) : les noms en « logos » qui défilent, cliquables */
.o-clients { padding-top: 34px; }
.defile-logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.defile-piste { display: flex; width: max-content; animation: defile-logos 40s linear infinite; }
.defile-logos:hover .defile-piste, .defile-logos:focus-within .defile-piste { animation-play-state: paused; }
.defile-moitie { display: flex; align-items: baseline; gap: 64px; padding-right: 64px; }
@keyframes defile-logos { to { transform: translateX(-50%); } }
.defile-moitie a { padding: 8px 0; color: var(--gris-c); font-size: 23px; line-height: 1; white-space: nowrap; transition: color .25s; }
.defile-moitie a:hover, .defile-moitie a:focus-visible { color: var(--encre); }
.lg-pp { font-family: Georgia, serif; font-style: italic; }
.lg-cr { font-weight: 700; letter-spacing: -0.04em; }
.defile-moitie .lg-ro { font-weight: 800; text-transform: uppercase; font-size: 16px; letter-spacing: .07em; }
.defile-moitie .lg-rh { font-family: ui-monospace, 'Courier New', monospace; text-transform: uppercase; font-size: 18px; letter-spacing: .06em; }
.lg-bat { font-weight: 700; letter-spacing: -0.05em; }
.defile-moitie .lg-cb { font-weight: 800; text-transform: uppercase; font-size: 18px; letter-spacing: .08em; }
.lg-lola { font-weight: 300; letter-spacing: .02em; }
.lg-lsm { font-family: Georgia, serif; letter-spacing: .01em; }
.lg-ryj { font-family: Georgia, serif; font-weight: 700; letter-spacing: -0.02em; }

/* Le bloc final : pas de carte, juste un filet, une grande phrase et le bouton noir */
.o-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 56px; padding-top: 56px; border-top: 1px solid var(--filet); }
.o-cta-titre { margin: 0; font-family: var(--titre); font-size: clamp(40px, 5.4vw, 80px); font-weight: 300; line-height: 1.02; letter-spacing: -0.04em; white-space: pre-line; text-wrap: balance; }
.o-cta .c-btn { height: 60px; padding: 0 10px 0 30px; margin-bottom: 6px; }
.o-cta-titre .degrade { white-space: nowrap; }

/* Bandeau de réalisations (accueil) : tuiles étroites et larges qui alternent, défilement lent en boucle */
.vitrine { padding-bottom: 24px; }
.vitrine-cadre { position: relative; padding: 16px; border-radius: 34px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--filet), 0 40px 70px -50px rgba(20, 30, 90, .35); animation: monte .9s .25s var(--ease) both; }
.vitrine-fenetre { overflow: hidden; border-radius: 22px; }
.vitrine-piste { display: flex; width: max-content; animation: vitrine-defile 36s linear infinite; }
.vitrine-cadre:hover .vitrine-piste { animation-play-state: paused; }
.vitrine-moitie { display: flex; gap: 14px; padding-right: 14px; }
@keyframes vitrine-defile { to { transform: translateX(-50%); } }
.v-tuile { position: relative; flex: none; width: 225px; height: 300px; margin: 0; overflow: hidden; border-radius: 20px; background: #E9E6DE; }
.v-tuile.large { width: 487px; }
.v-tuile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v-tuile figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; color: var(--encre); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.v-tuile:hover figcaption { opacity: 1; transform: none; }

@keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Écrans plus petits ---------- */
@media (max-width: 1180px) { .grille[data-n="4"], .cas-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .cas-grille { grid-template-columns: 1fr; } .cas:nth-last-child(2) { border-bottom: 0; }
  .grille[data-n="3"] { grid-template-columns: 1fr; } .groupe + .groupe { margin-top: 72px; } }
@media (max-width: 900px) {
  .offres { grid-template-columns: 1fr; }
  .offre.large { display: flex; }
  .offre.large .offre-d { margin-top: 34px; }
  .offre { padding: 40px 36px 36px; }
  .offre .c-prix { padding-top: 28px; }
  .formules, .formules[data-n] { grid-template-columns: 1fr; max-width: 560px; }
  .formule.reco { order: -1; margin: 0; }
  .o-h2 { margin-bottom: 12px; }
  .formule.large { display: flex; align-items: stretch; gap: 0; padding: 28px 26px 26px; }
  .formule.large h3 { font-size: 23px; }
  .formule.large .c-liste { margin-top: 22px; }
  .o-cta { grid-template-columns: 1fr; align-items: start; }
  .o-cta .c-btn { justify-self: start; }
  .cadre { grid-template-columns: 1fr; padding: 40px 36px 36px; }
  .nav-links { display: none; }
  .grille { gap: 14px; }
  .grille[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Audit express (formule « Une automatisation ») : fenêtre en étapes */
button.c-btn { width: 100%; border: 0; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; }
html:has(dialog.audit[open]) { overflow: hidden; }
dialog.audit { width: min(740px, calc(100vw - 32px)); max-width: none; max-height: min(880px, calc(100dvh - 40px)); padding: 0; border: 0; border-radius: 28px; background: var(--blanc); color: var(--encre); box-shadow: 0 50px 90px -40px rgba(11, 21, 51, .55); }
dialog.audit[open] { display: flex; flex-direction: column; animation: audit-entre .45s var(--ease) both; }
dialog.audit::backdrop { background: rgba(11, 21, 51, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes audit-entre { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.audit-tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px 16px; }
.audit-sur { margin: 0; font-size: 13px; font-weight: 500; color: var(--gris); }
.audit-titre { margin: 2px 0 0; font-family: var(--titre); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.audit-fermer { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--fond); color: var(--encre); cursor: pointer; transition: background .25s; }
.audit-fermer:hover { background: var(--filet); }
.audit-fermer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.audit-barre { height: 3px; margin: 0 26px; border-radius: 3px; background: var(--filet); overflow: hidden; }
.audit-barre i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--dg-1), var(--dg-2), var(--dg-3)); transition: width .45s var(--ease); }
.audit-corps { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 30px 26px 26px; }
.audit-corps > * { animation: monte .45s var(--ease) both; }
.audit-q { margin: 0; font-family: var(--titre); font-size: clamp(26px, 3.4vw, 36px); font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; outline: none; }
.audit-aide { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--gris); }
.audit-cas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.audit-cas-btn { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--filet); border-radius: 18px; background: var(--blanc); color: var(--encre); font: inherit; text-align: left; cursor: pointer; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
@media (hover: hover) { .audit-cas-btn:hover { border-color: var(--encre); transform: translateY(-2px); box-shadow: 0 16px 26px -22px rgba(30, 28, 20, .5); } }
.audit-cas-btn.choisi { border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.audit-cas-btn b { display: block; font-size: 15px; font-weight: 600; }
.audit-cas-btn small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--gris); }
.audit-reponses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.audit-rep { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 16px; border: 1px solid var(--filet); border-radius: 16px; background: var(--blanc); color: var(--encre); font: inherit; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
@media (hover: hover) { .audit-rep:hover { border-color: var(--encre); } }
.audit-rep i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--gris-c); border-radius: 50%; transition: background .2s, border-color .2s; }
.audit-reponses.multi .audit-rep i { border-radius: 7px; }
.audit-rep svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.audit-rep.choisi { border-color: var(--encre); background: var(--fond); }
.audit-rep.choisi i { border-color: var(--encre); background: var(--encre); }
.audit-rep.choisi svg { opacity: 1; }
.audit-pied { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.audit-retour { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px; border: 0; background: none; color: var(--gris); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.audit-retour:hover { color: var(--encre); }
.audit-retour svg, .audit-suite svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.audit-suite { display: inline-flex; align-items: center; gap: 10px; height: 52px; margin-left: auto; padding: 0 22px 0 26px; border: 0; border-radius: 999px; background: var(--encre); color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: transform .25s var(--ease), opacity .25s; }
.audit-suite:hover:not(:disabled) svg { transform: translateX(3px); }
.audit-suite svg { transition: transform .3s var(--ease); }
.audit-suite:disabled { opacity: .3; cursor: not-allowed; }
.audit-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.audit-form .audit-rgpd, .audit-form .audit-pied { grid-column: 1 / -1; }
.audit-champ { display: grid; align-content: start; gap: 6px; }
.audit-champ > span:not(.vh) { font-size: 13px; font-weight: 500; color: var(--gris); }
.audit-champ input { height: 52px; }
.audit-champ input, .audit-champ textarea { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--filet); border-radius: 14px; background: var(--fond); color: var(--encre); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.audit-champ textarea { margin-top: 22px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.audit-champ input:focus, .audit-champ textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgba(35, 70, 255, .14); }
.audit-champ input[aria-invalid="true"] { border-color: #D1371C; }
.audit-champ em { font-size: 13px; font-style: normal; color: #C2331A; }
.audit-champ em:empty { display: none; }
.audit-rgpd { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--gris); }
.audit .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.audit-res-titre { margin: 0; font-family: var(--titre); font-size: clamp(26px, 3.4vw, 34px); font-weight: 300; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; outline: none; }
.audit-res-cas { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.audit-res-cas b { font-size: 17px; font-weight: 600; }
.audit-temps { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 16px; margin-top: 22px; padding: 20px 22px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--dg-1), var(--dg-2) 60%, var(--dg-3)); }
.audit-temps span { grid-column: 1 / -1; font-size: 13px; font-weight: 500; opacity: .85; }
.audit-temps b { font-family: var(--titre); font-size: 54px; font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.audit-temps small { font-size: 14px; line-height: 1.35; opacity: .9; }
.audit-corps h3 { margin: 28px 0 0; font-size: 14px; font-weight: 600; color: var(--gris); }
.audit-situation, .audit-fait { margin: 8px 0 0; padding: 0; list-style: none; }
.audit-situation li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--filet); font-size: 14px; }
.audit-situation span { color: var(--gris); }
.audit-situation b { font-weight: 600; text-align: right; }
.audit-fait li { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 15px; }
.audit-fait i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--encre); }
.audit-fait svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.audit-offre { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; padding: 16px 18px; border-radius: 16px; background: var(--fond); font-size: 15px; }
.audit-offre span { color: var(--gris); }
.audit-envoi { margin: 18px 0 0; padding: 11px 14px; border-radius: 12px; background: #FFF1E6; color: #8A3A12; font-size: 13px; line-height: 1.45; }
.audit-pied .audit-reserver { width: auto; margin-left: auto; padding: 0 10px 0 28px; }

@media (max-width: 600px) {
  dialog.audit { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .audit-tete { padding: 16px 18px 12px; }
  .audit-barre { margin: 0 18px; }
  .audit-corps { padding: 24px 18px 22px; }
  .audit-cas, .audit-reponses, .audit-form { grid-template-columns: 1fr; }
  .audit-cas-btn { padding: 12px; }
  .audit-situation li { flex-direction: column; gap: 2px; }
  .audit-situation b { text-align: left; }
  .audit-pied .audit-reserver { flex: 1; }
}

@media (max-width: 600px) {
  .offres { gap: 18px; margin-top: 12px; }
  .offre { padding: 30px 22px 22px; }
  .offre-d { margin-top: 28px; }
  .offre-titre { font-size: 42px; margin-top: 18px; }
  .offre-texte { font-size: 15px; }
  .offre-formules li { padding: 14px 0; }
  .offre-formules span { font-size: 15px; }
  .offre-formules b { font-size: 15px; }
  .o-clients { padding-top: 26px; }
  .defile-moitie { gap: 40px; padding-right: 40px; }
  .defile-moitie a { font-size: 19px; }
  .vitrine-cadre { padding: 10px; border-radius: 24px; }
  .vitrine-fenetre { border-radius: 16px; }
  .vitrine-moitie { gap: 10px; padding-right: 10px; }
  .v-tuile { width: 165px; height: 220px; border-radius: 14px; }
  .v-tuile.large { width: 357px; }
  .o-cas { padding-top: 28px; }
  .o-cas:not([hidden]) + .o-formules { padding-top: 80px; }
  .cas { gap: 16px; padding: 20px 0; }
  .cas-icone { width: 40px; height: 40px; border-radius: 11px; }
  .cas h3 { font-size: 18px; }
  .cas p { font-size: 14px; }
  .bandeau { padding: 9px 16px; font-size: 13px; }
  .o-hero .hero-sur { margin-top: 28px; }
  .formule { padding: 24px 22px 22px; }
  .formule.reco { padding-top: 28px; padding-bottom: 24px; }
  .o-cta { padding-top: 40px; }
  .o-cta .c-btn { justify-self: stretch; }
  .o-fin { padding: 80px 0 90px; }
  .wrap { width: calc(100% - 32px); }
  .nav-in { gap: 12px; height: 64px; }
  .logo { font-size: 24px; }
  .logo-mark { width: 26px; height: 26px; }
  .nav-right .btn { display: none; }
  .hero { padding: 56px 0 36px; }
  .hero-titre { margin-top: 14px; font-size: clamp(30px, 11.6vw, 52px); }
  .grille, .grille[data-n] { grid-template-columns: 1fr; }
  .cadre { padding: 30px 22px 22px; }
  .carte { padding: 24px 22px 22px; }
  .c-prix b { font-size: 50px; }
  .c-prix b.c-devis { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .m-piste { animation: none !important; }
  .m-fenetre { overflow-x: auto; }
  .defile-piste { animation: none !important; }
  .defile-logos { overflow-x: auto; }
  .vitrine-piste { animation: none !important; }
  .vitrine-fenetre { overflow-x: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
