/* ==========================================================================
   FRENCHISME — Feuille de style principale
   --------------------------------------------------------------------------
   1. Polices & jetons (clair / sombre)   6. Accueil
   2. Base                                7. Pages intérieures
   3. Mise en page                        8. Formulaires, connexion
   4. Composants                          9. Chat, animations, responsive
   5. Header, menus, footer
   ========================================================================== */

/* 1. Polices & jetons ------------------------------------------------------ */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  /* Couleurs du logo */
  --violet: #9e11d0;
  --rose: #ff3766;
  --orange: #ffab02;
  --brand-ink: #1f1e1f;
  --grad: linear-gradient(115deg, var(--violet) 0%, var(--rose) 52%, var(--orange) 100%);
  --grad-loop: linear-gradient(115deg, var(--violet), var(--rose), var(--orange), var(--rose), var(--violet));

  /* Surfaces et texte (mode clair) */
  --bg: #ffffff;
  --bg-soft: #faf7fc;
  --surface: #ffffff;
  --surface-2: #f5f1f8;
  --glass: rgba(255, 255, 255, 0.76);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.9);
  --text: #1f1e1f;
  --text-2: #4a4650;
  --text-3: #6e6976;
  --line: #ece8f0;
  --line-strong: #dcd6e2;
  --logo-ink: #1f1e1f;
  --night: #140f17;
  --on-dark-2: rgba(255, 255, 255, 0.72);
  --on-dark-line: rgba(255, 255, 255, 0.12);
  --focus: color-mix(in srgb, var(--violet) 30%, transparent);

  /* Teintes dérivées du logo */
  --violet-50: #f7ecfc;
  --violet-100: #eed6f8;
  --rose-50: #fff0f3;
  --rose-100: #ffdbe3;
  --orange-50: #fff7e6;
  --orange-100: #ffe8b8;
  --violet-ink: #7a0aa3;
  --rose-ink: #c8143f;
  --orange-ink: #8f5500;

  --shadow-sm: 0 1px 2px rgba(20, 15, 23, 0.05), 0 2px 8px -2px rgba(20, 15, 23, 0.06);
  --shadow-md: 0 2px 4px rgba(20, 15, 23, 0.04), 0 18px 40px -18px rgba(20, 15, 23, 0.22);
  --shadow-lg: 0 30px 80px -30px rgba(80, 10, 110, 0.35);
  --shadow-glow: 0 18px 50px -14px color-mix(in srgb, var(--rose) 55%, transparent);
  --aura-strength: 1;

  /* Typographie */
  --f-display: "Clash Display", "Inter", ui-sans-serif, system-ui, sans-serif;
  --f-text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-md: 1.1875rem;
  --t-lg: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem);
  --t-xl: clamp(1.85rem, 1.4rem + 1.4vw, 2.7rem);
  --t-2xl: clamp(2.3rem, 1.6rem + 2.5vw, 3.8rem);
  --t-hero: clamp(2.6rem, 1.5rem + 4vw, 5.2rem);

  /* Structure */
  --container: 1520px;
  --gutter: clamp(18px, 3.4vw, 56px);
  --gap: clamp(16px, 1.8vw, 24px);
  --s-section: clamp(4.5rem, 2.8rem + 5.6vw, 8rem);
  --hh: 104px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --check: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-7.5'/%3E%3C/svg%3E");
}

/* Mode sombre : activé par le bouton (data-theme) ou, par défaut, par le système */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0b12;
  --bg-soft: #150f19;
  --surface: #1a1320;
  --surface-2: #221a29;
  --glass: rgba(26, 19, 32, 0.72);
  --glass-strong: rgba(26, 19, 32, 0.92);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text: #f5f2f7;
  --text-2: #c9c2cf;
  --text-3: #9d95a5;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --logo-ink: #ffffff;
  --night: #0a070c;
  --focus: color-mix(in srgb, var(--rose) 40%, transparent);
  --violet-50: #1f1228;
  --violet-100: #2b1638;
  --rose-50: #26111a;
  --rose-100: #351521;
  --orange-50: #251a0d;
  --orange-100: #332410;
  --violet-ink: #e2a6f7;
  --rose-ink: #ff9bb2;
  --orange-ink: #ffcf73;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --aura-strength: 0.75;
}

/* 2. 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(--hh) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-text);
  font-size: var(--t-base);
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 8px;
}
::selection { background: color-mix(in srgb, var(--rose) 22%, transparent); }
main { display: block; }
main:focus { outline: none; }
[hidden] { display: none !important; }
p { text-wrap: pretty; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 10px 16px; background: var(--brand-ink); color: #fff; border-radius: var(--r-sm);
  transform: translateY(-200%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* Logo intégré : le nom suit la couleur du thème, le symbole garde son dégradé */
.logo { display: block; height: auto; }
.logo__word { fill: var(--logo-ink); transition: fill 0.4s var(--ease); }

/* Coordonnée non renseignée : visible et honnête, jamais inventée. */
.to-config {
  color: var(--text-3);
  font-style: italic;
  font-weight: 400;
  border-bottom: 1px dashed currentColor;
}
.section--night .to-config, .cta .to-config, .login__side .to-config { color: var(--on-dark-2); }

/* Mots forts des titres : Clash Display */
.kw {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.grad-text {
  background: var(--grad-loop);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: gradShift 9s ease-in-out infinite alternate;
}

/* 3. Mise en page ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: var(--s-section); }
.section--tint { background: var(--bg-soft); }
.section--flush-top { padding-top: 0; }
.section--night { background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.section:not(.section--tint):not(.section--night) + .section:not(.section--tint):not(.section--night) { padding-top: 0; }

/* Halo de couleurs : trois sphères floutées qui dérivent lentement. */
.aura { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: var(--aura-strength); }
.aura span { position: absolute; border-radius: 50%; filter: blur(90px); animation: drift 22s ease-in-out infinite alternate; }
.aura span:nth-child(1) { width: 560px; height: 560px; background: var(--violet); top: -180px; right: 6%; opacity: 0.3; }
.aura span:nth-child(2) { width: 460px; height: 460px; background: var(--rose); top: 140px; right: 30%; opacity: 0.22; animation-duration: 26s; animation-delay: -6s; }
.aura span:nth-child(3) { width: 420px; height: 420px; background: var(--orange); top: 280px; right: -120px; opacity: 0.3; animation-duration: 30s; animation-delay: -12s; }
.aura--soft span:nth-child(1) { top: -340px; opacity: 0.2; }
.aura--soft span:nth-child(2) { top: -220px; opacity: 0.14; }
.aura--soft span:nth-child(3) { top: -120px; opacity: 0.2; }
.aura--night { opacity: 1; }
.aura--night span:nth-child(1) { opacity: 0.45; top: -200px; left: -160px; right: auto; }
.aura--night span:nth-child(2) { opacity: 0.32; top: auto; bottom: -220px; right: 10%; }
.aura--night span:nth-child(3) { opacity: 0.22; top: 30%; right: -200px; }

/* 4. Composants ------------------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--violet-50);
  color: var(--violet-ink);
}
.badge--rose { background: var(--rose-50); color: var(--rose-ink); }
.badge--orange { background: var(--orange-50); color: var(--orange-ink); }
.badge--night { background: var(--surface-2); color: var(--text); }
.badge--mix { background: linear-gradient(90deg, var(--violet-50), var(--orange-50)); color: var(--text); }
.badge--lang { background: transparent; border: 1px solid var(--line-strong); color: var(--text-3); height: 22px; padding: 0 7px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-s {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Pictogrammes en pastille */
.ico {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--violet) 55%, transparent);
}
.ico .icon { width: 24px; height: 24px; stroke-width: 1.7; }
.ico--sm { width: 30px; height: 30px; border-radius: 9px; }
.ico--sm .icon { width: 16px; height: 16px; }
.ico--lg { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 24px; }
.ico--lg .icon { width: 28px; height: 28px; }
.ico--violet { background: linear-gradient(135deg, color-mix(in srgb, var(--violet) 72%, #fff), var(--violet)); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--violet) 60%, transparent); }
.ico--rose { background: linear-gradient(135deg, color-mix(in srgb, var(--rose) 75%, #fff), var(--rose)); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--rose) 60%, transparent); }
.ico--orange { background: linear-gradient(135deg, color-mix(in srgb, var(--orange) 75%, #fff), var(--orange)); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--orange) 60%, transparent); }
.ico--night { background: linear-gradient(135deg, color-mix(in srgb, var(--brand-ink) 78%, #fff), var(--brand-ink)); box-shadow: 0 10px 24px -10px rgba(20, 15, 23, 0.6); }
.ico--mix { background: var(--grad); }
.ico--glass { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--on-dark-line); box-shadow: none; }

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background 0.25s, border-color 0.25s, transform 0.4s var(--ease-back);
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--text-3); }
.theme-toggle .theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
.theme-toggle:active { transform: rotate(-30deg) scale(0.92); }

/* Boutons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: var(--t-sm);
  font-weight: 600;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s, background-position 0.8s var(--ease);
}
.btn .icon { transition: transform 0.4s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--grad { color: #fff; background: var(--grad-loop); background-size: 300% 100%; background-position: 0% 50%; box-shadow: var(--shadow-glow); }
.btn--grad:hover { background-position: 100% 50%; box-shadow: 0 22px 55px -14px color-mix(in srgb, var(--violet) 60%, transparent); }
.btn--grad::after, .btn--white::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn--grad:hover::after, .btn--white:hover::after { transform: translateX(120%); }
.btn--glass { background: var(--glass); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--text); }
.btn--glass:hover { border-color: var(--text); background: var(--surface); }
.btn--white { background: #fff; color: #1f1e1f; box-shadow: 0 16px 40px -14px rgba(20, 15, 23, 0.5); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn__spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.is-loading .btn__spinner { display: inline-block; }
.is-loading { pointer-events: none; }
.is-loading .btn__label { opacity: 0.75; }

/* Lien fléché */
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--t-sm); font-weight: 600; }
.link-arrow .icon { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--text); color: var(--bg); transition: transform 0.45s var(--ease-back), background 0.3s; }
.link-arrow:hover .icon { transform: translateX(4px) rotate(-45deg); background: var(--rose); color: #fff; }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.4s var(--ease); }
.link-arrow:hover span { background-size: 100% 1.5px; }

/* Effet « projecteur » : un halo suit le pointeur sur les cartes */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.6), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
:root[data-theme="dark"] .spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--rose) 12%, transparent), transparent 60%); }
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* En-tête de section : titre (Inter, mots forts en Clash) et texte */
.shead {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px var(--gap);
  align-items: end;
  margin-bottom: clamp(2.5rem, 1.6rem + 2.6vw, 4rem);
}
.shead__title {
  font-weight: 700;
  font-size: var(--t-xl);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 17em;
}
.shead__aside { display: grid; gap: 20px; justify-items: start; color: var(--text-2); }
.shead__aside p { max-width: 46ch; }
/* Titre seul sur sa ligne, texte et lien en dessous sur toute la largeur */
.shead--stack { grid-template-columns: minmax(0, 1fr); }
.shead--stack .shead__title { max-width: none; }
.shead--stack .shead__aside { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.shead--stack .shead__aside p { max-width: 72ch; }
/* Lien seul : calé tout à droite */
.shead--link-only { align-items: center; }
.shead--link-only .shead__aside { justify-items: end; }

/* Fil d'Ariane */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0 0 28px; font-size: var(--t-xs); font-weight: 500; }
.crumbs li { display: flex; align-items: center; gap: 4px; color: var(--text-3); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-inline: 4px 8px; opacity: 0.6; }
.crumbs a { padding: 5px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); transition: border-color 0.2s, color 0.2s; }
.crumbs a:hover { border-color: var(--text); color: var(--text); }
.crumbs [aria-current] { color: var(--text); }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--text); color: var(--text); transform: translateY(-2px); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { border-color: transparent; color: #fff; background: var(--grad); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--rose) 70%, transparent); }

.notice {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-block: 28px 8px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: linear-gradient(90deg, var(--violet-50), var(--rose-50), var(--orange-50));
  color: var(--text-2);
  font-size: var(--t-sm);
}
.notice::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }
.notice:empty { display: none; }
.inline-list { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* 5. Header ---------------------------------------------------------------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }

.hdr { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding-inline: clamp(12px, 1.6vw, 28px); transition: transform 0.5s var(--ease); }
.hdr.is-hidden { transform: translateY(calc(-100% - 24px)); }
.hdr__bar {
  position: relative;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 12px 0 30px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px -16px rgba(20, 15, 23, 0.22);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  transition: background 0.4s, box-shadow 0.4s;
}
.hdr.is-scrolled .hdr__bar { background: var(--glass-strong); }
.hdr__brand { justify-self: start; }
.hdr__brand .logo { width: 156px; }

/* Navigation principale : liens simples, menus déroulants */
.hdr__menu { display: flex; align-items: center; gap: clamp(4px, 1vw, 14px); list-style: none; margin: 0; padding: 0; }
.hdr__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s, background 0.25s;
}
.hdr__link:hover, .dd.is-open .dd__btn { color: var(--text); background: var(--surface-2); }
.hdr__link[aria-current="page"], .hdr__link.is-current { color: var(--text); font-weight: 600; }
.hdr__link[aria-current="page"]::after, .hdr__link.is-current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 16px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
  transform: translateX(-50%);
}
.dd__btn .icon { transition: transform 0.35s var(--ease); }
.dd.is-open .dd__btn .icon { transform: rotate(180deg); }

.dd { position: relative; }
.dd__panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 10;
  width: 360px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(20, 15, 23, 0.35), 0 2px 6px rgba(20, 15, 23, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0.3s;
}
.dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.dd.is-open .dd__panel, .dd:focus-within .dd__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.dd__panel--wide { width: min(680px, 92vw); }
.dd__title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.dd__aside { font-size: var(--t-xs); font-weight: 600; color: var(--text-2); }
.dd__grid { display: grid; grid-template-columns: 1fr 1fr; padding: 10px; }
.dd__list { display: grid; padding: 10px; }
.dd__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  transition: background 0.25s;
}
.dd__text { display: grid; gap: 3px; }
.dd__text strong { font-size: 1rem; font-weight: 650; letter-spacing: -0.01em; }
.dd__text span { font-size: 0.84375rem; color: var(--text-3); line-height: 1.4; }
.dd__item .icon { color: var(--text-2); transition: transform 0.35s var(--ease), color 0.25s; }
.dd__item:hover { background: var(--surface-2); }
.dd__item:hover .icon { transform: translateX(4px); color: var(--rose); }
.dd__foot { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; border-top: 1px solid var(--line); font-size: var(--t-sm); font-weight: 600; transition: background 0.25s; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.dd__foot:hover { background: var(--surface-2); }
.dd__foot .icon { transition: transform 0.35s var(--ease); }
.dd__foot:hover .icon { transform: translateX(4px); }

.hdr__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.hdr__actions .btn--sm { height: 48px; padding: 0 22px; margin-left: 6px; }
.hdr__client { display: inline-flex; align-items: center; gap: 8px; padding: 0 8px; font-size: 0.9375rem; font-weight: 500; color: var(--text-2); transition: color 0.2s; white-space: nowrap; }
.hdr__client:hover, .hdr__client[aria-current="page"] { color: var(--text); }
.hdr__mobile-actions { display: none; align-items: center; gap: 8px; justify-self: end; }

/* Sélecteur de langue */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.8125rem; font-weight: 600; transition: background 0.25s, border-color 0.25s; }
.lang__btn:hover, .lang.is-open .lang__btn { background: var(--surface-2); border-color: var(--text-3); }
.lang__btn .icon--xs { transition: transform 0.3s var(--ease); }
.lang.is-open .lang__btn .icon--xs { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  min-width: 200px;
  padding: 8px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  animation: fadeDown 0.3s var(--ease);
}
.lang__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: var(--t-sm); font-weight: 500; transition: background 0.2s; }
.lang__menu a:hover { background: var(--surface-2); }
.lang__menu a[aria-current] { font-weight: 700; }
.lang__menu a[aria-current]::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.lang__code { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 6px; background: var(--surface-2); font-size: 0.6875rem; font-weight: 700; color: var(--text-2); }

.burger { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--text); transition: background 0.3s; }
.burger__lines { position: relative; width: 18px; height: 10px; }
.burger__lines span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--bg); transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.burger__lines span:first-child { top: 0; }
.burger__lines span:last-child { top: 8px; }
.burger[aria-expanded="true"] { background: var(--rose); }
.burger[aria-expanded="true"] .burger__lines span { background: #fff; }
.burger[aria-expanded="true"] .burger__lines span:first-child { top: 4px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:last-child { top: 4px; transform: rotate(-45deg); }

/* Menu mobile */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 50px) 50px);
  transition: clip-path 0.7s var(--ease);
}
.mnav.is-open { clip-path: circle(150% at calc(100% - 50px) 50px); }
.mnav__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: calc(var(--hh) + 12px) var(--gutter) 32px; }
.mnav__links > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i) * 50ms + 150ms); }
.mnav.is-open .mnav__links > li { opacity: 1; transform: none; }
.mnav__link, .mnav__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding-block: 16px; font-size: clamp(1.5rem, 6.5vw, 2rem); font-weight: 700; letter-spacing: -0.03em; text-align: left; }
.mnav__link .icon, .mnav__toggle .icon { width: 24px; height: 24px; color: var(--text-3); transition: transform 0.35s var(--ease); }
.mnav__toggle[aria-expanded="true"] .icon { transform: rotate(45deg); color: var(--rose); }
.mnav__link[aria-current="page"] span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mnav__sub { display: grid; gap: 4px; padding-bottom: 14px; animation: fadeDown 0.35s var(--ease); }
.mnav__sub a { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--bg-soft); }
.mnav__sub strong { font-weight: 600; }
.mnav__sub span { font-size: var(--t-xs); color: var(--text-3); }
.mnav__sub span:empty { display: none; }
.mnav__foot { display: grid; gap: 16px; color: var(--text-3); font-size: var(--t-sm); }
.mnav__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mnav .lang__menu { top: auto; bottom: calc(100% + 10px); left: 0; right: auto; }

