/* ==========================================================================
   Allegro — feuille de style du site public
   Principes : papier clair, encre marine, un seul accent (le bleu Allegro Online),
   typographie éditoriale ; les mots-clés en italique comme les indications
   de tempo d'une partition.
   ========================================================================== */

@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
    --ink: #15284d;
    --ink-2: #2b3a5a;
    --muted: #56637c;
    --subtle: #636f87;
    --paper: #f4f7fb;
    --paper-2: #eaf0f7;
    --paper-3: #dfe7f1;
    --white: #ffffff;
    --line: #dbe3ee;
    --line-strong: #bfcbdc;
    --brand: #4f81bd;
    --brand-ink: #3a69a3;
    --brand-deep: #1f3864;
    --brand-tint: #e6eef8;
    /* Titres : le bleu de la brochure, plus franc que l'encre du texte courant. */
    --heading: #1f4b87;
    /* Fond des sections teintées : un bleu clair franc, pas un gris bleuté. */
    --tint: #e1ebf8;
    --ok: #1b6d4a;
    --ok-tint: #e3f3ea;
    --warn: #b4570f;
    --danger: #b42318;
    --danger-tint: #fdecea;

    --font: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
    --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

    --container: 1240px;
    --gutter: clamp(20px, 4.2vw, 44px);
    /* Resserré le 2026-11-17 (« montrer plus sur chaque page ») : de clamp(72px, 10vw, 136px). */
    --section: clamp(40px, 4.5vw, 64px);
    --header-h: 72px;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(21, 40, 77, .06);
    --shadow: 0 1px 2px rgba(21, 40, 77, .04), 0 10px 30px -12px rgba(21, 40, 77, .16);
    --shadow-lg: 0 2px 6px rgba(21, 40, 77, .05), 0 30px 70px -28px rgba(21, 40, 77, .32);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --accent: var(--brand);
}

/* --------------------------------------------------------------- Base */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
}
/* Pages produit : la barre d'onglets collante s'ajoute à l'en-tête. */
html:has(.p-tabs) { scroll-padding-top: calc(var(--header-h) + 82px); }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.5;
    color: var(--ink-2);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-wrap: break-word;
    font-feature-settings: "ss01", "cv11";
    overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--heading); font-weight: 560; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
p, li { text-wrap: pretty; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code { font-family: var(--mono); font-size: .9em; }
[hidden] { display: none !important; }

::selection { background: var(--ink); color: var(--paper); }

:focus { outline: none; }
h1:focus, [tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1:focus, [tabindex="-1"]:focus { outline: none; }

.skip-link {
    position: absolute; left: 16px; top: -80px; z-index: 100;
    background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.container.mid { max-width: calc(1040px + 2 * var(--gutter)); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.icon { flex: none; }
.icon-fill { fill: currentColor; }

/* --------------------------------------------------------------- Typographie */

.display {
    font-size: clamp(2.3rem, 4.4vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 520;
}
.h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 520; }
.h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; letter-spacing: -.032em; font-weight: 520; }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; }

/* L'italique « tempo » : un seul mot, en serif, dans l'accent. */
.display em, .h1 em, .h2 em, .h3 em, .tempo-em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 380;
    letter-spacing: -.02em;
    color: var(--brand);
    font-variation-settings: "opsz" 120, "SOFT" 50;
}

.lead { font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.5; color: var(--muted); max-width: 40em; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .65em;
    font-family: var(--mono); font-size: .75rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .1em; color: var(--brand-ink);
    margin: 0 0 .9rem;
}
.eyebrow .num { color: var(--brand); }
.eyebrow .sep { width: 28px; height: 1px; background: currentColor; opacity: .5; }

/* --------------------------------------------------------------- Boutons & liens */

.btn {
    --btn-h: 50px;
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    height: var(--btn-h); padding: 0 1.4em;
    border-radius: 11px; border: 1px solid transparent;
    font-weight: 560; font-size: 1rem; letter-spacing: -.005em; white-space: nowrap;
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon[data-arrow], .btn:hover > .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { --btn-h: 40px; padding: 0 1em; font-size: .9375rem; border-radius: 10px; }
.btn-lg { --btn-h: 58px; padding: 0 1.7em; font-size: 1.0625rem; }

.btn-primary { background: var(--brand-ink); color: var(--white); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-brand { background: var(--brand); color: var(--white); }
.btn-brand:hover { background: var(--brand-ink); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link {
    display: inline-flex; align-items: center; gap: .4em; min-height: 32px;
    font-weight: 560; color: var(--ink);
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .3s var(--ease), color .2s;
    padding-bottom: 2px;
}
.link:hover { background-size: 100% 1px; }
.link .icon { transition: transform .25s var(--ease); }
.link:hover .icon { transform: translateX(3px); }
.link-brand { color: var(--brand-ink); }

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

/* --------------------------------------------------------------- Bandeau du haut (annonce et avis) */

/* Une seule ligne sur fond pâle, qui défile de droite à gauche. La piste contient deux fois les messages : la décaler
   de sa moitié ramène exactement au départ, sans à-coup. Chaque groupe fait au moins la largeur de l'écran, pour
   qu'un message court passe seul. site.js règle la durée sur la longueur (vitesse constante) ; 40 s sans script.
   Couleur du type d'avis sur l'icône seulement ; textes et liens au moins AA sur le fond. */
.ticker { display: flex; align-items: center; background: var(--brand-tint); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .875rem; }
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker var(--ticker-duration, 40s) linear infinite; }
.ticker-viewport:hover .ticker-track, .ticker-viewport:focus-within .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; flex: none; justify-content: space-around; min-width: 100vw; margin: 0; padding: 0; list-style: none; }
.ticker-item { display: flex; align-items: center; gap: .55em; padding: 8px 2.5rem; line-height: 1.45; white-space: nowrap; }
.ticker-item > .icon { flex: none; color: var(--brand-ink); }
.ticker-item-maintenance > .icon { color: var(--warn); }
.ticker-item-important > .icon { color: var(--danger); }
.ticker strong { margin-right: .4em; color: var(--heading); font-weight: 600; }
.ticker a { display: inline-flex; align-items: center; gap: .35em; color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ticker a:hover { color: var(--heading); }
.ticker-item > span > a { margin-left: .5em; }
.ticker a .icon { transition: transform .25s var(--ease); }
.ticker a:hover .icon { transform: translateX(3px); }
.ticker-toggle {
    flex: none; align-self: stretch; display: grid; place-items: center; width: 40px;
    border: 0; border-left: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer;
}
.ticker-toggle:hover { background: rgba(21, 40, 77, .05); color: var(--ink); }
.ticker-toggle .icon-play, .ticker.is-paused .ticker-toggle .icon-pause { display: none; }
.ticker.is-paused .ticker-toggle .icon-play { display: block; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Moins d'animations demandées : messages fixes, centrés, sur plusieurs lignes au besoin. */
@media (prefers-reduced-motion: reduce) {
    .ticker-track { width: auto; animation: none; }
    .ticker-group { flex: 1; flex-wrap: wrap; justify-content: center; min-width: 0; }
    .ticker-group[aria-hidden] { display: none; }
    .ticker-item { padding: 8px 1.25rem; white-space: normal; }
    .ticker-toggle { display: none; }
}

/* --------------------------------------------------------------- En-tête */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(244, 247, 251, .88);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(244, 247, 251, .94); }

/* Espacements serrés : logo, maison, navigation et actions tiennent dans la colonne de 1240 px (libellés FR). */
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
/* Maison à côté du logo (même lien), pour qui ne sait pas que le logo ramène à l'accueil. */
.home-btn { flex: none; width: 36px; margin-left: -4px; }
.home-btn[aria-current="page"] { color: var(--brand); }

.wordmark { display: block; height: 44px; width: auto; }

.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: .35em;
    height: 40px; padding: 0 .4em; border: 0; border-radius: 9px; background: none;
    font-size: .9688rem; font-weight: 500; color: var(--ink-2); white-space: nowrap;
    transition: background-color .2s var(--ease), color .2s;
}
.nav-link:hover, .nav-item.is-open > .nav-link { background: rgba(21, 40, 77, .05); color: var(--ink); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 -0px transparent; }
.nav-link[aria-current="page"]::after, .nav-link.is-active::after { content: ""; position: absolute; left: .55em; right: .55em; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); }
.nav-link .icon { transition: transform .25s var(--ease); opacity: .7; }
.nav-item.is-open > .nav-link .icon { transform: rotate(180deg); }

.mega, .dropdown {
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.nav-item.is-open > .mega, .nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.mega::before, .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

.mega { width: 640px; padding: 10px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-product { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 10px; transition: background-color .2s; }
.mega-product .product-logo { align-self: stretch; justify-content: center; }
.mega-product:hover { background: var(--paper); }
.mega-product-cat { font-size: .875rem; color: var(--muted); line-height: 1.4; }
.mega-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 12px 16px 6px; border-top: 1px solid var(--line); font-size: .9rem; }
.mega-foot a { display: inline-flex; align-items: center; gap: .4em; color: var(--muted); font-weight: 500; padding: 6px 0; }
.mega-foot a:hover { color: var(--ink); }

/* Logo produit (listes de prix) : blanc sur la couleur du produit, comme le bandeau de la brochure. */
.product-logo { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--accent); color: var(--white); }
.product-logo img { display: block; height: 40px; width: auto; }
.product-logo.is-sm { padding: 7px 12px; border-radius: 10px; }
.product-logo.is-sm img { height: 28px; }
.product-logo.is-fallback { font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.product-logo.is-lg { padding: 12px 20px; border-radius: 16px; }
.product-logo.is-lg img { height: clamp(44px, 5vw, 64px); }
.product-logo.is-lg.is-fallback { font-size: clamp(1.6rem, 3vw, 2.2rem); }
/* Dans un titre : à la taille du texte qui l'entoure. */
.product-logo.is-inline { padding: .12em .3em; border-radius: .22em; vertical-align: middle; }
.product-logo.is-inline img { height: .9em; }
.product-logo.is-inline.is-fallback { font-size: inherit; }

.glyph {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
    color: var(--white); background: var(--accent);
    box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
/* Sur l'icône elle-même : des règles « .xxx span { color } » visent aussi la pastille. */
.glyph > .icon { color: var(--white); }

.dropdown { min-width: 260px; padding: 8px; }
.dropdown-end { left: auto; right: 0; }
.dropdown-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 9px; font-weight: 500; color: var(--ink-2); }
.dropdown-link .icon { color: var(--muted); }
.dropdown-link:hover { background: var(--paper); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--ink-2); transition: background-color .2s; }
.icon-btn:hover { background: rgba(21, 40, 77, .05); color: var(--ink); }

.lang-switch { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(21, 40, 77, .05); }
.lang-switch a { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 7px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
.lang-switch a[aria-current] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.lang-switch a:not([aria-current]):hover { color: var(--ink); }

.client-dropdown { width: 340px; padding: 8px; }
.client-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 9px; }
.client-row + .client-row { border-top: 1px solid var(--line); border-radius: 0; }
.client-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.client-name .dot, .dropdown-link .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.client-links { display: inline-flex; gap: 6px; }
/* Boutons à la couleur de l'application (--accent de la ligne : Subito vert, Online, Popsy, portail). */
.client-links a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 8px; font-size: .875rem; font-weight: 600; color: var(--white); background: var(--accent); transition: background-color .2s; }
.client-links a:hover { background: color-mix(in srgb, var(--accent) 80%, #000); }
.client-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    animation: menuIn .25s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu-inner { max-width: 640px; margin: 0 auto; }
.mobile-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); margin: 24px 0 10px; }
.mobile-products { display: grid; gap: 8px; }
.mobile-product { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.mobile-product-body { flex: 1; display: grid; justify-items: start; gap: 6px; }
.mobile-product small { color: var(--muted); font-size: .85rem; }
.mobile-links { list-style: none; margin-top: 16px; border-top: 1px solid var(--line); }
.mobile-links a { display: block; padding: 15px 2px; font-size: 1.2rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); letter-spacing: -.01em; }
.mobile-client { display: grid; gap: 8px; }
.mobile-client .btn { justify-content: space-between; }
.mobile-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------- Sections */

