/* ==========================================================================
   Deepthix · site v5 · kit commun des pages hors Next
   Servi en /seo/v5.css : pages SEO statiques (/fr/tarifs/, guides…) et blog PHP.
   Source de vérité du design : components/sections/v5/ (NavV5, PageV5, FaqV5,
   FooterV5, AuditModal, ui.tsx). Garder les deux en phase.
   Règles : easing (.32,.72,0,1) pour l'interface, (.16,1,.3,1) pour les
   apparitions, jamais linear ni ease-in-out ; backdrop-filter réservé à la nav
   et à la popup (les cartes défilent) ; prefers-reduced-motion en fin de fichier.
   ========================================================================== */

:root {
  --v5-bg: #0A0A0A;
  --v5-cream: #F4F0E7;
  --v5-or: #FF4D2B;
  --v5-or2: #FF7849;
  --v5-or3: #FFBE4D;
  --v5-peach: #FF9A73;
  --v5-ease: cubic-bezier(.32, .72, 0, 1);
  --v5-out: cubic-bezier(.16, 1, .3, 1);
  --v5-breath: cubic-bezier(.45, 0, .55, 1);
  --v5-spring: cubic-bezier(.2, 1.12, .32, 1);
  --v5-display: 'Syne', ui-sans-serif, system-ui, sans-serif;
  --v5-tight: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --v5-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --v5-grad: linear-gradient(90deg, #FF4D2B, #FF7849, #FFBE4D);
}

/* ---------- Base ---------- */
html.v5-root {
  background: #0A0A0A;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: no-preference) {
  html.v5-root { scroll-behavior: smooth; }
}
body.v5 {
  margin: 0;
  min-height: 100vh;
  background: #0A0A0A;
  color: #F4F0E7;
  font-family: var(--v5-tight);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.v5 *, body.v5 *::before, body.v5 *::after { box-sizing: border-box; }
body.v5 ::selection { background: rgba(255, 77, 43, .35); color: #fff; }
:where(body.v5) a { color: inherit; }
:where(body.v5) :focus-visible { outline: 2px solid #FFBE4D; outline-offset: 3px; }
:where(body.v5) button { font: inherit; }
:where(body.v5) img, :where(body.v5) video { max-width: 100%; height: auto; }

/* Grain papier fixe, très léger (même tuile que Grain() de ui.tsx). */
body.v5::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Utilitaires ---------- */
.v5-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .v5-container { padding-inline: 32px; } }
.v5-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.v5-grad {
  background-image: var(--v5-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* Accent de titre : bloc à part pour que le dégradé couvre la ligne entière (comme PageHeroV5).
   max-width : un mot trop long pour l'écran reste dans le titre au lieu d'être rogné par le
   haut de page (overflow: hidden). */
.v5-accent { display: inline-block; max-width: 100%; padding-bottom: .1em; margin-bottom: -.1em; }
.v5-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--v5-mono);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #FF7849;
}
.v5-eyebrow::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #FF4D2B;
  box-shadow: 0 0 10px rgba(255, 77, 43, .9);
}
.v5-note {
  font-family: var(--v5-mono);
  font-size: 11px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(244, 240, 231, .4);
}
.v5-link {
  font-weight: 600;
  color: #FF7849;
  text-decoration: underline;
  text-decoration-color: rgba(255, 120, 73, .4);
  text-underline-offset: 4px;
  transition: color .3s var(--v5-ease), text-decoration-color .3s var(--v5-ease);
}
.v5-link:hover { color: #FFBE4D; text-decoration-color: #FFBE4D; }
.v5-skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 70;
  padding: 10px 16px;
  border-radius: 999px;
  background: #FF4D2B;
  color: #fff;
  font: 600 14px/1 var(--v5-tight);
  text-decoration: none;
  transition: top .3s var(--v5-ease);
}
.v5-skip:focus { top: 16px; }

/* ---------- Boutons (BTN_PRIMARY / BTN_GHOST de ui.tsx) ---------- */
.v5-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 999px;
  font-family: var(--v5-tight);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .3s var(--v5-ease), border-color .3s var(--v5-ease), box-shadow .3s var(--v5-ease), color .3s var(--v5-ease), transform .3s var(--v5-ease), opacity .3s var(--v5-ease);
}
.v5-btn:active { transform: scale(.98); }
.v5-btn:focus-visible { outline: 2px solid #FFBE4D; outline-offset: 2px; }
.v5-btn svg { flex: none; }
.v5-btn--primary {
  height: 48px;
  padding: 0 6px 0 24px;
  font-size: 15px;
  color: #fff;
  background: #FF4D2B;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 40px -12px rgba(255, 77, 43, .85);
}
.v5-btn--primary:hover {
  background: #ff6340;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 18px 50px -12px rgba(255, 77, 43, 1);
}
/* Reflet qui traverse le bouton au survol, sous le texte (isolation + z-index -1). */
.v5-btn--primary::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0; bottom: 0; left: 0;
  z-index: -1;
  width: 50%;
  transform: translateX(-150%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  transition: transform .7s var(--v5-out);
}
.v5-btn--primary:hover::before { transform: translateX(300%) skewX(-20deg); }
.v5-btn--primary[disabled], .v5-btn--primary[aria-busy="true"] { cursor: wait; opacity: .8; }
.v5-btn--ghost {
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
  color: #F4F0E7;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .15);
}
.v5-btn--ghost:hover { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); }
.v5-btn--ghost svg { width: 16px; height: 16px; }
.v5-btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.v5-btn--block { display: flex; width: 100%; }
.v5-btn__label { flex: 1; text-align: center; }
/* Bouton dans le bouton : la flèche vit dans sa pastille, qui part en diagonale au survol. */
.v5-btn__arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  transition: transform .3s var(--v5-ease);
}
.v5-btn__arrow svg { width: 16px; height: 16px; }
.v5-btn:hover .v5-btn__arrow { transform: translate(2px, -1px) scale(1.05); }
.v5-btn--sm .v5-btn__arrow { display: none; width: 32px; height: 32px; }
.v5-btn--sm .v5-btn__arrow svg { width: 14px; height: 14px; }
@media (min-width: 768px) {
  .v5-btn--sm.v5-btn--primary { padding-right: 4px; }
  .v5-btn--sm .v5-btn__arrow { display: grid; }
}
.v5-spin { animation: v5-spin 1s cubic-bezier(.5, .15, .5, .85) infinite; }
@keyframes v5-spin { to { transform: rotate(360deg); } }