/* Footer */
.ftr { position: relative; z-index: 5; background: var(--bg-soft); padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 28px; isolation: isolate; } /* sans overflow:hidden : le menu des langues peut dépasser */
.ftr::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse 70% 60% at 80% 115%, color-mix(in srgb, var(--violet) 12%, transparent), color-mix(in srgb, var(--rose) 7%, transparent) 50%, transparent);
  pointer-events: none;
}
.ftr__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(32px, 6vw, 120px); }
.ftr__logo { display: inline-block; }
.ftr__logo .logo { width: 176px; transition: transform 0.4s var(--ease-back); }
.ftr__logo:hover .logo { transform: scale(1.03); }
.ftr__brand > p { margin-top: 22px; max-width: 42ch; color: var(--text-2); font-size: var(--t-sm); }
.ftr__contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ftr__pill { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 7px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: var(--t-sm); font-weight: 600; transition: border-color 0.3s, transform 0.3s var(--ease); }
.ftr__pill .ico { border-radius: 50%; box-shadow: none; }
a.ftr__pill:hover { border-color: var(--text-3); transform: translateY(-2px); }
.ftr__social { margin-top: 32px; }
.ftr__social-title { font-size: var(--t-xs); font-weight: 700; color: var(--text-3); margin-bottom: 12px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-back), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.social__abbr { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.01em; color: var(--text); transition: color 0.3s; }
.social img { width: 20px; height: 20px; }
.social .fa-icon { width: 18px; height: 18px; fill: currentColor; color: var(--text); transition: color 0.3s; }
a.social:hover .fa-icon { color: #fff; }
.social.is-empty .fa-icon { color: var(--text-3); }
a.social:hover { transform: translateY(-3px) rotate(-6deg); border-color: transparent; background: var(--grad); box-shadow: var(--shadow-glow); }
a.social:hover .social__abbr { color: #fff; }
a.social:hover img { filter: brightness(0) invert(1); }
.social.is-empty { border-style: dashed; }
.social.is-empty .social__abbr { color: var(--text-3); }
.ftr__note { margin-top: 10px; font-size: var(--t-xs); }
.ftr__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); }
.ftr__langs .lang { display: inline-block; }
.ftr__langs .lang__btn { height: 46px; padding: 0 16px; background: var(--surface); gap: 10px; font-size: var(--t-sm); }
.ftr__langs .lang__menu { top: auto; bottom: calc(100% + 10px); left: 0; right: auto; }
.ftr__langs .lang__menu a { color: var(--text); }
.ftr__langs .lang__menu a::before { display: none; }
.ftr__col h2 { font-size: var(--t-xs); font-weight: 700; color: var(--text-3); margin-bottom: 18px; }
.ftr__col ul { display: grid; gap: 12px; }
.ftr__col a, .ftr__col li { font-size: var(--t-sm); color: var(--text-2); }
.ftr__col a { display: inline-flex; align-items: center; transition: color 0.25s; }
.ftr__col a::before { content: ""; width: 0; height: 6px; margin-right: 0; border-radius: 50%; background: var(--grad); transition: width 0.3s var(--ease), margin 0.3s var(--ease); }
.ftr__col a:hover { color: var(--text); }
.ftr__col a:hover::before { width: 6px; margin-right: 8px; }
.ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: clamp(3rem, 2rem + 2vw, 4rem); padding-top: 24px; border-top: 1px solid var(--line-strong); font-size: var(--t-xs); color: var(--text-3); }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr__legal a:hover { color: var(--text); }
.ftr__tools { display: flex; align-items: center; gap: 10px; }
/* Réserve la place du bouton de chat, fixé en bas à droite */
.ftr__bottom { padding-right: 170px; }

/* Bouton « haut de page » : un bouton rond, l'anneau se remplit avec le défilement */
.totop { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: var(--shadow-md); transition: transform 0.45s var(--ease-back), background 0.3s, color 0.3s; }
.totop__btn { display: contents; }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke: var(--line-strong); stroke-width: 2.5; transition: stroke 0.3s; }
.totop__ring .totop__fill { stroke: var(--rose); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); transition: stroke-dashoffset 0.2s linear; }
.totop__icon { position: relative; width: 20px; height: 20px; transform: rotate(180deg); transition: transform 0.45s var(--ease); }
.totop:hover { transform: translateY(-4px); background: var(--grad); color: #fff; }
.totop:hover .totop__ring circle { stroke: transparent; }
.totop:hover .totop__icon { transform: rotate(180deg) translateY(2px); }

/* 6. Accueil --------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--hh) + clamp(2rem, 1rem + 4vw, 5rem)) 0 clamp(4rem, 2rem + 5vw, 7rem);
  min-height: min(100svh, 960px);
  display: flex;
  align-items: center;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero__title {
  font-weight: 700;
  font-size: var(--t-hero);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__title .kw { display: inline; letter-spacing: -0.03em; }
.hero__text { margin-top: 28px; max-width: 36em; font-size: var(--t-md); line-height: 1.6; color: var(--text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__proofs { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; font-size: var(--t-sm); font-weight: 600; color: var(--text-2); }
.hero__proofs li { display: flex; align-items: center; gap: 8px; }
.hero__proofs .icon { color: var(--rose); }

.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.orb { position: absolute; inset: 12%; display: grid; place-items: center; transition: transform 0.6s var(--ease); }
.orb__ring { position: absolute; inset: -2%; border-radius: 50%; background: conic-gradient(from 0deg, var(--violet), var(--rose), var(--orange), var(--rose), var(--violet)); filter: blur(36px); opacity: 0.55; animation: spin 14s linear infinite; }
.orb__glass {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.62) 55%, rgba(255, 255, 255, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.8), var(--shadow-lg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
:root[data-theme="dark"] .orb__glass { background: radial-gradient(circle at 30% 25%, rgba(60, 44, 70, 0.9), rgba(30, 22, 36, 0.7) 55%, rgba(20, 15, 23, 0.6)); border-color: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.05), var(--shadow-lg); }
.orb__glass::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--violet) 28%, transparent); animation: spin 60s linear infinite reverse; }
.orb__sym { width: 44%; filter: drop-shadow(0 18px 30px color-mix(in srgb, var(--rose) 35%, transparent)); animation: bob 6s ease-in-out infinite; }
.hero__tags { position: absolute; inset: 0; }
.ftag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.6s var(--ease), box-shadow 0.3s;
}
.ftag:hover { box-shadow: var(--shadow-lg); }
.ftag .ico { transition: transform 0.4s var(--ease-back); }
.ftag:hover .ico { transform: rotate(-10deg) scale(1.1); }
.ftag--1 { top: 6%; left: 0; }
.ftag--2 { top: 24%; right: -4%; }
.ftag--3 { bottom: 22%; left: -6%; }
.ftag--4 { bottom: 4%; right: 6%; }

/* Rubans de prestations croisés */
.ribbons { position: relative; height: clamp(170px, 16vw, 230px); overflow: hidden; }
.ribbon { position: absolute; left: -10%; right: -10%; top: 50%; padding-block: 18px; overflow: hidden; }
.ribbon--grad { background: var(--grad); color: #fff; transform: translateY(-50%) rotate(-2.5deg); z-index: 2; box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--violet) 60%, transparent); }
.ribbon--ink { background: var(--night); color: #fff; transform: translateY(-50%) rotate(2deg); }
:root[data-theme="dark"] .ribbon--ink { background: var(--surface-2); }
.ribbon__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ribbon--reverse .ribbon__track { animation-direction: reverse; animation-duration: 60s; }
.ribbon p { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.9vw, 1.75rem); letter-spacing: -0.03em; }
.ribbon img { width: 22px; height: 22px; filter: brightness(0) invert(1); opacity: 0.9; }
.ribbon--ink img { filter: none; }

/* Expertises : panneaux qui s'ouvrent au survol */
.xpanels { display: flex; gap: var(--gap); height: clamp(440px, 36vw, 540px); }
.xpanel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 2.2vw, 32px);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  transition: flex-grow 0.8s var(--ease), box-shadow 0.5s var(--ease), opacity 0.9s var(--ease), transform 1s var(--ease);
}
.xpanel.is-active { flex-grow: 2.6; box-shadow: var(--shadow-lg); }
.xpanel--violet { background: linear-gradient(160deg, var(--violet-50), var(--violet-100)); }
.xpanel--orange { background: linear-gradient(160deg, var(--orange-50), var(--orange-100)); }
.xpanel--rose { background: linear-gradient(160deg, var(--rose-50), var(--rose-100)); }
.xpanel--night { background: var(--night); color: #fff; }
:root[data-theme="dark"] .xpanel--night { background: #241a2b; }
.xpanel--night::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -160px; bottom: -220px; border-radius: 50%; background: var(--grad); filter: blur(70px); opacity: 0.55; transition: opacity 0.6s, transform 0.9s var(--ease); }
.xpanel--night.is-active::after { opacity: 0.85; transform: scale(1.2); }
.xpanel__bg { position: absolute; z-index: -1; right: -40px; bottom: -40px; width: 260px; height: 260px; opacity: 0.07; transform: rotate(-12deg); transition: transform 0.9s var(--ease), opacity 0.6s; }
.xpanel__bg .icon { width: 100%; height: 100%; stroke-width: 1.2; }
.xpanel.is-active .xpanel__bg { opacity: 0.12; transform: rotate(0deg) scale(1.1); }
.xpanel--night .xpanel__bg { opacity: 0.12; }
.xpanel__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.xpanel__go { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease-back), background 0.3s, color 0.3s; }
.xpanel.is-active .xpanel__go { background: var(--text); color: var(--bg); transform: rotate(45deg); }
.xpanel--night .xpanel__go { background: #fff; color: #1f1e1f; }
.xpanel--night.is-active .xpanel__go { background: var(--rose); color: #fff; }
.xpanel__title { font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.85rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.035em; max-width: 14em; }
.xpanel__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.7s var(--ease), opacity 0.4s var(--ease); }
.xpanel.is-active .xpanel__more { grid-template-rows: 1fr; opacity: 1; transition-delay: 0.15s; }
.xpanel__inner { overflow: hidden; display: grid; gap: 18px; align-content: start; min-width: 260px; }
.xpanel__text { display: block; margin-top: 14px; max-width: 46ch; color: var(--text-2); }
.xpanel--night .xpanel__text { color: var(--on-dark-2); }
.xpanel--night .chip-s { background: rgba(255, 255, 255, 0.08); border-color: var(--on-dark-line); color: #fff; }
.xpanel__cta { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); font-weight: 600; }

.strip { display: flex; align-items: center; gap: 20px; margin-top: var(--gap); padding: 20px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: box-shadow 0.4s var(--ease), border-color 0.3s; }
.strip:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.strip__body { display: grid; gap: 2px; flex: 1; }
.strip__body strong { font-weight: 650; }
.strip__body span { color: var(--text-2); font-size: var(--t-sm); }
.strip__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); transition: all 0.4s var(--ease); }
.strip:hover .strip__go { background: var(--text); color: var(--bg); border-color: var(--text); transform: translateX(4px); }

/* Approche (section sombre) */
.philo__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.philo__head { max-width: 1100px; }
.philo__statement { font-weight: 700; font-size: clamp(1.9rem, 1.2rem + 2.5vw, 3.6rem); line-height: 1.1; letter-spacing: -0.04em; text-wrap: balance; }
.philo__statement .kw { letter-spacing: -0.02em; }
.js .philo__statement .word { color: rgba(255, 255, 255, 0.18); transition: color 0.4s linear; }
.js .philo__statement .word.is-lit { color: #fff; }
.js .philo__statement .word.kw.is-lit { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.philo__text { margin-top: 32px; max-width: 60ch; color: var(--on-dark-2); font-size: var(--t-md); }
/* Professionnels et particuliers : deux cartes légères + valeurs */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(2.5rem, 1.8rem + 2.4vw, 4rem); }
.aud {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "ico title" "ico text" "ico cta";
  column-gap: 22px;
  row-gap: 8px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--on-dark-line);
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
}
.aud:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.08); }
.aud > .ico { grid-area: ico; }
.aud__title { grid-area: title; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.aud__text { grid-area: text; color: var(--on-dark-2); font-size: var(--t-sm); line-height: 1.6; max-width: 48ch; }
.aud__cta { grid-area: cta; display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 10px; color: #fff; font-size: var(--t-sm); font-weight: 600; }
.aud__cta span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.aud__cta:hover span { background-size: 100% 1px; }
.aud__cta .icon { transition: transform 0.4s var(--ease-back); }
.aud__cta:hover .icon { transform: translateX(4px); }
.values { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; color: rgba(255, 255, 255, 0.85); font-size: var(--t-sm); font-weight: 500; }
.values li { display: inline-flex; align-items: center; gap: 12px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.glass { padding: 32px 28px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); border: 1px solid var(--on-dark-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform 0.5s var(--ease), border-color 0.4s; }
.glass.spot::before { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--rose) 22%, transparent), transparent 65%); }
.glass:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.25); }
.glass h3 { margin-block: 22px 10px; font-size: var(--t-md); font-weight: 650; }
.glass p { color: var(--on-dark-2); font-size: var(--t-sm); line-height: 1.65; }

/* Réalisations */
.wcard { display: flex; flex-direction: column; }
.wcard > a { display: flex; flex-direction: column; flex: 1; }
.frame { position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 4 / 3; background: var(--bg-soft); transition: transform 0.5s var(--ease), box-shadow 0.6s var(--ease); }
.frame > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wcard:hover .frame { box-shadow: var(--shadow-lg); }
.wcard:hover .frame > img { transform: scale(1.04); }
.frame__ph { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.frame__ph::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(40% 50% at 25% 30%, var(--c1), transparent 70%), radial-gradient(45% 55% at 80% 70%, var(--c2), transparent 70%), radial-gradient(35% 40% at 70% 20%, var(--c3), transparent 70%);
  transition: transform 1.4s var(--ease);
}
.wcard:hover .frame__ph::before { transform: scale(1.1) rotate(4deg); }
.frame__ph--violet { --c1: rgba(178, 70, 230, 0.45); --c2: rgba(255, 90, 130, 0.35); --c3: rgba(220, 150, 245, 0.4); background: var(--violet-50); }
.frame__ph--rose { --c1: rgba(255, 90, 130, 0.42); --c2: rgba(255, 190, 70, 0.4); --c3: rgba(200, 120, 240, 0.3); background: var(--rose-50); }
.frame__ph--orange { --c1: rgba(255, 190, 70, 0.5); --c2: rgba(255, 90, 130, 0.32); --c3: rgba(255, 220, 150, 0.4); background: var(--orange-50); }
.frame__ph--night { --c1: color-mix(in srgb, var(--violet) 75%, transparent); --c2: color-mix(in srgb, var(--rose) 60%, transparent); --c3: color-mix(in srgb, var(--orange) 45%, transparent); background: #140f17; }
.frame__ph--mix { --c1: rgba(200, 120, 240, 0.45); --c2: rgba(255, 190, 70, 0.45); --c3: rgba(255, 90, 130, 0.35); background: var(--surface); }
.frame__sym { width: clamp(64px, 18%, 120px); filter: drop-shadow(0 16px 30px rgba(20, 15, 23, 0.2)); transition: transform 0.8s var(--ease-back); }
.wcard:hover .frame__sym { transform: scale(1.12) rotate(-6deg); }
.frame__pill { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: var(--glass-strong); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: var(--t-xs); font-weight: 600; white-space: nowrap; }
.frame__cat { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border-radius: 999px; background: var(--glass-strong); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 0.75rem; font-weight: 600; }
.frame__go { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); transform: scale(0.6); opacity: 0; transition: all 0.5s var(--ease-back); }
.wcard:hover .frame__go { transform: scale(1) rotate(45deg); opacity: 1; }
.wcard__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 6px 0; }
.wcard__title { font-weight: 650; }
.wcard__meta { color: var(--text-3); font-size: var(--t-xs); text-align: right; }
.is-placeholder .wcard__title { color: var(--text-2); }

/* Carrousel de vignettes */
.slider { position: relative; }
.slider__track { display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 24px; scroll-padding-inline: var(--gutter); cursor: grab; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.slider__track.is-dragging a { pointer-events: none; }
.slider__track:focus-visible { outline: 2px solid var(--violet); outline-offset: -2px; }
.wcard--slide { flex: 0 0 clamp(250px, 22vw, 340px); scroll-snap-align: start; }
.wcard--slide .frame { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.wcard--slide .frame__sym { width: 30%; }
.slider__ui { display: flex; align-items: center; gap: 24px; margin-top: 12px; }
.slider__progress { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.slider__progress span { position: absolute; inset: 0 auto 0 0; width: var(--w, 30%); border-radius: 3px; background: var(--grad); transform: translateX(var(--x, 0%)); transition: transform 0.3s var(--ease); }
.slider__btns { display: flex; gap: 8px; }
.slider__btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.slider__btn:hover:not(:disabled) { background: var(--text); color: var(--bg); border-color: var(--text); }
.slider__btn:active:not(:disabled) { transform: scale(0.94); }
.slider__btn:disabled { opacity: 0.35; cursor: default; }
.slider__btn--prev .icon { transform: rotate(180deg); }

/* Méthode */
.steps { position: relative; }
.steps__track { position: absolute; left: 34px; right: 0; top: 33px; height: 2px; background: var(--line-strong); border-radius: 2px; overflow: hidden; }
.steps__fill { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.step__num { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 28px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-md); font-family: var(--f-display); font-weight: 600; font-size: 1.375rem; transition: transform 0.5s var(--ease-back), background 0.5s, color 0.5s, box-shadow 0.5s; }
.step.is-active .step__num { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); transform: rotate(-6deg); }
.step__title { font-size: var(--t-md); font-weight: 650; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { color: var(--text-2); font-size: var(--t-sm); line-height: 1.65; max-width: 32ch; }

/* Articles en cartes */
.pgrid-posts, .blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pcard { display: flex; }
.pcard__link { display: flex; flex-direction: column; width: 100%; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s; }
.pcard__link:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard__cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.pcard__cover::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(45% 55% at 20% 30%, var(--c1), transparent 70%), radial-gradient(45% 55% at 85% 75%, var(--c2), transparent 70%); transition: transform 1.2s var(--ease); }
.pcard__link:hover .pcard__cover::before { transform: scale(1.15) rotate(-6deg); }
.pcard__cover--violet { background: var(--violet-50); --c1: rgba(178, 70, 230, 0.42); --c2: rgba(255, 110, 150, 0.32); }
.pcard__cover--rose { background: var(--rose-50); --c1: rgba(255, 90, 130, 0.42); --c2: rgba(255, 190, 70, 0.38); }
.pcard__cover--orange { background: var(--orange-50); --c1: rgba(255, 190, 70, 0.5); --c2: rgba(255, 110, 150, 0.32); }
.pcard__cover--night { background: var(--night); --c1: color-mix(in srgb, var(--violet) 70%, transparent); --c2: color-mix(in srgb, var(--rose) 55%, transparent); color: #fff; }
.pcard__cover--mix { background: var(--surface-2); --c1: rgba(200, 120, 240, 0.4); --c2: rgba(255, 190, 70, 0.42); }
.pcard__cover > img:not(.pcard__sym) { width: 100%; height: 100%; object-fit: cover; }
.pcard__cover-label { font-weight: 700; font-size: clamp(1.4rem, 1.05rem + 1.1vw, 2.1rem); letter-spacing: -0.04em; text-align: center; padding: 0 24px; opacity: 0.86; }
.pcard__sym { position: absolute; right: 18px; bottom: 16px; width: 34px; transition: transform 0.6s var(--ease-back); }
.pcard__link:hover .pcard__sym { transform: rotate(-12deg) scale(1.15); }
.pcard__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px 26px 26px; }
.pcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--t-xs); color: var(--text-3); }
.pcard__title { font-size: 1.3rem; font-weight: 700; line-height: 1.22; letter-spacing: -0.03em; text-wrap: balance; }
.pcard__excerpt { color: var(--text-2); font-size: var(--t-sm); line-height: 1.6; }
.pcard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: var(--t-sm); font-weight: 600; transition: color 0.3s; }
.pcard__more .icon { transition: transform 0.4s var(--ease); }
.pcard__link:hover .pcard__more { color: var(--rose); }
.pcard__link:hover .pcard__more .icon { transform: translateX(5px); }
.pcard--featured { grid-column: span 2; }
.pcard--featured .pcard__link { flex-direction: row; }
.pcard--featured .pcard__cover { aspect-ratio: auto; flex: 1.1; min-height: 340px; }
.pcard--featured .pcard__body { flex: 1; padding: clamp(28px, 3vw, 40px); justify-content: center; }
.pcard--featured .pcard__title { font-size: clamp(1.55rem, 1.25rem + 0.9vw, 2.05rem); }
.pcard--featured .pcard__more { margin-top: 12px; }