.section { padding-block: var(--section); position: relative; }
.section-sm { padding-block: clamp(32px, 4vw, 56px); }
.section-white { background: var(--white); }
.section-paper2, .section-tint { background: var(--tint); }
.section-ink { background: var(--brand-deep); color: rgba(255, 255, 255, .78); }
.section-ink h2, .section-ink h3, .section-ink .h2 { color: var(--white); }
.section-ink .eyebrow { color: rgba(255, 255, 255, .7); }
.section-ink .eyebrow .num { color: #8fb6e6; }
.section-line { border-top: 1px solid var(--line); }

.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(22px, 2.6vw, 34px); }
.section-head .lead { margin: 0; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head-actions { justify-self: end; }

/* --------------------------------------------------------------- Accueil — héros */

.hero { position: relative; padding: clamp(24px, 3vw, 44px) 0 clamp(32px, 4vw, 56px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
/* Titre en une phrase : un cran sous .display (« texte trop grand », 2026-11-17), deux ou trois lignes. */
.hero .display { margin-bottom: 1.1rem; font-size: clamp(2.1rem, 3.5vw, 3.1rem); }
.hero .lead { margin-bottom: .8rem; }
.hero .lead + .lead { margin-bottom: 1.5rem; }
.hero-eyebrow { color: var(--brand-ink); }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: .55em; }
.hero-meta .icon { color: var(--brand); }

.be-flag { display: inline-flex; width: 18px; height: 12px; border-radius: 2px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(21, 40, 77, .08); }
.be-flag i { flex: 1; }
.be-flag i:nth-child(1) { background: #1d1d1b; }
.be-flag i:nth-child(2) { background: #fdda24; }
.be-flag i:nth-child(3) { background: #ef3340; }

/* Composition du héros : les trois logiciels en vraies captures, posés en quinconce dans une même cellule de grille
   (Popsy à l'arrière, Online devant à gauche, Subito au premier plan à droite). Les tailles suivent la largeur du
   visuel (unités de conteneur) : la composition reste la même de l'écran large au mobile. */
.hero-visual { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; min-width: 0; }
.hero-shots { container: hero-shots / inline-size; }
.hero-shots > * { grid-area: 1 / 1; min-width: 0; animation: rise .9s var(--ease) both; }
.hero-shots .mock-window, .hero-shots .mock-phone { animation: none; }
.hero-shots .mock-tag { margin-bottom: 0; }
.hs-popsy { justify-self: end; width: 86cqw; z-index: 1; display: grid; justify-items: start; gap: 10px; animation-delay: .1s; }
.hs-popsy .mock-monitor { width: 100%; }
.hs-online { justify-self: start; width: 58cqw; margin-top: 47cqw; z-index: 2; animation-delay: .3s; }
.hs-online .mock-url { max-width: 220px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container hero-shots (max-width: 460px) { .hs-online .mock-bar { height: 34px; padding: 0 10px; gap: 8px; } .hs-online .mock-dots { display: none; } }
.hs-subito { justify-self: end; width: 24cqw; margin: 30cqw 2cqw 0 0; z-index: 3; display: grid; justify-items: center; gap: 10px; animation-delay: .5s; }
.hs-subito .mock-phone { position: relative; inset: auto; width: 100%; padding: 6px; border-radius: 24px; }
.hs-subito .mock-phone-screen { height: auto; aspect-ratio: 480 / 860; border-radius: 19px; }
.hs-subito .mock-phone-top { padding-top: 7px; }
.hs-subito .mock-phone-top i { width: 38%; height: 11px; }

.vignette {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow-lg); padding: 18px 20px; font-size: .875rem; color: var(--ink-2);
    animation: rise .9s var(--ease) both;
}
.vignette-label { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.num-tab { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; background: var(--ok-tint); color: var(--ok); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-brand { background: var(--brand-tint); color: var(--brand-ink); }
@keyframes grow { from { width: 0; } }

/* --------------------------------------------------------------- Accueil — solutions */

.product-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
    position: relative; display: flex; flex-direction: column; padding: 24px 26px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    overflow: hidden; isolation: isolate;
}
.product-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--accent); transform: scaleX(1); transform-origin: left; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
/* Le logo occupe toute la largeur du haut de la carte, comme l'en-tête des listes de prix. */
.pc-logo { margin: -24px -26px 18px; }
.pc-logo .product-logo { display: flex; border-radius: 0; padding: 18px 26px; }
.pc-logo .product-logo img { height: 58px; }
.product-card h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); font-weight: 540; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.pc-cat { color: color-mix(in srgb, var(--accent) 72%, #000); font-weight: 560; font-size: .95rem; margin-bottom: 10px; }
.product-card p { color: var(--muted); margin-bottom: 18px; }
.pc-link { margin-top: auto; display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--ink); }
.pc-link .arrow { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .3s var(--ease), border-color .3s, color .3s, transform .3s var(--ease); }
.product-card:hover .pc-link .arrow { background: var(--brand-ink); border-color: var(--brand-ink); color: var(--white); transform: translateX(4px); }

/* --------------------------------------------------------------- Accueil — profils */

.profiles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.profile { padding: 24px 24px 4px 0; position: relative; }
.profile + .profile { padding-left: 24px; border-left: 1px solid var(--line); }
.profile .glyph { margin-bottom: 14px; --accent: var(--brand); }
.profile h3 { font-size: 1.3rem; margin-bottom: 14px; }
.profile ul { list-style: none; display: grid; gap: 9px; }
.profile li { position: relative; padding-left: 18px; color: var(--muted); font-size: .97rem; line-height: 1.45; }
.profile li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; border-radius: 1px; background: var(--brand); }

/* --------------------------------------------------------------- Accueil — comparatif */

.compare { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare-table th, .compare-table td { padding: 16px 22px; text-align: left; vertical-align: middle; }
.compare-table tbody tr { border-top: 1px solid var(--line); transition: background-color .2s; }
.compare-table tbody tr:hover { background: color-mix(in srgb, var(--paper) 70%, white); }
.compare-table tbody th { width: 27%; font-weight: 520; color: var(--ink-2); font-size: .97rem; }
.compare-table tbody td { font-size: .95rem; }
.compare-table thead th { position: relative; vertical-align: top; padding-top: 30px; padding-bottom: 6px; font-weight: 400; }
.compare-table thead th::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; }
.compare-table thead th + th, .compare-table tbody td, .compare-table tfoot td + td { border-left: 1px solid var(--line); }
.compare-head { display: flex; align-items: center; gap: 12px; color: var(--heading); }
.compare-head .glyph { width: 40px; height: 40px; flex: none; }
.compare-name { font-size: 1.55rem; font-weight: 560; letter-spacing: -.03em; line-height: 1; }
.compare-head:hover .compare-name { color: color-mix(in srgb, var(--accent) 72%, #000); }
.compare-for { display: block; margin-top: 16px; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.compare-table .compare-prices td { padding-top: 0; padding-bottom: 24px; vertical-align: bottom; color: var(--muted); font-size: .85rem; }
.compare-table .compare-prices td + td { border-left: 1px solid var(--line); }
.compare-table .compare-prices .compare-corner + td { border-left: 0; }
.compare-prices td:not(.compare-corner)::before { content: ""; display: block; margin-bottom: 14px; border-top: 1px dashed var(--line-strong); }
.compare-prices strong { font-size: 1.35rem; font-weight: 560; letter-spacing: -.02em; color: var(--ink); }
.compare-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: color-mix(in srgb, var(--accent) 80%, #000); background: color-mix(in srgb, var(--accent) 12%, white); vertical-align: middle; }
.compare-no { color: var(--line-strong); font-weight: 500; }
.compare-option { color: var(--ink-2); font-weight: 520; white-space: nowrap; }
.compare-text { color: var(--ink-2); }
.compare-table tfoot tr { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 55%, white); }
.compare-table tfoot td { padding-block: 14px; }
.compare-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--ink); padding: 6px 0; }
.compare-link .icon { transition: transform .25s var(--ease); }
.compare-link:hover .icon { transform: translateX(3px); }
.compare-legend { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 18px; color: var(--muted); font-size: .875rem; }
.compare-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.compare-legend .compare-yes { --accent: var(--brand); width: 22px; height: 22px; }
.compare-legend .compare-option, .compare-legend .compare-no { display: inline-grid; place-items: center; width: 22px; }

/* Comparatif : colonnes filtrées par le parcours guidé, badge des solutions conseillées quand tout est affiché. */
.compare-table .is-off { display: none; }
.compare-fit { display: none; }
.compare-table:not(.is-filtered) th.is-fit .compare-fit { display: inline-block; position: absolute; top: 12px; right: 18px; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--white); font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.compare-table:not(.is-filtered) .is-fit { background: color-mix(in srgb, var(--accent) 5%, white); }

/* Parcours guidé : une question par ligne, les suivantes apparaissent au fil des réponses. */
.finder-steps { padding: 6px 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.finder-step { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 16px 32px; align-items: center; margin: 0; padding: 24px 0; border: 0; animation: finder-in .45s var(--ease); }
.finder-step + .finder-step { border-top: 1px dashed var(--line-strong); }
.finder-question { float: left; display: flex; align-items: baseline; gap: 14px; padding: 0; font-size: 1.2rem; font-weight: 560; letter-spacing: -.02em; color: var(--heading); }
.finder-options { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; }
.finder-option { position: relative; }
.finder-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.finder-option-body { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; height: 100%; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--white); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.finder-option-icon { grid-row: span 2; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-ink); transition: background-color .2s, color .2s; }
.finder-option strong { font-weight: 600; color: var(--ink); line-height: 1.25; }
.finder-option small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.finder-option:hover .finder-option-body { border-color: color-mix(in srgb, var(--brand) 55%, white); }
.finder-option input:checked + .finder-option-body { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: color-mix(in srgb, var(--brand) 7%, white); }
.finder-option input:checked + .finder-option-body .finder-option-icon { background: var(--brand); color: var(--white); }
.finder-option input:focus-visible + .finder-option-body { outline: 2px solid var(--brand); outline-offset: 2px; }
.finder-skip { margin: 0; padding: 18px 0 22px; border-top: 1px dashed var(--line-strong); }
.finder-skip button { display: inline-flex; align-items: center; gap: .45em; padding: 4px 0; border: 0; background: none; color: var(--brand-ink); font: inherit; font-size: .94rem; font-weight: 560; cursor: pointer; }
.finder-skip button:hover { text-decoration: underline; text-underline-offset: 3px; }
.finder-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 44px 0 18px; scroll-margin-top: calc(var(--header-h) + 16px); animation: finder-in .45s var(--ease); }
.finder-title { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 560; letter-spacing: -.03em; color: var(--heading); }
.finder-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.finder-table { scroll-margin-top: calc(var(--header-h) + 16px); animation: finder-in .5s var(--ease); }
@keyframes finder-in { from { opacity: 0; transform: translateY(10px); } }

/* --------------------------------------------------------------- Accueil — accès rapide */

.access { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.access-col { padding: 28px; }
.access-col + .access-col { border-left: 1px solid var(--line); }
.access-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 16px; }
.access-head small { color: var(--muted); font-size: .85rem; }
.access-row {
    display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 4px;
    border-top: 1px solid var(--line); font-weight: 520; color: var(--ink-2);
    transition: color .2s, padding .25s var(--ease);
}
.access-row .icon:first-child { color: var(--muted); }
.access-row .end { margin-left: auto; color: var(--subtle); transition: transform .25s var(--ease), color .2s; }
.access-row:hover { color: var(--ink); padding-left: 10px; }
.access-row:hover .end { color: var(--ink); transform: translateX(3px); }

/* --------------------------------------------------------------- Accueil — bande « About » */

.about-band { position: relative; overflow: hidden; }
.about-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px 80px; align-items: center; }
.orchestrating { font-family: var(--serif); font-style: italic; font-weight: 340; font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1; letter-spacing: -.03em; color: var(--white); margin-bottom: 1.1rem; font-variation-settings: "opsz" 144, "SOFT" 30; }
.orchestrating span { color: #8fb6e6; }
.statements { list-style: none; display: grid; }
.statements li { display: flex; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .86); font-size: 1.05rem; line-height: 1.45; }
.statements li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.statements .icon { color: #8fb6e6; margin-top: 2px; }

.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(28px, 3.5vw, 44px); position: relative; }
.figure { padding-top: 22px; border-top: 1px solid currentColor; border-color: var(--line-strong); }
.section-ink .figure { border-color: rgba(255, 255, 255, .2); }
.figure .figure-value { display: flex; align-items: baseline; gap: .3em; font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--heading); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.section-ink .figure-value { color: var(--white); }
.figure .figure-value small { font-size: 1rem; letter-spacing: -.01em; font-weight: 560; color: var(--brand-ink); }
.section-ink .figure .figure-value small { color: #a3c3ec; }
.figure p { margin: 0; font-size: .97rem; color: var(--muted); max-width: 30em; }
.section-ink .figure p { color: rgba(255, 255, 255, .62); }

/* --------------------------------------------------------------- Accueil — réseau */

.network { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
/* Le mur est étiré à la hauteur des liens voisins : colonnes en minmax(0, 1fr), sinon le ratio 16/9 des cellules
   convertit cette hauteur en largeur minimale et la colonne de droite déborde (rognée par overflow: hidden).
   place-self: stretch fait remplir leur case aux cellules ; le ratio ne fixe plus que la hauteur des rangées. */
.logo-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.logo-cell { display: grid; place-items: center; place-self: stretch; min-width: 0; aspect-ratio: 16 / 9; background: var(--white); padding: 28px; }
.logo-cell img { max-height: 64px; max-width: 80%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.logo-cell:hover img { filter: none; opacity: 1; }
.network-links { display: grid; gap: 12px; }
.network-link {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
    padding: 26px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    transition: border-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.network-link:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.network-link strong { display: block; color: var(--heading); font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 2px; }
.network-link span { color: var(--muted); font-size: .95rem; }
.network-link .end { display: inline-flex; align-items: center; gap: 10px; color: var(--subtle); transition: transform .25s var(--ease), color .2s; }
.network-link:hover .end { transform: translateX(4px); color: var(--ink); }
.network-count { font-family: var(--mono); font-size: .75rem; color: var(--brand-ink); letter-spacing: .06em; }

/* --------------------------------------------------------------- Cartes d'article */

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card { display: flex; flex-direction: column; gap: 18px; }
/* Visuels de tous formats (bannières, logos, captures) : affichés en entier, jamais rognés.
   site.js teinte les bandes restantes de la couleur du bord de l'image, ou pose un passe-partout ; à défaut, fond blanc. */
.article-card-media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.article-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.article-card-media img[data-fit] { padding: 4%; }
.article-card-media img.is-cutout, .article-card-media img.is-matted { padding: 7%; }
img[data-fit].is-matted { background: var(--paper-2); }
.article-card:hover .article-card-media img { transform: scale(1.035); }
.article-card-media.is-empty { display: grid; place-items: center; color: var(--line-strong); background: var(--paper-2); }
.article-meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.article-card h3 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -.015em; transition: color .2s; }
.article-card:hover h3 { color: var(--brand-ink); }
.article-card p { color: var(--muted); font-size: .97rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* --------------------------------------------------------------- Bande d'appel */

.cta-band { position: relative; overflow: hidden; background: var(--brand-ink); color: rgba(255, 255, 255, .82); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); }
.cta-band-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px 64px; align-items: end; }
.cta-band h2 { color: var(--white); margin-bottom: 18px; }
.cta-band h2 em { color: #d3e3f7; }
.cta-band p { margin: 0; max-width: 46em; font-size: 1.08rem; line-height: 1.6; color: var(--white); }

/* --------------------------------------------------------------- Pages intérieures — héros */

.page-hero { position: relative; padding: clamp(20px, 2.6vw, 36px) 0 clamp(32px, 4vw, 52px); overflow: hidden; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .h1 { margin-bottom: .8rem; max-width: 18ch; }
.page-hero .lead { margin: 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 72px; align-items: end; }
.page-hero-grid.single { grid-template-columns: minmax(0, 1fr); }
.page-hero-grid.single .lead { max-width: 44em; }
.page-hero-aside { justify-self: end; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin-bottom: 2rem; font-size: .875rem; color: var(--subtle); }
.breadcrumbs a { color: var(--muted); display: inline-block; padding: 6px 0; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs [aria-current] { color: var(--ink-2); }

/* --------------------------------------------------------------- Produit */

.p-hero { position: relative; padding: clamp(20px, 2.6vw, 40px) 0 clamp(32px, 4vw, 56px); overflow: hidden; }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.p-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.p-kicker > span:not(.product-logo) { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.p-brand { display: flex; margin-bottom: 14px; }
.p-category { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.p-tagline { font-family: var(--serif); font-style: italic; font-weight: 380; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; color: color-mix(in srgb, var(--accent) 76%, #000); margin-bottom: .9rem; font-variation-settings: "opsz" 96, "SOFT" 40; }
.p-hero .lead { margin-bottom: 2rem; }
.p-hero .actions { margin-bottom: 1.6rem; }
.p-hero .actions .btn-lg { padding-inline: 1em; font-size: 1rem; } /* Commander, offre et contact sur une ligne */
@media (min-width: 1081px) and (max-width: 1320px) {
    .p-hero .actions { gap: 10px; }
    .p-hero .actions .btn-lg { padding-inline: .75em; }
}
.p-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9375rem; }
.p-links a { display: inline-flex; align-items: center; gap: .45em; color: var(--muted); font-weight: 500; padding: 8px 0; }
.p-links a:hover { color: var(--ink); }

.p-tabs { position: sticky; top: var(--header-h); z-index: 40; background: rgba(244, 247, 251, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.p-tabs-inner { display: flex; align-items: center; gap: 18px; height: 58px; }
.p-tabs-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.p-tabs-name .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.p-tabs nav { flex: 1; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.p-tabs nav::-webkit-scrollbar { display: none; }
.p-tabs ul { display: flex; gap: 4px; list-style: none; }
.p-tabs nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 8px; font-size: .9375rem; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .2s, background-color .2s; }
.p-tabs nav a:hover { color: var(--ink); background: rgba(21, 40, 77, .05); }
.p-tabs nav a.is-current { color: var(--ink); background: var(--white); box-shadow: var(--shadow-sm); }

/* Séparateurs portés par chaque case (et non par le fond) : une case vide en fin de ligne reste blanche. */
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.highlight { display: flex; align-items: center; gap: 12px; padding: 20px; background: var(--white); font-weight: 560; color: var(--ink); font-size: .97rem; line-height: 1.3; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.highlight .icon { color: var(--accent); }

.intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 80px; align-items: start; }
.intro-text p { font-size: 1.15rem; line-height: 1.65; color: var(--ink-2); }
.intro-text p:first-child::first-letter { font-family: var(--serif); font-style: italic; color: var(--accent); }

.capabilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.capability { position: relative; padding: 20px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.capability h3 { font-size: 1.35rem; font-weight: 540; letter-spacing: -.03em; }
.capability p { margin: 10px 0 0; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }

.feature-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature-group { padding: 24px 28px 4px 0; }
.feature-group + .feature-group { padding-left: 28px; border-left: 1px solid var(--line); }
.feature-group h3 { font-size: 1.25rem; margin-bottom: 20px; }

.list-check { list-style: none; display: grid; gap: 11px; }
.list-check li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--ink-2); line-height: 1.45; }
.list-check li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3864' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.section-ink .list-check li { color: rgba(255, 255, 255, .82); }

.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module-card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .25s, box-shadow .3s var(--ease); }
.module-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.module-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.module-card h3 { font-size: 1.15rem; }
.module-card .list-check { gap: 8px; font-size: .95rem; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); counter-reset: step; position: relative; }
.step { position: relative; padding: 0 20px 0 0; }
.step-dot { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 45%, white); font-family: var(--mono); font-size: .8rem; color: var(--brand-ink); margin-bottom: 20px; z-index: 1; }
.step::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1px; background: var(--line-strong); }
.step:last-child::after { display: none; }
.step p { margin: 0; font-weight: 520; color: var(--ink); line-height: 1.4; font-size: 1.02rem; }
.steps-note { margin-top: 36px; padding: 20px 24px; border-radius: var(--radius); background: var(--brand-tint); color: var(--brand-deep); font-weight: 500; display: flex; gap: 12px; align-items: flex-start; }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.plan.is-highlighted { background: var(--brand-deep); color: rgba(255, 255, 255, .78); border-color: var(--brand-deep); }
.plan.is-highlighted h3, .plan.is-highlighted .plan-price { color: var(--white); }
.plan.is-highlighted .list-check li { color: rgba(255, 255, 255, .82); }
.plan h2, .plan h3 { font-size: 1.15rem; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; color: var(--ink); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.plan-price .cur { font-size: 1.3rem; font-weight: 500; }
.plan-price .amount { font-size: 3.4rem; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.plan-price .dec { font-size: 1.2rem; font-weight: 500; }
.plan-suffix { font-size: .9rem; color: var(--muted); margin-bottom: 26px; }
.plan.is-highlighted .plan-suffix { color: rgba(255, 255, 255, .72); }
.plan-onrequest { font-size: 1.5rem; font-weight: 540; letter-spacing: -.02em; color: var(--ink); margin-bottom: 26px; }
.plan .list-check { margin-bottom: 30px; }
.plan .actions { margin-top: auto; }
.plan .btn { width: 100%; }

/* Calculateur (Allegro Online) */
.calc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
/* Un fieldset a par défaut min-inline-size: min-content : sans min-width: 0, les cartes élargissent la colonne
   au-delà de l'écran sur les petits téléphones (320 px). */
.calc-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.calc-card { min-width: 0; padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.calc-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.calc-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.calc-base { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.calc-base-name { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 8px; display: block; }
/* La section tarifs porte le bleu Allegro, quel que soit l'accent du produit (le marine de Popsy y virait au gris). */
.calc-card-base { background: var(--brand-tint); border-color: color-mix(in srgb, var(--brand) 22%, white); }
/* Précision de la formule sous la liste « Inclus » (Subito : envoi manuel ou automatique au comptable). */
.calc-base-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--brand) 18%, white); color: var(--muted); font-size: .9rem; line-height: 1.45; }
.calc .list-check li::before, .formula-help .list-check li::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 8px 0; border-top: 1px solid var(--line); }
.calc-row:first-of-type { border-top: 0; }
.calc-row-label { display: grid; gap: 2px; }
.calc-row-label strong { font-weight: 540; color: var(--ink); }
.calc-row-label small { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.calc-row-star { margin-left: 2px; color: var(--brand); font-weight: 600; }
.calc-row-label .calc-row-note { margin-top: 2px; max-width: 52ch; font-size: .8rem; line-height: 1.4; font-variant-numeric: normal; }

.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--paper-3); transition: background-color .25s var(--ease); }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(21, 40, 77, .25); transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; flex: none; }
.stepper button { width: 40px; height: 40px; border: 0; background: var(--white); display: grid; place-items: center; color: var(--brand-ink); }
.stepper button:hover { background: var(--brand-tint); }
.stepper output, .stepper input { width: 44px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); border: 0; background: transparent; }

.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chip { position: relative; }
.choice-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-chip span { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white); font-weight: 560; color: var(--ink); min-width: 110px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.choice-chip span small { font-weight: 500; color: var(--muted); font-size: .82rem; }
.choice-chip input:checked + span { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: color-mix(in srgb, var(--brand) 7%, white); }
.choice-chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.calc-summary { position: sticky; top: calc(var(--header-h) + 80px); padding: 28px; border-radius: var(--radius-lg); background: var(--brand-deep); color: rgba(255, 255, 255, .78); }
.calc-summary h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 18px; }
.calc-lines { list-style: none; display: grid; gap: 10px; font-size: .95rem; margin-bottom: 22px; min-height: 40px; }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; }
.calc-lines li span:last-child { color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-total { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); margin-bottom: 22px; }
.calc-total small { display: block; font-size: .85rem; color: rgba(255, 255, 255, .72); margin-bottom: 6px; }
.calc-total strong { display: flex; align-items: baseline; gap: 6px; font-size: 3rem; font-weight: 500; letter-spacing: -.05em; color: var(--white); line-height: 1; font-variant-numeric: tabular-nums; }
.calc-total strong span { font-size: .95rem; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .72); }
.calc-summary .btn { width: 100%; }
.calc-summary .btn + .btn { margin-top: 8px; }
.calc-demo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .72); transition: background .2s, border-color .2s; }
.calc-demo:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .5); }
.calc-demo-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand); color: var(--white); }
.calc-demo strong { display: block; color: var(--white); font-weight: 560; font-size: .98rem; }
.calc-demo small { display: block; font-size: .84rem; line-height: 1.35; }
.calc-demo > .icon { color: var(--white); }
.calc-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: .82rem; color: rgba(255, 255, 255, .68); margin: 14px 0 0; }
.calc-note a { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 520; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.calc-note a:hover { text-decoration-color: var(--white); }
.calc-base-price { display: grid; justify-items: end; gap: 6px; }
.calc-base-price small { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.calc-lines li span:last-child small { display: block; text-align: right; font-size: .8rem; color: rgba(255, 255, 255, .68); }
.calc-total-support { margin: 14px 0 0; font-size: .92rem; color: rgba(255, 255, 255, .72); }
.calc-total-support b { color: var(--white); font-weight: 560; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Choix de la formule (Popsy : Cloud, Location) */
.formula-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0 0 20px; padding: 0; border: 0; }
.formula-legend { grid-column: 1 / -1; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 4px; padding: 0; }
.formula { position: relative; }
.formula input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.formula-body { display: grid; gap: 6px; height: 100%; padding: 22px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.formula-body strong { font-weight: 600; color: var(--heading); font-size: 1.05rem; }
.formula-price { font-size: 1.6rem; font-weight: 500; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.formula-price small { font-size: .85rem; letter-spacing: 0; color: var(--muted); font-weight: 500; }
.formula-support, .formula-features { color: var(--muted); font-size: .86rem; }
.formula:hover .formula-body { border-color: color-mix(in srgb, var(--brand) 45%, white); }
.formula input:checked + .formula-body { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: color-mix(in srgb, var(--brand) 7%, white); }
.formula input:focus-visible + .formula-body { outline: 2px solid var(--brand); outline-offset: 2px; }
.formula-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 16%, white); color: var(--brand-ink); flex-shrink: 0; transition: background-color .2s, color .2s; }
.formula-body .formula-icon { position: absolute; top: 18px; right: 18px; }
.formula input:checked + .formula-body .formula-icon { background: var(--brand); color: var(--white); }
.formula-body > strong { padding-right: 44px; }

/* « Quelle formule choisir ? » : explication dépliable des formules */
.formula-help { margin: -8px 0 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.formula-help summary { display: flex; align-items: center; gap: 14px; padding: 16px 22px; cursor: pointer; list-style: none; border-radius: inherit; }
.formula-help summary::-webkit-details-marker { display: none; }
.formula-help summary:hover { background: color-mix(in srgb, var(--brand) 5%, white); }
.formula-help summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.formula-help summary > span:nth-child(2) { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.formula-help summary strong { color: var(--ink); font-weight: 600; }
.formula-help summary small { color: var(--muted); font-size: .9rem; }
.formula-help-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--white); flex-shrink: 0; }
.formula-help-chevron { color: var(--muted); transition: transform .2s var(--ease); }
.formula-help[open] .formula-help-chevron { transform: rotate(180deg); }
.formula-help[open] summary { border-bottom: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
/* Une colonne par formule, côte à côte ; empilées (séparées horizontalement) sur petit écran. */
.formula-help-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.formula-help-col { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.formula-help-col + .formula-help-col { border-left: 1px solid var(--line); }
@media (max-width: 760px) {
    .formula-help-grid { grid-auto-flow: row; }
    .formula-help-col + .formula-help-col { border-left: 0; border-top: 1px solid var(--line); }
}
.formula-help-col h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.formula-help-col p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.formula-help-col .list-check { gap: 9px; font-size: .92rem; margin: 0; padding: 0; }
.formula-help-col .btn { margin-top: auto; align-self: flex-start; cursor: pointer; }

/* Visuels produit (maquettes d'interface) */
.p-visual { position: relative; min-height: 440px; }
.p-visual-img { position: relative; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--white); }

.mock-window { position: relative; z-index: 1; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; animation: rise .9s var(--ease) .1s both; }
.mock-bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-url { flex: 1; max-width: 320px; margin: 0 auto; height: 26px; border-radius: 7px; background: var(--white); border: 1px solid var(--line); font-size: .75rem; color: var(--muted); display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.mock-url .icon { color: var(--ok); }

.mock-phone { position: absolute; z-index: 2; right: var(--phone-right); top: -6%; width: var(--phone); padding: 10px; border-radius: 38px; background: var(--ink); box-shadow: var(--shadow-lg); animation: rise .9s var(--ease) .35s both; }
.mock-phone-screen { position: relative; border-radius: 30px; background: #f6f9ff; overflow: hidden; height: var(--phone-h); }
/* L'encoche se pose sur la zone de la barre d'état, effacée de la capture. */
.mock-phone-top { position: absolute; inset: 0 0 auto; z-index: 1; display: flex; justify-content: center; padding: 10px 0 4px; }
.mock-phone-top i { width: 70px; height: 20px; border-radius: 999px; background: var(--ink); }
.mock-phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Subito : le téléphone recouvre le bord droit de la fenêtre. */
.p-visual-subito { container: subito / inline-size; --phone: 230px; --phone-h: 440px; --phone-right: 4cqw; --win: 78cqw; }
.p-visual-subito .mock-window { width: var(--win); margin-top: 70px; }
@container subito (max-width: 539px) {
    .p-visual-subito > * { --phone: 210px; --phone-right: 0px; --win: 94cqw; }
}
/* Trop étroit pour les deux : le téléphone seul. */
@container subito (max-width: 439px) {
    .p-visual-subito > * { --phone: 220px; }
    .p-visual-subito .mock-window { display: none; }
    .p-visual-subito .mock-phone { position: relative; top: 0; right: auto; margin-inline: auto; }
}

/* Popsy : la même comptabilité sur vos PC (desktop) ou hébergée par Allegro (cloud). */
.p-visual-windows { container: popsy / inline-size; --cloud: min(250px, 40cqw); --desk: 80cqw; }
.mock-tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; padding: 5px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.mock-tag .icon { color: var(--accent); }
.mock-desktop { position: relative; z-index: 1; width: var(--desk); animation: rise .9s var(--ease) .1s both; }
.mock-monitor { padding: 10px 10px 14px; border-radius: 16px; background: var(--ink); box-shadow: var(--shadow-lg); }
.mock-app { border-radius: 6px; background: var(--white); overflow: hidden; }
.mock-shot { display: block; width: 100%; height: auto; }
.mock-stand { display: grid; justify-items: center; width: 30%; margin-inline: auto; }
.mock-stand::before { content: ""; width: 34%; height: 30px; background: #2b3a5a; }
.mock-stand i { width: 100%; height: 9px; border-radius: 8px 8px 4px 4px; background: #2b3a5a; }
.mock-cloud { position: absolute; z-index: 2; right: 0; bottom: 4%; width: var(--cloud); animation: rise .9s var(--ease) .35s both; }
.mock-cloud-card { padding: 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.mock-cloud-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.mock-cloud-head .glyph { width: 40px; height: 40px; border-radius: 11px; }
.mock-cloud-head strong { display: block; color: var(--heading); font-size: .95rem; }
.mock-cloud-head small { color: var(--muted); font-size: .74rem; }
.mock-cloud ul { list-style: none; display: grid; gap: 9px; margin: 0; padding: 0; font-size: .8rem; color: var(--ink-2); }
.mock-cloud li { display: flex; align-items: center; gap: 9px; }
.mock-cloud li .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ok-tint); color: var(--ok); flex-shrink: 0; }
/* Trop étroit pour superposer : l'écran puis la carte cloud, l'un sous l'autre. */
@container popsy (max-width: 479px) {
    .p-visual-windows > * { --desk: 100cqw; --cloud: 100cqw; }
    .mock-cloud { position: relative; bottom: auto; margin-top: 24px; }
    .mock-cloud ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Historique / confiance */
.history-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 80px; align-items: start; }
.history-grid .figures { margin-top: 0; grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }

.questions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: clamp(32px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.questions h2 { margin-bottom: 8px; }
.questions p { margin: 0; color: var(--muted); }
.questions-links { display: flex; flex-wrap: wrap; gap: 10px; }

.other-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* --------------------------------------------------------------- Support */



.search-field { position: relative; margin-bottom: 20px; }
.search-field .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--subtle); pointer-events: none; }
.search-field input { width: 100%; height: 52px; padding: 0 16px 0 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.search-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21, 40, 77, .06); outline: none; }

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 4px; cursor: pointer; list-style: none; font-weight: 560; font-size: 1.06rem; color: var(--ink); letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .3s var(--ease), background-color .2s, border-color .2s; }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .2s; }
.faq-item summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary .pm { background: var(--ink); border-color: var(--ink); }
.faq-item[open] summary .pm::before, .faq-item[open] summary .pm::after { background: var(--white); }
.faq-item[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item summary:hover { color: var(--brand-ink); }
.faq-answer { padding: 0 4px 26px; max-width: 72ch; }
.faq-empty { padding: 28px 4px; color: var(--muted); }

.doc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.doc-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.doc-row:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.doc-row .doc-icon { display: grid; place-items: center; width: 40px; height: 46px; flex: none; border-radius: 6px; background: var(--paper); color: var(--danger); font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .04em; position: relative; }
.doc-row .doc-icon::after { content: ""; position: absolute; right: 0; top: 0; border-style: solid; border-width: 0 10px 10px 0; border-color: transparent var(--paper-3) transparent transparent; }
.doc-row span { flex: 1; font-weight: 520; color: var(--ink); line-height: 1.35; font-size: .97rem; }
.doc-row .icon:last-child { color: var(--subtle); }
.doc-row:hover .icon:last-child { color: var(--ink); }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
.video-card h3 { font-size: 1.05rem; margin: 14px 0 6px; line-height: 1.3; }
.video-card p { color: var(--muted); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink) center / cover no-repeat; border: 0; padding: 0; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .6s var(--ease), opacity .3s; }
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-play .icon { margin-left: 3px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 12px; background: rgba(21, 40, 77, .78); color: rgba(255, 255, 255, .92); font-size: .75rem; line-height: 1.35; text-align: left; }


/* --------------------------------------------------------------- Peppol */

.peppol-deadline { width: min(360px, 100%); padding: 28px; border-radius: var(--radius-lg); background: var(--brand-deep); color: rgba(255, 255, 255, .72); }
.peppol-deadline .vignette-label { color: rgba(255, 255, 255, .7); }
.peppol-deadline strong { display: block; color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 540; margin: 10px 0 12px; }
.peppol-deadline p { margin: 0; font-size: .95rem; line-height: 1.5; }
.peppol-card { overflow: hidden; }
.peppol-card .pc-logo { margin: -26px -26px 18px; }
.peppol-card h3 { margin-bottom: 14px; }
.peppol-card > p { color: var(--muted); font-size: .97rem; margin: 0 0 18px; }
.peppol-card .list-check { margin-bottom: 24px; }
.peppol-card-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .93rem; }
.peppol-block + .peppol-block { margin-top: 56px; }
.section-ink .h2 em, .section-ink h2 em { color: #a9c8ef; }

/* Page Subito : Peppol mis en avant (pastille du héros + bande bleue). */
.peppol-badge { display: inline-flex; align-items: center; gap: 8px; margin: -.4rem 0 1.4rem; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--brand-ink); color: var(--white); font-weight: 600; font-size: .95rem; line-height: 1.2; transition: background-color .2s var(--ease); }
.peppol-badge:hover { background: var(--brand-deep); }
.peppol-badge .icon { flex: none; }
.peppol-band-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
.peppol-band .eyebrow .icon { color: #a9c8ef; }
.peppol-band h2 { margin-bottom: 22px; }
.peppol-band-lead { max-width: 36em; margin-bottom: 2rem; font-size: 1.1rem; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.peppol-band-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--brand-ink); color: var(--white); box-shadow: var(--shadow-lg); }
.peppol-band-card .vignette-label { color: rgba(255, 255, 255, .92); }
.peppol-band-card strong { display: block; margin: 8px 0 22px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 540; }
.peppol-band-card .list-check li { color: var(--white); }
@media (max-width: 900px) { .peppol-band-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .peppol-badge { font-size: .875rem; border-radius: 12px; } }
.peppol-block-title { font-size: 1.15rem; margin-bottom: 20px; }
.peppol-block-title small { font-family: var(--mono); font-size: .72rem; color: var(--subtle); font-weight: 500; margin-left: 6px; }
.video-grid.is-wide { grid-template-columns: repeat(3, 1fr); }
.doc-row .doc-product { display: block; margin-top: 3px; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); font-weight: 500; }
.more-block { margin-top: 10px; }
.more-block > summary { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white); font-weight: 560; color: var(--ink); cursor: pointer; list-style: none; }
.more-block > summary::-webkit-details-marker { display: none; }
.more-block > summary:hover { border-color: var(--ink); }
.more-block[open] > summary { display: none; }

