/*
 * Modley – jetons de design (repris de l'artéfact « Modley Site · Design »).
 * Les mêmes valeurs sont à saisir dans Elementor > Site Settings (couleurs et polices globales).
 * Ces variables servent aux sections sur mesure intégrées via le widget HTML d'Elementor.
 */
:root {
	/* Couleurs */
	--modley-ink: #0d2a4c;
	--modley-ink-muted: #536179;
	--modley-violet: #6c4cfd;
	--modley-violet-strong: #5b3be8;
	--modley-violet-light: #a18cff;
	--modley-violet-deep: #2a1872;
	--modley-page: #eceaf2;
	--modley-line: #e4e2eb;
	--modley-forest: #255045;
	--modley-teal: #14907a;
	--modley-mustard: #ecbe41;

	/* Polices (chargées par Elementor via les polices globales) */
	--modley-font-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
	--modley-font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

	/* Arrondis */
	--modley-radius-xs: 4px;
	--modley-radius-sm: 8px;
	--modley-radius-md: 12px;
	--modley-radius-lg: 16px;
	--modley-radius-xl: 20px;
	--modley-radius-pill: 999px;
}

/* Les sections sur mesure s'enveloppent dans .modley-section pour hériter de la charte. */
.modley-section {
	font-family: var(--modley-font-sans);
	color: var(--modley-ink);
}

.modley-section code,
.modley-mono {
	font-family: var(--modley-font-mono);
}

/* Respect du réglage « réduire les animations » du visiteur. */
@media (prefers-reduced-motion: reduce) {
	.modley-section *,
	.modley-section *::before,
	.modley-section *::after {
		animation: none !important;
		transition: none !important;
	}
}