/* Appel à l'action en pleine largeur, collé au footer */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4.5rem, 3rem + 5vw, 8rem);
  border-radius: clamp(28px, 3vw, 48px) clamp(28px, 3vw, 48px) 0 0;
  background: var(--grad-loop);
  background-size: 300% 300%;
  color: #fff;
  animation: gradShift 14s ease-in-out infinite alternate;
}
.cta__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px circle at var(--mx, 70%) var(--my, 30%), rgba(255, 255, 255, 0.22), transparent 60%); }
.cta__sym { position: absolute; z-index: -1; right: -60px; bottom: -120px; width: clamp(260px, 30vw, 460px); filter: brightness(0) invert(1); opacity: 0.1; transform: rotate(-12deg); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px clamp(32px, 6vw, 120px); align-items: end; }
.cta__title { font-weight: 700; font-size: var(--t-2xl); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; max-width: 13em; }
.cta__title .kw { letter-spacing: -0.02em; }
.cta__intro > p { margin-top: 22px; max-width: 46ch; font-size: var(--t-md); color: rgba(255, 255, 255, 0.92); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.cta__mail { font-weight: 600; border-bottom: 1.5px solid rgba(255, 255, 255, 0.5); }
.cta__label { font-size: var(--t-sm); font-weight: 600; color: rgba(255, 255, 255, 0.88); margin-bottom: 14px; }
.cta__choices ul { display: grid; gap: 10px; }
.cta__choices a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.26); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 600; transition: background 0.3s, transform 0.4s var(--ease), color 0.3s; }
.cta__choices a .icon { transition: transform 0.4s var(--ease-back); }
.cta__choices a:hover { background: #fff; color: #1f1e1f; transform: translateX(6px); }
.cta__choices a:hover .icon { transform: rotate(45deg); color: var(--rose); }

/* 7. Pages intérieures ----------------------------------------------------- */
.phero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--hh) + clamp(2rem, 1rem + 3vw, 4rem)) 0 clamp(3rem, 2rem + 3vw, 5rem); }
.phero__grid { display: grid; grid-template-columns: 1fr; gap: 40px var(--gap); align-items: end; }
.phero__grid.has-aside { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.phero__title { font-weight: 700; font-size: var(--t-2xl); line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; max-width: 16em; }
.phero__title .kw { letter-spacing: -0.02em; }
.phero__intro { margin-top: 24px; max-width: 62ch; font-size: var(--t-md); color: var(--text-2); line-height: 1.6; }
.phero__jump { margin-top: 28px; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.phero__aside { padding: 24px; border-radius: var(--r-lg); background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow-md); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.phero__aside-label { font-size: var(--t-xs); font-weight: 700; margin-bottom: 14px; color: var(--text-3); }
.phero__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.phero__facts li { padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: var(--t-sm); font-weight: 600; }

/* Page Expertises */
.xblock { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(24px, 4vw, 64px); padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); overflow: hidden; }
.xblock + .xblock { margin-top: var(--gap); }
.xblock--violet { background: linear-gradient(155deg, var(--violet-50), var(--violet-100)); }
.xblock--orange { background: linear-gradient(155deg, var(--orange-50), var(--orange-100)); }
.xblock--rose { background: linear-gradient(155deg, var(--rose-50), var(--rose-100)); }
.xblock--night { background: var(--night); color: #fff; }
:root[data-theme="dark"] .xblock--night { background: #241a2b; }
.xblock--night::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -160px; bottom: -280px; border-radius: 50%; background: var(--grad); filter: blur(80px); opacity: 0.5; }
.xblock__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.xblock__title { font-size: var(--t-xl); font-weight: 700; line-height: 1.06; letter-spacing: -0.04em; }
.xblock__summary { color: var(--text-2); max-width: 40ch; }
.xblock--night .xblock__summary { color: var(--on-dark-2); }
.xblock__services { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.xblock__services li { padding: 20px; border-radius: var(--r-md); background: var(--glass); transition: transform 0.4s var(--ease), background 0.3s; }
.xblock__services li:hover { transform: translateY(-4px); background: var(--surface); }
.xblock--night .xblock__services li { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--on-dark-line); }
.xblock__services h3 { font-size: var(--t-base); font-weight: 650; margin-bottom: 6px; }
.xblock__services p { color: var(--text-2); font-size: var(--t-sm); line-height: 1.6; }
.xblock--night .xblock__services p { color: var(--on-dark-2); }
.xblock--night .btn--glass { background: #fff; border-color: #fff; color: #1f1e1f; }

/* Détail d'expertise */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.svc { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s; }
.svc:last-child:nth-child(3n+2) { grid-column: span 2; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc__check { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 20px; border-radius: 12px; background: var(--grad); color: #fff; }
.svc__check .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.svc h3 { font-size: var(--t-md); font-weight: 650; margin-bottom: 8px; letter-spacing: -0.01em; }
.svc p { color: var(--text-2); font-size: var(--t-sm); line-height: 1.65; }

/* Autres expertises (pages de détail) */
.xcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.xcard {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.xcard::after { content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; right: -90px; bottom: -110px; border-radius: 50%; filter: blur(60px); opacity: 0.28; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.xcard--violet::after { background: var(--violet); }
.xcard--orange::after { background: var(--orange); }
.xcard--rose::after { background: var(--rose); }
.xcard--night::after { background: var(--grad); }
.xcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.xcard:hover::after { opacity: 0.55; transform: scale(1.2); }
.xcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; padding-bottom: 28px; }
.xcard__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease-back); }
.xcard__go .icon { width: 18px; height: 18px; }
.xcard:hover .xcard__go { background: var(--text); color: var(--bg); border-color: var(--text); transform: rotate(45deg); }
.xcard__title { font-size: var(--t-md); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.xcard__text { color: var(--text-2); font-size: var(--t-sm); line-height: 1.6; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.duo__card { padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.duo__card--dark { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; border: 0; }
:root[data-theme="dark"] .duo__card--dark { background: #241a2b; }
.duo__card--dark::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: var(--grad); filter: blur(70px); opacity: 0.55; }
.duo__title { font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 24px; }
.ticks { display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--check) center / 14px no-repeat, var(--grad); }
.duo__card--dark .ticks li { color: rgba(255, 255, 255, 0.9); }

.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: box-shadow 0.4s var(--ease), border-color 0.3s; }
.faq__item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px 20px 26px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: var(--t-md); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.faq__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); transition: transform 0.5s var(--ease-back), background 0.3s, color 0.3s; }
.faq__icon .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__icon { transform: rotate(135deg); background: var(--grad); color: #fff; }
.faq__answer { padding: 0 26px 24px; color: var(--text-2); max-width: 74ch; }
.faq__item[open] .faq__answer { animation: fadeDown 0.5s var(--ease); }
.faq-groups { display: grid; gap: clamp(3rem, 2rem + 3vw, 5rem); }
.faq-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px var(--gap); align-items: start; scroll-margin-top: calc(var(--hh) + 16px); }
.faq-group__head { position: sticky; top: calc(var(--hh) + 24px); display: grid; gap: 16px; justify-items: start; }
.faq-group__head h2 { font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.03em; }

/* Réalisations */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) var(--gap); margin-top: 36px; }
.wcard--wide { grid-column: span 7; }
.wcard--narrow { grid-column: span 5; }
.wcard--narrow .frame { flex: 1; aspect-ratio: auto; min-height: 300px; }
.wcard.is-hidden { display: none; }
.filters__empty { margin-top: 32px; color: var(--text-3); }

/* Fiche réalisation */
.case__facts { display: grid; gap: 4px; }
.case__facts > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.case__facts > div:last-child { border-bottom: 0; }
.case__facts dt { color: var(--text-3); }
.case__facts dd { text-align: right; font-weight: 600; }
.case__story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.case__part { padding: 28px; border-radius: var(--r-lg); background: var(--bg-soft); }
.case__part h2 { font-size: var(--t-md); font-weight: 650; margin-bottom: 10px; }
.case__part p { color: var(--text-2); }
.case__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.case__gallery .frame:nth-child(3n) { grid-column: 1 / -1; }
.case__end { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: stretch; }
.case__xp { display: grid; gap: 12px; align-content: center; justify-items: start; padding: 32px; border-radius: var(--r-lg); background: var(--night); color: #fff; }
.case__xp p { color: var(--on-dark-2); font-size: var(--t-sm); }
.case__xp .link-arrow { font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.02em; }
.case__xp .link-arrow .icon { background: var(--rose); color: #fff; }
.case__next a { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; padding: 28px 32px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.case__next span { color: var(--text-3); font-size: var(--t-sm); }
.case__next strong { font-size: var(--t-lg); font-weight: 700; }

/* Blog */
.blog__toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 36px; }
.search { position: relative; width: min(340px, 100%); }
.search input { width: 100%; height: 48px; padding: 0 18px 0 48px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: var(--t-sm); transition: border-color 0.25s, box-shadow 0.25s; }
.search input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--focus); }
.search__icon { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search__status { margin-bottom: 20px; color: var(--text-3); font-size: var(--t-sm); }
.search mark { background: color-mix(in srgb, var(--orange) 32%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 56px; font-size: var(--t-sm); font-weight: 600; }
.pagination ol { display: flex; gap: 6px; list-style: none; margin: 0; padding: 6px; border-radius: 999px; background: var(--bg-soft); }
.pagination ol a, .pagination ol span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background 0.25s; }
.pagination ol a:hover { background: var(--surface); }
.pagination ol [aria-current] { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.pagination__step { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); transition: border-color 0.25s; }
.pagination__step:not(.is-disabled):hover { border-color: var(--text); }
.pagination__step.is-disabled { color: var(--line-strong); }

/* Article */
.article__head { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--hh) + clamp(2rem, 1rem + 3vw, 4rem)) 0 clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.article__intro { max-width: 900px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: var(--t-sm); color: var(--text-3); }
.article__meta .badge { height: 30px; padding: 0 14px; font-size: var(--t-xs); }
.article__title { margin-top: 22px; font-weight: 700; font-size: clamp(2.1rem, 1.45rem + 2.4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.045em; text-wrap: balance; }
.article__lead { margin-top: 24px; font-size: var(--t-md); line-height: 1.6; color: var(--text-2); max-width: 62ch; }
.article__layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.article__toc { position: sticky; top: calc(var(--hh) + 24px); padding: 20px; border-radius: var(--r-lg); background: var(--bg-soft); }
.article__toc-title { font-size: var(--t-xs); font-weight: 700; margin-bottom: 10px; padding-left: 12px; color: var(--text-3); }
.article__toc ol { display: grid; gap: 2px; }
.article__toc a { display: block; padding: 8px 12px; border-radius: 10px; font-size: var(--t-sm); color: var(--text-2); line-height: 1.4; transition: background 0.25s, color 0.25s; }
.article__toc a:hover { background: var(--surface); color: var(--text); }
.article__toc a.is-active { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: var(--shadow-sm); }
.article__layout .prose { grid-column: 2; }
.prose { font-size: 1.0625rem; line-height: 1.78; max-width: 70ch; }
.prose > * + *, .prose > div > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.2em; font-weight: 700; font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.035em; }
.prose h3 { margin-top: 1.8em; font-size: 1.25rem; font-weight: 650; line-height: 1.35; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--rose); font-weight: 600; }
.prose a { color: var(--violet-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--rose); }
.prose strong { font-weight: 650; }
.prose blockquote { position: relative; margin-block: 2em; padding: 28px 32px 28px 36px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--violet-50), var(--rose-50), var(--orange-50)); font-size: 1.375rem; font-weight: 650; line-height: 1.35; letter-spacing: -0.02em; }
.prose blockquote::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad); }
.prose--page h2:first-child { margin-top: 0; }
.article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 3em !important; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.article__author { display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.article__author img { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--bg-soft); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share > span { color: var(--text-3); margin-right: 4px; }
.share__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.prose .share__list { padding: 0; }
.share__list li { margin: 0 !important; }
.share__list li::marker { content: none; }
.share__btn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text) !important; text-decoration: none !important; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.share__btn:hover { background: var(--grad); border-color: transparent; color: #fff !important; transform: translateY(-2px); }
.share__btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--focus); }
.share__btn .fa-icon, .share__btn .icon { width: 17px; height: 17px; }
.share__btn.is-copied { background: var(--grad); color: #fff !important; border-color: transparent; }
.article__xp { margin-top: clamp(48px, 5vw, 72px) !important; margin-bottom: clamp(56px, 7vw, 96px); }
.article__xp a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 30px; border-radius: var(--r-lg); background: var(--night); color: #fff !important; text-decoration: none !important; }
:root[data-theme="dark"] .article__xp a { background: #241a2b; }
.article__xp p { color: var(--on-dark-2); font-size: var(--t-sm); }
.article__xp strong { display: block; margin-top: 4px; font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.03em; }
.round-go { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.round-go .icon { width: 40%; height: 40%; transition: transform 0.5s var(--ease-back); }
.article__xp a:hover .round-go .icon { transform: rotate(45deg); }

/* Contact */
.contact-page { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--hh) + clamp(2rem, 1rem + 3vw, 4rem)) 0 var(--s-section); }
.contact-page__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(32px, 5vw, 72px); align-items: start; }
.contact-page__intro { position: sticky; top: calc(var(--hh) + 24px); }
.contact-page__intro .phero__title { max-width: 10em; }
.remote { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 18px 20px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--violet-50), var(--rose-50)); border: 1px solid var(--line); }
.remote__title { font-weight: 700; letter-spacing: -0.01em; }
.remote p:not(.remote__title) { font-size: var(--t-sm); color: var(--text-2); }
.coords { display: grid; gap: 10px; margin-top: 16px; }
.coord { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border-radius: var(--r-md); background: var(--glass-strong); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.coord:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.coord .ico { width: 44px; height: 44px; border-radius: 13px; }
.coord .ico .icon { width: 20px; height: 20px; }
.coord dt { font-size: var(--t-xs); color: var(--text-3); font-weight: 600; }
.coord dd { font-weight: 600; }
.contact-page__delay { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--orange-50); color: var(--orange-ink); font-size: var(--t-sm); font-weight: 600; }

/* 8. Formulaires ----------------------------------------------------------- */
.form-card { position: relative; padding: 2px; border-radius: calc(var(--r-xl) + 2px); background: var(--grad); box-shadow: var(--shadow-lg); }
.form { display: grid; gap: 22px; padding: clamp(22px, 3.6vw, 48px); border-radius: var(--r-xl); background: var(--surface); }
.form--plain { padding: 0; gap: 20px; border-radius: 0; background: none; }
.form__title { font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.03em; }
.form__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__label, .field label { display: block; margin-bottom: 9px; font-size: var(--t-sm); font-weight: 600; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.field { min-width: 0; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field input, .field textarea, .field select { width: 100%; min-height: 54px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg-soft); font-size: 1rem; line-height: 1.4; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: var(--surface); border-color: var(--violet); box-shadow: 0 0 0 4px var(--focus); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--rose); }
.field__error { margin-top: 7px; font-size: var(--t-xs); color: var(--rose-ink); font-weight: 600; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 20px; top: 50%; width: 7px; height: 7px; border-right: 1.8px solid var(--text); border-bottom: 1.8px solid var(--text); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 46px; cursor: pointer; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Choix du type de projet : cartes côte à côte, défilement par flèches */
.pick { position: relative; }
.pick__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pick__head .form__label { margin: 0; }
.pick__nav { display: flex; gap: 6px; }
.pick__btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); transition: background 0.25s, color 0.25s, border-color 0.25s, opacity 0.25s; }
.pick__btn:hover:not(:disabled) { background: var(--text); color: var(--bg); border-color: var(--text); }
.pick__btn:disabled { opacity: 0.35; cursor: default; }
.pick__btn--prev .icon { transform: rotate(180deg); }
.pick__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; margin: 0 -2px; }
.pick__track::-webkit-scrollbar { display: none; }
.pick__card { position: relative; flex: 0 0 clamp(170px, 30%, 210px); scroll-snap-align: start; cursor: pointer; }
.pick__card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick__inner { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 150px; padding: 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--bg-soft); transition: all 0.3s var(--ease); }
.pick__inner .ico { margin-bottom: 8px; }
.pick__inner strong { font-size: var(--t-sm); font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }
.pick__inner small { font-size: 0.78rem; color: var(--text-3); line-height: 1.4; }
.pick__check { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); color: transparent; transition: all 0.3s var(--ease-back); }
.pick__check .icon { width: 13px; height: 13px; stroke-width: 3; }
.pick__card:hover .pick__inner { border-color: var(--line-strong); transform: translateY(-2px); }
.pick__card input:checked + .pick__inner { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--violet) 70%, transparent); }
.pick__card input:checked + .pick__inner .pick__check { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.1); }
.pick__card input:focus-visible + .pick__inner { box-shadow: 0 0 0 4px var(--focus); }
.form__group.is-invalid .pick__inner { border-color: var(--rose); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg-soft); font-size: var(--t-sm); font-weight: 600; line-height: 1.35; transition: all 0.3s var(--ease); }
.choice span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); transition: all 0.3s var(--ease-back); }
.choice:hover span { border-color: var(--line-strong); transform: translateY(-2px); }
.choice input:checked + span { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--violet) 60%, transparent); }
.choice input:checked + span::before { border-color: transparent; background: var(--check) center / 14px no-repeat, var(--grad); transform: scale(1.1); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px var(--focus); }
.form__group.is-invalid .choice span { border-color: var(--rose); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); color: var(--text-2); line-height: 1.5; cursor: pointer; }
.consent input { flex: none; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--line-strong); border-radius: 7px; background: var(--surface); cursor: pointer; transition: all 0.25s var(--ease-back); }
.consent input:checked { border-color: transparent; background: var(--check) center / 14px no-repeat, var(--grad); }
.consent.is-invalid input { border-color: var(--rose); }
.consent a { color: var(--violet-ink); text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.form__required { font-size: var(--t-xs); color: var(--text-3); }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; border-radius: 12px; font-size: var(--t-sm); line-height: 1.5; background: var(--bg-soft); border: 1px solid var(--line); }
.form__status.is-error { border-color: color-mix(in srgb, var(--rose) 40%, transparent); background: var(--rose-50); }
.form__status a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.form-success { display: grid; gap: 14px; justify-items: start; padding: clamp(32px, 4vw, 56px); border-radius: var(--r-xl); background: var(--surface); }
.form-success:focus { outline: none; }
.form-success__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--grad); color: #fff; margin-bottom: 8px; box-shadow: var(--shadow-glow); animation: pop 0.7s var(--ease-back); }
.form-success__icon .icon { width: 30px; height: 30px; stroke-width: 2.2; }
.form-success h2 { font-size: var(--t-xl); font-weight: 700; letter-spacing: -0.04em; }
.form-success p { color: var(--text-2); max-width: 42ch; margin-bottom: 8px; }
.link-btn { font-size: var(--t-sm); font-weight: 600; color: var(--violet-ink); transition: color 0.2s; }
.link-btn:hover { color: var(--rose); }
.password { position: relative; }
.password input { padding-right: 58px; }
.password__toggle { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--text-3); transition: color 0.2s, background 0.2s; }
.password__toggle:hover { color: var(--text); background: var(--surface-2); }
.password__toggle .icon { width: 20px; height: 20px; }
.password__hide, .password__toggle[aria-pressed="true"] .password__show { display: none; }
.password__toggle[aria-pressed="true"] .password__hide { display: block; }