/* --------------------------------------------------------------- Contenu riche (prose) */

.prose { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.72; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.05em; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.65rem; margin-top: 2em; letter-spacing: -.025em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.08rem; margin-top: 1.6em; }
.prose a { color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brand-ink) 40%, transparent); transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); font-weight: 620; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--brand); font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; overflow-wrap: normal; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }
.prose td code { white-space: nowrap; }
.prose hr { margin: 2.4em 0; }
.prose > :first-child { margin-top: 0; }

/* --------------------------------------------------------------- Articles */

.featured-article { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; padding-bottom: clamp(32px, 4vw, 48px); margin-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.featured-article .article-card-media { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
.featured-article h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.03em; margin: 14px 0 16px; }
.featured-article p { color: var(--muted); font-size: 1.08rem; }
.featured-article:hover h2 { color: var(--brand-ink); }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 72px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; font-weight: 520; color: var(--muted); font-variant-numeric: tabular-nums; }
.pagination a:hover { background: var(--white); color: var(--ink); }
.pagination [aria-current] { background: var(--ink); color: var(--white); }
.pagination .pg-nav { gap: 6px; display: inline-flex; border: 1px solid var(--line-strong); }

.article-head { padding: clamp(24px, 3vw, 44px) 0 clamp(20px, 2.6vw, 32px); }
.article-head .h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); max-width: 20ch; margin-bottom: 1.2rem; }
.article-head .lead { margin: 0; }
.article-cover { margin: 0 auto clamp(40px, 5vw, 64px); }
.article-cover img { width: 100%; max-height: 560px; object-fit: contain; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 72px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 18px; font-size: .95rem; }
.article-aside .card-plain { padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.article-aside h2 { font-size: 1rem; margin-bottom: 8px; }
.article-aside p { color: var(--muted); margin-bottom: 14px; }

/* --------------------------------------------------------------- Filtres, puces */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-weight: 520; font-size: .9375rem; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter .count { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.filter[aria-pressed="true"] .count { color: rgba(255, 255, 255, .78); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--paper); color: var(--muted); font-size: .75rem; font-weight: 560; letter-spacing: .01em; }

/* --------------------------------------------------------------- Revendeurs */

.resellers-layout > *, .calc > *, .form-layout > *, .contact-layout > * { min-width: 0; }
.resellers-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.map-wrap { position: sticky; top: calc(var(--header-h) + 24px); }
.map .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.04); }
.map { height: min(70vh, 640px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--paper-2); overflow: hidden; z-index: 0; }
.map-fallback { display: grid; place-items: center; height: 100%; color: var(--muted); text-align: center; padding: 24px; background: var(--paper-2) url("/media/brand/resellers-map-background.jpg") center / cover no-repeat; position: relative; }
.map-fallback::before { content: ""; position: absolute; inset: 0; background: rgba(244, 247, 251, .82); }
.map-fallback > div { position: relative; display: grid; justify-items: center; gap: 12px; max-width: 320px; }
.map-title { margin: 0; font-weight: 600; color: var(--heading); font-size: 1.1rem; }
.reseller-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.reseller-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .3s var(--ease); scroll-margin-top: calc(var(--header-h) + 20px); }
.reseller-card:hover, .reseller-card.is-active { border-color: var(--line-strong); box-shadow: var(--shadow); }
.reseller-card.is-active { border-color: var(--brand); }
.reseller-logo { height: 52px; display: flex; align-items: center; }
.reseller-logo img { max-height: 52px; max-width: 150px; width: auto; object-fit: contain; }
.reseller-card h3 { font-size: 1.05rem; }
.reseller-card address { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.reseller-links { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: auto; font-size: .9rem; }
.reseller-links a { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); font-weight: 520; word-break: break-all; padding: 6px 0; }
.reseller-links a:hover { color: var(--brand-ink); }
.leaflet-container { font-family: var(--font) !important; }
.map-pin { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(21, 40, 77, .35); }
.map-pin.is-active { background: var(--ink); transform: scale(1.3); }