/* =========================================================================
 * Polices auto-hébergées (reprises de site/04-assets/fonts/fonts.css).
 * Les fichiers .woff2 doivent être envoyés dans assets/fonts/ du thème enfant
 * en même temps que ce fichier, sinon ces déclarations renvoient des 404.
 * ========================================================================= */
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/SchibstedGrotesk-400-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* =========================================================================
 * Composants Modley (repris de site/02-design-system/modley-child.css ; seul le
 * commentaire d'origine ci-dessous a été corrigé : ce CSS vit dans assets/css/modley.css,
 * pas dans style.css, dont l'en-tête ne doit pas changer).
 * Classes .ms-* à poser dans Elementor : Avancé > Classes CSS (sans le point).
 * ========================================================================= */
/* Modley — styles de composants pour le thème enfant « Modley Child ».
   Chargé par functions.php (assets/css/modley.css). Les classes se posent dans Elementor :
   widget ou conteneur → Avancé → Classes CSS (sans le point).
   Valeurs reprises du design « Modley Site · Design ». */
:root {
  --page: #eceaf2;
  --card: #fcfbfe;
  --card-sunken: #f3f1f8;
  --line: #e4e2eb;
  --hatch: #d6d4df;
  --ink: #0d2a4c;
  --ink-muted: #536179;
  --ink-faint: #8792a6;
  --ink-fill: #0d2a4c;
  --on-ink-fill: #fcfbfe;
  --on-accent: #ffffff;
  --violet: #6c4cfd;
  --violet-strong: #5b3be8;
  --violet-light: #a18cff;
  --lilac: #ece7ff;
  --mist: #f4f1ff;
  --magenta: #e537ff;
  --night: #17142a;
  --night-raised: #2e2747;
  --night-line: #2a2638;
  --on-night: #f4f1ff;
  --on-night-muted: #a09cb5;
  --positive: #2e5c48;
  --positive-soft: #d5eae0;
  --positive-night: #46e3a0;
  --negative: #a8322a;
  --shadow-card: 0 1px 2px rgba(13,42,76,0.05), 0 8px 24px rgba(13,42,76,0.06);
  --shadow-raised: 0 1px 3px rgba(13,42,76,0.14);
  --shadow-pop: 0 16px 40px rgba(13,42,76,0.16);
  --shadow-glow: 0 0 0 1px rgba(229,55,255,0.35), 0 12px 32px -12px rgba(229,55,255,0.55);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --font-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
body { background: var(--page); color: var(--ink); font-family: var(--font-sans); }

/* --- Textes ------------------------------------------------------------ */
.ms-kicker .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; font: 600 11px/14px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.ms-kicker .elementor-heading-title::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--ink-fill); }
.ms-night .ms-kicker .elementor-heading-title { color: var(--on-night-muted); }
.ms-night .ms-kicker .elementor-heading-title::before { background: var(--violet-light); }
.ms-h1 .elementor-heading-title { font-size: clamp(44px, 6.4vw, 84px); line-height: 1; font-weight: 500; letter-spacing: -.045em; text-wrap: balance; }
/* Hero « split » (texte + illustration côte à côte) : H1 plus petit, comme dans le design (66 / 41 / 40 px à 1440 / 820 / 390). */
.ms-split .ms-h1 .elementor-heading-title { font-size: clamp(40px, 5vw, 66px); }
.ms-h2 .elementor-heading-title { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.ms-h3 .elementor-heading-title { font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -.015em; }
.ms-h4 .elementor-heading-title { font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -.01em; }
.ms-dim { color: var(--ink-muted); }
.ms-night .ms-dim { color: var(--on-night-muted); }
.ms-lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--ink-muted); max-width: 680px; }
.ms-text { font-size: 16px; line-height: 26px; color: var(--ink-muted); }
.ms-small { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.ms-night .ms-lead, .ms-night .ms-text, .ms-night .ms-small { color: var(--on-night-muted); }
.ms-num .elementor-heading-title { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.ms-night .ms-num .elementor-heading-title { color: var(--violet-light); }
.ms-quote { font-size: 14px; line-height: 22px; color: var(--ink-muted); padding-top: 14px; border-top: 1px solid var(--line); }

/* --- Boutons ----------------------------------------------------------- */
.ms-btn .elementor-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font: 500 15px/1 var(--font-sans); white-space: nowrap; transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.ms-btn .elementor-button:active { transform: scale(.97); }
.ms-btn--sm .elementor-button { height: 44px; padding: 0 18px; font-size: 14px; }
.ms-btn--primary .elementor-button { background: var(--ink-fill); color: var(--on-ink-fill); }
.ms-btn--primary .elementor-button:hover { background: color-mix(in srgb, var(--ink-fill) 84%, var(--violet)); color: var(--on-ink-fill); }
.ms-btn--outline .elementor-button { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.ms-btn--outline .elementor-button:hover { background: var(--card-sunken); color: var(--ink); }
.ms-btn--mist .elementor-button { background: var(--mist); color: var(--night); }
.ms-btn--mist .elementor-button:hover { background: #fff; color: var(--night); }
.ms-btn--line .elementor-button { background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 1px rgba(244, 241, 255, .55); }
.ms-btn--line .elementor-button:hover { background: rgba(244, 241, 255, .12); color: var(--on-night); }
.ms-btn .elementor-button:focus-visible, .ms-link .elementor-button:focus-visible, .ms-chip .elementor-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Lien fléché */
.ms-link .elementor-button { background: none; padding: 6px 0 0; display: inline-flex; align-items: center; gap: 6px; font: 500 15px/1.25 var(--font-sans); color: var(--ink); border-radius: 0; }
.ms-link .elementor-button svg { width: 16px; height: 16px; transition: transform 160ms ease; }
.ms-link .elementor-button:hover svg { transform: translateX(3px); }
.ms-night .ms-link .elementor-button { color: var(--on-night); }

/* Pills */
.ms-chip .elementor-button, .ms-chips .elementor-icon-list-item { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--card); color: var(--ink); font: 500 13px/1 var(--font-sans); box-shadow: inset 0 0 0 1px var(--line); }
.ms-chips .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-chips .elementor-icon-list-item { margin: 0 !important; }
.ms-chips .elementor-icon-list-item::after { display: none; }

/* --- Cartes et blocs --------------------------------------------------- */
.ms-card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow-card); padding: 28px; gap: 14px; }
.ms-card--link { transition: box-shadow 220ms ease, transform 220ms ease; }
.ms-card--link:hover { box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.ms-step { gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.ms-night .ms-step { border-top-color: var(--night-line); }
.ms-cta { border-radius: 28px; padding: 72px 64px; background: linear-gradient(45deg, var(--violet-strong) 0%, var(--magenta) 100%); color: var(--on-accent); text-align: center; overflow: hidden; }
.ms-cta .elementor-heading-title { color: var(--on-accent); }
.ms-band { background: var(--card); }
.ms-night { background: var(--night); color: var(--on-night); }
.ms-night .elementor-heading-title { color: var(--on-night); }
.ms-dots { background-image: radial-gradient(var(--hatch) 1px, transparent 1.6px); background-size: 16px 16px; }

/* Points forts (liste d’icônes en ligne, coche dans un rond) */
.ms-facts .elementor-icon-list-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.ms-facts .elementor-icon-list-item { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.ms-facts .elementor-icon-list-icon svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--ink-fill); stroke: var(--on-ink-fill); }

/* FAQ (widget Accordéon) */
.ms-faq .elementor-accordion-item { border: 0; border-top: 1px solid var(--line); }
.ms-faq .elementor-accordion-item:last-child { border-bottom: 1px solid var(--line); }
.ms-faq .elementor-tab-title { padding: 22px 0; font: 500 18px/26px var(--font-sans); letter-spacing: -.01em; color: var(--ink); }
.ms-faq .elementor-tab-content { padding: 0 0 22px; font-size: 16px; line-height: 26px; color: var(--ink-muted); border: 0; }

/* --- En-tête et pied de page ------------------------------------------ */
.ms-nav { background: var(--page); border-bottom: 1px solid var(--line); }
.ms-nav .hfe-nav-menu a.hfe-menu-item { height: 40px; padding: 0 12px; border-radius: 999px; font: 500 14px/1 var(--font-sans); color: var(--ink-muted); }
.ms-nav .hfe-nav-menu a.hfe-menu-item:hover { color: var(--ink); background: var(--card-sunken); }
.ms-nav .hfe-nav-menu .current-menu-item > a.hfe-menu-item { color: var(--ink); background: var(--card); box-shadow: var(--shadow-raised); }
.ms-foot { background: var(--night); color: var(--on-night); padding: 80px 0 36px; }
.ms-foot a { color: var(--on-night-muted); }
.ms-foot a:hover { color: var(--on-night); }

/* --- Formulaire Fluent Forms (page Book a demo) ------------------------ */
.ms-form .ff-el-input--label label { font: 500 14px/20px var(--font-sans); color: var(--ink); }
.ms-form .ff-el-form-control { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--card); color: var(--ink); font: 400 14px/20px var(--font-sans); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 160ms ease; }
.ms-form textarea.ff-el-form-control { height: auto; min-height: 104px; padding: 12px 16px; border-radius: 12px; }
.ms-form .ff-el-form-control:hover { box-shadow: inset 0 0 0 1px var(--ink-faint); }
.ms-form .ff-el-form-control:focus { box-shadow: inset 0 0 0 2px var(--ink); outline: 0; }
.ms-form .ff-btn-submit { height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink-fill); color: var(--on-ink-fill); font: 500 15px/1 var(--font-sans); }
.ms-form .ff-btn-submit:hover { background: color-mix(in srgb, var(--ink-fill) 84%, var(--violet)); }
.ms-badge .elementor-heading-title { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 12px; border-radius: 999px; background: #FCE7FF; color: #B02AC4; font: 500 12px/16px var(--font-sans); }
.ms-night .ms-badge .elementor-heading-title { background: #2B1533; color: #EA84FF; box-shadow: 0 0 0 1px rgba(229, 55, 255, .35), 0 12px 32px -12px rgba(229, 55, 255, .55); }
.ms-status { display: inline-flex; align-items: center; height: 24px; padding: 0 12px; border-radius: 999px; background: var(--positive-soft); color: var(--positive); font: 500 12px/16px var(--font-sans); }

@media (max-width: 767px) {
  .ms-card { padding: 22px; }
  .ms-cta { padding: 48px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-card--link, .ms-btn .elementor-button, .ms-link .elementor-button svg { transition: none; }
  .ms-card--link:hover { transform: none; }
}
/* =========================================================================
 * Modley : en-tete et pied de page en HTML (scripts-staging/header.html, footer.html).
 * Bloc a ajouter A LA FIN de assets/css/modley.css (apres validation).
 * Valeurs reprises du CSS du design (preview.html de header-navigation et footer).
 * Legende des commentaires :
 *   [nouveau]  : regle du design, aucun conflit connu.
 *   [Hello]    : neutralise aussi un style de base de Hello Elementor (reset.css), cite entre parentheses.
 *   [kit]      : neutralise aussi une typographie globale du kit Elementor.
 * ========================================================================= */

/* --- Variables du design absentes de modley.css -------------------------- */
/* [nouveau] */
:root { --site-max: 1200px; --site-pad: 32px; --motion-micro: 160ms; --ease-in-out: cubic-bezier(.65, 0, .35, 1); }
/* [nouveau] */
@media (max-width: 720px) { :root { --site-pad: 20px; } }

/* --- Commun ----------------------------------------------------------------- */
/* [Hello] (a { text-decoration: none } existe deja ; la regle print « a { underline } » n'est pas visee) */
.ms-nav a, .ms-foot a { text-decoration: none; }
/* [nouveau] emplacement reserve du selecteur de langue : masque tant qu'il est vide */
.ms-lang:empty { display: none; }

/* --- En-tete ---------------------------------------------------------------- */
/* [nouveau] */
.ms-nav__in { display: flex; align-items: center; gap: 16px; height: 72px; width: 100%; max-width: calc(var(--site-max) + 2 * var(--site-pad)); margin: 0 auto; padding: 0 var(--site-pad); }
/* [nouveau] */
.ms-nav__logo { display: inline-flex; align-items: center; height: 44px; }
/* [Hello] (img { height: auto; max-width: 100% }) */
.ms-nav__logo img { height: 28px; width: auto; max-width: none; display: block; }
/* [nouveau] */
.ms-nav__links { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
/* [Hello] (a { color: #c36 }) */
.ms-nav .ms-nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; color: var(--ink-muted); transition: color var(--motion-micro) ease, background-color var(--motion-micro) ease; }
/* [Hello] (a:hover { color: #336 }) */
.ms-nav .ms-nav__link:hover { color: var(--ink); background: var(--card-sunken); }
/* [nouveau] */
.ms-nav .ms-nav__link.is-active { color: var(--ink); background: var(--card); box-shadow: var(--shadow-raised); }
/* [Hello] (img { height: auto; max-width: 100% }) */
.ms-nav__metam img { height: 13px; width: auto; max-width: none; display: block; }
/* [nouveau] */
.ms-nav__end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
/* [Hello] (button { border: 1px solid #c36; border-radius: 3px; color: #c36; padding: .5rem 1rem; display: inline-block; transition: all .3s }) */
.ms-nav .ms-nav__burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; transition: none; }
/* [Hello] (button:hover, button:focus { background-color: #c36; color: #fff }) */
.ms-nav .ms-nav__burger:hover, .ms-nav .ms-nav__burger:focus { background: var(--card); color: var(--ink); }
/* [Hello] (button:focus:not(:focus-visible) { outline: none } : on garde un contour visible au clavier) */
.ms-nav .ms-nav__burger:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* [nouveau] */
.ms-nav__burger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
/* [nouveau] */
.ms-nav__mobile { display: flex; flex-direction: column; gap: 2px; padding: 8px var(--site-pad) 20px; border-top: 1px solid var(--line); }
/* [nouveau] indispensable : sans elle, display:flex ci-dessus annulerait l'attribut hidden */
.ms-nav__mobile[hidden] { display: none; }
/* [Hello] (a { color: #c36 } et a:hover { color: #336 }) */
.ms-nav .ms-nav__mobile > a, .ms-nav .ms-nav__mobile > a:hover { display: flex; align-items: center; height: 48px; font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
/* [Hello] (img { height: auto; max-width: 100% }) ; remplace le style en ligne du design */
.ms-nav .ms-nav__metam-m { height: 15px; width: auto; max-width: none; display: block; }
/* [nouveau] remplace le style en ligne du design (padding-top 16px, space-between) */
.ms-nav__mobile-end { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; }
/* [nouveau] au-dessus de 1140 px : liens centres, pas de panneau mobile */
@media (min-width: 1141px) { .ms-nav__links { margin-left: auto; margin-right: auto; } .ms-nav__end { margin-left: 0; } .ms-nav__mobile { display: none !important; } }
/* [nouveau] jusqu'a 1140 px : burger */
@media (max-width: 1140px) { .ms-nav__links { display: none !important; } .ms-nav .ms-nav__burger { display: inline-flex; } }

/* Bouton en lien simple : les regles existantes de modley.css visent .ms-btn .elementor-button */
/* [Hello] (a { color: #c36 }) */
.ms-nav a.ms-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--radius-pill); font: 500 15px/1 var(--font-sans); white-space: nowrap; transition: background-color var(--motion-micro) ease, transform var(--motion-micro) ease; }
/* [nouveau] */
.ms-nav a.ms-btn--sm { height: 44px; padding: 0 18px; font-size: 14px; }
/* [Hello] (a:hover { color: #336 }) */
.ms-nav a.ms-btn--primary, .ms-nav a.ms-btn--primary:hover { background: var(--ink-fill); color: var(--on-ink-fill); }
/* [nouveau] */
.ms-nav a.ms-btn--primary:hover { background: color-mix(in srgb, var(--ink-fill) 84%, var(--violet)); }
/* [nouveau] */
.ms-nav a.ms-btn:active { transform: scale(.97); }
/* [Hello] (a:focus:not(:focus-visible) { outline: none } : contour clavier conserve) */
.ms-nav a.ms-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* --- Pied de page ------------------------------------------------------------ */
/* [nouveau] */
.ms-wrap { width: 100%; max-width: calc(var(--site-max) + 2 * var(--site-pad)); margin: 0 auto; padding: 0 var(--site-pad); }
/* [nouveau] */
.ms-foot__top { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px; }
/* [nouveau] remplace le style en ligne du design (gap 18px) */
.ms-foot__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
/* [Hello] (img { height: auto; max-width: 100% }) */
.ms-foot__brand img { height: 30px; width: auto; max-width: none; display: block; }
/* [Hello] (p { margin-block-end: .9rem }) ; remplace le style en ligne du design (couleur, largeur max) */
.ms-foot .ms-small { margin: 0; max-width: 300px; color: var(--on-night-muted); }
/* [Hello] (a { color: #c36 } et a:hover { color: #336 }) ; remplace le style en ligne du design */
.ms-foot a.ms-link, .ms-foot a.ms-link:hover { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--on-night); }
/* [Hello] (h4 { font-size: 1.5rem; margin-block: .5rem 1rem; line-height: 1.2 }) [kit] (typographie H4 : 18 px, graisse 600) */
.ms-foot .micro { margin: 0 0 16px; font: 600 11px/14px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-muted); }
/* [nouveau] */
.ms-foot__col { display: flex; flex-direction: column; gap: 12px; }
/* [Hello] (a { color: #c36 }) ; passe aussi devant .ms-foot a de modley.css */
.ms-foot .ms-foot__col a { font-size: 14px; line-height: 20px; color: var(--on-night); opacity: .82; transition: opacity var(--motion-micro) ease; }
/* [Hello] (a:hover { color: #336 }) */
.ms-foot .ms-foot__col a:hover { color: var(--on-night); opacity: 1; }
/* [nouveau] */
.ms-builds { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
/* [nouveau] */
.ms-builds__line { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
/* [Hello] (img { height: auto; max-width: 100% }) */
.ms-foot .ms-builds__metam, .ms .ms-builds__metam { height: 24px; width: auto; max-width: none; display: block; }
/* [nouveau] */
.ms-builds__word { font-size: 22px; line-height: 30px; font-weight: 500; letter-spacing: -.02em; color: var(--on-night-muted); }
/* [nouveau] */
.ms-reel { position: relative; height: 34px; width: 150px; overflow: hidden; }
/* [nouveau] */
.ms-reel__track { display: flex; flex-direction: column; animation: ms-reel 9s var(--ease-in-out) infinite; }
/* [nouveau] */
.ms-reel__track span { display: flex; align-items: center; height: 34px; }
/* [Hello] (img { height: auto; max-width: 100% }) */
.ms-reel__track img { height: 28px; width: auto; max-width: none; display: block; }
/* [nouveau] */
@keyframes ms-reel { 0%, 24% { transform: translateY(0); } 33%, 57% { transform: translateY(-34px); } 66%, 90% { transform: translateY(-68px); } 100% { transform: translateY(-102px); } }
/* [nouveau] */
.ms-foot__base { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; color: var(--on-night-muted); font-size: 13px; }
/* [nouveau] */
.ms-foot__base nav { display: flex; gap: 20px; flex-wrap: wrap; }
/* [Hello] (a { color: #c36 }) */
.ms-foot .ms-foot__base a { color: var(--on-night-muted); }
/* [Hello] (a:hover { color: #336 }) */
.ms-foot .ms-foot__base a:hover { color: var(--on-night); }
/* [nouveau] sous 981 px : colonne marque sur toute la largeur, liens sur deux colonnes */
@media (max-width: 980px) { .ms-foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ms-foot__brand { grid-column: 1 / -1; } }

/* --- Animations reduites ------------------------------------------------------ */
/* [nouveau] respecte le reglage systeme « reduire les animations » */
@media (prefers-reduced-motion: reduce) {
  .ms-reel__track { animation: none; }
  .ms-nav .ms-nav__link, .ms-nav a.ms-btn, .ms-foot .ms-foot__col a { transition: none; }
}

/* Sélecteur de langue (Polylang, rendu par functions.php dans les emplacements .ms-lang des modèles 160 et 168) :
   segment .hc-seg du design, avec des liens au lieu des <button aria-pressed> (écart validé). Valeurs du design ;
   seule valeur ajoutée : text-decoration:none sur les liens. Spécificité 0,2,0 (conteneur) et 0,3,1 (liens) : passe
   devant Hello (a:hover, a:visited : 0,1,1) et .ms-foot a:hover (0,2,1), sans !important. */
.ms-lang.hc-seg { position: relative; display: inline-flex; gap: 2px; padding: 3px; background: var(--card-sunken); border-radius: var(--radius-pill); }
.ms-lang.hc-seg a[href] { position: relative; z-index: 1; appearance: none; border: 0; background: transparent; font: inherit; color: var(--ink-muted); padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); cursor: pointer; transition: color var(--motion-micro) ease; text-decoration: none; }
.ms-lang.hc-seg a[aria-current="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-raised); }
.ms-lang.hc-seg--night { background: var(--night-line); }
.ms-lang.hc-seg--night a[href] { color: var(--on-night-muted); }
.ms-lang.hc-seg--night a[aria-current="true"] { background: var(--night-raised); color: var(--on-night); box-shadow: none; }

/* Bouton « Retour en haut » (créé par modley.js sur toutes les pages). Absent du design : couleurs, rayon et anneau
   repris de ses jetons (barre .ms-capbar). 48 px (cible tactile), coin bas droit, zones sûres des mobiles.
   Spécificité 0,1,2 et 0,2,2 : passe devant les boutons du kit Elementor (0,1,1 et 0,2,1), sans !important. */
body button.modley-haut { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: var(--radius-pill); background: var(--night); color: var(--on-night); box-shadow: inset 0 0 0 1px rgba(161, 140, 255, .32), 0 12px 28px rgba(23, 20, 42, .28); cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity 200ms ease, transform 200ms ease, background-color 160ms ease; }
body button.modley-haut.is-on { opacity: 1; transform: none; }
body button.modley-haut[hidden] { display: none; }
body button.modley-haut:hover, body button.modley-haut:focus { background: var(--night-raised); color: var(--on-night); }
body button.modley-haut:focus-visible { outline: 2px solid var(--violet-light); outline-offset: 2px; }
body button.modley-haut svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: 0; }
@media (max-width: 767px) { body button.modley-haut { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { body button.modley-haut { transition: none; transform: none; } }
@media print { body button.modley-haut { display: none; } }