/* Espace client : carte de connexion en deux panneaux */
.login { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--hh) + clamp(1.5rem, 1rem + 2vw, 3rem)) 0 var(--s-section); background: var(--bg-soft); }
.login__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 15%, transparent 75%);
}
.login__wrap { display: grid; justify-items: center; gap: 22px; }
.login__shell {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 50px 120px -50px rgba(80, 10, 110, 0.45), 0 2px 6px rgba(20, 15, 23, 0.04);
  overflow: hidden;
}
.login__side {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-height: 600px;
  padding: clamp(28px, 5vw, 72px);
  background: var(--night);
  color: #fff;
}
.login__side-glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 50% at 0% 0%, color-mix(in srgb, var(--violet) 55%, transparent), transparent 70%), radial-gradient(55% 45% at 100% 100%, color-mix(in srgb, var(--rose) 45%, transparent), transparent 70%), radial-gradient(40% 35% at 90% 20%, color-mix(in srgb, var(--orange) 28%, transparent), transparent 70%); animation: glowShift 12s ease-in-out infinite alternate; }
.login__side-sym { width: 56px; filter: drop-shadow(0 10px 24px color-mix(in srgb, var(--rose) 45%, transparent)); }
.login__side-title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; text-wrap: balance; }
.login__side-title .kw { letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login__points { display: grid; gap: 12px; }
.login__points li { display: flex; align-items: center; gap: 12px; font-size: var(--t-sm); font-weight: 500; color: rgba(255, 255, 255, 0.88); }
.login__points .ico { width: 34px; height: 34px; border-radius: 11px; }
.login__side-note { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--on-dark-line); font-size: var(--t-xs); line-height: 1.6; color: var(--on-dark-2); }
.login__side-note a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.login__main { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 88px); }
.login__main > div, .login__main > .login__help { width: 100%; max-width: 520px; margin-inline: auto; }
.login__title { font-size: var(--t-xl); font-weight: 700; line-height: 1.06; letter-spacing: -0.045em; }
.login__title .kw { letter-spacing: -0.02em; }
.login__title:focus { outline: none; }
.login__intro { margin-block: 10px 30px; color: var(--text-2); }
.login__back-top { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.login__back-top .icon { transform: rotate(180deg); }
.field__wrap { position: relative; }
.field--icon .field__icon { position: absolute; left: 16px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--text-3); pointer-events: none; transition: color 0.25s; }
.field--icon input { padding-left: 48px; }
.field--icon .field__wrap:focus-within .field__icon { color: var(--violet); }
.login__help { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg-soft); font-size: var(--t-sm); color: var(--text-2); }
.login__help .ico { border-radius: 50%; box-shadow: none; }
.login__help a { color: var(--violet-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.login__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: var(--t-xs); color: var(--text-3); }
.login__legal a:hover { color: var(--text); }
@keyframes glowShift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.15) translate(4%, -3%); } }

/* Plan du site & 404 */
.plan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.plan__col { padding: 24px; border-radius: var(--r-lg); background: var(--bg-soft); }
.plan__col h2 { font-size: var(--t-sm); font-weight: 700; margin-bottom: 12px; }
.plan__col a { display: block; padding-block: 6px; color: var(--text-2); font-size: var(--t-sm); }
.plan__col a:hover { color: var(--violet-ink); }
.not-found { position: relative; isolation: isolate; overflow: hidden; min-height: 90svh; display: flex; align-items: center; padding: calc(var(--hh) + 40px) 0 80px; }
.not-found__code { font-family: var(--f-display); font-weight: 600; font-size: clamp(6rem, 3rem + 12vw, 13rem); line-height: 0.85; letter-spacing: -0.05em; margin-bottom: 24px; }

/* 9. Chat en direct (emplacement) ----------------------------------------- */
.chat { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.chat__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 22px 0 8px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -18px rgba(80, 10, 110, 0.5);
  font-size: var(--t-sm);
  font-weight: 650;
  transition: transform 0.4s var(--ease-back), box-shadow 0.3s;
}
.chat__btn:hover { transform: translateY(-3px); }
.chat__btn-icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; }
.chat__btn-icon::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--rose); opacity: 0; animation: ring 2.6s var(--ease) infinite; }
.chat__btn-icon .icon { width: 20px; height: 20px; transition: transform 0.4s var(--ease-back), opacity 0.25s; }
.chat__close-icon { position: absolute; opacity: 0; transform: rotate(-90deg); }
.chat.is-open .chat__btn-icon .icon:first-child { opacity: 0; transform: rotate(90deg); }
.chat.is-open .chat__close-icon { opacity: 1; transform: none; }
.chat.is-open .chat__btn-icon::after { animation: none; }
.chat__panel {
  width: min(360px, calc(100vw - 28px));
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(20, 15, 23, 0.5);
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.chat__panel.is-in { opacity: 1; transform: none; }
.chat__head { display: flex; align-items: center; gap: 12px; }
.chat__head .ico { width: 44px; height: 44px; border-radius: 14px; }
.chat__head > div { flex: 1; }
.chat__title { font-weight: 700; letter-spacing: -0.02em; }
.chat__status { display: flex; align-items: center; gap: 6px; font-size: var(--t-xs); color: var(--text-3); }
.chat__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.chat__text { margin-block: 16px; font-size: var(--t-sm); color: var(--text-2); }
.chat__options { display: grid; gap: 8px; }
.chat__options a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--bg-soft); font-size: var(--t-sm); font-weight: 600; transition: background 0.25s, transform 0.3s var(--ease); }
.chat__options a:hover { background: var(--surface-2); transform: translateX(3px); }

/* Animations --------------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 40px) scale(1.1); } 100% { transform: translate(40px, -30px) scale(0.95); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bobT { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes ring { 0% { transform: scale(0.9); opacity: 0.6; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes wordUp { from { transform: translateY(110%) rotate(4deg); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* Les animations n'agissent que si JavaScript est actif : sans lui, tout est visible. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 1s var(--ease), box-shadow 0.5s var(--ease), flex-grow 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js [data-reveal].is-visible.is-done { transition-delay: 0s; transition-duration: 0.5s, 0.5s, 0.5s, 0.8s; }
  .js .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
  .js .wm > .w { display: inline-block; transform: translateY(110%); }
  .js.is-ready .wm > .w { animation: wordUp 0.9s var(--ease) both; animation-delay: calc(var(--i) * 45ms + 100ms); }
  .js [data-hero-item] { opacity: 0; }
  .js.is-ready [data-hero-item] { animation: fadeUp 0.9s var(--ease) both; animation-delay: 0.45s; }
  .js.is-ready .hero__actions { animation-delay: 0.6s; }
  .js.is-ready .hero__proofs { animation-delay: 0.75s; }
  .js [data-hero-visual] { opacity: 0; }
  .js.is-ready [data-hero-visual] { animation: zoomIn 1.3s var(--ease) 0.25s both; }
  .ftag { animation: bobT 7s ease-in-out infinite; }
  .ftag--2 { animation-delay: -2s; }
  .ftag--3 { animation-delay: -4s; }
  .ftag--4 { animation-delay: -1s; }
  .cta__sym { animation: bob 9s ease-in-out infinite; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .ribbon__track { animation: none; }
  .steps__fill { transform: none; }
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1360px) {
  .hdr__client { display: none; }
  .hdr__bar { padding-left: 24px; }
}

@media (max-width: 1100px) {
  .xcards { grid-template-columns: 1fr 1fr; }
  .xcards .xcard:last-child:nth-child(odd) { grid-column: span 2; min-height: 0; }
  :root { --hh: 88px; }
  .hdr__bar { grid-template-columns: 1fr auto; height: 64px; padding-left: 20px; padding-right: 8px; }
  .hdr__nav, .hdr__actions { display: none; }
  .hdr__mobile-actions { display: flex; }
  .hdr__brand .logo { width: 138px; }

  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; width: 88%; }

  .shead { grid-template-columns: 1fr; align-items: start; }

  .xpanels { flex-direction: column; height: auto; }
  .xpanel { flex: none; min-height: 0; gap: 28px; }
  .xpanel .xpanel__more { grid-template-rows: 1fr; opacity: 1; }
  .xpanel .xpanel__inner { min-width: 0; }

  .pgrid { grid-template-columns: 1fr 1fr; }
  .pgrid .glass:last-child { grid-column: 1 / -1; }
  .audiences { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps__track { display: none; }
  .pgrid-posts, .blog-grid { grid-template-columns: 1fr 1fr; }
  .pgrid-posts .pcard:nth-child(3) { display: none; }
  .pcard--featured { grid-column: 1 / -1; }
  .cta__grid { grid-template-columns: 1fr; }

  .phero__grid.has-aside { grid-template-columns: 1fr; }
  .xblock { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc:last-child:nth-child(3n+2) { grid-column: auto; }
  .svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .faq-group { grid-template-columns: 1fr; }
  .faq-group__head { position: static; }

  .article__layout { grid-template-columns: 1fr; }
  .article__toc { display: none; }
  .article__layout .prose { grid-column: 1; }

  .contact-page__grid { grid-template-columns: 1fr; }
  .contact-page__intro { position: static; }
  .contact-page__intro .phero__title { max-width: 14em; }
  .coords { grid-template-columns: 1fr 1fr; }

  .login__shell { grid-template-columns: 1fr; }
  .login__side { min-height: 0; }
  .login__side { order: 2; }
  .login__side-note { margin-top: 0; }

  .plan { grid-template-columns: 1fr 1fr; }
  .ftr__top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .xcards { grid-template-columns: 1fr; }
  .xcards .xcard:last-child:nth-child(odd) { grid-column: auto; }
  .xcard { min-height: 0; }
  .aud { grid-template-columns: 1fr; grid-template-areas: "ico" "title" "text" "cta"; row-gap: 10px; }
  .aud > .ico { margin-bottom: 8px; }
  .shead--link-only .shead__aside { justify-items: start; }
  :root { --gap: 14px; }
  .hero { padding-top: calc(var(--hh) + 2rem); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__visual { width: 100%; max-width: 360px; margin-top: 8px; }
  .ftag { font-size: 0.8125rem; padding: 6px 12px 6px 6px; }
  .ftag--1 { left: -2%; }
  .ftag--2 { right: -3%; }
  .ftag--3 { left: -3%; }

  .strip { flex-wrap: wrap; }
  .strip__go { display: none; }
  .pgrid { grid-template-columns: 1fr; }
  .wcard--wide, .wcard--narrow { grid-column: 1 / -1; }
  .wcard--narrow .frame { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .wcard--slide { flex-basis: 76vw; }
  .slider__btn { width: 46px; height: 46px; }

  .steps__list { grid-template-columns: 1fr; row-gap: 32px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step__num { grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 18px; margin: 0; font-size: 1.125rem; }

  .pgrid-posts, .blog-grid { grid-template-columns: 1fr; }
  .pgrid-posts .pcard:nth-child(3) { display: flex; }
  .pcard--featured .pcard__link { flex-direction: column; }
  .pcard--featured .pcard__cover { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .cta { border-radius: 28px 28px 0 0; }

  .xblock__services { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .case__story, .case__gallery, .case__end { grid-template-columns: 1fr; }

  .blog__toolbar { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .pagination__step { display: none; }

  .form__row, .choice-grid { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .coords { grid-template-columns: 1fr; }

  .plan { grid-template-columns: 1fr; }
  .ftr__nav { grid-template-columns: 1fr 1fr; }
  .ftr__bottom { padding-right: 0; }
  .ftr { padding-bottom: 96px; }
  .ftr__tools { order: -1; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; }

  .chat__btn { padding: 0; width: 58px; justify-content: center; }
  .chat__btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media print {
  .hdr, .mnav, .ftr, .cta, .ribbons, .aura, .scroll-progress, .chat, .slider__ui { display: none !important; }
  [data-reveal], [data-hero-item] { opacity: 1 !important; transform: none !important; }
}

/* Fenêtres de message des formulaires (SweetAlert2) */
.swal2-container.swal2-backdrop-show { background: rgba(20, 12, 28, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.swal2-container .fr-alert { width: min(460px, calc(100vw - 32px)); padding: 32px 28px 28px; border-radius: var(--r-xl); background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-md); font-family: inherit; }
.swal2-container .fr-alert__title { padding: 4px 0 0; color: var(--text); font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.swal2-container .fr-alert__text { margin: 12px 0 0; padding: 0; color: var(--text-2); font-size: var(--t-sm); line-height: 1.6; text-align: left; }
.swal2-container .fr-alert__text > p { text-align: center; }
.swal2-container .fr-alert__text a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.swal2-container .fr-alert__list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.fr-alert__list li { padding: 10px 14px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); }
.fr-alert__list strong { display: block; color: var(--text); font-weight: 650; }
.swal2-container .fr-alert .swal2-actions { margin-top: 24px; }
.swal2-container .fr-alert .btn { min-width: 160px; justify-content: center; }
.swal2-container .fr-alert__icon { margin-top: 0; transform: scale(0.8); }
.swal2-container .fr-alert__icon.swal2-error { border-color: var(--rose); color: var(--rose); }
.swal2-container .fr-alert__icon.swal2-error [class^="swal2-x-mark-line"] { background-color: var(--rose); }
.swal2-container .fr-alert__icon.swal2-warning { border-color: var(--orange); color: var(--orange); }
.swal2-container .fr-alert__icon.swal2-info { border-color: var(--violet); color: var(--violet); }
.swal2-container .fr-alert__icon.swal2-success { border-color: color-mix(in srgb, var(--violet) 30%, transparent); }
.swal2-container .fr-alert__icon.swal2-success [class^="swal2-success-line"] { background-color: var(--violet); }
.swal2-container .fr-alert__icon.swal2-success .swal2-success-ring { border-color: color-mix(in srgb, var(--violet) 30%, transparent); }
.fr-alert--in { animation: frAlertIn 0.45s var(--ease-back) both; }
.fr-alert--out { animation: frAlertOut 0.2s ease both; }
@keyframes frAlertIn { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
@keyframes frAlertOut { to { opacity: 0; transform: scale(0.97); } }
@media (prefers-reduced-motion: reduce) { .fr-alert--in, .fr-alert--out { animation: none; } }

/* ==========================================================================
   Espace client (tableau de bord)
   ========================================================================== */
.login__preview { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: var(--r-md); background: var(--violet-50); color: var(--violet-ink); font-size: var(--t-xs); line-height: 1.5; }
.login__preview .icon { flex: none; margin-top: 1px; }

.page--app { background: var(--bg-soft); }
.app { --side: 272px; background: linear-gradient(to right, var(--surface) calc(var(--side) - 1px), var(--line) calc(var(--side) - 1px) var(--side), transparent var(--side)); display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.app__side-lang { display: none; padding: 0 8px; }
.page--app .chat__btn { padding: 0; width: 58px; justify-content: center; }
.page--app .chat__btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.app__side { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: 20px; padding: 22px 16px 18px; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; z-index: 60; }
.app__brand { display: flex; align-items: center; justify-content: space-between; padding: 4px 10px 10px; }
.app__brand svg { display: block; }
.app__close { display: none; }
.app-nav { display: grid; gap: 4px; }
.app-nav__group { padding: 14px 12px 6px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.app-nav ul { display: grid; gap: 2px; }
.app-nav__link { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; color: var(--text-2); font-size: var(--t-sm); font-weight: 500; text-align: left; transition: background 0.2s, color 0.2s; }
.app-nav__link .icon { width: 19px; height: 19px; flex: none; }
.app-nav__link:hover { background: var(--surface-2); color: var(--text); }
.app-nav__link[aria-current="page"] { background: var(--violet-50); color: var(--violet-ink); font-weight: 650; }
.app-nav__link[aria-current="page"]::before { content: ""; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); }
.app-nav__count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--grad); color: #fff; font-size: 0.6875rem; font-weight: 700; }
.app-help { margin-top: auto; display: grid; gap: 10px; padding: 18px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--violet-50), var(--rose-50)); border: 1px solid var(--line); }
.app-help p { font-size: var(--t-xs); color: var(--text-2); line-height: 1.5; }
.app-help strong { display: block; margin-bottom: 2px; color: var(--text); font-size: var(--t-sm); }
.app-help__link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 650; color: var(--violet-ink); }
.app-help__link:hover .icon { transform: translateX(3px); }
.app-help__link .icon { transition: transform 0.3s var(--ease); }

.app__main { min-width: 0; display: flex; flex-direction: column; }
.app__top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 clamp(16px, 2.6vw, 40px); background: color-mix(in srgb, var(--bg-soft) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.app__burger, .app__mobile-brand { display: none; }
.app__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.app-pop { position: relative; }
.app-pop__panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; min-width: 230px; padding: 8px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.app-pop__panel--wide { width: min(380px, calc(100vw - 32px)); padding: 0; }
.app-pop__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.app-pop__head p { font-weight: 700; }
.app-pop__head .link-btn { font-size: var(--t-xs); }
.app-pop__list a, .app-pop__list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font-size: var(--t-sm); text-align: left; }
.app-pop__list a:hover, .app-pop__list button:hover { background: var(--surface-2); }
.app-bell { position: relative; }
.app-bell__dot { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--rose); color: #fff; font-size: 0.625rem; font-weight: 700; border: 2px solid var(--bg-soft); }
.app-notifs { max-height: 360px; overflow-y: auto; padding: 6px; }
.app-notifs li { display: flex; gap: 12px; padding: 10px; border-radius: 12px; font-size: var(--t-xs); line-height: 1.45; }
.app-notifs li p { color: var(--text); font-weight: 500; }
.app-notifs li time { color: var(--text-3); }
.app-notifs__empty { color: var(--text-3); justify-content: center; padding: 22px 10px !important; }
.app-user { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--line-strong); transition: background 0.2s; }
.app-user:hover, .app-pop.is-open .app-user { background: var(--surface-2); }
.app-user__avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 0.8125rem; font-weight: 700; }
.app-user__text { display: grid; text-align: left; line-height: 1.2; }
.app-user__text strong { font-size: var(--t-xs); font-weight: 650; }
.app-user__text span { font-size: 0.75rem; color: var(--text-3); }