/* --------------------------------------------------------------- Partenaires */

.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.partner-grid > *, .reseller-list > *, .module-grid > *, .news-grid > *, .articles-grid > *, .product-cards > *, .doc-list > *, .video-grid > *, .plans > *, .capabilities > *, .profiles > *, .feature-cols > *, .footer-cols > *, .figures > * { min-width: 0; }
.partner-card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .3s var(--ease); }
.partner-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.partner-logo { height: 64px; display: flex; align-items: center; margin-bottom: 22px; }
.partner-logo img { max-height: 60px; max-width: 170px; width: auto; object-fit: contain; }
.partner-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.partner-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.partner-desc { color: var(--muted); font-size: .95rem; line-height: 1.55; margin-bottom: 18px; }
.partner-desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.partner-more { border: 0; background: none; padding: 8px 0; font-size: .9rem; font-weight: 560; color: var(--brand-ink); margin: -16px 0 10px; align-self: flex-start; }
.partner-card .link { margin-top: auto; align-self: flex-start; }

/* --------------------------------------------------------------- Jobs */

.job-list { display: grid; gap: 14px; }
.job { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.job summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 30px; cursor: pointer; list-style: none; }
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { font-size: 1.35rem; margin-bottom: 10px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .92rem; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-toggle { display: inline-flex; align-items: center; gap: 8px; font-weight: 560; color: var(--ink); white-space: nowrap; }
.job-toggle .icon { transition: transform .3s var(--ease); }
.job[open] .job-toggle .icon { transform: rotate(180deg); }
.job-body { padding: 0 30px 30px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 56px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: -1px; }
.job-facts { display: grid; gap: 22px; align-content: start; }
.job-facts h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); font-weight: 500; margin-bottom: 10px; }
.job-body .actions { margin-top: 8px; }