/* ---------- Cartes verre + lueur au pointeur (GLASS / SpotCard) ---------- */
.v5-glass {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.v5-spot { position: relative; isolation: isolate; }
.v5-spot::before, .v5-spot::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .5s var(--v5-ease);
}
.v5-spot::before {
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 120, 73, .09), transparent 45%);
}
/* Anneau d'1 px : le dégradé n'est visible que dans le padding (content-box soustraite). */
.v5-spot::after {
  padding: 1px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 160, 110, .75), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
@media (hover: hover) and (pointer: fine) {
  .v5-spot:hover::before, .v5-spot:hover::after { opacity: 1; }
}

/* ---------- Apparitions (IntersectionObserver dans v5.js) ---------- */
.v5-js .v5-reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition: opacity .9s var(--v5-out), transform .9s var(--v5-out), filter .9s var(--v5-out);
  transition-delay: var(--d, 0s);
}
.v5-js .v5-reveal.is-in { opacity: 1; transform: none; filter: none; }
/* Haut de page : entrée en CSS pur (pas d'attente du script, pas de flash). */
@keyframes v5-up {
  from { opacity: 0; transform: translateY(22px); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: none; }
}
.v5-enter { animation: v5-up .9s var(--v5-out) both; animation-delay: var(--d, 0s); }
@keyframes v5-breath { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* ==========================================================================
   Nav « île » (NavV5)
   ========================================================================== */
.v5-nav { position: fixed; left: 0; right: 0; top: 0; z-index: 50; }
.v5-nav__wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 12px; }
@media (min-width: 768px) { .v5-nav__wrap { padding: 0 20px; } }
.v5-nav__bar {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  margin-top: 12px;
  padding: 0 8px 0 16px;
}
@media (min-width: 768px) { .v5-nav__bar { padding-left: 20px; } }
.v5-nav__island {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(18, 18, 18, .7);
  box-shadow: 0 12px 40px -14px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  transform: scale(.97);
  transition: opacity .5s var(--v5-ease), transform .5s var(--v5-ease);
}
.v5-nav.is-island .v5-nav__island { opacity: 1; transform: none; }
/* Progression de lecture : filet orange piloté par --p (0 → 1). */
.v5-nav__progress {
  position: absolute;
  left: 40px; right: 40px; bottom: 0;
  height: 1px;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  background: var(--v5-grad);
  opacity: .8;
  transition: transform .2s var(--v5-ease);
}
.v5-nav__logo { display: inline-flex; border-radius: 999px; text-decoration: none; }
.v5-wordmark {
  font-family: var(--v5-tight);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
  color: #F4F0E7;
}
.v5-wordmark span { color: #FF4D2B; }
.v5-nav__links { display: none; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { .v5-nav__links { display: flex; } }
.v5-nav__links a {
  display: block;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--v5-tight);
  font-size: 14px;
  line-height: 1.4;
  color: rgba(244, 240, 231, .65);
  text-decoration: none;
  transition: background-color .3s var(--v5-ease), color .3s var(--v5-ease);
}
.v5-nav__links a:hover { background: rgba(255, 255, 255, .06); color: #F4F0E7; }
.v5-nav__links a[aria-current="page"] { color: #F4F0E7; }
.v5-nav__right { display: flex; align-items: center; gap: 6px; }
@media (min-width: 768px) { .v5-nav__right { gap: 8px; } }
.v5-nav__lang {
  display: none;
  padding: 0 8px;
  font-family: var(--v5-mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .12em;
  color: rgba(244, 240, 231, .5);
  text-decoration: none;
  transition: color .3s var(--v5-ease);
}
.v5-nav__lang:hover { color: #F4F0E7; }
.v5-nav__call {
  display: none;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
  font-family: var(--v5-tight);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: rgba(244, 240, 231, .85);
  text-decoration: none;
  transition: border-color .3s var(--v5-ease), background-color .3s var(--v5-ease), color .3s var(--v5-ease), transform .3s var(--v5-ease);
}
.v5-nav__call svg { width: 14px; height: 14px; }
.v5-nav__call:hover { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #F4F0E7; }
.v5-nav__call:active { transform: scale(.98); }
.v5-nav__callicon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(244, 240, 231, .85);
  transition: transform .3s var(--v5-ease);
}
.v5-nav__callicon svg { width: 16px; height: 16px; }
.v5-nav__callicon:active { transform: scale(.95); }
/* Écrans de 320 px : la nav déborde de 6 px (burger rogné). L'appel reste dans le menu. */
@media (max-width: 359.98px) { .v5-nav__callicon { display: none; } }
@media (min-width: 768px) {
  .v5-nav__lang { display: inline; }
  .v5-nav__call { display: inline-flex; }
  .v5-nav__callicon { display: none; }
}
.v5-nav__burger {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #F4F0E7;
  cursor: pointer;
  transition: background-color .3s var(--v5-ease);
}
.v5-nav__burger:hover { background: rgba(255, 255, 255, .06); }
.v5-nav__burger span {
  position: absolute;
  width: 18px; height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .5s var(--v5-ease);
}
.v5-nav__burger span:first-child { transform: translateY(-3.5px); }
.v5-nav__burger span:last-child { transform: translateY(3.5px); }
.v5-nav.is-open .v5-nav__burger span:first-child { transform: rotate(45deg); }
.v5-nav.is-open .v5-nav__burger span:last-child { transform: rotate(-45deg); }
@media (min-width: 1024px) { .v5-nav__burger { display: none; } }

/* Menu mobile plein écran : liens en cascade, puis les deux portes en bas. */
.v5-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, .9);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--v5-ease), visibility 0s .4s;
}
.v5-nav.is-open .v5-menu { opacity: 1; visibility: visible; transition: opacity .4s var(--v5-ease), visibility 0s 0s; }
@media (min-width: 1024px) { .v5-menu { display: none; } }
.v5-menu__inner { display: flex; flex-direction: column; height: 100%; overflow-y: auto; padding: 112px 24px 32px; }
.v5-menu__list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.v5-menu__list li { overflow: hidden; }
.v5-menu__link {
  display: block;
  padding: 6px 0;
  font-family: var(--v5-display);
  font-size: clamp(2.1rem, 9vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #F4F0E7;
  text-decoration: none;
  transform: translateY(110%);
  transition: transform .7s var(--v5-out), color .3s var(--v5-ease);
}
.v5-nav.is-open .v5-menu__link { transform: none; transition-delay: calc(.06s + var(--i, 0) * .05s), 0s; }
.v5-menu__link:active { color: #FF7849; }
.v5-menu__ctas {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 40px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--v5-out), transform .6s var(--v5-out);
}
.v5-nav.is-open .v5-menu__ctas { opacity: 1; transform: none; transition-delay: .4s; }

/* ==========================================================================
   Haut de page (PageHeroV5, aligné à gauche pour les pages éditoriales)
   ========================================================================== */
.v5-hero { position: relative; overflow: hidden; padding: 112px 0 64px; }
@media (min-width: 768px) { .v5-hero { padding: 136px 0 88px; } }
.v5-hero__glowbox { position: absolute; left: 0; right: 0; top: 0; height: 560px; overflow: hidden; pointer-events: none; }
.v5-hero__glow {
  position: absolute;
  left: 50%;
  top: -360px;
  width: 1100px; height: 640px;
  margin-left: -550px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 77, 43, .42), rgba(255, 120, 73, .12) 55%, transparent);
  filter: blur(40px);
  animation: v5-breath 8s var(--v5-breath) infinite;
}
.v5-hero__sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(255, 255, 255, .07), transparent); }
.v5-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .6;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 20%, #000, transparent);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 20%, #000, transparent);
}
.v5-hero__in { position: relative; }
.v5-crumbs { margin-bottom: 24px; }
.v5-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--v5-mono);
  font-size: 11px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(244, 240, 231, .45);
}
.v5-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.v5-crumbs a { color: inherit; text-decoration: none; transition: color .3s var(--v5-ease); }
.v5-crumbs a:hover { color: #F4F0E7; }
.v5-crumbs [aria-current] { color: rgba(244, 240, 231, .7); }
.v5-crumbs svg { width: 12px; height: 12px; color: rgba(244, 240, 231, .3); }
.v5-h1 {
  max-width: 980px;
  margin: 20px 0 0;
  font-family: var(--v5-display);
  /* --v5-size : taille normale, reprise par .v5-fit sur petit écran (voir après .v5-post-title). */
  --v5-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-size: var(--v5-size);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  word-spacing: .04em;
  color: #F4F0E7;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.v5-hero__lead { max-width: 660px; margin-top: 24px; font-size: 17px; line-height: 1.65; color: rgba(244, 240, 231, .65); }
@media (min-width: 768px) { .v5-hero__lead { font-size: 18px; } }
.v5-hero__lead p { margin: 0; }
.v5-hero__lead p + p { margin-top: 12px; }
.v5-hero__lead a { color: #FF9B6F; text-decoration: underline; text-decoration-color: rgba(255, 120, 73, .4); text-underline-offset: 4px; }
.v5-cta-pair { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .v5-cta-pair { flex-direction: row; align-items: center; } }
.v5-hero__extra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 22px 0 0; font-size: 14.5px; color: rgba(244, 240, 231, .6); }
.v5-hero__extra a { color: #FF7849; font-weight: 600; text-decoration: none; transition: color .3s var(--v5-ease); }
.v5-hero__extra a:hover { color: #FFBE4D; }
.v5-hero--center { text-align: center; }
.v5-hero--center .v5-crumbs ol { justify-content: center; }
.v5-hero--center .v5-h1, .v5-hero--center .v5-hero__lead { margin-left: auto; margin-right: auto; }
.v5-hero--center .v5-cta-pair { align-items: center; justify-content: center; }
.v5-hero--center .v5-hero__extra { justify-content: center; }

/* ---------- Sections, titres ---------- */
.v5-section { position: relative; padding: 64px 0; }
@media (min-width: 768px) { .v5-section { padding: 104px 0; } }
.v5-section--tight { padding: 40px 0; }
@media (min-width: 768px) { .v5-section--tight { padding: 64px 0; } }
.v5-head { max-width: 900px; }
.v5-h2 {
  margin: 20px 0 0;
  font-family: var(--v5-display);
  --v5-size: clamp(2.1rem, 4.6vw, 3.7rem);
  font-size: var(--v5-size);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  word-spacing: .04em;
  color: #F4F0E7;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.v5-h2--md { --v5-size: clamp(2rem, 3.4vw, 2.9rem); font-size: var(--v5-size); }
.v5-sub { max-width: 680px; margin: 20px 0 0; font-size: 17px; line-height: 1.65; color: rgba(244, 240, 231, .6); }
.v5-divider { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08) 20%, rgba(255, 255, 255, .08) 80%, transparent); }

/* ---------- Démo interactive (crm-sur-mesure, demo-v1.js) ---------- */
.v5-demo__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .v5-demo__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; } }
.v5-demo .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--v5-mono);
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #FF7849;
}
.v5-demo__intro > .eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #FF4D2B;
  box-shadow: 0 0 10px rgba(255, 77, 43, .9);
}
.v5-demo__intro h2 {
  margin: 20px 0 0;
  font-family: var(--v5-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #F4F0E7;
  text-wrap: balance;
}
.v5-demo__intro > p { max-width: 520px; margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: rgba(244, 240, 231, .62); }
.v5-demo .states { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.v5-demo .states button {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  color: rgba(244, 240, 231, .7);
  font: 500 14px/1 var(--v5-tight);
  cursor: pointer;
  transition: border-color .3s var(--v5-ease), background-color .3s var(--v5-ease), color .3s var(--v5-ease), box-shadow .3s var(--v5-ease), transform .3s var(--v5-ease);
}
.v5-demo .states button:hover { border-color: rgba(255, 255, 255, .25); color: #F4F0E7; }
.v5-demo .states button:active { transform: scale(.98); }
.v5-demo .states button[aria-pressed="true"] {
  border-color: rgba(255, 77, 43, .6);
  background: rgba(255, 77, 43, .12);
  color: #F4F0E7;
  box-shadow: 0 0 0 4px rgba(255, 77, 43, .08);
}
.v5-demo__mock { padding: 24px; min-width: 0; }
@media (min-width: 768px) { .v5-demo__mock { padding: 32px; } }
.v5-demo__mock h3 { margin: 12px 0 0; font: 600 21px/1.3 var(--v5-tight); letter-spacing: -.02em; color: #F4F0E7; }
.v5-demo__mock dl { margin: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.v5-demo__mock dl > div { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
@media (max-width: 480px) { .v5-demo__mock dl > div { grid-template-columns: 1fr; gap: 4px; } }
.v5-demo__mock dt { font: 400 10.5px/1.9 var(--v5-mono); text-transform: uppercase; letter-spacing: .16em; color: rgba(244, 240, 231, .45); }
.v5-demo__mock dd { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(244, 240, 231, .88); }
.v5-demo__mock .next { margin-top: 20px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(255, 77, 43, .25); background: rgba(255, 77, 43, .07); }
.v5-demo__mock .next p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.55; color: #F4F0E7; }
.v5-demo__mock > .note { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: rgba(244, 240, 231, .4); }
.v5-demo__mock.is-swap #demo-last, .v5-demo__mock.is-swap #demo-next { animation: v5-swap .5s var(--v5-out); }
@keyframes v5-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Pages éditoriales : sommaire collant + article
   ========================================================================== */
.v5-editorial { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 72px; }
@media (min-width: 1024px) {
  .v5-editorial { grid-template-columns: 250px minmax(0, 1fr); gap: 72px; padding-top: 40px; padding-bottom: 112px; }
}
.v5-aside { min-width: 0; }
@media (min-width: 1024px) { .v5-aside__sticky { position: sticky; top: 104px; } }
.v5-aside__title { margin: 0; font: 400 11px/1.6 var(--v5-mono); text-transform: uppercase; letter-spacing: .2em; color: rgba(244, 240, 231, .4); }
.v5-toc { display: grid; gap: 2px; margin-top: 14px; border-left: 1px solid rgba(255, 255, 255, .08); }
.v5-toc a {
  display: block;
  margin-left: -1px;
  padding: 7px 0 7px 16px;
  border-left: 1px solid transparent;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(244, 240, 231, .55);
  text-decoration: none;
  transition: color .3s var(--v5-ease), border-color .3s var(--v5-ease);
}
.v5-toc a:hover { color: #F4F0E7; }
.v5-toc a.is-active { color: #F4F0E7; border-left-color: #FF4D2B; }
.v5-aside__cta { display: none; margin-top: 32px; padding: 22px; }
@media (min-width: 1024px) { .v5-aside__cta { display: block; } }
.v5-aside__cta strong { display: block; font: 600 16px/1.35 var(--v5-tight); color: #F4F0E7; }
.v5-aside__cta p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: rgba(244, 240, 231, .6); }
.v5-aside__cta .v5-btn { margin-top: 18px; }
.v5-aside__alt {
  display: inline-block;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: 600 13.5px/1.4 var(--v5-tight);
  color: #FF7849;
  text-decoration: underline;
  text-decoration-color: rgba(255, 120, 73, .4);
  text-underline-offset: 4px;
  transition: color .3s var(--v5-ease);
}
.v5-aside__alt:hover { color: #FFBE4D; }

/* ---------- Typographie d'article (PROSE de PageV5) ---------- */
.v5-prose, .v5-blog .prose {
  max-width: 760px;
  min-width: 0;
  font-family: var(--v5-tight);
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(244, 240, 231, .72);
  overflow-wrap: break-word;
}
.v5-prose > section + section { margin-top: 64px; }
.v5-prose > section { scroll-margin-top: 96px; }
.v5-prose h2, .v5-blog .prose h2 {
  margin: 56px 0 0;
  font-family: var(--v5-display);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: #F4F0E7;
  text-wrap: balance;
}
.v5-prose > section > h2:first-child, .v5-prose h2:first-child, .v5-blog .prose > h2:first-child { margin-top: 0; }
.v5-prose h3, .v5-blog .prose h3 { margin: 36px 0 0; font: 600 18.5px/1.4 var(--v5-tight); letter-spacing: -.01em; color: #F4F0E7; }
.v5-prose h4, .v5-blog .prose h4 { margin: 28px 0 0; font: 600 16.5px/1.4 var(--v5-tight); color: #F4F0E7; }
.v5-prose p, .v5-blog .prose p { margin: 16px 0 0; }
.v5-prose ul, .v5-prose ol, .v5-blog .prose ul, .v5-blog .prose ol { display: grid; gap: 8px; margin: 16px 0 0; padding-left: 22px; }
.v5-prose ul, .v5-blog .prose ul { list-style: disc; }
.v5-prose ol, .v5-blog .prose ol { list-style: decimal; }
.v5-prose li::marker, .v5-blog .prose li::marker { color: rgba(255, 120, 73, .75); }
.v5-prose li > p, .v5-blog .prose li > p { margin: 0; }
.v5-prose strong, .v5-prose b, .v5-blog .prose strong, .v5-blog .prose b { font-weight: 600; color: #F4F0E7; }
.v5-prose em, .v5-blog .prose em { color: rgba(244, 240, 231, .85); }
.v5-prose a, .v5-blog .prose a {
  color: #FF9B6F;
  text-decoration: underline;
  text-decoration-color: rgba(255, 120, 73, .4);
  text-underline-offset: 4px;
  transition: color .3s var(--v5-ease), text-decoration-color .3s var(--v5-ease);
}
.v5-prose a:hover, .v5-blog .prose a:hover { color: #FFBE4D; text-decoration-color: #FF7849; }
.v5-prose blockquote, .v5-blog .prose blockquote {
  margin: 28px 0 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid #FF4D2B;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(244, 240, 231, .85);
  quotes: none;
}
.v5-prose blockquote p:first-child, .v5-blog .prose blockquote p:first-child { margin-top: 0; }
.v5-prose code, .v5-blog .prose code {
  padding: .15em .4em;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .06);
  font-family: var(--v5-mono);
  font-size: .86em;
  color: #FFD2B8;
}
.v5-prose pre, .v5-blog .prose pre {
  margin: 24px 0 0;
  padding: 18px 20px;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #111;
  font-size: 14px;
  line-height: 1.65;
}
.v5-prose pre code, .v5-blog .prose pre code { padding: 0; border: 0; background: none; color: rgba(244, 240, 231, .85); }
.v5-prose img, .v5-blog .prose img { display: block; max-width: 100%; height: auto; margin: 28px 0 0; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .08); }
.v5-prose figure, .v5-blog .prose figure { margin: 28px 0 0; }
.v5-prose figcaption, .v5-blog .prose figcaption { margin-top: 10px; font-size: 13px; color: rgba(244, 240, 231, .45); }
.v5-prose hr, .v5-blog .prose hr { margin: 48px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.v5-prose table, .v5-blog .prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 28px 0 0;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.5;
}
.v5-prose th, .v5-prose td, .v5-blog .prose th, .v5-blog .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.v5-prose th, .v5-blog .prose th { font: 500 11px/1.4 var(--v5-mono); text-transform: uppercase; letter-spacing: .14em; color: rgba(244, 240, 231, .5); border-bottom-color: rgba(255, 255, 255, .16); }
.v5-prose td, .v5-blog .prose td { color: rgba(244, 240, 231, .78); }
.v5-prose > .note, .v5-prose p.note { margin-top: 40px; font: 400 11px/1.6 var(--v5-mono); text-transform: uppercase; letter-spacing: .14em; color: rgba(244, 240, 231, .4); }

/* ---------- FAQ (FaqV5) sur <details> natif, animée par v5.js ---------- */
.v5-faq { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .07); }
.v5-faq details { border-bottom: 1px solid rgba(255, 255, 255, .07); }
.v5-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  font-family: var(--v5-tight);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(244, 240, 231, .75);
  transition: color .3s var(--v5-ease);
}
@media (min-width: 768px) { .v5-faq summary { font-size: 18px; } }
.v5-faq summary::-webkit-details-marker { display: none; }
.v5-faq summary::marker { content: ""; }
.v5-faq summary:hover, .v5-faq details.is-open summary, .v5-faq details[open]:not(.is-closing) summary { color: #F4F0E7; }
.v5-faq summary:focus-visible { outline: 2px solid #FFBE4D; outline-offset: 4px; }
.v5-faq__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
  transition: transform .5s var(--v5-ease), border-color .5s var(--v5-ease), background-color .5s var(--v5-ease), box-shadow .5s var(--v5-ease);
}
.v5-faq__icon svg { width: 16px; height: 16px; color: rgba(244, 240, 231, .7); transition: color .5s var(--v5-ease); }
.v5-faq summary:hover .v5-faq__icon { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); }
.v5-faq details.is-open .v5-faq__icon {
  transform: rotate(45deg);
  border-color: rgba(255, 77, 43, .5);
  background: rgba(255, 77, 43, .15);
  box-shadow: 0 0 20px -4px rgba(255, 77, 43, .6);
}
.v5-faq details.is-open .v5-faq__icon svg { color: #FF9A73; }
/* Sans JS (v5.js absent ou en erreur) : l'icône suit l'état natif de <details>. */
html:not(.v5-js) .v5-faq details[open] .v5-faq__icon { transform: rotate(45deg); border-color: rgba(255, 77, 43, .5); background: rgba(255, 77, 43, .15); }
html:not(.v5-js) .v5-faq details[open] .v5-faq__icon svg { color: #FF9A73; }
html:not(.v5-js) .v5-faq details[open] summary { color: #F4F0E7; }
/* Sans JS : réponse visible dès que <details> est ouvert. Avec JS : rangée 0fr → 1fr. */
.v5-faq__a { display: grid; grid-template-rows: 1fr; }
.v5-js .v5-faq__a { grid-template-rows: 0fr; transition: grid-template-rows .5s var(--v5-ease); }
.v5-js .v5-faq details.is-open .v5-faq__a { grid-template-rows: 1fr; }
.v5-faq__in { min-height: 0; overflow: hidden; }
.v5-faq__body { padding: 0 48px 24px 0; font-size: 15.5px; line-height: 1.7; color: rgba(244, 240, 231, .62); }
.v5-js .v5-faq__body { opacity: 0; transform: translateY(-4px); transition: opacity .5s var(--v5-ease), transform .5s var(--v5-ease); }
.v5-js .v5-faq details.is-open .v5-faq__body { opacity: 1; transform: none; transition-delay: .1s; }
.v5-faq__body > :first-child { margin-top: 0; }
.v5-faq__body p { margin: 12px 0 0; }
.v5-faq__body p:first-child { margin-top: 0; }

/* ---------- Cartes « à lire ensuite » ---------- */
.v5-cards { display: grid; gap: 20px; margin-top: 44px; }
@media (min-width: 768px) { .v5-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .v5-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v5-cards:first-child { margin-top: 0; }
.v5-cards > * { min-width: 0; }
.v5-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  transition: border-color .4s var(--v5-ease), background-color .4s var(--v5-ease);
}
@media (min-width: 768px) { .v5-card { padding: 28px; } }
.v5-card:hover { border-color: rgba(255, 255, 255, .14); }
.v5-card__kicker { font: 400 10.5px/1.5 var(--v5-mono); text-transform: uppercase; letter-spacing: .2em; color: #FF7849; }
.v5-card__title { margin: 16px 0 0; font: 600 21px/1.25 var(--v5-tight); letter-spacing: -.02em; color: #F4F0E7; text-wrap: balance; }
.v5-card__text { flex: 1; margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: rgba(244, 240, 231, .55); }
.v5-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font: 600 14px/1 var(--v5-tight);
  color: #FF7849;
  transition: color .3s var(--v5-ease), gap .3s var(--v5-ease);
}
.v5-card__more svg { width: 16px; height: 16px; }
.v5-card:hover .v5-card__more { color: #FFBE4D; gap: 10px; }

/* ---------- Note de mise à jour hors article ---------- */
.v5-updated { padding-bottom: 8px; text-align: center; }

/* ==========================================================================
   Appel final sur l'horizon orange (FinalCtaV5)
   ========================================================================== */
.v5-final { position: relative; overflow: hidden; padding: 96px 0 200px; text-align: center; }
@media (min-width: 768px) { .v5-final { padding: 128px 0 250px; } }
.v5-final__horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 520px; pointer-events: none; }
.v5-final__glow {
  position: absolute;
  bottom: -300px;
  left: 50%;
  width: 1300px; height: 600px;
  margin-left: -650px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 77, 43, .6), rgba(255, 120, 73, .15) 55%, transparent);
  filter: blur(40px);
  animation: v5-breath 7s var(--v5-breath) infinite;
}
.v5-final__arc {
  position: absolute;
  bottom: -1560px;
  left: 50%;
  width: 2800px; height: 1700px;
  margin-left: -1400px;
  border-radius: 50%;
  border-top: 1px solid rgba(255, 179, 138, .7);
  background: #0A0A0A;
  box-shadow: 0 -24px 110px -6px rgba(255, 77, 43, .7);
}
.v5-final__in { position: relative; }
.v5-final__title {
  max-width: 900px;
  margin: 20px auto 0;
  font-family: var(--v5-display);
  --v5-size: clamp(2.4rem, 6vw, 4.6rem);
  font-size: var(--v5-size);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  word-spacing: .06em;
  color: #F4F0E7;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.v5-final__in > .v5-eyebrow + .v5-final__title { margin-top: 20px; }
.v5-final__in > .v5-final__title:first-child { margin-top: 0; }
.v5-final__text { max-width: 560px; margin: 24px auto 0; font-size: 17px; line-height: 1.65; color: rgba(244, 240, 231, .65); }
.v5-final__ctas { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
@media (min-width: 640px) { .v5-final__ctas { flex-direction: row; } }
.v5-final__call {
  font-size: 15px;
  color: rgba(244, 240, 231, .7);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .25);
  text-underline-offset: 4px;
  transition: color .3s var(--v5-ease);
}
.v5-final__call:hover { color: #F4F0E7; }

/* ==========================================================================
   Pied de page (FooterV5)
   ========================================================================== */
.v5-footer { position: relative; border-top: 1px solid rgba(255, 255, 255, .07); background: #0A0A0A; }
.v5-footer__grid { display: grid; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 640px) {
  .v5-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v5-footer__brand { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .v5-footer__grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
  .v5-footer__brand { grid-column: auto; }
}
.v5-footer__brand p { max-width: 300px; margin: 16px 0 0; font-size: 14.5px; line-height: 1.6; color: rgba(244, 240, 231, .5); }
.v5-footer__title { margin: 0; font: 400 11px/1.5 var(--v5-mono); text-transform: uppercase; letter-spacing: .2em; color: rgba(244, 240, 231, .4); }
.v5-footer ul { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.v5-footer__link {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--v5-tight);
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(244, 240, 231, .65);
  text-decoration: none;
  transition: color .3s var(--v5-ease);
}
.v5-footer__link:hover { color: #F4F0E7; }
.v5-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .06); }
.v5-footer__bottom .v5-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(244, 240, 231, .4);
}
@media (min-width: 768px) {
  .v5-footer__bottom .v5-container { flex-direction: row; align-items: center; justify-content: space-between; }
}
.v5-footer__bottom p { margin: 0; }
.v5-footer__legal { display: flex; align-items: center; gap: 20px; }
.v5-footer__legal a { color: inherit; text-decoration: none; transition: color .3s var(--v5-ease); }
.v5-footer__legal a:hover { color: #F4F0E7; }

/* ==========================================================================
   Popup audit (AuditModal)
   ========================================================================== */
.v5-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}
.v5-modal[hidden] { display: none; }
@media (min-width: 640px) { .v5-modal { align-items: center; padding: 24px; } }
.v5-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, .75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .35s var(--v5-ease);
}
.v5-modal.is-open .v5-modal__backdrop { opacity: 1; }
.v5-modal__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 6px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 40px 120px -30px rgba(255, 77, 43, .5);
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .3s var(--v5-ease), transform .55s var(--v5-spring);
}
.v5-modal.is-open .v5-modal__panel { opacity: 1; transform: none; }
.v5-modal.is-closing .v5-modal__panel { opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .22s var(--v5-ease), transform .25s var(--v5-ease); }
.v5-modal.is-closing .v5-modal__backdrop { opacity: 0; }
.v5-modal__panel:focus { outline: none; }
.v5-modal__inner {
  position: relative;
  max-height: calc(100dvh - 2.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border-radius: 24px;
  background: #0E0E0E;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .08);
}
@media (min-width: 640px) { .v5-modal__inner { max-height: calc(100dvh - 4rem); padding: 32px; } }
.v5-modal__glow { position: absolute; left: 0; right: 0; top: 0; height: 224px; pointer-events: none; background: radial-gradient(60% 100% at 50% 0%, rgba(255, 77, 43, .2), transparent 70%); }
.v5-modal__close {
  position: absolute;
  right: 16px; top: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  color: rgba(244, 240, 231, .7);
  cursor: pointer;
  transition: transform .3s var(--v5-ease), border-color .3s var(--v5-ease), color .3s var(--v5-ease);
}
.v5-modal__close:hover { transform: rotate(90deg); border-color: rgba(255, 255, 255, .25); color: #F4F0E7; }
.v5-modal__close svg { width: 16px; height: 16px; }
@media (min-width: 640px) { .v5-modal__close { right: 20px; top: 20px; } }
.v5-modal form, .v5-modal__sent { position: relative; }
.v5-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 43, .25);
  background: rgba(255, 77, 43, .08);
  font: 400 10.5px/1.5 var(--v5-mono);
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #FF9A73;
}
.v5-modal__badge::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #FF4D2B; box-shadow: 0 0 10px rgba(255, 77, 43, .9); }
.v5-modal__title {
  margin: 16px 0 0;
  padding-right: 40px;
  font-family: var(--v5-display);
  font-size: clamp(1.8rem, 5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #F4F0E7;
}
.v5-modal__desc { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: rgba(244, 240, 231, .6); }
.v5-modal__fields { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) {
  .v5-modal__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v5-modal__fields .is-wide { grid-column: span 2; }
}
.v5-modal__label { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: rgba(244, 240, 231, .7); }
.v5-modal__label small { font-size: 13px; font-weight: 400; color: rgba(244, 240, 231, .35); }
.v5-modal__input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  font-family: var(--v5-tight);
  font-size: 15px;
  line-height: 1.4;
  color: #F4F0E7;
  outline: none;
  transition: border-color .3s var(--v5-ease), background-color .3s var(--v5-ease), box-shadow .3s var(--v5-ease);
}
.v5-modal__input::placeholder { color: rgba(244, 240, 231, .3); }
.v5-modal__input:hover { border-color: rgba(255, 255, 255, .2); }
.v5-modal__input:focus { border-color: rgba(255, 77, 43, .6); background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 4px rgba(255, 77, 43, .12); }
.v5-modal__input[aria-invalid="true"] { border-color: rgba(255, 77, 43, .55); }
.v5-modal__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.v5-modal fieldset { min-width: 0; margin: 24px 0 0; padding: 0; border: 0; }
.v5-modal fieldset + fieldset { margin-top: 20px; }
.v5-modal legend { padding: 0; font-size: 13px; font-weight: 500; color: rgba(244, 240, 231, .7); }
.v5-modal__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.v5-modal__choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v5-modal__choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  font-size: 13.5px;
  line-height: 1.35;
  text-align: center;
  color: rgba(244, 240, 231, .65);
  cursor: pointer;
  transition: border-color .3s var(--v5-ease), background-color .3s var(--v5-ease), color .3s var(--v5-ease), box-shadow .3s var(--v5-ease);
}
.v5-modal__choice:hover { border-color: rgba(255, 255, 255, .2); color: rgba(244, 240, 231, .9); }
.v5-modal__choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.v5-modal__choice:has(input:checked) {
  border-color: rgba(255, 77, 43, .6);
  background: rgba(255, 77, 43, .1);
  color: #F4F0E7;
  box-shadow: 0 0 0 4px rgba(255, 77, 43, .08);
}
.v5-modal__choice:has(input:focus-visible) { outline: 2px solid #FFBE4D; outline-offset: 2px; }
.v5-modal__error {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 43, .3);
  background: rgba(255, 77, 43, .1);
  font-size: 13.5px;
  line-height: 1.5;
  color: #FFB59A;
}
.v5-modal__error[hidden] { display: none; }
.v5-modal__submit { margin-top: 24px; }
.v5-modal__privacy { margin: 16px 0 0; font-size: 12.5px; line-height: 1.6; text-align: center; color: rgba(244, 240, 231, .4); }
.v5-modal__sent { padding: 24px 0; text-align: center; }
.v5-modal__sent[hidden], .v5-modal form[hidden] { display: none; }
.v5-modal__check {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(255, 77, 43, .15);
  color: #FF9A73;
  box-shadow: 0 0 0 1px rgba(255, 77, 43, .4), 0 0 40px rgba(255, 77, 43, .35);
  animation: v5-pop .6s var(--v5-spring) both;
}
.v5-modal__check svg { width: 24px; height: 24px; }
@keyframes v5-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.v5-modal__sent h2 { margin: 24px 0 0; font-family: var(--v5-display); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.035em; color: #F4F0E7; }
.v5-modal__sent p { max-width: 400px; margin: 16px auto 0; font-size: 15.5px; line-height: 1.6; color: rgba(244, 240, 231, .6); }
.v5-modal__sent a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-size: 14.5px;
  font-weight: 600;
  color: #FF7849;
  text-decoration: none;
  transition: color .3s var(--v5-ease);
}
.v5-modal__sent a:hover { color: #FFBE4D; }

/* ==========================================================================
   Blog PHP (templates v5 : layout.php, blog-index.php, blog-post.php)
   Plus de CSS Next ni de Tailwind sur le blog : tout le balisage est en classes v5.
   ========================================================================== */
/* Index : haut de page */
.v5-blog-hero, .v5-post-hero { padding-bottom: 40px; }
@media (min-width: 768px) { .v5-blog-hero, .v5-post-hero { padding-bottom: 56px; } }
.v5-blog-count {
  margin: 28px 0 0;
  font: 500 11px/1.5 var(--v5-mono);
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(244, 240, 231, .42);
}

/* Index : « Commence par ton besoin » (guides, page 1 en français) */
.v5-blog-start { padding: 16px 0 48px; }
@media (min-width: 768px) { .v5-blog-start { padding: 24px 0 64px; } }
.v5-blog-start__title {
  margin: 0;
  font-family: var(--v5-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  word-spacing: .04em;
  color: #F4F0E7;
  text-wrap: balance;
}
.v5-blog-start__cards { margin-top: 28px; }
/* Les guides se distinguent des notes par un verre légèrement teinté. */
.v5-blog-start__cards .v5-card {
  border-color: rgba(255, 120, 73, .18);
  background: linear-gradient(180deg, rgba(255, 77, 43, .07), rgba(255, 255, 255, .02) 70%);
}
.v5-blog-start__cards .v5-card:hover { border-color: rgba(255, 120, 73, .32); }

/* Index : cartes d'articles */
.v5-blog-list { padding-top: 16px; }
@media (min-width: 768px) { .v5-blog-list { padding-top: 24px; } }
.v5-blog-start + .v5-blog-list { padding-top: 48px; }
@media (min-width: 768px) { .v5-blog-start + .v5-blog-list { padding-top: 64px; } }
.v5-blog-start + .v5-blog-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1136px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08) 20%, rgba(255, 255, 255, .08) 80%, transparent);
}
.v5-post { display: flex; min-width: 0; margin: 0; }
.v5-post > .v5-card { flex: 1; min-width: 0; }
.v5-post__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.v5-post__meta .v5-card__kicker { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v5-post__date {
  flex: none;
  font: 400 10.5px/1.5 var(--v5-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(244, 240, 231, .42);
}
.v5-post__title,
.v5-post__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.v5-post__title { font-size: 19px; transition: color .3s var(--v5-ease); }
@media (min-width: 768px) { .v5-post__title { font-size: 20px; } }
.v5-post .v5-card__text { flex: none; }
.v5-post .v5-card__more { margin-top: auto; padding-top: 24px; }
.v5-post .v5-card:hover .v5-post__title { color: #FFBE4D; }
.v5-blog-empty {
  margin: 0;
  padding: 48px 24px;
  border: 1px dashed rgba(255, 255, 255, .12);
  border-radius: 22px;
  text-align: center;
  color: rgba(244, 240, 231, .55);
}

/* Index : pagination */
.v5-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 56px; }
.v5-pager__item {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  font: 500 12.5px/1 var(--v5-mono);
  font-variant-numeric: tabular-nums;
  color: rgba(244, 240, 231, .65);
  text-decoration: none;
  transition: border-color .3s var(--v5-ease), color .3s var(--v5-ease), background-color .3s var(--v5-ease);
}
.v5-pager__item:hover { border-color: rgba(255, 255, 255, .25); color: #F4F0E7; background: rgba(255, 255, 255, .05); }
.v5-pager__item[aria-current="page"] { border-color: rgba(255, 77, 43, .6); background: rgba(255, 77, 43, .12); color: #F4F0E7; }
.v5-pager__item--arrow { width: 40px; padding: 0; }
.v5-pager__item svg { width: 16px; height: 16px; }
.v5-pager__gap { min-width: 20px; text-align: center; font: 500 12.5px/1 var(--v5-mono); color: rgba(244, 240, 231, .35); }

/* Article : haut de page */
.v5-post-narrow { max-width: 824px; }
.v5-post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 11.5px/1.5 var(--v5-mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(244, 240, 231, .55);
  text-decoration: none;
  transition: color .3s var(--v5-ease);
}
.v5-post-back svg { width: 14px; height: 14px; transition: transform .3s var(--v5-ease); }
.v5-post-back:hover { color: #F4F0E7; }
.v5-post-back:hover svg { transform: translateX(-3px); }
.v5-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 28px;
  font: 400 12px/1.5 var(--v5-mono);
  letter-spacing: .08em;
  color: rgba(244, 240, 231, .5);
}
.v5-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 43, .25);
  background: rgba(255, 77, 43, .08);
  font: 500 11px/1.4 var(--v5-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #FF9A73;
}
.v5-chip--muted {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  font: 500 13px/1.4 var(--v5-tight);
  text-transform: none;
  letter-spacing: 0;
  color: rgba(244, 240, 231, .65);
}
.v5-post-title { margin-top: 18px; --v5-size: clamp(2.1rem, 4.6vw, 3.4rem); font-size: var(--v5-size); line-height: 1.06; }

/* Titres sur petit écran (.v5-fit : h1, h2 de section, appel final, titre d'article). Syne 800
   est très large : sans ajustement, le plus long mot d'un titre est coupé au milieu
   (« commercia / l ») ou rogné (« aujourd'hui. ») entre 320 et 360 px. --v5-fit = largeur de ce
   mot en em (chasse de Syne 800 mesurée, interlettrage et 3 % de marge compris), posée par
   apply_v5.py (pages SEO) et par blog/templates/v5-fit.php (blog, appel final) ; le titre suit
   la largeur du conteneur (100vw - 2 x 20 px). Jamais plus grand que la taille normale
   (--v5-size), jamais sous 1,5rem ; à partir de 768 px la taille normale suffit.
   Ce bloc doit rester après toutes les définitions de titres (même spécificité). */
@media (max-width: 767.98px) {
  .v5-fit { font-size: min(var(--v5-size, 2.4rem), max(1.5rem, calc((100vw - 40px) / var(--v5-fit, 1)))); }
}

/* Article : corps, source, mots-clés */
.v5-post-body { padding-top: 8px; padding-bottom: 24px; }
.v5-post-source { margin: 0 0 40px; padding: 18px 22px; font-size: 14px; line-height: 1.55; }
.v5-post-source__label {
  margin: 0 0 8px;
  font: 500 10.5px/1.5 var(--v5-mono);
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #FF7849;
}
.v5-post-source__link {
  color: #F4F0E7;
  text-decoration: underline;
  text-decoration-color: rgba(255, 120, 73, .4);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: color .3s var(--v5-ease), text-decoration-color .3s var(--v5-ease);
}
.v5-post-source__link:hover { color: #FF9A73; text-decoration-color: #FF7849; }
.v5-post-source__host { margin-left: 8px; font-size: 12.5px; color: rgba(244, 240, 231, .42); }
.v5-blog .prose { font-size: 17px; }
.v5-blog .prose > :first-child { margin-top: 0; }
/* Listes numérotées du blog : le rendu Markdown (php-blog/src/Markdown.php) ouvre un <ol>
   par point quand les points sont séparés par une ligne vide, et chaque <ol> repartait
   de 1 (« 1. 1. 1. », déjà visible en prod). Un compteur propre au blog, remis à zéro par
   tout bloc qui n'est pas un <ol>, fait suivre la numérotation d'un <ol> au suivant.
   ::before et non ::marker { content } : Safari ignore content dans ::marker. */
.v5-blog .prose { counter-reset: v5-ol; }
.v5-blog .prose > :not(ol) { counter-reset: v5-ol; }
.v5-blog .prose > ol { list-style: none; }
.v5-blog .prose > ol > li { position: relative; counter-increment: v5-ol; }
.v5-blog .prose > ol > li::before {
  content: counter(v5-ol) ".";
  position: absolute;
  top: 0;
  right: calc(100% + .4em);
  color: rgba(255, 120, 73, .75);
  font-variant-numeric: tabular-nums;
}
.v5-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .08); }

/* Article : newsletter */
.v5-nl__card { position: relative; overflow: hidden; padding: 28px; }
@media (min-width: 768px) { .v5-nl__card { padding: 40px; } }
.v5-nl__card > * { position: relative; }
.v5-nl__card > .v5-nl__glow {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 77, 43, .32), transparent);
}
.v5-nl__card .v5-eyebrow { margin: 0; }
.v5-nl__title {
  margin: 16px 0 0;
  font-family: var(--v5-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  word-spacing: .04em;
  color: #F4F0E7;
  text-wrap: balance;
}
.v5-nl__sub { max-width: 60ch; margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: rgba(244, 240, 231, .62); }
.v5-nl__form { width: 100%; max-width: 540px; margin-top: 24px; }
.v5-nl__row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 640px) { .v5-nl__row { flex-direction: row; align-items: center; } }
.v5-nl__input {
  /* 1 1 auto et non 1 (base 0 %) : sur mobile la rangée passe en colonne, et une base
     nulle écrasait le champ à ~20 px de haut au lieu de ses 48 px. */
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  font: 400 15px/1 var(--v5-tight);
  color: #F4F0E7;
  transition: border-color .3s var(--v5-ease), box-shadow .3s var(--v5-ease), background-color .3s var(--v5-ease);
}
.v5-nl__input::placeholder { color: rgba(244, 240, 231, .32); }
.v5-nl__input:focus { outline: none; border-color: rgba(255, 77, 43, .6); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 4px rgba(255, 77, 43, .14); }
.v5-nl__input:disabled { opacity: .6; }
.v5-nl__btn { flex: none; }
.v5-nl__btn[disabled] { cursor: wait; opacity: .8; }
.v5-nl__msg { min-height: 20px; margin: 12px 0 0; font-size: 13px; line-height: 1.5; }
.v5-nl__more { display: inline-flex; margin-top: 4px; font-size: 13px; color: rgba(244, 240, 231, .45); text-decoration: none; transition: color .3s var(--v5-ease); }
.v5-nl__more:hover { color: #FF7849; }

/* ==========================================================================
   Mouvement réduit : plus d'animation ni de reflet, tout est visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .v5-js .v5-reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .v5-enter, .v5-hero__glow, .v5-final__glow, .v5-modal__check, .v5-spin { animation: none; }
  .v5-btn--primary::before { display: none; }
  .v5-menu__link, .v5-menu__ctas { transition: none; transform: none; }
  .v5-menu__ctas { opacity: 1; }
  .v5-modal__panel, .v5-modal__backdrop { transition: opacity .2s var(--v5-ease); transform: none; }
  .v5-modal.is-closing .v5-modal__panel { transform: none; }
  .v5-js .v5-faq__a, .v5-js .v5-faq__body { transition: none; }
  .v5-demo__mock.is-swap #demo-last, .v5-demo__mock.is-swap #demo-next { animation: none; }
  .v5-btn, .v5-nav__island, .v5-nav__progress { transition-duration: .01s; }
  .v5-post-back svg { transition: none; }
  .v5-post-back:hover svg { transform: none; }
}