.app-preview { display: flex; align-items: flex-start; gap: 10px; margin: 18px clamp(16px, 2.6vw, 40px) 0; padding: 12px 16px; border-radius: var(--r-md); background: var(--orange-50); color: var(--orange-ink); border: 1px solid var(--orange-100); font-size: var(--t-xs); line-height: 1.5; }
.app-preview .icon { flex: none; margin-top: 1px; }
.app__content { flex: 1; padding: clamp(20px, 2.6vw, 36px) clamp(16px, 2.6vw, 40px) 120px; outline: none; }
.app-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.app-head__title { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.app-head__intro { margin-top: 8px; color: var(--text-2); }
.app-view { opacity: 1; }
.app-view.is-ready .app-view__inner { animation: appIn 0.5s var(--ease) both; }
@keyframes appIn { from { opacity: 0; transform: translateY(10px); } }
.app-loading { display: flex; align-items: center; gap: 12px; padding: 40px 0; color: var(--text-3); }
.app-loading__spin { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--violet); animation: spin 0.8s linear infinite; }
.app-empty { padding: 32px 20px; border-radius: var(--r-lg); border: 1px dashed var(--line-strong); color: var(--text-3); text-align: center; font-size: var(--t-sm); }
.app-empty--error { border-color: var(--rose-100); color: var(--rose-ink); }

/* Cartes et grilles */
.acard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; padding: clamp(18px, 2vw, 24px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.acard--flush { padding: 6px; }
.acard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acard__title { display: flex; align-items: center; gap: 10px; font-size: var(--t-md); font-weight: 700; letter-spacing: -0.02em; }
.acard__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 0.75rem; }
.acard__link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 650; color: var(--text-2); white-space: nowrap; }
.acard__link:hover { color: var(--text); }
.acard__link .icon { transition: transform 0.3s var(--ease); }
.acard__link:hover .icon { transform: translateX(3px); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ico label" "value value" "sub sub"; align-items: center; column-gap: 12px; row-gap: 6px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; }
.kpi > .ico { grid-area: ico; }
a.kpi:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.kpi__label { grid-area: label; font-size: var(--t-xs); font-weight: 600; color: var(--text-2); }
.kpi__value { grid-area: value; margin-top: 10px; font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.kpi__sub { grid-area: sub; font-size: var(--t-xs); color: var(--text-3); }

.dash { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.dash__main, .dash__side { display: grid; gap: var(--gap); min-width: 0; }

/* Statuts */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 650; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--ok { background: #e9f8f0; color: #157a4f; }
.pill--violet { background: var(--violet-50); color: var(--violet-ink); }
.pill--orange { background: var(--orange-50); color: var(--orange-ink); }
.pill--rose { background: var(--rose-50); color: var(--rose-ink); }
.pill--muted { background: var(--surface-2); color: var(--text-3); }
:root[data-theme="dark"] .pill--ok { background: #10291e; color: #6fdcaa; }

.abar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.abar span { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; animation: barIn 1s var(--ease) both; }
@keyframes barIn { from { transform: scaleX(0); } }

/* Projets (tableau de bord) */
.pminis { display: grid; gap: 4px; }
.pmini { display: flex; gap: 14px; padding: 14px 4px; border-top: 1px solid var(--line); }
.pmini:first-child { border-top: 0; padding-top: 0; }
.pmini__body { flex: 1; min-width: 0; display: grid; gap: 8px; }
.pmini__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pmini__top strong { font-weight: 650; }
.pmini__bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; font-size: var(--t-xs); font-weight: 650; }
.pmini__meta { font-size: var(--t-xs); color: var(--text-3); }

/* À faire */
.acard--todo { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.todo { display: grid; gap: 4px; }
.todo__item { display: flex; align-items: center; gap: 12px; padding: 10px; margin: 0 -10px; border-radius: 14px; transition: background 0.2s; }
.todo__item:hover { background: var(--surface-2); }
.todo__ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 11px; background: var(--surface-2); color: var(--text-2); }
.todo__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.todo__body strong { font-size: var(--t-sm); font-weight: 650; }
.todo__body span { font-size: var(--t-xs); color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.todo__when { flex: none; font-size: 0.75rem; font-weight: 650; color: var(--text-3); }
.todo__when.is-soon { color: var(--rose-ink); }

/* Services (aperçu) et fil d'activité */
.smini { display: grid; gap: 10px; }
.smini li { display: flex; align-items: center; gap: 12px; }
.smini__name { flex: 1; font-size: var(--t-sm); font-weight: 550; }
.afeed { position: relative; display: grid; gap: 16px; }
.afeed::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.afeed__item { position: relative; display: flex; gap: 12px; font-size: var(--t-xs); line-height: 1.45; }
.afeed__item p { color: var(--text); font-weight: 500; }
.afeed__item time { color: var(--text-3); }
.afeed__ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }
.afeed__ico--paid, .afeed__ico--delivered { color: #157a4f; }
.afeed__ico--quote, .afeed__ico--invoice { color: var(--orange-ink); }
.afeed__ico--file, .afeed__ico--step { color: var(--violet-ink); }

/* Tableaux */
.atable-wrap { overflow-x: auto; margin: 0 -6px; }
.atable { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.atable th { padding: 12px 16px; text-align: left; font-size: 0.75rem; font-weight: 650; color: var(--text-3); white-space: nowrap; border-bottom: 1px solid var(--line); }
.atable td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.atable tbody tr:last-child td { border-bottom: 0; }
.atable tbody tr { transition: background 0.2s; }
.atable tbody tr:hover { background: var(--bg-soft); }
.atable .is-end { text-align: right; }
.aref { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.8125rem; color: var(--text-2); white-space: nowrap; }
.arow-actions { display: inline-flex; gap: 6px; justify-content: flex-end; }

/* Boutons de l'espace client */
.abtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: var(--t-xs); font-weight: 650; white-space: nowrap; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.abtn:hover { background: var(--surface-2); border-color: var(--text-3); }
.abtn:active { transform: scale(0.97); }
.abtn--grad { border: 0; color: #fff; background: var(--grad); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--rose) 70%, transparent); }
.abtn--grad:hover { background: var(--grad); filter: brightness(1.06); }
.abtn--icon { width: 38px; padding: 0; }
.abtn--icon span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.abtn--block { width: 100%; }

/* Outils de liste */
.atoolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.atabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); overflow-x: auto; max-width: 100%; }
.atab { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: var(--t-xs); font-weight: 600; color: var(--text-2); white-space: nowrap; transition: background 0.2s, color 0.2s; }
.atab:hover { color: var(--text); }
.atab[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.atab__n { font-size: 0.6875rem; opacity: 0.65; }
.asearch { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; min-width: min(280px, 100%); border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-3); transition: border-color 0.2s, box-shadow 0.2s; }
.asearch:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px var(--focus); }
.asearch input { flex: 1; min-width: 0; border: 0; background: none; font-size: var(--t-sm); color: var(--text); outline: none; }
.afilter-note { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--violet-50); color: var(--violet-ink); font-size: var(--t-xs); font-weight: 600; }
.afilter-note a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--text-2); }
.afilter-note a .icon { transform: rotate(180deg); }

/* Projets (rubrique) */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: var(--gap); }
.pcard-x { display: grid; gap: 18px; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pcard-x__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.pcard-x__title { font-size: var(--t-md); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.pcard-x__meta { margin-top: 2px; font-size: var(--t-xs); color: var(--text-3); }
.pcard-x__progress { display: flex; justify-content: space-between; font-size: var(--t-xs); color: var(--text-2); margin-bottom: -8px; }
.pcard-x__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.pcard-x__next { display: flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--text-2); }
.pcard-x__next strong { color: var(--text); font-weight: 650; }
.pcard-x__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.psteps { display: grid; grid-template-columns: repeat(4, 1fr); }
.psteps__item { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 0.75rem; color: var(--text-3); }
.psteps__item::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.psteps__item:first-child::before { display: none; }
.psteps__item.is-done::before, .psteps__item.is-current::before { background: var(--grad); }
.psteps__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); font-weight: 700; font-size: 0.75rem; }
.psteps__item.is-done .psteps__dot { border: 0; background: var(--grad); color: #fff; }
.psteps__item.is-current .psteps__dot { border-color: var(--rose); color: var(--rose-ink); box-shadow: 0 0 0 5px var(--rose-50); }
.psteps__item.is-current, .psteps__item.is-done { color: var(--text); font-weight: 600; }

/* Abonnements */
.subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--gap); }
.sub { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sub__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sub__name { font-size: var(--t-md); font-weight: 700; letter-spacing: -0.02em; }
.sub__plan { margin-top: -6px; font-size: var(--t-xs); color: var(--text-3); }
.sub__price { font-size: var(--t-sm); color: var(--text-2); }
.sub__price strong { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.04em; color: var(--text); }
.sub__renew { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); font-size: var(--t-xs); font-weight: 600; }
.sub__label { margin-top: 6px; font-size: 0.75rem; font-weight: 700; color: var(--text-3); }
.sub__features { display: grid; gap: 8px; font-size: var(--t-sm); color: var(--text-2); }
.sub__features li { display: flex; align-items: center; gap: 10px; }
.sub__features .icon { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--grad); color: #fff; stroke-width: 3; }
.sub__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.sub__since { font-size: 0.75rem; color: var(--text-3); }

/* Produits et services */
.svcxs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--gap); }
.svcx { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.svcx__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.svcx__name { font-size: var(--t-md); font-weight: 700; letter-spacing: -0.02em; }
.svcx__usage { display: grid; gap: 8px; }
.svcx__usage-top { display: flex; justify-content: space-between; gap: 10px; font-size: var(--t-xs); color: var(--text-2); }
.svcx__usage-top strong { color: var(--text); }
.svcx__rows { display: grid; }
.svcx__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--t-xs); }
.svcx__row dt { color: var(--text-3); }
.svcx__row dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.aswitch-v { display: inline-flex; align-items: center; gap: 6px; }
.aswitch-v::before { content: ""; width: 26px; height: 16px; border-radius: 999px; background: var(--line-strong); box-shadow: inset -10px 0 0 2px var(--surface); }
.aswitch-v.is-on::before { background: var(--grad); box-shadow: inset 10px 0 0 2px transparent; }
.svcx__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

/* Documents */
.docs { display: grid; gap: 10px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.3s; }
.doc:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.doc__ico { position: relative; display: grid; place-items: center; width: 48px; height: 54px; flex: none; border-radius: 12px; background: var(--rose-50); color: var(--rose-ink); }
.doc__ico--archive { background: var(--violet-50); color: var(--violet-ink); }
.doc__ico > span { position: absolute; bottom: 6px; font-size: 0.5625rem; font-weight: 800; letter-spacing: 0.04em; }
.doc__ico .icon { margin-top: -10px; width: 20px; height: 20px; }
.doc__body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.doc__name { font-weight: 650; overflow-wrap: anywhere; }
.doc__meta { font-size: var(--t-xs); color: var(--text-3); }

/* Profil */
.pgrid-x { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.pgrid-x__side { display: grid; gap: var(--gap); }
.aform { gap: 18px; }
.aform .field label { display: block; margin-bottom: 8px; font-size: var(--t-xs); font-weight: 650; }
.aform .field input { min-height: 48px; padding: 10px 14px; border-radius: 12px; font-size: var(--t-sm); }
.aform .form__row { gap: 14px; }
.form__row--3 { grid-template-columns: 1fr 1.4fr 1fr; }
.aform__sub { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--t-sm); font-weight: 700; }
.aform__foot { display: flex; justify-content: flex-end; }
.asec { display: flex; gap: 12px; align-items: flex-start; }
.asec strong { font-weight: 650; }
.asec p { font-size: var(--t-xs); color: var(--text-3); }
.asec__last { display: flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--text-2); }
.aswitches { display: grid; }
.aswitch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: var(--t-sm); cursor: pointer; }
.aswitches li:first-child .aswitch { border-top: 0; padding-top: 0; }
.aswitch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.aswitch__ui { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line-strong); transition: background 0.3s; }
.aswitch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); transition: transform 0.35s var(--ease-back); }
.aswitch input:checked + .aswitch__ui { background: var(--grad); }
.aswitch input:checked + .aswitch__ui::after { transform: translateX(18px); }
.aswitch input:focus-visible + .aswitch__ui { box-shadow: 0 0 0 4px var(--focus); }

/* Espace client : responsive */
@media (max-width: 1280px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash, .pgrid-x { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .app { grid-template-columns: minmax(0, 1fr); background: none; }
  .app__side { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); transform: translateX(-102%); transition: transform 0.45s var(--ease); box-shadow: var(--shadow-lg); }
  .app__side.is-open { transform: none; }
  .app__close { display: grid; }
  .app__scrim { position: fixed; inset: 0; z-index: 55; background: rgba(20, 12, 28, 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .app__burger { display: grid; }
  .app__mobile-brand { display: block; }
  .app-nav-open { overflow: hidden; }
}
@media (max-width: 760px) {
  .app__top { height: 64px; gap: 8px; }
  .app__tools { gap: 6px; }
  .app__side-lang { display: block; }
  .app__side-lang .lang__menu { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
  .app__tools .lang, .app-user__text, .app-user > .icon { display: none; }
  .app-user { padding: 0; border: 0; height: auto; }
  .kpis, .kpis--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .kpis--3 .kpi:first-child { grid-column: span 2; }
  .kpi { padding: 16px; }
  .app-head { margin-bottom: 20px; }
  .atoolbar { flex-direction: column; align-items: stretch; }
  .asearch { min-width: 0; }
  .form__row--3 { grid-template-columns: 1fr; }
  .pcard-x__head, .svcx__head { grid-template-columns: auto 1fr; }
  .pcard-x__head .pill, .svcx__head .pill { grid-column: 2; justify-self: start; }
  .psteps__label { font-size: 0.6875rem; }
  .doc { padding: 12px; gap: 12px; }
}
@media (max-width: 900px) {
  .atable thead { display: none; }
  .atable, .atable tbody, .atable tr, .atable td { display: block; }
  .atable tr { padding: 12px 10px; border-bottom: 1px solid var(--line); }
  .atable tbody tr:last-child { border-bottom: 0; }
  .atable td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 0; border: 0; text-align: right; }
  .atable td::before { content: attr(data-label); font-size: 0.75rem; font-weight: 600; color: var(--text-3); text-align: left; }
  .atable .is-end { text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .abar span, .app-view.is-ready .app-view__inner { animation: none; }
}

/* Sélecteur de pays avec recherche (espace client et administration) */
.csel { position: relative; }
.csel__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); font-size: var(--t-sm); text-align: left; transition: border-color 0.25s, box-shadow 0.25s; }
.csel__btn:hover { border-color: var(--line-strong); }
.csel__btn:focus-visible, .csel.is-open .csel__btn { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--focus); background: var(--surface); }
.csel__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csel.is-open .csel__btn .icon { transform: rotate(180deg); }
.csel__btn .icon { flex: none; transition: transform 0.3s var(--ease); }
.csel__panel { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); min-width: 240px; padding: 8px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.csel__search { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg-soft); font-size: var(--t-sm); color: var(--text); }
.csel__search:focus { outline: none; border-color: var(--violet); }
.csel__list { max-height: 240px; overflow-y: auto; margin-top: 6px; }
.csel__list li { padding: 9px 12px; border-radius: 9px; font-size: var(--t-sm); cursor: pointer; }
.csel__list li:hover, .csel__list li.is-active { background: var(--surface-2); }
.csel__list li[aria-selected="true"] { font-weight: 650; color: var(--violet-ink); }
.csel__empty { color: var(--text-3); cursor: default !important; }
.field select.is-pending { border-color: var(--orange); }

/* Photo de profil (espace client) */
.app-user__avatar { overflow: hidden; }
.app-user__avatar img { width: 100%; height: 100%; object-fit: cover; }
.aphoto { display: flex; align-items: center; gap: 18px; }
.aphoto__img { display: grid; place-items: center; width: 84px; height: 84px; flex: none; border-radius: 50%; overflow: hidden; background: var(--grad); color: #fff; font-size: 1.5rem; font-weight: 700; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line); }
.aphoto__img img { width: 100%; height: 100%; object-fit: cover; }
.aphoto__body { display: grid; gap: 10px; min-width: 0; }
.aphoto__body p { font-size: var(--t-xs); color: var(--text-3); }
.aphoto__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.aphoto__actions label { cursor: pointer; }
.aphoto__actions label:focus-within { box-shadow: 0 0 0 4px var(--focus); }
/* Formulaires dans les fenêtres (demande, mot de passe) */
.fr-alert__form { display: grid; gap: 8px; text-align: left; }
.fr-alert__form label { margin-top: 6px; font-size: var(--t-xs); font-weight: 650; color: var(--text); }
.swal2-container .fr-alert__input { width: 100%; margin: 0; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); color: var(--text); font: inherit; font-size: var(--t-sm); box-shadow: none; }
.swal2-container .fr-alert__input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--focus); }
.swal2-container textarea.fr-alert__input { min-height: 120px; resize: vertical; }
.swal2-container .fr-alert__error { margin: 12px 0 0; border-radius: 10px; background: var(--rose-50); color: var(--rose-ink); font-size: var(--t-xs); }
.swal2-container .fr-alert .swal2-actions { gap: 8px; }

.field input.is-auto { background: var(--surface-2); color: var(--text-2); cursor: not-allowed; }