/* --------------------------------------------------------------- Formulaires */

.form-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 32px 56px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
fieldset.form-section { border: 0; padding: 0; margin: 0; min-width: 0; }
/* La légende d'un fieldset se placerait sur le filet de séparation : elle redevient un titre de bloc ordinaire. */
fieldset.form-section > legend { float: left; width: 100%; padding: 0; }
fieldset.form-section > legend + * { clear: both; }
.form-section + .form-section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.form-section-title { display: flex; align-items: baseline; gap: 12px; font-size: 1.1rem; margin-bottom: 20px; }
.form-section-title small { font-family: var(--mono); font-size: .72rem; color: var(--subtle); font-weight: 500; }
.form-section-lead { margin: -8px 0 20px; font-size: .92rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.month-pick { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label, .field .label { font-size: .9rem; font-weight: 560; color: var(--ink); }
.field .req { color: var(--brand-ink); margin-left: 2px; }
.field .hint { font-size: .82rem; color: var(--muted); }
.input, .select, .textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 11px;
    border: 1px solid var(--line-strong); background: var(--white); font-size: 1rem; color: var(--ink);
    transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select { padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356637c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--subtle); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21, 40, 77, .07); outline: none; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
input[type="file"].input { padding: 10px; min-height: 0; }
input[type="file"].input::file-selector-button { margin-right: 12px; height: 34px; padding: 0 14px; border-radius: 8px; border: 0; background: var(--paper-2); color: var(--ink); font-weight: 560; cursor: pointer; }
.field-error { font-size: .85rem; color: var(--danger); display: flex; gap: 6px; align-items: center; }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 500; color: var(--ink-2); line-height: 1.4; }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.check { min-height: 44px; align-items: center; }
.check-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.check-card { position: relative; }
.check-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.check-card span { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--white); font-weight: 520; font-size: .95rem; color: var(--ink-2); transition: border-color .2s, background-color .2s; }
.check-card span::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 5px; border: 1.5px solid var(--line-strong); background: var(--white) center / 11px no-repeat; transition: background-color .2s, border-color .2s; }
.check-card input:checked + span { border-color: var(--ink); background: var(--paper); color: var(--ink); }
.check-card input:checked + span::before { background-color: var(--ink); border-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.check-card input[type="radio"] + span::before { border-radius: 50%; }
/* Offre : le n° de licence n'est demandé qu'aux clients existants (sans :has, le champ reste simplement visible). */
.offer-existing .offer-license { margin-top: 14px; }
.offer-existing:not(:has(input[value="yes"]:checked)) .offer-license { display: none; }
/* Contact : la solution sert à la démo (obligatoire) et à l'information (facultative), le n° de série au support et à l'information. */
.contact-form:has(input[value="Support"]:checked) .contact-product,
.contact-form:has(input[value="Demo"]:checked) .contact-serial,
.contact-form:not(:has(input[value="Demo"]:checked)) .contact-demo-only { display: none; }
.check-card input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-foot .hint { color: var(--muted); font-size: .85rem; }
.form-privacy { flex-basis: 100%; margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.5; max-width: 60em; }
.form-privacy a, .cookie-notice p a { color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--danger-tint); color: var(--danger); margin-bottom: 24px; font-weight: 500; }
.vat-status { display: flex; gap: 8px; align-items: flex-start; font-size: .86rem; line-height: 1.45; color: var(--muted); margin-top: 6px; }
.vat-status[hidden] { display: none; }
.vat-status::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .45em; border-radius: 50%; background: currentColor; opacity: .8; }
.vat-status[data-state="valid"] { color: var(--ok); }
.vat-status[data-state="invalid"] { color: var(--warn); }
.accept-consents { display: grid; gap: 4px; }
.accept-consents .check { align-items: flex-start; padding: 6px 0; }
.accept-consents .check input { margin-top: 3px; flex: none; }
.accept-consents .check a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.form-offer { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; background: var(--brand-tint); color: var(--ink); margin-bottom: 28px; }
.form-offer .icon { flex: none; color: var(--brand-ink); margin-top: 1px; }
.form-offer strong { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.form-offer p { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem; }
.offer-summary .calc-lines { gap: 6px; margin: 10px 0 14px; min-height: 0; }
.offer-summary .calc-total { padding-top: 12px; margin-bottom: 0; }
.offer-summary .calc-total strong { font-size: 1.9rem; flex-wrap: wrap; }
.offer-summary .calc-total-support { margin-top: 8px; }
.offer-summary .calc-note { margin-top: 8px; }
.form-success { text-align: center; padding: clamp(32px, 6vw, 64px) 24px; }
.form-success .glyph { --accent: var(--ok); width: 64px; height: 64px; border-radius: 50%; margin-bottom: 24px; }
.form-success h2 { font-size: 1.8rem; margin-bottom: 12px; }
.form-success p { color: var(--muted); max-width: 36em; margin-inline: auto; }
/* Champ piège anti-robots : invisible pour les humains, rempli par les robots. */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.aside-card { padding: 20px; border-radius: var(--radius-lg); background: var(--brand-deep); color: rgba(255, 255, 255, .72); position: sticky; top: calc(var(--header-h) + 32px); }
.aside-card h2 { color: var(--white); font-size: 1.12rem; margin-bottom: 6px; }
.aside-card p { font-size: .97rem; }
.aside-card .aside-list { list-style: none; display: grid; gap: 0; margin-top: 12px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .14); }
.aside-card .aside-list a, .aside-card .aside-list span { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: var(--white); font-weight: 520; }
.aside-card .aside-list .icon { color: #8fb6e6; }
.aside-card .aside-list small { color: rgba(255, 255, 255, .68); margin-left: auto; font-family: var(--mono); font-size: .7rem; }
.aside-product { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.aside-product .glyph { flex: none; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); box-shadow: none; }
.aside-product .glyph > .icon { color: #b4cff0; }
.aside-product strong { display: block; color: var(--white); font-size: 1.05rem; line-height: 1.25; }

/* --------------------------------------------------------------- Contact */

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 32px 56px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.info-block { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.info-block h2 { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); font-weight: 500; margin-bottom: 14px; }
.info-block address, .info-block p { color: var(--ink); font-size: 1.05rem; line-height: 1.5; margin: 0 0 12px; }
.info-lines { list-style: none; display: grid; gap: 2px; }
.info-lines li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.info-lines li:first-child { border-top: 0; }
.info-lines a { color: var(--ink); font-weight: 560; }
.info-lines a:hover { color: var(--brand-ink); }
.info-lines small { font-family: var(--mono); font-size: .7rem; color: var(--subtle); letter-spacing: .06em; }

/* --------------------------------------------------------------- Recherche */

.search-hero { max-width: 760px; }
.search-box { display: flex; gap: 10px; margin-top: 28px; }
.search-box .search-field { flex: 1; margin: 0; }
.search-box .search-field input { height: 58px; font-size: 1.08rem; }
.search-box .btn { --btn-h: 58px; }
.result-group + .result-group { margin-top: 56px; }
.result-group h2 { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); font-weight: 500; margin-bottom: 8px; }
.result { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }
.result strong { display: block; color: var(--heading); font-size: 1.15rem; font-weight: 560; letter-spacing: -.01em; margin-bottom: 4px; transition: color .2s; }
.result p { margin: 0; color: var(--muted); font-size: .97rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result small { display: block; font-size: .82rem; color: var(--brand-ink); margin-bottom: 6px; }
.result:hover strong { color: var(--brand-ink); }

/* --------------------------------------------------------------- Inscription Subito */

.demo-download { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); margin-bottom: 24px; }
.demo-download-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); }
.demo-download strong { display: block; color: var(--heading); font-size: 1.25rem; font-weight: 540; letter-spacing: -.02em; }
.demo-download small { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; }
.demo-note { color: var(--muted); margin: 0 0 24px; }
.demo-steps-card { padding: clamp(28px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.demo-steps { list-style: none; margin: 28px 0 0; padding: 0; }
.demo-steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; }
.demo-steps li::after { content: ""; position: absolute; top: 44px; bottom: 0; left: 22px; width: 1px; background: var(--line-strong); }
.demo-steps li:last-child { padding-bottom: 0; }
.demo-steps li:last-child::after { display: none; }
.demo-steps .step-dot { margin: 0; }
.demo-steps strong { display: block; margin: 10px 0 4px; color: var(--heading); font-size: 1.05rem; font-weight: 560; }
.demo-steps p { margin: 0; color: var(--muted); }
.aside-card .aside-next { margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
.aside-card .aside-next h2 { font-size: 1.1rem; margin-bottom: 6px; }
.aside-card .aside-next .btn { width: 100%; margin-top: 8px; }
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: center; }
.signup-benefits { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 28px 0 32px; }
.signup-benefits li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--white); font-weight: 560; color: var(--ink); }
.signup-benefits .icon { color: var(--accent); }
.store-badge { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 11px; background: var(--ink); color: var(--white); font-weight: 560; }
.store-badge small { display: block; font-size: .65rem; opacity: .7; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.store-badge span { line-height: 1.15; }

/* --------------------------------------------------------------- À propos */

.statements-light { list-style: none; display: grid; }
.statements-light li { display: grid; grid-template-columns: 18px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: clamp(1.05rem, 1.4vw, 1.2rem); letter-spacing: -.01em; line-height: 1.4; color: var(--ink); font-weight: 480; }
.statements-light li:last-child { border-bottom: 1px solid var(--line); }
.statements-light .icon { margin-top: .2em; color: var(--brand); }
.about-orchestrating { color: var(--heading); }
.about-intro p { color: var(--ink-2); font-size: 1.06rem; line-height: 1.6; margin: 0 0 .9rem; max-width: 36em; }
.about-licences { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 12px; }

/* --------------------------------------------------------------- Pied de page */

.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .7); font-size: .95rem; padding: clamp(40px, 5vw, 64px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-top { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 2.2fr); gap: 48px 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { margin: 24px 0 20px; max-width: 26em; line-height: 1.55; }
.social { display: flex; gap: 8px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-col h2 { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .66); font-weight: 500; margin-bottom: 12px; }
.footer-col h2.footer-sub { margin-top: 24px; }
/* Texte resserré (demande de la direction, 19 novembre 2026) ; les liens gardent 24 px de haut au moins. */
.footer-col ul { list-style: none; display: grid; gap: 1px; }
.footer-col li > a { padding: 2px 0; line-height: 1.4; }
.footer-col a { color: rgba(255, 255, 255, .8); transition: color .2s; display: inline-flex; align-items: flex-start; gap: 5px; }
.footer-col a .icon { margin-top: .35em; }
.footer-col a:hover { color: var(--white); }
.footer-news ul { gap: 8px; }
.footer-news li a { line-height: 1.4; }
/* Coupe sur le span et non sur le lien : le padding du lien laissait déborder le haut de la ligne masquée.
   4 lignes affichent les titres actuels en entier ; la limite ne sert que de garde-fou pour un titre très long. */
.footer-news li a > span { display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.footer-news .footer-more { display: inline-flex; color: #b4cff0; }
.footer-col .footer-address { display: block; margin-bottom: 14px; line-height: 1.5; }
.footer-contact-list { display: grid; gap: 2px; }
.footer-contact-list > a, .footer-contact-list > span { padding: 5px 0; }
.footer-contact-list small { font-family: var(--mono); font-size: .68rem; color: rgba(255, 255, 255, .66); margin-left: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 28px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom nav a { display: inline-block; padding: 6px 0; }
/* Logo complet (main, baguette, « Business Software ») en couleurs d'origine, sur une plaque blanche. */
.footer-brand > .footer-logo { display: inline-block; padding: 12px 18px; border-radius: 12px; background: var(--white); }
.footer-brand .wordmark { height: 48px; }
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: var(--white); }
.footer-be { display: inline-flex; align-items: center; gap: 10px; }

/* --------------------------------------------------------------- Cookies */

.cookie-notice {
    position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70;
    display: flex; align-items: center; gap: 16px; max-width: 520px; padding: 16px 16px 16px 20px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    font-size: .9rem; color: var(--ink-2); animation: rise .5s var(--ease) both;
}
.cookie-notice p { margin: 0; line-height: 1.45; }
.cookie-actions { display: flex; gap: 8px; flex: none; }

/* --------------------------------------------------------------- Pages d'erreur */

.error-page { padding: clamp(80px, 12vw, 160px) 0; position: relative; overflow: hidden; }
.error-page .h1 { margin-bottom: 1rem; }
.error-page .lead { margin-bottom: 2rem; }

/* --------------------------------------------------------------- Apparition au défilement */

/* Seuls les éléments situés sous la ligne de flottaison au chargement sont animés (pas de scintillement). */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(22px); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal.is-pending { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- Responsive */

/* Le logo, la navigation et les actions ne tiennent sur une ligne qu'à partir de ~1330 px (libellés FR, les plus longs) :
   en dessous, « Mon espace » passe en icône seule, puis le bouton démo disparaît. */
@media (max-width: 1340px) {
    .client-menu > .btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1240px) {
    .header-cta { display: none; }
}

@media (max-width: 1180px) {
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
    .main-nav, .client-menu, .header-actions > .lang-switch { display: none; }
    .burger { display: inline-block; }
    .hero-grid, .p-hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
    .p-visual { max-width: 640px; margin-inline: auto; width: 100%; }
    .product-cards { grid-template-columns: 1fr; }
    .product-card { min-height: 0; }
    .pc-top { margin-bottom: 16px; }
    .profiles { grid-template-columns: repeat(2, 1fr); }
    .profile:nth-child(3) { padding-left: 0; border-left: 0; }
    .profile:nth-child(n+3) { border-top: 1px solid var(--line); }
    .access { grid-template-columns: 1fr; }
    .access-col + .access-col { border-left: 0; border-top: 1px solid var(--line); }
    .about-grid, .intro-grid, .history-grid, .signup-grid { grid-template-columns: 1fr; }
    .network { grid-template-columns: minmax(0, 1fr); }
    .capabilities { grid-template-columns: repeat(2, 1fr); }
    .module-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .calc, .form-layout, .contact-layout, .article-layout, .resellers-layout { grid-template-columns: 1fr; }
    .calc-summary, .aside-card, .article-aside, .map-wrap { position: static; }
    .map { height: 420px; }
    .map-wrap { order: -1; }
    .featured-article { grid-template-columns: 1fr; }
    .articles-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid.is-wide { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
    .footer-brand p { margin-top: 28px; }
    .page-hero-grid { grid-template-columns: 1fr; }
    .page-hero-aside { justify-self: start; }
    .questions { grid-template-columns: 1fr; }
    .finder-step { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    :root { --header-h: 64px; }
    /* Comparatif : chaque critère passe au-dessus de ses valeurs, les solutions restent côte à côte. */
    .compare-table, .compare-table thead, .compare-table tbody, .compare-table tfoot { display: block; }
    .compare-table tr { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
    .compare-table .compare-corner { display: none; }
    .compare-table th, .compare-table td { padding: 12px 12px; }
    .compare-table tbody th { grid-column: 1 / -1; width: auto; padding: 14px 14px 0; font-size: .8125rem; font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
    .compare-table tbody td { padding: 8px 14px 14px; font-size: .875rem; line-height: 1.4; }
    .compare-table tbody td, .compare-table thead th + th, .compare-table tfoot td + td { border-left: 0; }
    .compare-table tbody td + td, .compare-table tfoot td + td, .compare-table thead th + th { border-left: 1px solid var(--line); }
    .compare-table tbody th + td, .compare-table .compare-corner + td { border-left: 0; }
    .compare-table thead th { padding: 22px 12px 16px; }
    .compare-table thead th::before { left: 12px; right: 12px; }
    .compare-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .compare-head .glyph { width: 34px; height: 34px; }
    .compare-name { font-size: 1.15rem; }
    .compare-for { font-size: .8125rem; margin-top: 10px; }
    .compare-table thead th { padding-bottom: 4px; }
    .compare-table .compare-prices td { padding: 0 12px 16px; font-size: .75rem; }
    .compare-prices td:not(.compare-corner)::before { margin-bottom: 10px; }
    .compare-prices strong { font-size: 1.05rem; }
    .compare-option { white-space: normal; }
    .compare-table tfoot td { padding: 10px 12px; font-size: .875rem; }
    .compare-table:not(.is-filtered) th.is-fit .compare-fit { position: static; margin-bottom: 10px; }
    .finder-steps { padding: 4px 18px; }
    .finder-step { padding: 20px 0; }
    .finder-question { font-size: 1.08rem; }
    .finder-options { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .finder-option-body { padding: 12px 14px; }
    .finder-result { margin-top: 32px; }
    .brand .wordmark { height: 42px; }
    body { font-size: 1rem; }
    .section-head { grid-template-columns: 1fr; gap: 20px; }
    .section-head-actions { justify-self: start; }
    .hs-subito { width: 28cqw; margin-right: 0; }
    .feature-cols { grid-template-columns: 1fr; }
    .feature-group, .feature-group + .feature-group { padding: 28px 0 8px; border-left: 0; }
    .feature-group + .feature-group { border-top: 1px solid var(--line); }
    .figures { grid-template-columns: 1fr; gap: 28px; }
    .history-grid .figures { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 0; }
    .step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center; padding: 0 0 24px; }
    .step-dot { margin: 0; }
    .step::after { top: 44px; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
    .questions { grid-template-columns: 1fr; }
    .other-products, .doc-list, .video-grid, .video-grid.is-wide, .reseller-list { grid-template-columns: 1fr; }
    .job summary { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
    .job-body { grid-template-columns: 1fr; padding: 22px; }
    .form-grid { grid-template-columns: 1fr; }
    .cta-band-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .cookie-notice { left: 12px; right: 12px; max-width: none; padding: 12px 12px 12px 16px; font-size: .82rem; gap: 12px; flex-direction: column; align-items: stretch; }
    .cookie-actions .btn { flex: 1; }
    .p-tabs-name { display: none; }
    .search-box { flex-direction: column; }
}

@media (max-width: 560px) {
    .demo-download { grid-template-columns: auto minmax(0, 1fr); padding: 22px; }
    .demo-download .btn { grid-column: 1 / -1; width: 100%; }
    /* Tableaux de contenu : une fiche par ligne, chaque valeur précédée de l'intitulé de sa colonne (HtmlCleaner). */
    .prose .table-stack, .prose .table-stack tbody, .prose .table-stack tr, .prose .table-stack th, .prose .table-stack td { display: block; }
    .prose .table-stack { overflow: visible; overflow-wrap: break-word; border-top: 1px solid var(--line); }
    .prose .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .prose .table-stack tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .prose .table-stack td, .prose .table-stack tbody th { padding: 0; border: 0; }
    .prose .table-stack td:first-child { color: var(--ink); font-weight: 600; }
    .prose .table-stack td + td { margin-top: 10px; }
    .prose .table-stack [data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
    .v-coda { display: none; }
    .v-invoice { justify-self: center; width: min(340px, 100%); }
    .map { height: 320px; }
    .profiles, .capabilities, .module-grid, .partner-grid, .articles-grid, .news-grid { grid-template-columns: 1fr; }
    .profile, .profile + .profile { padding: 22px 0 4px; border-left: 0; }
    .profile + .profile { border-top: 1px solid var(--line); }
    .logo-cell { padding: 18px; }
    .calc-card { padding: 22px 20px; }
    .network-link { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; padding: 22px 20px; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .hero-meta { gap: 10px 20px; }
    .actions .btn { flex: 1 1 auto; }
    .mobile-foot { flex-direction: column; align-items: stretch; }
}

@media (hover: none) {
    .product-card:hover, .network-link:hover, .doc-row:hover { transform: none; }
}

@media print {
    .site-header, .site-footer, .ticker, .cookie-notice, .p-tabs, .hero-visual, .p-visual { display: none !important; }
    body { background: white; }
}

/* Tarifs « Fiduciaire » : sélecteur Non fiduciaire / Fiduciaire, modules sans prix, demande d'offre */
.audience-switch { display: inline-flex; padding: 4px; margin: 0 0 22px; border-radius: 12px; background: rgba(21, 40, 77, .06); }
.audience-switch a { display: inline-grid; place-items: center; min-height: 40px; padding: 0 18px; border-radius: 9px; font-weight: 540; font-size: .95rem; color: var(--muted); transition: color .2s, background-color .2s; }
.audience-switch a[aria-current] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.audience-switch a:not([aria-current]):hover { color: var(--ink); }
.audience-switch a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* « Geen boekhoudkantoor / Boekhoudkantoor » ne tient pas sur une ligne à 320 px : deux moitiés égales, texte replié. */
@media (max-width: 560px) {
    .audience-switch { display: flex; }
    .audience-switch a { flex: 1 1 0; padding: 6px 8px; font-size: .875rem; text-align: center; line-height: 1.25; }
}
/* « Softwarepartners » ne tient pas à côté du pictogramme sous 400 px : le pictogramme passe au-dessus. */
@media (max-width: 400px) {
    .network-link { grid-template-columns: minmax(0, 1fr) auto; row-gap: 12px; }
    .network-link .glyph { grid-column: 1 / -1; }
}
/* Logo, maison, recherche et menu sur les plus petits téléphones (320 px). */
@media (max-width: 340px) {
    .header-actions { gap: 0; }
}
.formula-price .formula-from { display: block; margin-bottom: 2px; }
.accountant-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.accountant-modules h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); margin: 0 0 8px; font-weight: 500; }
.accountant-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.accountant-list li { position: relative; padding-left: 18px; font-size: .95rem; color: var(--ink); }
.accountant-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; border: 1.5px solid var(--brand); }
.accountant-summary-text { font-size: .95rem; margin: 0 0 18px; }
.aside-card .aside-prices { list-style: none; display: grid; gap: 0; margin: 2px 0 12px; padding: 0; }
.aside-card .aside-prices li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .95rem; }
.aside-card .aside-prices b { color: var(--white); font-weight: 560; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- Support : accueil (recherche, dernière version, rubriques) */

.support-hero { padding-bottom: clamp(28px, 3.5vw, 44px); }
.support-hero .h1 { margin-bottom: 1rem; }
.support-title { display: flex; flex-wrap: wrap; align-items: center; gap: .15em .35em; max-width: none; }
.support-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: 40px 72px; align-items: end; }
.support-search { display: flex; gap: 10px; margin-top: 32px; max-width: 640px; }
.support-search .search-field { flex: 1; margin: 0; }
.support-search .search-field input, .support-search .btn { height: 56px; }
.support-contact { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin-top: 20px; font-size: .95rem; }
.support-contact a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--muted); }
.support-contact a:hover { color: var(--ink); }
.support-contact .icon { color: var(--brand); }

/* Bleu Allegro pour les pastilles d'icône : le marine Popsy teinté à 10 % vire au gris. */
.support-tiles .glyph, .guide-cat .glyph, .guide-pdf-only .glyph, .guide-callout .glyph { --accent: var(--brand); }

.release-card { display: grid; gap: 6px; justify-items: start; padding: 28px; border-radius: var(--radius-lg); background: var(--ink); color: rgba(255, 255, 255, .74); box-shadow: var(--shadow-lg); }
.release-card .vignette-label { color: rgba(255, 255, 255, .66); }
.release-card strong { color: var(--white); font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 540; font-variant-numeric: tabular-nums; }
.release-card p { margin: 0; font-size: .95rem; }
.release-card-label { color: rgba(255, 255, 255, .58); }
.release-card .btn { margin-top: 16px; }
.release-card-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 4px 0; color: rgba(255, 255, 255, .8); font-size: .9rem; }
.release-card-all:hover { color: var(--white); }

.support-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.support-tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .3s var(--ease), transform .25s var(--ease); }
.support-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-1px); }
.support-tile .glyph { flex: none; }
.support-tile strong { display: block; color: var(--ink); font-weight: 600; line-height: 1.25; }
.support-tile small { display: block; color: var(--muted); font-size: .86rem; font-variant-numeric: tabular-nums; }

.support-section { padding-block: clamp(36px, 4.5vw, 60px); }
.support-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 32px; }
.support-section-head h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.65rem, 2.6vw, 2.15rem); letter-spacing: -.025em; }
.support-section-head h2 small { font-family: var(--mono); font-size: .8rem; color: var(--subtle); font-weight: 500; letter-spacing: .04em; }
.support-section-head p { margin: 8px 0 0; color: var(--muted); max-width: 46em; }
.guide-filter { width: min(100%, 340px); margin: 0; }
.guide-filter input { height: 46px; }

.guide-cats { columns: 2 380px; column-gap: 20px; }
.guide-cat { break-inside: avoid; margin-bottom: 20px; padding: 20px 22px 12px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.guide-cat h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 1.1rem; letter-spacing: -.01em; }
.guide-cat h3 .glyph { flex: none; width: 36px; height: 36px; border-radius: 10px; }
.guide-cat h3 small { margin-left: auto; font-family: var(--mono); font-size: .75rem; color: var(--subtle); font-weight: 500; }
.guide-cat ul { list-style: none; }
.guide-cat li + li { border-top: 1px solid var(--line); }
.guide-cat a { display: flex; align-items: center; gap: 10px; padding: 10px 2px; color: var(--ink-2); font-size: .97rem; line-height: 1.35; }
.guide-cat a > span:first-child { flex: 1; }
.guide-cat a:hover { color: var(--brand-ink); }
.guide-cat .tag { background: var(--white); border: 1px solid var(--line); }

.release-table { border-top: 1px solid var(--line); }
.release-row { display: grid; grid-template-columns: 14rem 10rem minmax(0, 1fr) 9rem; gap: 6px 20px; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.release-row > :last-child { justify-self: end; }
.release-row-head { padding-block: 10px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.release-version { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: .9rem; color: var(--ink); }
.release-badge { padding: 3px 8px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink); font-family: var(--font); font-size: .72rem; font-weight: 600; }
.release-date, .release-label { color: var(--muted); font-size: .93rem; font-variant-numeric: tabular-nums; }
.release-notes { display: block; margin-top: 6px; font-size: .9rem; }
.release-dl { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--ink); font-size: .92rem; font-weight: 560; transition: border-color .2s, background-color .2s; }
.release-dl:hover { border-color: var(--ink); background: var(--paper); }
.release-more { margin-top: 16px; }
.release-more .release-table { margin-top: 4px; }