/* ------------------------------------------------------------------ Bandeau cookies */
.ftr__cookies { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.ftr__cookies:hover { color: var(--text); }
.consent { position: fixed; left: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px); z-index: 90; width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; display: grid; gap: 16px; padding: 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg), var(--shadow-md); opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.consent.is-in { opacity: 1; transform: none; }
.consent:focus { outline: none; }
.consent__head { display: flex; align-items: center; gap: 12px; }
.consent__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--grad); color: #fff; flex: none; }
.consent__ico .icon { width: 21px; height: 21px; }
.consent__title { flex: 1; margin: 0; font-size: 1.125rem; font-weight: 650; letter-spacing: -0.01em; }
.consent__x { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--text-3); cursor: pointer; }
.consent__x:hover { background: var(--surface-2); color: var(--text); }
.consent__text { margin: 0; font-size: 0.875rem; line-height: 1.6; color: var(--text-2); }
.consent__text a { color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme="dark"] .consent__text a { color: #e2a6f7; }
.consent__cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.consent__switch { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); cursor: pointer; }
.consent__switch > span:first-child { flex: 1; display: grid; gap: 2px; }
.consent__switch strong { font-size: 0.875rem; }
.consent__switch small { font-size: 0.8125rem; line-height: 1.45; color: var(--text-3); }
.consent__switch em { font-style: normal; font-size: 0.75rem; font-weight: 650; color: var(--text-3); white-space: nowrap; }
.consent__switch input { position: absolute; opacity: 0; pointer-events: none; }
.consent__toggle { position: relative; width: 44px; height: 26px; border-radius: 99px; background: var(--line-strong); transition: background .25s; flex: none; }
.consent__toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.consent__switch input:checked + .consent__toggle { background: var(--grad); }
.consent__switch input:checked + .consent__toggle::after { transform: translateX(18px); }
.consent__switch input:focus-visible + .consent__toggle { box-shadow: 0 0 0 4px var(--focus); }
.consent__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.consent__btn { height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--text); cursor: pointer; transition: background .2s, border-color .2s; }
.consent__btn:hover { background: var(--surface-2); }
.consent__btn--main { border-color: transparent; background: var(--brand-ink); color: #fff; }
.consent__btn--main:hover { background: #3a383b; }
:root[data-theme="dark"] .consent__btn--main { background: #fff; color: var(--brand-ink); }
.consent__btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--focus); }
.consent__btn[hidden] { display: none; }
@media (max-width: 520px) { .consent { padding: 18px; border-radius: 20px; } .consent__actions { grid-template-columns: 1fr 1fr; } .consent__btn--main { grid-column: 1 / -1; order: -1; } }
@media print { .consent { display: none !important; } }

/* ------------------------------------------------------------------ Espace client : détail des documents et règlement */
.apaid { display: block; font-size: 0.75rem; font-weight: 600; color: var(--ok, #157a4f); }
.swal2-container .fr-alert--doc { max-width: calc(100vw - 24px); padding: 28px 26px 24px; text-align: left; }
.fr-alert--doc .swal2-html-container { margin: 0; text-align: left; }
.ddoc { display: grid; gap: 16px; text-align: left; }
.ddoc__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-right: 48px; }
.ddoc__kind { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
:root[data-theme="dark"] .ddoc__kind { color: #e2a6f7; }
.ddoc__ref { margin: 2px 0 0; font-size: 1.375rem; font-weight: 650; letter-spacing: -0.02em; }
.ddoc__title { margin: 2px 0 0; color: var(--text-2); font-size: 0.9375rem; }
.ddoc__meta { margin: 0; font-size: 0.875rem; color: var(--text-3); }
.ddoc__actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.dlines { display: grid; gap: 14px; }
.dlines__table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.dlines__table th { padding: 10px 12px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); text-align: left; background: var(--surface-2); }
.dlines__table th:first-child { border-radius: 10px 0 0 10px; } .dlines__table th:last-child { border-radius: 0 10px 10px 0; }
.dlines__table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dlines__table td p { margin: 4px 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--text-3); }
.dlines__table .is-end { text-align: right; white-space: nowrap; }
.dlines__totals { margin: 0 0 0 auto; display: grid; gap: 6px; min-width: min(300px, 100%); padding: 14px 16px; border-radius: 16px; background: var(--surface-2); }
.dlines__totals div { display: flex; justify-content: space-between; gap: 16px; font-size: 0.875rem; }
.dlines__totals dt { color: var(--text-2); } .dlines__totals dd { margin: 0; font-weight: 600; }
.dlines__ttc { padding-top: 8px; border-top: 1px solid var(--line-strong); }
.dlines__ttc dt { color: var(--text) !important; font-weight: 700; }
.dlines__ttc dd { font-size: 1.125rem; font-weight: 700 !important; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 560px) {
  .dlines__table thead { display: none; }
  .dlines__table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .dlines__table td { padding: 0; border: 0; }
  .ddoc__actions .abtn { flex: 1 1 auto; justify-content: center; }
}
.dpay { display: grid; gap: 10px; text-align: left; }
.dpay__intro { margin: 0 0 4px; font-size: 0.9375rem; color: var(--text-2); }
.dpay__card { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 0; border-radius: 18px; background: var(--grad); color: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: var(--shadow-glow); transition: transform .3s var(--ease); }
.dpay__card:hover { transform: translateY(-2px); }
.dpay__card:disabled { opacity: .75; cursor: progress; }
.dpay__card > span { flex: 1; display: grid; gap: 2px; }
.dpay__card strong { font-size: 1rem; } .dpay__card small { font-size: 0.8125rem; opacity: .85; }
.dpay__opt { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.dpay__opt summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 600; cursor: pointer; list-style: none; }
.dpay__opt summary::-webkit-details-marker { display: none; }
.dpay__opt[open] summary { border-bottom: 1px solid var(--line); }
.dpay__opt dl { margin: 0; padding: 10px 16px 14px; display: grid; gap: 8px; }
.dpay__row { display: grid; grid-template-columns: 140px 1fr; gap: 10px; font-size: 0.875rem; }
.dpay__row dt { color: var(--text-3); }
.dpay__row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.dpay__copy { margin-left: 6px; padding: 2px 10px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); font: inherit; font-size: 0.75rem; font-weight: 600; color: var(--text-2); cursor: pointer; }
@media (max-width: 480px) { .dpay__row { grid-template-columns: 1fr; gap: 0; } }

/* Articles : photos et boutons insérés dans le texte */
.prose img { max-width: 100%; height: auto; border-radius: var(--r-lg, 18px); }
.prose .post-figure { margin: 2em 0; }
.prose .post-figure img { display: block; width: 100%; box-shadow: var(--shadow-sm); }
.prose .post-figure figcaption { margin-top: 0.6em; font-size: 0.875rem; color: var(--text-3); text-align: center; }
.prose .post-cta { margin: 1.8em 0; }
.prose .post-cta .btn { text-decoration: none; color: #fff; }

/* ------------------------------------------------------------------ Bandeau d'annonces */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 40px; overflow: hidden; background: var(--tb-bg, #1f1e1f); color: var(--tb-ink, #fff); transition: background-color .8s var(--ease), color .8s var(--ease), transform .5s var(--ease); font-size: 0.875rem; }
.topbar__track { position: relative; height: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; }
.topbar__item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-inline: 16px; text-align: center; transform: translateY(100%); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.topbar__item.is-before { transform: translateY(-100%); }
.topbar__item.is-active { transform: none; opacity: 1; }
.topbar__item a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.topbar__item a:hover .topbar__text { text-decoration: underline; text-underline-offset: 3px; }
.topbar__item a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.topbar__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar strong { font-weight: 700; }
.has-topbar body { padding-top: var(--topbar-h, 40px); }
.has-topbar .hdr { top: calc(14px + var(--topbar-h, 40px)); }
.has-topbar body:has(.hdr.is-hidden) .topbar { transform: translateY(-100%); }
@media (max-width: 600px) { .topbar { height: 36px; font-size: 0.8125rem; } .topbar__text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; } }
@media (prefers-reduced-motion: reduce) { .topbar__item { transition: opacity .3s; transform: none !important; } }
/* Logo de la charte graphique en cours (affiché par /uploads/charte.css) */
.brand-custom { display: none; width: var(--brand-w, 156px); max-width: 100%; max-height: 52px; aspect-ratio: 4; background: center left / contain no-repeat; }
.hdr__brand .brand-custom { width: 156px; }
.ftr__logo .brand-custom { width: 176px; }
@media (max-width: 900px) { .hdr__brand .brand-custom { width: 138px; } }
.dpay__choose { margin: 0 16px 14px; }
.sub__acts { display: inline-flex; gap: 6px; }
.case__facts:not(:has(div)) { display: none; }
@media (min-width: 900px) {
  .case__story--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case__story--1 { grid-template-columns: minmax(0, 72ch); }
}

/* ---------------------------------------------------------------------------
   Espace client : page d'une commande, historique, adresses, résiliation
   --------------------------------------------------------------------------- */
.aback { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: var(--t-xs); font-weight: 650; color: var(--text-2); }
.aback .icon { transform: rotate(180deg); }
.aback:hover { color: var(--text); }
.arow-link { color: inherit; font-weight: 600; }
.arow-link:hover, a.aref:hover { color: var(--violet-ink); text-decoration: underline; text-underline-offset: 3px; }
.ohead { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.ohead__ref { font-size: var(--t-xs); color: var(--text-3); }
.ohead__title { font-size: 1.25rem; margin-top: 4px; overflow-wrap: anywhere; }
.ohead__alert { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px; border-radius: 999px; background: var(--rose-50); color: var(--rose-ink); font-size: var(--t-xs); font-weight: 650; }
.ohead__side { display: grid; justify-items: end; gap: 6px; text-align: right; }
.ohead__side strong { font-size: 1.25rem; }
.ohead__side small { color: var(--text-3); font-size: var(--t-xs); }
.otabs { margin-bottom: 16px; }
.otab-panel { min-height: 160px; }
.atab__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rose-50); color: var(--rose-ink); opacity: 1; font-weight: 700; }
.othread { display: grid; gap: 12px; max-height: 60vh; overflow-y: auto; padding: 4px 2px 12px; }
.othread__msg { max-width: min(78%, 560px); padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface-2); border: 1px solid var(--line); }
.othread__msg.is-mine { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--violet-50); border-color: transparent; }
.othread__meta { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; font-size: 0.75rem; color: var(--text-3); margin-bottom: 4px; }
.othread__meta strong { color: var(--text); font-size: var(--t-xs); }
.othread__body { font-size: var(--t-sm); line-height: 1.55; overflow-wrap: anywhere; }
.othread__event { justify-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--text-3); text-align: center; }
.ocompose { display: grid; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.ocompose textarea { width: 100%; min-height: 84px; padding: 12px 14px; border-radius: var(--r-md, 14px); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: var(--t-sm); resize: vertical; }
.ocompose textarea:focus { outline: 2px solid var(--violet); outline-offset: 1px; }
.ocompose__foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ocompose__attach { cursor: pointer; max-width: 100%; }
.ocompose__attach span { overflow: hidden; text-overflow: ellipsis; }
.ofile { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: var(--t-xs); font-weight: 600; max-width: 100%; }
.ofile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ofile small { color: var(--text-3); font-weight: 500; }
.ofile:hover { border-color: var(--text-3); }
.ofiles { display: grid; gap: 8px; }
.ofiles li { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ofiles .ofile { margin-top: 0; }
.ofiles__meta { font-size: 0.75rem; color: var(--text-3); }
.oproofs { display: grid; gap: 12px; }
.oproof { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.oproof--pending { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-50); }
.oproof__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.oproof__comment { margin-top: 10px; font-size: var(--t-sm); color: var(--text-2); font-style: italic; }
.oproof__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.oship { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); font-size: var(--t-sm); }
.oship p { color: var(--text-2); margin-top: 2px; }
.ominis { display: grid; gap: 4px; }
.omini { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .2s; }
.omini:hover { background: var(--surface-2); }
.omini__body { flex: 1; min-width: 0; display: grid; }
.omini__body strong { font-size: var(--t-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.omini__body small { font-size: 0.75rem; color: var(--text-3); }
.omini__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
/* Activité : auteur de chaque action */
.afeed__meta { display: block; font-size: 0.75rem; color: var(--text-3); margin-top: 2px; }
.afeed__by { font-weight: 650; color: var(--text-2); }
.afeed__item--you .afeed__by { color: var(--violet-ink); }
.afeed__item p a { color: inherit; }
.afeed__item p a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ahist { margin-top: 16px; display: grid; gap: 12px; }
.ahist__day { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); padding-top: 6px; }
.ahist__day:not(:first-child) { border-top: 1px solid var(--line); padding-top: 16px; }
/* Profil : adresses de livraison */
.pgrid-x__main { display: grid; gap: var(--gap); min-width: 0; }
.aaddr .acard__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.aaddr__intro { font-size: var(--t-xs); color: var(--text-3); margin: 4px 0 14px; }
.aaddr__list { display: grid; gap: 10px; }
.aaddr__item { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); }
.aaddr__item.is-default { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-50); }
.aaddr__name { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: var(--t-sm); }
.aaddr__lines { font-size: var(--t-xs); color: var(--text-2); line-height: 1.6; margin-top: 4px; overflow-wrap: anywhere; }
.aaddr__acts { display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; }
.aaddr__form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.abtn--sm { height: 32px; padding: 0 12px; }
.abtn--danger:hover { color: var(--rose-ink); border-color: var(--rose-ink); }
.aswitch--inline { border-top: 0; padding: 4px 0 12px; justify-content: flex-start; }
.aform [aria-invalid="true"] { border-color: var(--rose-ink) !important; }
/* Abonnements : résiliation */
.sub__cancel { margin-top: 12px; }
.sub__renew--end { color: var(--rose-ink); }
.abtn--ghost { background: transparent; }
@media (max-width: 600px) {
  .othread__msg { max-width: 92%; }
  .ohead__side { justify-items: start; text-align: left; }
}
.sub__renew--wait { color: var(--orange-ink); }
.sub__renew--wait + .abtn { margin-top: 10px; }
.oaction { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 14px 16px; border-radius: 16px; background: var(--rose-50); color: var(--rose-ink); font-size: var(--t-sm); }
.oaction p { margin-top: 4px; font-size: var(--t-xs); line-height: 1.6; }
.oaction a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.oaction .icon { flex: none; margin-top: 2px; }
button.ofile { font: inherit; font-size: var(--t-xs); font-weight: 600; color: var(--text); cursor: pointer; text-align: left; }
.oproof button.ofile { border-color: var(--violet); }
.fr-alert.opreview { padding: 20px; }
.opreview .fr-alert__text { margin: 12px 0 0; padding: 0; }
.opreview__body { border-radius: 14px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.opreview__frame { width: 100%; height: min(72vh, 900px); border: 0; display: block; background: #fff; }
.opreview__img { max-width: 100%; max-height: 72vh; display: block; object-fit: contain; }
.opreview__foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.opreview__foot .grow { flex: 1; }
@media (max-width: 600px) { .fr-alert.opreview { padding: 14px; } .opreview__frame { height: 62vh; } .opreview__foot .abtn { flex: 1; } .opreview__foot .grow { display: none; } }
.ochat-note { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--violet-50); color: var(--violet-ink); font-size: var(--t-xs); font-weight: 600; }
.ochat-note.is-closed { background: var(--surface-2); color: var(--text-2); }
.ochat-note a { text-decoration: underline; text-underline-offset: 3px; }
.opreview__body { place-items: stretch; }
.opreview__pages { max-height: min(72vh, 900px); overflow-y: auto; display: grid; justify-items: center; gap: 12px; padding: 12px; }
.opreview__pages .app-loading { padding: 60px 0; }
.opreview__page { display: block; max-width: 100%; height: auto; background: #fff; box-shadow: 0 6px 24px -12px rgba(0,0,0,.35); border-radius: 4px; }
.opreview__img { justify-self: center; }
.opreview .abtn { text-decoration: none; }
@media (max-width: 600px) { .opreview__pages { max-height: 62vh; padding: 8px; } }
.fr-alert__text a.abtn, .opreview a.abtn { text-decoration: none; color: var(--text); }
/* Commande › Impression : frise de suivi */
.oprints { display: grid; gap: 14px; }
.oprint { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 18px; }
.oprint__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.oprint__head h3 { font-size: 1rem; }
.oprint__head h3 span { color: var(--text-3); font-weight: 600; }
.oprint__head p { font-size: var(--t-xs); color: var(--text-3); margin-top: 4px; }
.otl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.otl__step { position: relative; display: grid; gap: 2px; padding-top: 30px; font-size: var(--t-xs); color: var(--text-3); }
.otl__step::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--line); }
.otl__step:first-child::before { left: 10px; }
.otl__step.is-done::before { background: var(--grad); }
.otl__step.is-current::before { background: linear-gradient(90deg, var(--violet) 0 50%, var(--line) 50%); }
.otl__dot { position: absolute; top: 0; left: 0; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 3px solid var(--line); color: #fff; }
.otl__step.is-done .otl__dot { background: var(--violet); border-color: var(--violet); }
.otl__step.is-current .otl__dot { border-color: var(--violet); box-shadow: 0 0 0 5px var(--violet-50); }
.otl__step.is-current:last-child .otl__dot { background: #1e9e63; border-color: #1e9e63; box-shadow: none; }
.otl__step strong { color: var(--text); font-size: var(--t-xs); }
.otl__step.is-current strong { color: var(--violet-ink); }
.otl__step small { font-size: 0.75rem; }
.oprint__track { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: var(--t-xs); font-weight: 600; }
.oprint__track > span { display: inline-flex; gap: 8px; align-items: center; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .otl { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .otl__step { padding: 0 0 0 36px; min-height: 24px; }
  .otl__step::before { top: 0; bottom: -16px; left: 10px; right: auto; width: 3px; height: auto; }
  .otl__step:first-child::before { left: 10px; }
  .otl__step:last-child::before { display: none; }
  .otl__step.is-current::before { background: var(--line); }
}
.oprint__event { order: 3; flex-basis: 100%; font-weight: 500; color: var(--text-3); }

/* Tchat en direct (bulle) */
.chat__panel { display: flex; flex-direction: column; max-height: min(620px, calc(100vh - 120px)); }
.chat__status { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--text-3); margin-top: 2px; }
.chat__status .chat__dot { background: var(--text-3); }
.chat__status.is-on .chat__dot { background: #1e9e63; box-shadow: 0 0 0 3px rgba(30, 158, 99, 0.18); }
.chat__live { display: flex; flex-direction: column; min-height: 0; flex: 1; margin-top: 14px; gap: 10px; }
.chat__msgs { list-style: none; margin: 0; padding: 2px 2px 4px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 120px; max-height: 340px; }
.chat__msg { display: grid; gap: 3px; max-width: 85%; }
.chat__msg small { font-size: 0.6875rem; color: var(--text-3); }
.chat__msg--team { align-self: flex-start; }
.chat__msg--me { align-self: flex-end; justify-items: end; }
.chat__bubble { padding: 9px 13px; border-radius: 16px 16px 16px 4px; background: var(--bg-soft); font-size: var(--t-sm); line-height: 1.5; overflow-wrap: anywhere; }
.chat__msg--me .chat__bubble { border-radius: 16px 16px 4px 16px; background: var(--grad); color: #fff; }
.chat__sys { align-self: center; font-size: 0.75rem; color: var(--text-3); text-align: center; }
.chat__typing { display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--bg-soft); align-self: flex-start; margin: -2px 0 0; }
.chat__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: chatdot 1.2s infinite ease-in-out; }
.chat__typing span:nth-child(2) { animation-delay: .15s; } .chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat__form { display: grid; gap: 8px; }
.chat__who { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chat__who[hidden] { display: none; }
.chat__form input, .chat__form textarea { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: var(--t-sm); min-width: 0; }
.chat__form input:focus, .chat__form textarea:focus { outline: 2px solid var(--violet); outline-offset: 1px; border-color: transparent; }
.chat__compose { display: flex; gap: 8px; align-items: flex-end; }
.chat__compose textarea { resize: none; max-height: 120px; line-height: 1.4; }
.chat__send { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; border: 0; cursor: pointer; transition: transform .2s; }
.chat__send:hover { transform: scale(1.06); }
.chat__note { margin: 0; font-size: 0.75rem; color: var(--rose-ink); }
.chat__more { font-size: var(--t-xs); }
.chat__more > summary { cursor: pointer; color: var(--text-3); font-weight: 600; list-style: none; }
.chat__more > summary::-webkit-details-marker { display: none; }
.chat__more[open] > summary { margin-bottom: 8px; }
.chat__btn { position: relative; }
.chat__badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--rose); color: #fff; font-size: 0.6875rem; font-weight: 700; box-shadow: 0 0 0 3px var(--bg); }
@media (max-width: 480px) { .chat__who { grid-template-columns: 1fr; } .chat__msgs { max-height: 46vh; } }

/* Tchat : parcours (accueil, connexion, présentation, discussion, note) */
.is-cobrowse .chat, .is-cobrowse .consent { display: none !important; }
.chat__body { display: flex; flex-direction: column; min-height: 0; flex: 1; margin-top: 14px; overflow-y: auto; }
.chat__step { display: grid; gap: 12px; align-content: start; }
.chat__step[hidden] { display: none; }
.chat__lead { font-size: var(--t-sm); color: var(--text-2); }
.chat__q { font-weight: 700; font-size: var(--t-sm); }
.chat__choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chat__pick { padding: 12px 10px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; font-size: var(--t-sm); font-weight: 650; cursor: pointer; color: var(--text); transition: border-color .2s, background .2s, transform .2s; }
.chat__pick:hover { border-color: var(--violet); background: var(--violet-50); transform: translateY(-1px); }
.chat__kb { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--bg-soft); }
.chat__kb-title { display: flex; gap: 6px; align-items: center; font-size: var(--t-xs); font-weight: 700; }
.chat__kb input { width: 100%; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: var(--t-sm); }
.chat__kb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.chat__kb-list a { display: grid; padding: 7px 10px; border-radius: 10px; background: var(--surface); font-size: var(--t-xs); font-weight: 600; line-height: 1.35; }
.chat__kb-list a:hover { color: var(--violet-ink); }
.chat__kb-list small { font-size: 0.6875rem; color: var(--text-3); font-weight: 500; }
.chat__kb-none { font-size: var(--t-xs); color: var(--text-3); }
.chat__kb-links { font-size: var(--t-xs); }
.chat__kb-links a { text-decoration: underline; text-underline-offset: 3px; }
.chat__back { justify-self: start; border: 0; background: none; padding: 0; font: inherit; font-size: var(--t-xs); color: var(--text-3); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.chat__login { justify-self: start; }
.chat__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chat__grid[hidden] { display: none; }
.chat__field { display: grid; gap: 4px; font-size: 0.75rem; font-weight: 600; color: var(--text-2); }
.chat__field[hidden] { display: none; }
.chat__ident input, .chat__ident textarea { width: 100%; padding: 9px 11px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: var(--t-sm); min-width: 0; }
.chat__ident [aria-invalid="true"] { border-color: var(--rose-ink); }
.chat__offline { padding: 10px 12px; border-radius: 12px; background: var(--orange-50); color: var(--orange-ink); font-size: var(--t-xs); line-height: 1.5; }
.chat__ident .btn { justify-self: start; }
.chat__done { justify-items: center; text-align: center; padding: 18px 6px; font-size: var(--t-sm); color: var(--text-2); }
.chat__done strong { color: var(--text); font-size: 1rem; }
.chat__msg { display: flex; gap: 8px; align-items: flex-end; }
.chat__msg--me { flex-direction: row-reverse; }
.chat__col { display: grid; gap: 3px; min-width: 0; }
.chat__msg--me .chat__col { justify-items: end; }
.chat__av { width: 28px; height: 28px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 0.6875rem; font-weight: 700; }
.chat__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chat__file { display: inline-flex; gap: 6px; align-items: center; max-width: 100%; padding: 7px 10px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; font-size: var(--t-xs); font-weight: 600; cursor: pointer; color: var(--text); }
.chat__file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.chat__file small { color: var(--text-3); font-weight: 500; }
.chat__attach { flex: none; width: 38px; height: 42px; display: grid; place-items: center; cursor: pointer; color: var(--text-2); border-radius: 12px; }
.chat__attach:hover { background: var(--bg-soft); color: var(--text); }
.chat__pending { font-size: 0.75rem; color: var(--text-2); }
.chat__pending button { border: 0; background: none; cursor: pointer; color: var(--text-3); }
.chat__rate { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--bg-soft); font-size: var(--t-sm); text-align: center; }
.chat__stars { display: flex; justify-content: center; gap: 4px; }
.chat__stars button { border: 0; background: none; font-size: 1.75rem; line-height: 1; color: var(--line-strong); cursor: pointer; transition: transform .15s, color .15s; padding: 0 2px; }
.chat__stars button:hover, .chat__stars button.is-on { color: var(--orange); transform: scale(1.1); }
.chat__rate textarea { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: var(--t-xs); resize: none; }
.chat__rate .btn { justify-self: center; }
.chat__rate .btn[disabled] { opacity: .5; pointer-events: none; }
.chat__thanks { font-weight: 650; color: var(--text); }
.chat__live { display: flex; flex-direction: column; gap: 10px; min-height: 0; flex: 1; margin-top: 0; }
.chat__live[hidden] { display: none; }
.chat__form[hidden] { display: none; }
.chat-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; background: rgba(15, 11, 18, 0.7); }
.chat-modal__box { width: min(960px, 100%); max-height: 92vh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); }
.chat-modal__box header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chat-modal__box header strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-modal__body { min-height: 0; overflow: auto; display: grid; place-items: center; border-radius: 12px; background: var(--bg-soft); }
.chat-modal__body img { max-width: 100%; max-height: 74vh; display: block; }
.chat-modal__body iframe { width: 100%; height: 74vh; border: 0; background: #fff; }
.chat-modal__box footer { display: flex; justify-content: flex-end; }
@media (max-width: 480px) { .chat__grid, .chat__choice { grid-template-columns: 1fr; } }

/* Tchat : zone de discussion (v2) — champ de saisie en une seule pastille, jamais rogné */
.chat__body { padding: 4px; margin: 10px -4px -4px; }
.chat__live { min-height: 260px; margin-top: 0; }
.chat__msgs { flex: 1; min-height: 150px; padding: 2px 2px 8px; }
.chat__compose { align-items: flex-end; gap: 4px; padding: 5px 5px 5px 4px; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.chat__compose:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-50); }
.chat__form .chat__compose textarea { flex: 1; border: 0; background: none; padding: 8px 4px; border-radius: 0; min-height: 36px; outline: none; box-shadow: none; }
.chat__form .chat__compose textarea:focus { outline: none; }
.chat__attach { width: 34px; height: 36px; border-radius: 50%; }
.chat__send { width: 36px; height: 36px; }
.chat__sys { align-self: stretch; display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; line-height: 1.4; }
.chat__sys::before, .chat__sys::after { content: ""; flex: 1; min-width: 16px; height: 1px; background: var(--line-strong); }
.chat__sys span { max-width: 78%; }
.chat__hello { align-self: flex-start; display: flex; gap: 8px; align-items: flex-end; max-width: 88%; }
.chat__hello .chat__bubble { border-radius: 16px 16px 16px 4px; }
.chat__msg--team { display: flex; gap: 8px; align-items: flex-end; }
.case__end:has(> :only-child) { grid-template-columns: 1fr; }
@media (max-width: 600px) { .ftr__langs .lang__menu { left: auto; right: 0; } }
.contact-page__socials { margin-top: 18px; }
.contact-page__socials .social { width: 48px; height: 48px; }
.contact-page__socials .social .fa-icon { width: 20px; height: 20px; }

/* Pied de page : sélecteur de langue (menu compact, lignes pleine largeur) */
.ftr__langs .lang__menu { width: 230px; min-width: 0; padding: 6px; border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(31, 30, 31, 0.35), 0 2px 6px rgba(31, 30, 31, 0.06); }
.ftr__col .lang__menu { display: grid; gap: 2px; }
.ftr__col .lang__menu li { display: block; }
.ftr__col .lang__menu a { display: flex; width: 100%; gap: 10px; padding: 8px 10px; border-radius: 12px; font-size: var(--t-sm); font-weight: 500; color: var(--text); line-height: 1.3; }
.ftr__col .lang__menu a::before { display: none; }
.ftr__col .lang__menu a:hover { background: var(--surface-2); }
.ftr__col .lang__menu a[aria-current] { background: var(--violet-50, var(--surface-2)); font-weight: 700; }
.ftr__col .lang__menu a[aria-current]::after { width: 7px; height: 7px; }
.ftr__col .lang__menu .lang__code { width: 30px; height: 22px; flex: none; }
.ftr__col .lang__menu a[aria-current] .lang__code { background: var(--grad); color: #fff; }
.adata__text { font-size: var(--t-sm); color: var(--text-2); margin: 0 0 14px; }
.adata__acts { display: grid; gap: 8px; }
.adata__link { display: inline-block; margin-top: 12px; font-size: var(--t-xs); color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.adata__link:hover { color: var(--text); }

/* Pied de page : choix de la langue (pastilles toujours visibles, sans menu déroulant) */
.ftr__col .flang { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; max-width: 220px; }
.ftr__col .flang li { display: block; min-width: 0; }
.ftr__col .flang__item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 4px 12px 4px 4px; border-radius: 11px; border: 1px solid transparent; background: transparent; color: var(--text-2); font-size: 0.8125rem; font-weight: 500; line-height: 1.2; transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s var(--ease); }
.ftr__col .flang__item::before { display: none; }
.ftr__col .flang__item:hover { color: var(--text); background: var(--surface); border-color: var(--line); }
.ftr__col .flang__item:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.flang__code { display: inline-grid; place-items: center; flex: none; width: 30px; height: 26px; border-radius: 8px; background: var(--surface-2); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.03em; color: var(--text-2); transition: background 0.25s, color 0.25s; }
.flang__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ftr__col .flang__item[aria-current] { border-color: var(--line); background: var(--surface); color: var(--text); font-weight: 650; box-shadow: 0 6px 18px -10px rgba(31, 30, 31, 0.25); }
.ftr__col .flang__item[aria-current]::after { content: ""; margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.ftr__col .flang__item[aria-current] .flang__code { background: var(--grad); color: #fff; }
@media (max-width: 600px) {
  .ftr__col .flang { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; max-width: none; }
  .flang__name { display: none; }
  .ftr__col .flang__item { justify-content: center; min-height: 44px; padding: 4px; border-color: var(--line); background: var(--surface); }
  .ftr__col .flang__item[aria-current]::after { display: none; }
  .flang__code { width: 100%; background: none; font-size: 0.8125rem; }
  .ftr__col .flang__item[aria-current] { background: var(--text); border-color: transparent; }
  .ftr__col .flang__item[aria-current] .flang__code { background: none; color: var(--bg); }
}

/* Espace client ouvert depuis l'administration (vue administrateur) */
.imp-bar { position: fixed; z-index: 900; left: 50%; bottom: 18px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 18px; background: #1f1e1f; color: #fff; font-size: 0.875rem; line-height: 1.4; box-shadow: 0 18px 50px -14px rgba(20,5,30,.55); }
.imp-bar .icon { flex: none; color: #ffab02; }
.imp-bar span { flex: 1; min-width: 0; }
.imp-bar strong { color: #ffab02; font-weight: 700; }
.imp-bar__out { flex: none; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.imp-bar__out:hover { background: rgba(255,255,255,.12); }
body.has-imp-bar { padding-bottom: 84px; }
@media (max-width: 640px) { .imp-bar { font-size: 0.8125rem; bottom: 10px; } }

/* Espace client › Support (demandes / tickets) */
.tk-top { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.tk-list { display: grid; gap: 10px; }
.tk-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: inherit; text-decoration: none; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.tk-item:hover { border-color: var(--line-strong, var(--line)); transform: translateY(-1px); }
.tk-item.is-unread { box-shadow: inset 3px 0 0 var(--rose); }
.tk-item__ico { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--violet-50); color: var(--violet-ink); }
.tk-item__body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.tk-item__ref { font-size: 0.75rem; color: var(--text-3); }
.tk-item__subject { font-size: 1rem; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-item__meta { font-size: 0.8125rem; color: var(--text-2); }
.tk-empty { display: grid; justify-items: center; gap: 10px; padding: 44px 24px; text-align: center; color: var(--text-2); }
.tk-empty .icon { width: 34px; height: 34px; color: var(--violet-ink); }
.tk-form { text-align: left; }
.tk-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tk-form__row > div { display: grid; gap: 6px; align-content: start; }
.tk-form__attach { justify-self: start; margin-top: 4px; cursor: pointer; }
.ohead__side .abtn--sm { margin-top: 4px; }
@media (max-width: 600px) { .tk-form__row { grid-template-columns: 1fr; } .tk-item { flex-wrap: wrap; } .tk-item .pill { margin-left: 56px; } }

/* Pied de page : newsletter */
.ftr__news-form { display: grid; gap: 10px; }
.ftr__news-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--bg-soft); border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.ftr__news-row:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 18%, transparent); }
.ftr__news-row input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: none; font: inherit; color: var(--text); outline: none; }
.ftr__news-row button { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.ftr__news-row button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px var(--rose); }
.ftr__news-row button:disabled { opacity: .6; }
.ftr__news-consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-xs, .8125rem); color: var(--text-2); cursor: pointer; padding-left: 8px; }
.ftr__news-consent input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--violet); flex: none; }
.ftr__news-status { margin: 0; padding-left: 8px; font-size: var(--t-xs, .8125rem); font-weight: 600; }
.ftr__news-status:empty { display: none; }
.ftr__news-status[data-kind=success] { color: var(--ok, #157a4f); } .ftr__news-status[data-kind=error] { color: var(--rose); }
.ftr__news-form.is-done .ftr__news-row, .ftr__news-form.is-done .ftr__news-consent { display: none; }
@media (max-width: 480px) { .ftr__news-row { flex-direction: column; border-radius: 20px; } .ftr__news-row input { min-height: 44px; } .ftr__news-row button { justify-content: center; } }
.chat[data-no-client] [data-go="intro"] { display: none; }
.share--hero { margin-top: 26px; }
.case__share { display: flex; justify-content: center; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.case__share .share { justify-content: center; padding: 18px 24px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.share__native[hidden] { display: none; }

/* Newsletter : fenêtre d'inscription ouverte depuis le lien du pied de page */
html.nlm-on { overflow: hidden; }
.nlm { width: min(520px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 28px; background: var(--bg); color: var(--text); box-shadow: 0 40px 100px -30px rgba(20, 12, 28, .55); overflow: auto; }
.nlm::backdrop { background: rgba(20, 12, 28, .5); backdrop-filter: blur(4px); }
.nlm[open] { animation: nlm-in .28s var(--ease, ease) both; }
.nlm[open]::backdrop { animation: nlm-fade .28s ease both; }
@keyframes nlm-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes nlm-fade { from { opacity: 0; } }
.nlm__box { position: relative; padding: clamp(28px, 5vw, 40px); border-top: 5px solid transparent; border-image: var(--grad) 1; border-image-width: 5px 0 0 0; }
.nlm__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--text-2); cursor: pointer; transition: color .2s, border-color .2s, transform .2s; }
.nlm__close:hover { color: var(--text); border-color: var(--text-2); transform: rotate(90deg); }
.nlm__close:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.nlm__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--grad); color: #fff; }
.nlm__icon .icon { width: 24px; height: 24px; }
.nlm h2 { margin: 0 48px 8px 0; font-size: var(--t-xl, 1.5rem); line-height: 1.2; }
.nlm #nlm-text { margin: 0 0 22px; color: var(--text-2); font-size: var(--t-sm, .9375rem); }
.nlm .ftr__news-status { padding-left: 4px; }
.nlm .ftr__news-form.is-done .ftr__news-status { padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--ok, #157a4f) 10%, transparent); font-size: var(--t-sm, .9375rem); }
@media (prefers-reduced-motion: reduce) { .nlm[open], .nlm[open]::backdrop { animation: none; } }

/* Signature électronique du devis */
.sign { gap: 10px; }
.sign__sum { margin: 0; font-size: var(--t-sm); color: var(--text-2); line-height: 1.55; }
.sign__pdf { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: var(--t-sm); font-weight: 650; color: var(--violet); }
.sign__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.sign__row > div { display: grid; gap: 6px; align-content: start; }
.sign__pad { position: relative; border: 1.5px dashed var(--line-strong, var(--line)); border-radius: 14px; background: #fff; overflow: hidden; }
.sign__pad canvas { display: block; width: 100%; height: 160px; touch-action: none; cursor: crosshair; }
.sign__hint { position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--t-sm); color: #9a94a3; pointer-events: none; }
.sign__clear { position: absolute; top: 8px; right: 8px; padding: 4px 10px; border: 1px solid #e3dde9; border-radius: 999px; background: #fff; font: inherit; font-size: var(--t-xs); font-weight: 650; color: #5a5660; cursor: pointer; }
.sign__consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px !important; font-weight: 600 !important; font-size: var(--t-sm) !important; cursor: pointer; }
.sign__consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--violet); }
.sign__legal { margin: 0; font-size: var(--t-xs); color: var(--text-3, var(--text-2)); line-height: 1.5; }
@media (max-width: 560px) { .sign__row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Avis clients (Google, Trustpilot) */
.stars { display: inline-flex; letter-spacing: 1px; color: #f5a400; font-size: 1.05rem; line-height: 1; }
.stars > span { color: var(--line-strong); }
.stars--sm { font-size: .9rem; }
.rv-badges { list-style: none; margin: 0 0 clamp(20px, 2.4vw, 32px); padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.rv-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.rv-badge:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.rv-badge:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.rv-badge__score { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.rv-badge__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange-50); color: #f5a400; }
.rv-badge__txt { display: flex; flex-direction: column; line-height: 1.2; }
.rv-badge__txt strong { font-size: var(--t-sm); }
.rv-badge__txt small { font-size: var(--t-xs); color: var(--text-3); }
.rv-badges--compact { margin: 20px 0 0; gap: 8px; }
.rv-badges--compact .rv-badge { padding: 8px 14px 8px 12px; gap: 9px; box-shadow: none; }
.rv-badges--compact .rv-badge__score { font-size: 1.2rem; }
.rv-card { flex: 0 0 clamp(280px, 30vw, 420px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2vw, 30px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.rv-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rv-card__src { font-size: var(--t-xs); font-weight: 600; letter-spacing: .02em; color: var(--text-3); padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); }
.rv-card__title { margin: 0; font-size: var(--t-md); line-height: 1.3; }
.rv-card__body { margin: 0; flex: 1; font-size: var(--t-sm); line-height: 1.65; color: var(--text); display: -webkit-box; -webkit-line-clamp: 8; line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card__body p { margin: 0 0 .6em; }
.rv-card__body p:last-child { margin: 0; }
.rv-card__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--t-xs); }
.rv-card__foot > span { display: flex; flex-direction: column; gap: 2px; }
.rv-card__foot strong { font-size: var(--t-sm); }
.rv-card__foot time { color: var(--text-3); }
.rv-card__link { display: inline-flex; align-items: center; gap: 6px; color: var(--violet-ink); font-weight: 600; text-decoration: none; }
.rv-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.rv__legal { max-width: 760px; margin: 8px 0 0; font-size: var(--t-xs); line-height: 1.6; color: var(--text-3); }
@media (max-width: 760px) { .rv-card { flex-basis: 84vw; } }

/* ------------------------------------------------------------------ Études de cas : objectifs, avant/après, résultats, témoignage */
.case__h2 { font-family: var(--f-display); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.case__lead { color: var(--text-2); margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); max-width: 60ch; }
.case__goals { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.case__goals--1 { grid-template-columns: minmax(0, 72ch); }
.case__objectives, .case__deliv { padding: clamp(24px, 2vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.case__objectives h2, .case__deliv h2 { font-size: var(--t-md); font-weight: 650; margin-bottom: 16px; }
.case__objectives ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.case__objectives li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.case__objectives li .icon { flex: none; margin-top: 3px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--violet-50); color: var(--violet-ink); }
.case__deliv ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.case__deliv li { padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: var(--t-sm); font-weight: 600; }

.ba { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); box-shadow: var(--shadow-md); user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba__img .frame__ph { position: absolute; inset: 0; display: grid; place-items: center; }
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(20, 12, 28, .62); color: #fff; font-size: var(--t-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(6px); pointer-events: none; }
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); pointer-events: none; }
.ba__handle > span { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: var(--violet-ink); box-shadow: var(--shadow-md); }
.ba__handle .icon:first-child { transform: rotate(90deg); margin-right: -4px; }
.ba__handle .icon:last-child { transform: rotate(-90deg); margin-left: -4px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba:has(.ba__range:focus-visible) .ba__handle > span { box-shadow: 0 0 0 4px var(--focus), var(--shadow-md); }

.case__kpis { list-style: none; margin: 0 0 clamp(1.5rem, 1rem + 1vw, 2rem); padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap); }
.case__kpis--1 { --n: 1; max-width: 420px; } .case__kpis--2 { --n: 2; } .case__kpis--3 { --n: 3; } .case__kpis--4 { --n: 4; }
.case__kpis li { display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 2vw, 30px); border-radius: var(--r-lg); background: var(--night); color: #fff; }
.case__kpis strong { font-family: var(--f-display); font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.4rem); line-height: 1; font-weight: 600; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case__kpis span { color: var(--on-dark-2); font-size: var(--t-sm); }
.case__restext { max-width: 72ch; color: var(--text-2); font-size: var(--t-md); white-space: pre-line; }

.case__quote { position: relative; margin: 0 auto; max-width: 860px; padding: clamp(32px, 3vw, 48px) clamp(24px, 4vw, 56px); border-radius: var(--r-lg); background: var(--bg-soft); text-align: center; }
.case__qmark { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); font-family: var(--f-display); font-size: 96px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case__quote blockquote { margin: 0; }
.case__quote blockquote p { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.35; letter-spacing: -0.01em; white-space: pre-line; }
.case__quote figcaption { margin-top: 18px; color: var(--text-3); font-weight: 600; }
.case__quote figcaption::before { content: '— '; }

.wcard__kpi { margin-top: 6px; font-size: var(--t-sm); color: var(--text-2); }
.wcard__kpi strong { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 900px) {
  .case__goals { grid-template-columns: 1fr; }
  .case__kpis--3, .case__kpis--4 { --n: 2; }
}
@media (max-width: 560px) {
  .case__kpis { --n: 1 !important; }
  .ba { aspect-ratio: 4 / 3; }
}

/* ------------------------------------------------------------------ Qui sommes-nous */
.about__photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-md); }
.about__photo img, .about__story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__kicker { font-size: var(--t-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-ink); margin-bottom: 14px; }
.about__statement { font-family: var(--f-display); font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; max-width: 22ch; }
.about__figures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap); }
.about__figures--1 { --n: 1; max-width: 360px; } .about__figures--2 { --n: 2; } .about__figures--3 { --n: 3; } .about__figures--4 { --n: 4; }
.about__figures li { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.about__figures strong { font-family: var(--f-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; font-weight: 600; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__figures span { color: var(--text-2); font-size: var(--t-sm); }
.about__story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.about__story--text { grid-template-columns: minmax(0, 72ch); }
.about__story-text .shead__title { margin-bottom: 20px; }
.about__prose { display: grid; gap: 14px; color: var(--text-2); font-size: var(--t-md); }
.about__story-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.about__values .philo__label { margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.about__vgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap); position: relative; }
.about__vgrid--1 { --n: 1; } .about__vgrid--2 { --n: 2; } .about__vgrid--3 { --n: 3; }
.about__vgrid li { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2vw, 32px); border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid var(--on-dark-line); }
.about__vgrid h3 { font-size: var(--t-lg); font-weight: 650; color: #fff; }
.about__vgrid p { color: var(--on-dark-2); }
.about__team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap); }
.about__team--1 { --n: 1; max-width: 420px; } .about__team--2 { --n: 2; max-width: 860px; } .about__team--3 { --n: 3; }
.member { display: flex; flex-direction: column; gap: 6px; }
.member__photo { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--grad); margin-bottom: 12px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo span { font-family: var(--f-display); font-size: clamp(3rem, 2rem + 4vw, 5rem); color: #fff; font-weight: 600; }
.member__name { font-size: var(--t-lg); font-weight: 700; }
.member__role { color: var(--violet-ink); font-weight: 600; font-size: var(--t-sm); }
.member__bio { color: var(--text-2); margin-top: 4px; }
.member__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: var(--t-sm); font-weight: 600; }
.audiences--light .aud { background: var(--bg-soft); color: var(--text); border-color: var(--line); }
.audiences--light .aud__text { color: var(--text-2); }
@media (max-width: 900px) {
  .about__story { grid-template-columns: 1fr; }
  .about__vgrid, .about__team { --n: 1 !important; max-width: none; }
  .about__figures--3, .about__figures--4 { --n: 2; }
}
@media (min-width: 560px) and (max-width: 900px) { .about__team { --n: 2 !important; } }
.audiences--light { margin-top: 0; }
.audiences--light .aud:hover { background: var(--surface); border-color: var(--line-strong); }
.audiences--light .aud__cta { color: var(--text); }
.about__statement .kw, .about__statement em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
@media (max-width: 760px) { .audiences--light { grid-template-columns: 1fr; } }
.js .about__statement .word { color: color-mix(in srgb, var(--text) 18%, transparent); transition: color 0.4s linear; }
.js .about__statement .word.is-lit { color: var(--text); }
.js .about__statement .word.kw { color: color-mix(in srgb, var(--text) 18%, transparent); background: none; }
.js .about__statement .word.kw.is-lit { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Qui sommes-nous sans photo : titre et mission côte à côte */
.phero--about .phero__grid.has-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px clamp(2rem, 1rem + 4vw, 5rem); }
.phero--about .phero__aside { position: relative; overflow: hidden; padding: clamp(28px, 2.5vw, 44px); background: var(--night); border-color: transparent; color: #fff; box-shadow: var(--shadow-lg, var(--shadow-md)); }
.phero--about .phero__aside::before { content: ''; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); opacity: .35; filter: blur(60px); pointer-events: none; }
.about__mcard { position: relative; }
.phero--about .about__kicker { color: #e3b8ff; }
.about__mtext { font-family: var(--f-display); font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.2rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.about__mtext .kw, .about__mtext em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
@media (max-width: 900px) { .phero--about .phero__grid.has-aside { grid-template-columns: 1fr; } }
/* Les éléments masqués en position absolue (textes pour lecteurs d'écran) restent dans le carrousel :
   sans ça, ils débordaient de la page (largeur de page excessive, surtout sur mobile). */
.slider__track, .rv-card { position: relative; }

/* ------------------------------------------------------------------ Espace client : BAT annotables */
.anno-page { position: relative; display: block; width: max-content; max-width: 100%; margin: 0 auto; line-height: 0; }
.anno-page .opreview__img { margin: 0 auto; }
.anno-page.is-annotable { cursor: crosshair; }
.opreview--anno .opreview__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; place-items: stretch; background: transparent; gap: 14px; overflow: visible; }
.opreview__media { min-width: 0; border-radius: 14px; background: var(--surface-2); overflow: auto; max-height: min(72vh, 900px); display: block; padding: 12px; }
.opreview__media .opreview__pages { width: 100%; max-height: none; overflow: visible; padding: 0; }
.opreview--anno .opreview__img { max-height: calc(min(72vh, 900px) - 24px); }
.anno-pin { position: absolute; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; margin: -14px 0 0 -14px; padding: 0; border: 2px solid #fff; border-radius: 50% 50% 50% 4px; background: var(--grad); color: #fff; font: 700 12px/1 var(--f-body, sans-serif); box-shadow: 0 4px 14px rgba(20, 12, 28, .35); cursor: pointer; transition: transform .15s; }
.anno-pin:hover, .anno-pin.is-active { transform: scale(1.18); }
.anno-pin.is-active { box-shadow: 0 0 0 4px rgba(158, 17, 208, .35), 0 4px 14px rgba(20, 12, 28, .35); }
.anno-pin--team { background: var(--night, #1c1124); }
.anno-pin.is-done { background: #22a06b; }
.anno-pin--new { position: absolute; left: 0; top: 0; cursor: default; animation: anno-pop .25s ease-out; }
.anno-pop { position: absolute; z-index: 3; width: min(280px, 70vw); margin: 18px 0 0 -6px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg, 0 20px 50px rgba(0,0,0,.2)); line-height: 1.4; cursor: default; }
.anno-pop .anno-pin--new { left: 6px; top: -18px; margin: 0; }
.anno-pop.is-left { margin-left: calc(-1 * min(280px, 70vw) + 6px); }
.anno-pop.is-left .anno-pin--new { left: auto; right: 6px; }
.anno-pop.is-up { margin-top: 0; transform: translateY(calc(-100% - 18px)); }
.anno-pop.is-up .anno-pin--new { top: auto; bottom: -18px; }
.anno-pop textarea { width: 100%; min-height: 76px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-soft); color: var(--text); font: inherit; font-size: 14px; resize: vertical; }
.anno-pop textarea:focus { outline: 2px solid var(--violet); outline-offset: 1px; }
.anno-pop__foot { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }
@keyframes anno-pop { from { transform: scale(.4); opacity: 0; } }
.anno-side { min-width: 0; max-height: min(72vh, 900px); overflow-y: auto; text-align: left; padding: 4px 2px; }
.anno-side__title { margin: 0 0 6px; font-weight: 700; font-size: var(--t-sm); display: flex; align-items: center; gap: 8px; }
.anno-side__title span { padding: 1px 8px; border-radius: 999px; background: var(--violet-50); color: var(--violet-ink); font-size: 12px; }
.anno-side__hint { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); color: var(--text-2); font-size: 13px; line-height: 1.45; }
.anno-side__hint .icon { flex: none; margin-top: 3px; }
.anno-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.anno-list li { position: relative; display: flex; gap: 10px; padding: 10px 34px 10px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.anno-list li.is-active { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-50); }
.anno-list li.is-done { opacity: .65; }
.anno-list li.anno-empty { padding: 10px; color: var(--text-3); cursor: default; }
.anno-list p { margin: 0; word-break: break-word; }
.anno-list small { color: var(--text-3); font-size: 12px; }
.anno-n { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; }
.anno-del { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--text-3); cursor: pointer; }
.anno-del:hover { background: var(--rose-50); color: var(--rose-ink); }
.oproof__anno { margin: 8px 0 0 8px; }
.alink { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 860px) {
  .opreview--anno .opreview__body { grid-template-columns: 1fr; }
  .anno-side { max-height: none; }
  .opreview__media { max-height: 60vh; }
}

/* ------------------------------------------------------------------ Espace client : brief guidé */
.brief__intro { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); color: var(--text-2); }
.brief__done { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--ok-50, #e8f7ef); color: var(--ok-ink, #157347); font-weight: 600; }
.brief__fields { display: grid; gap: 22px; }
.bf { display: grid; gap: 8px; }
.bf__label { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-weight: 650; font-size: var(--t-sm); }
.bf__n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: -1px; border-radius: 50%; background: var(--violet-50); color: var(--violet-ink); font-size: 12px; font-weight: 700; }
.bf__req { color: var(--rose); }
.bf__help { margin: -2px 0 0 34px; color: var(--text-3); font-size: 13px; }
.bf > input, .bf > textarea, .bf__opts, .bf__files, .bf__answer, .bf__err { margin-left: 34px; }
.bf input[type=text], .bf input[type=url], .bf input[type=date], .bf textarea { width: calc(100% - 34px); padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; }
.bf input[type=date] { width: auto; min-width: 200px; max-width: 260px; }
.bf textarea { resize: vertical; min-height: 110px; }
.bf input:focus, .bf textarea:focus { outline: 2px solid var(--violet); outline-offset: 1px; }
.bf.is-error input, .bf.is-error textarea, .bf.is-error .bf__opts, .bf.is-error .bf__drop { border-color: var(--rose); }
.bf__err { color: var(--rose-ink); font-size: 13px; font-weight: 600; margin-top: -2px; }
.bf__opts { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 14px; border: 1px solid transparent; }
.bf__opt { position: relative; cursor: pointer; }
.bf__opt input { position: absolute; opacity: 0; }
.bf__opt span { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 550; transition: background .15s, border-color .15s; }
.bf__opt input:checked + span { background: var(--violet-50); border-color: var(--violet); color: var(--violet-ink); font-weight: 650; }
.bf__opt input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.bf__drop { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 2px dashed var(--line-strong); background: var(--bg-soft); color: var(--text-2); font-size: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.bf__drop:hover, .bf__drop.is-over { border-color: var(--violet); background: var(--violet-50); }
.bf__drop.is-busy { opacity: .6; pointer-events: none; }
.bf__drop:focus-within { outline: 2px solid var(--violet); outline-offset: 2px; }
.bf__flist { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.bf__flist li { position: relative; display: flex; align-items: center; gap: 8px; padding-right: 34px; }
.bf__flist .anno-del { top: 50%; transform: translateY(-50%); }
.bf__fname { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 600; }
.bf__fname span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf__fname small { color: var(--text-3); font-weight: 500; flex: none; }
.bf__answer { color: var(--text-2); }
.bf__answer .ofile { margin-top: 0; }
.bf__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bf__chips li { padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13.5px; }
.bf__none { color: var(--text-3); font-style: italic; }
.brief__foot { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 24px -4px -4px; padding: 14px 4px 4px; border-top: 1px solid var(--line); background: var(--surface); }
.brief__status { margin: 0; color: var(--text-3); font-size: 13px; }
@media (max-width: 600px) {
  .bf > input, .bf > textarea, .bf__opts, .bf__files, .bf__answer, .bf__err, .bf__help { margin-left: 0; }
  .bf input[type=text], .bf input[type=url], .bf textarea { width: 100%; }
}

/* ------------------------------------------------------------------ Espace client : Ma marque */
.brand-empty { display: flex; align-items: center; gap: 16px; }
.brand-empty p { margin: 0; color: var(--text-2); }
.brand-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.brand-top__date { margin: 0; color: var(--text-3); font-size: 13px; }
.bcolors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.bcolor { border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.bcolor__sw { display: block; height: 96px; box-shadow: inset 0 -1px 0 rgba(0,0,0,.06); }
.bcolor__body { padding: 12px 14px 14px; }
.bcolor__body strong { display: block; margin-bottom: 6px; font-size: 14px; }
.bcolor dl { margin: 0; display: grid; gap: 4px; }
.bcolor dl div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bcolor dt { color: var(--text-3); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.bcolor dd { margin: 0; min-width: 0; }
.bcopy { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 8px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--text); font: 600 13px/1.3 var(--f-mono, ui-monospace, monospace); cursor: pointer; }
.bcopy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bcopy .icon { color: var(--text-3); flex: none; }
.bcopy:hover { border-color: var(--line); background: var(--bg-soft); }
.bcopy.is-copied { border-color: #22a06b; background: #e8f7ef; color: #157347; }
.bcopy.is-copied .icon { color: #157347; }
.bfonts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bfonts li { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); }
.bfonts__aa { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--bg-soft); font-size: 26px; font-weight: 600; }
.bfonts li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bfonts small { color: var(--text-3); }
.brand-notes { margin: 0; color: var(--text-2); }
.bfiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.bfile { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 10px 8px; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.bfile__thumb { grid-column: 1 / -1; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: repeating-conic-gradient(var(--bg-soft) 0 25%, var(--surface) 0 50%) 0 0 / 16px 16px; }
.bfile__thumb img { max-width: 86%; max-height: 86%; object-fit: contain; }
.bfile__thumb.is-doc { background: var(--bg-soft); }
.bfile__body { min-width: 0; display: flex; flex-direction: column; align-self: center; }
.bfile__body strong { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bfile__body small { color: var(--text-3); font-size: 12px; }
[data-client-view="brand"] .acard + .acard { margin-top: 16px; }

/* ------------------------------------------------------------------ Espace client : paiement automatique et formules */
.apay { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.apay.is-on { border-color: color-mix(in srgb, #22a06b 35%, var(--line)); }
.apay__body { flex: 1; min-width: 240px; }
.apay__title { margin: 0 0 4px; font-size: var(--t-md); font-weight: 700; }
.apay__body p { margin: 0; color: var(--text-2); font-size: var(--t-sm); }
.apay__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.ico--ok { background: #e8f7ef; color: #157347; }
.sub__auto { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; color: #157347; font-size: var(--t-xs); font-weight: 600; }
.sub__up { margin-top: 12px; }
.upmodal__cur { margin: 0 0 14px; color: var(--text-2); }
.upl-list { display: grid; gap: 10px; text-align: left; }
.upl { position: relative; cursor: pointer; }
.upl input { position: absolute; opacity: 0; }
.upl__box { display: grid; gap: 6px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.upl input:checked + .upl__box { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-50); }
.upl input:focus-visible + .upl__box { outline: 2px solid var(--violet); outline-offset: 2px; }
.upl__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.upl__top strong { font-size: var(--t-md); }
.upl__top b { font-size: var(--t-md); }
.upl__box small { color: var(--text-3); }
.upl__box ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; color: var(--text-2); }
.upl__box li { display: flex; gap: 6px; align-items: flex-start; }
.upl__box li .icon { margin-top: 4px; color: var(--violet-ink); flex: none; }
.upmodal__quote { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); text-align: left; font-size: var(--t-sm); }
.upmodal__quote p { margin: 0 0 4px; }
.upmodal__quote .app-loading__spin { display: inline-block; vertical-align: middle; margin-right: 8px; width: 16px; height: 16px; }
.upmodal__pay { display: flex; gap: 6px; align-items: center; color: var(--text-2); }
.upmodal__accept { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; text-align: left; font-size: var(--t-sm); cursor: pointer; }
.upmodal__accept input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--violet); flex: none; }