.support-end { border-top: 1px solid var(--line); }
.support-end-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.support-help { padding: clamp(28px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--ink); color: rgba(255, 255, 255, .75); }
.support-help-title { margin: 0 0 6px; color: var(--white); font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.02em; font-weight: 540; }
.support-help-text { margin: 0 0 24px; }
.support-help-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.support-help-list a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--white); font-weight: 560; overflow-wrap: anywhere; transition: background-color .2s, border-color .2s; }
.support-help-list a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.support-help-list .icon { flex: none; color: #8fb6e6; }
.support-help-list small { display: block; color: rgba(255, 255, 255, .6); font-size: .78rem; font-weight: 400; }
.support-others { padding: clamp(24px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.support-others ul { list-style: none; margin-top: 12px; }
.support-others li + li { border-top: 1px solid var(--line); }
.support-others a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; color: var(--ink); font-weight: 560; }
.support-others a:hover { color: var(--brand-ink); }

/* --------------------------------------------------------------- Support : page d'un guide */

.guide-head { padding: clamp(32px, 5vw, 60px) 0 clamp(28px, 4vw, 44px); background: var(--white); border-bottom: 1px solid var(--line); }
.guide-head .breadcrumbs { margin-bottom: 1.6rem; }
.guide-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--brand-ink); font-size: .92rem; font-weight: 600; }
.guide-kicker:hover { color: var(--ink); }
.guide-title { max-width: 26ch; color: var(--ink); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 540; }
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 20px; color: var(--muted); font-size: .93rem; }
.guide-meta > * { display: inline-flex; align-items: center; gap: 8px; }
.guide-meta .icon { color: var(--subtle); }
a.guide-pdf-link { color: var(--brand-ink); font-weight: 600; }
a.guide-pdf-link .icon { color: currentColor; }
a.guide-pdf-link:hover { color: var(--ink); }
.guide-notice { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 8px 14px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-ink); font-size: .92rem; }

.guide-section { padding-block: clamp(28px, 3.5vw, 44px) clamp(36px, 4.5vw, 60px); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 780px); gap: 72px; }
.guide-layout.has-toc { grid-template-columns: minmax(0, 780px) minmax(220px, 290px); justify-content: space-between; }
.guide-aside { position: sticky; top: calc(var(--header-h) + 32px); max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; overscroll-behavior: contain; }
.guide-toc ol { list-style: none; margin-top: 12px; border-left: 1px solid var(--line); }
.guide-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 2px solid transparent; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.guide-toc li.sub a { padding-left: 28px; font-size: .86rem; }
.guide-toc a:hover { color: var(--ink); }
.guide-toc a.is-current { border-left-color: var(--brand); color: var(--ink); font-weight: 560; }

/* Rythme du texte : « .prose p { margin: 0 } » l'emporterait sur l'espacement générique. */
.guide-body.prose > * + * { margin-top: 1em; }
.guide-body.prose > h2 { margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.guide-body.prose > h2:first-child { padding-top: 0; border-top: 0; }
.guide-body.prose > h3 { margin-top: 1.9em; }
.guide-body.prose > h4 { margin-top: 1.6em; }
.guide-body.prose > :is(h2, h3, h4) + * { margin-top: .6em; }
.guide-body figure { margin-inline: 0; }
.guide-body figure img, .guide-body p > img:not(.ico) { max-width: 100%; height: auto; background: var(--white); box-shadow: var(--shadow-sm); }
.guide-body img.ico { display: inline; width: auto; max-height: 1.4em; margin: 0 2px; vertical-align: -.25em; border: 0; border-radius: 0; box-shadow: none; background: none; }
.guide-body .note { padding: 16px 20px; border-radius: 12px; border-left: 3px solid var(--brand); background: var(--brand-tint); }
.guide-body .note.warn { border-left-color: var(--warn); background: #fcf1e6; }
.guide-body .note > * + * { margin-top: .5em; }
.guide-body .note p:empty { display: none; }
.guide-body .note-label { display: block; color: var(--ink); font-weight: 650; }
.guide-body table { margin-block: 1.4em; }
.guide-body td img { max-width: none; }

.guide-pdf-only { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 20px; padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.guide-pdf-only p { margin: 0; color: var(--muted); }
.guide-pdf-only .guide-pdf-only-title { margin-bottom: 6px; color: var(--ink); font-weight: 600; }
.guide-pdf-only .btn { grid-column: 2; justify-self: start; }
.guide-callout { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 20px; margin-top: 56px; padding: 20px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.guide-callout p { margin: 0; color: var(--muted); font-size: .95rem; }
.guide-callout .guide-callout-title { color: var(--ink); font-weight: 600; }

.guide-next { padding-block: clamp(36px, 4.5vw, 56px); background: var(--white); border-top: 1px solid var(--line); }
.guide-next-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.guide-next-grid > :only-child { grid-column: 1 / -1; }
.guide-next-title { margin-bottom: 16px; font-size: 1.35rem; letter-spacing: -.015em; }
.guide-links { list-style: none; margin-bottom: 20px; border-top: 1px solid var(--line); }
.guide-links li { border-bottom: 1px solid var(--line); }
.guide-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 2px; color: var(--ink-2); }
.guide-links a:hover { color: var(--brand-ink); }
.guide-links .icon { flex: none; color: var(--subtle); }

@media (max-width: 1080px) {
    .support-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .release-card { max-width: 560px; }
    .guide-layout.has-toc { grid-template-columns: minmax(0, 1fr); }
    .guide-aside { display: none; }
    .support-end-grid, .guide-next-grid { grid-template-columns: minmax(0, 1fr); }
    .release-row { grid-template-columns: 13rem 9rem minmax(0, 1fr) auto; }
}

@media (max-width: 760px) {
    .support-search { flex-direction: column; }
    .support-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .support-tile { padding: 14px; gap: 12px; }
    .support-tile .glyph { width: 38px; height: 38px; }
    .guide-filter { width: 100%; }
    .release-row { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; }
    .release-row-head { display: none; }
    .release-row > :last-child { grid-column: 2; grid-row: 1 / span 3; }
    .release-dl span { display: none; }
    .guide-callout { grid-template-columns: auto minmax(0, 1fr); }
    .guide-callout .btn { grid-column: 2; justify-self: start; }
    .guide-pdf-only { grid-template-columns: minmax(0, 1fr); }
    .guide-pdf-only .btn { grid-column: 1; }
}

@media print {
    .support-search, .support-tiles, .guide-aside, .guide-next, .guide-callout { display: none; }
    .guide-head { border: 0; padding: 0 0 16px; }
    .guide-body img { box-shadow: none; break-inside: avoid; }
}

/* Comparatif, profil « fiduciaire » du parcours guidé : version fiduciaire des prix, critères et liens (SolutionCompare) */
.finder:not(.is-fidu) [data-audience="fidu"], .finder.is-fidu [data-audience="pro"] { display: none; }

/* Couleur de produit claire (le vert d'Allegro Subito, #70AD47 : contraste 2,7:1 avec le blanc) : là où elle porte
   ou colore du texte, elle est assombrie juste assez (luminance OKLCH ≤ 0,55, soit #498316 et 4,6:1). Les logos,
   pastilles et filets gardent le vert de la brochure ; Online, Popsy et le portail, déjà plus foncés, ne changent pas. */
@supports (color: oklch(from red min(l, .55) c h)) {
    .client-links a, .compare-table:not(.is-filtered) th.is-fit .compare-fit { background: oklch(from var(--accent) min(l, .55) c h); }
    .client-links a:hover { background: color-mix(in srgb, oklch(from var(--accent) min(l, .55) c h) 80%, #000); }
    .client-links a:focus-visible { outline-color: oklch(from var(--accent) min(l, .55) c h); }
    .intro-text p:first-child::first-letter { color: oklch(from var(--accent) min(l, .55) c h); }
}
