/* ==========================================================================
   Ayoub Chouaf — feuille de style principale
   Points de rupture (identiques au site d'origine) :
     Ordinateur  : ≥ 1200px (styles de base)
     Portable    : 992px → 1199.98px
     Tablette    : 768px → 991.98px
     Mobile      : < 768px
   ========================================================================== */

/* ==========================================================================
   POLICES (hébergées avec le site : Switzer et Inter, seulement les graisses utilisées)
   ========================================================================== */
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-500.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 500; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-600.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 600; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-700.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 700; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-600-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Polices de secours aux mêmes proportions : le texte ne bouge pas quand les vraies polices arrivent */
@font-face { font-family: "Switzer Placeholder"; src: local("Arial"); ascent-override: 96.67%; descent-override: 24.66%; line-gap-override: 8.88%; size-adjust: 101.38%; }
@font-face { font-family: "Inter Placeholder"; src: local("Arial"); ascent-override: 89.79%; descent-override: 22.36%; line-gap-override: 0.00%; size-adjust: 107.89%; }
@font-face { font-family: "Inter Display Placeholder"; src: local("Arial"); ascent-override: 98.56%; descent-override: 24.54%; line-gap-override: 0.00%; size-adjust: 98.29%; }

/* Lenis (défilement doux) : styles fournis par la bibliothèque */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch], .lenis [data-lenis-prevent-vertical], .lenis [data-lenis-prevent-horizontal] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }

/* Les <picture> (AVIF + WebP) ne créent pas de boîte : l'image se place comme si elle était seule */
picture { display: contents; border-radius: inherit; }

:root {
  /* Couleurs */
  --white: #fff;
  --gray-50: #fafafa;
  --gray-100: #f7f7f7;
  --gray-150: #f0f0f0;
  --gray-200: #dedede;
  --gray-300: #b8b8b8;
  --gray-400: #828282;  /* gris d'origine : gardé pour les grands titres, assez contrastés à cette taille */
  --gray-500: #707070;  /* gris des textes : contraste d'au moins 4,5:1 sur blanc, #fafafa et #f7f7f7 (accessibilité) */
  --gray-700: #545454;
  --gray-900: #2b2b2b;
  --black: #000;

  /* Polices */
  --font: "Switzer", "Switzer Placeholder", sans-serif;
  --font-inter: "Inter", "Inter Placeholder", sans-serif;
  --font-display: "Inter Display", "Inter Display Placeholder", sans-serif;

  /* Ombres */
  --shadow-card: 0px 0.597px 0.597px -0.9375px rgba(0, 0, 0, 0.07), 0px 1.811px 1.811px -1.875px rgba(0, 0, 0, 0.07), 0px 4.787px 4.787px -2.8125px rgba(0, 0, 0, 0.06), 0px 15px 15px -3.75px rgba(0, 0, 0, 0.03);
  --shadow-card-none: 0px 0.597px 0.597px -0.9375px rgba(0, 0, 0, 0), 0px 1.811px 1.811px -1.875px rgba(0, 0, 0, 0), 0px 4.787px 4.787px -2.8125px rgba(0, 0, 0, 0), 0px 15px 15px -3.75px rgba(0, 0, 0, 0);
  --shadow-pill: 0px 0.602px 0.602px -1.25px rgba(0, 0, 0, 0.18), 0px 2.289px 2.289px -2.5px rgba(0, 0, 0, 0.16), 0px 10px 10px -3.75px rgba(0, 0, 0, 0.06);
  --shadow-dark: inset 0px 2px 4px 0px rgba(255, 255, 255, 0.4), 0px 0.741px 0.741px -0.75px rgba(0, 0, 0, 0.33), 0px 2.018px 2.018px -1.5px rgba(0, 0, 0, 0.32), 0px 4.431px 4.431px -2.25px rgba(0, 0, 0, 0.3), 0px 9.835px 9.835px -3px rgba(0, 0, 0, 0.25), 0px 25px 25px -3.75px rgba(0, 0, 0, 0.11), 0px 0px 0px 1px var(--gray-500);
  --shadow-dark-hover: inset 0px 2px 4px 0px rgba(255, 255, 255, 0.4), 0px 0.741px 0.741px -0.75px rgba(0, 0, 0, 0), 0px 2.018px 2.018px -1.5px rgba(0, 0, 0, 0), 0px 4.431px 4.431px -2.25px rgba(0, 0, 0, 0), 0px 9.835px 9.835px -3px rgba(0, 0, 0, 0), 0px 25px 25px -3.75px rgba(0, 0, 0, 0), 0px 0px 0px 1px var(--gray-500);
  --shadow-dark-soft: inset 0px 2px 4px 0px rgba(255, 255, 255, 0.4), 0px 0.741px 0.741px -0.75px rgba(0, 0, 0, 0.15), 0px 2.018px 2.018px -1.5px rgba(0, 0, 0, 0.14), 0px 4.431px 4.431px -2.25px rgba(0, 0, 0, 0.13), 0px 9.835px 9.835px -3px rgba(0, 0, 0, 0.11), 0px 25px 25px -3.75px rgba(0, 0, 0, 0.05), 0px 0px 0px 1px var(--gray-500);
  --shadow-light-btn: inset 0px 2px 4px 0px rgba(255, 255, 255, 0.4), 0px 0.741px 0.741px -0.75px rgba(0, 0, 0, 0.07), 0px 2.018px 2.018px -1.5px rgba(0, 0, 0, 0.07), 0px 4.431px 4.431px -2.25px rgba(0, 0, 0, 0.07), 0px 9.835px 9.835px -3px rgba(0, 0, 0, 0.06), 0px 25px 25px -3.75px rgba(0, 0, 0, 0.03), 0px 0px 0px 1px var(--gray-150);

  /* Courbes « ressort » recalculées depuis les réglages Framer */
  /* spring-0-04: duration 0.4s bounce 0.0 -> stiffness 532.8 damping 46.17, settles 0.381s */
  --spring-0-04: linear(0, 0.02, 0.0695, 0.1364, 0.2122, 0.2909, 0.3686, 0.4427, 0.5117, 0.5749, 0.6318, 0.6827, 0.7276, 0.767, 0.8013, 0.8311, 0.8568, 0.8788, 0.8977, 0.9138, 0.9275, 0.9391, 0.949, 0.9573, 0.9643, 0.9702, 0.9751, 0.9793, 0.9827, 0.9856, 0.9881, 0.9901, 0.9918, 0.9932, 0.9944, 0.9953, 0.9961, 0.9968, 0.9974, 0.9978, 0.9982, 1);
  --spring-0-04-d: 0.381s;
  /* spring-02-04: duration 0.4s bounce 0.2 -> stiffness 505.6 damping 35.98, settles 0.366s */
  --spring-02-04: linear(0, 0.019, 0.0679, 0.1365, 0.217, 0.303, 0.39, 0.4745, 0.5541, 0.6275, 0.6937, 0.7523, 0.8034, 0.8472, 0.8842, 0.915, 0.9402, 0.9605, 0.9765, 0.9889, 0.9982, 1.0049, 1.0096, 1.0127, 1.0144, 1.0151, 1.0151, 1.0145, 1.0136, 1.0124, 1.0112, 1.0098, 1.0085, 1.0073, 1.0061, 1.0051, 1.0041, 1.0033, 1.0026, 1.002, 1);
  --spring-02-04-d: 0.366s;
  /* spring-02-05: duration 0.5s bounce 0.2 -> stiffness 323.6 damping 28.78, settles 0.458s */
  --spring-02-05: linear(0, 0.0124, 0.0455, 0.0936, 0.1522, 0.2174, 0.2861, 0.3559, 0.4248, 0.4915, 0.5548, 0.6141, 0.6688, 0.7187, 0.7637, 0.804, 0.8396, 0.8707, 0.8977, 0.9209, 0.9406, 0.9572, 0.9709, 0.9821, 0.9912, 0.9984, 1.0039, 1.0081, 1.0111, 1.0131, 1.0144, 1.015, 1.0152, 1.0149, 1.0143, 1.0136, 1.0126, 1.0116, 1.0106, 1.0095, 1.0085, 1.0075, 1.0065, 1.0057, 1.0048, 1.0041, 1.0034, 1.0028, 1.0023, 1.0019, 1);
  --spring-02-05-d: 0.458s;
  /* spring-02-06: duration 0.6s bounce 0.2 -> stiffness 224.7 damping 23.98, settles 0.549s */
  --spring-02-06: linear(0, 0.0087, 0.0325, 0.0679, 0.112, 0.1624, 0.217, 0.274, 0.3321, 0.39, 0.4467, 0.5016, 0.5541, 0.6038, 0.6504, 0.6937, 0.7336, 0.7701, 0.8034, 0.8334, 0.8602, 0.8842, 0.9054, 0.924, 0.9402, 0.9542, 0.9663, 0.9765, 0.9851, 0.9923, 0.9982, 1.0029, 1.0067, 1.0096, 1.0118, 1.0134, 1.0144, 1.015, 1.0152, 1.0151, 1.0147, 1.0142, 1.0136, 1.0128, 1.012, 1.0112, 1.0103, 1.0094, 1.0085, 1.0077, 1.0069, 1.0061, 1.0054, 1.0048, 1.0041, 1.0036, 1.0031, 1.0026, 1.0022, 1.0018, 1);
  --spring-02-06-d: 0.549s;
  /* spring-04-06: duration 0.6s bounce 0.4 -> stiffness 338.2 damping 22.07, settles 0.544s */
  --spring-04-06: linear(0, 0.0134, 0.05, 0.1044, 0.1721, 0.2488, 0.3309, 0.4152, 0.4992, 0.5807, 0.6581, 0.7301, 0.7959, 0.8548, 0.9067, 0.9514, 0.9892, 1.0203, 1.0451, 1.0642, 1.0781, 1.0875, 1.0928, 1.0947, 1.0939, 1.0907, 1.0858, 1.0796, 1.0724, 1.0647, 1.0567, 1.0487, 1.041, 1.0336, 1.0266, 1.0203, 1.0146, 1.0096, 1.0052, 1.0016, 0.9985, 0.9961, 0.9942, 0.9928, 0.9918, 0.9913, 0.991, 0.9911, 0.9913, 0.9918, 0.9924, 0.993, 0.9937, 0.9945, 0.9953, 0.996, 0.9967, 0.9974, 0.998, 1);
  --spring-04-06-d: 0.544s;
  /* spring-0-06: duration 0.6s bounce 0.0 -> stiffness 236.8 damping 30.78, settles 0.571s */
  --spring-0-06: linear(0, 0.0091, 0.0333, 0.0684, 0.1111, 0.1588, 0.2094, 0.2613, 0.3133, 0.3645, 0.4141, 0.4617, 0.507, 0.5497, 0.5897, 0.627, 0.6616, 0.6936, 0.723, 0.75, 0.7747, 0.7973, 0.8178, 0.8364, 0.8533, 0.8686, 0.8824, 0.8949, 0.9061, 0.9162, 0.9252, 0.9334, 0.9406, 0.9472, 0.953, 0.9582, 0.9629, 0.967, 0.9707, 0.974, 0.977, 0.9796, 0.9819, 0.984, 0.9858, 0.9875, 0.9889, 0.9902, 0.9913, 0.9923, 0.9932, 0.994, 0.9947, 0.9953, 0.9959, 0.9964, 0.9968, 0.9972, 0.9975, 0.9978, 0.9981, 0.9983, 1);
  --spring-0-06-d: 0.571s;
  /* spring-0-08: duration 0.8s bounce 0.0 -> stiffness 133.2 damping 23.08, settles 0.761s */
  --spring-0-08: linear(0, 0.0052, 0.0195, 0.0409, 0.0679, 0.0992, 0.1335, 0.1701, 0.208, 0.2467, 0.2856, 0.3243, 0.3625, 0.3997, 0.436, 0.471, 0.5046, 0.5369, 0.5676, 0.5969, 0.6246, 0.6508, 0.6756, 0.6989, 0.7208, 0.7413, 0.7605, 0.7785, 0.7953, 0.8109, 0.8255, 0.839, 0.8516, 0.8633, 0.8741, 0.8841, 0.8934, 0.902, 0.91, 0.9173, 0.9241, 0.9303, 0.9361, 0.9414, 0.9463, 0.9507, 0.9549, 0.9587, 0.9622, 0.9654, 0.9683, 0.971, 0.9735, 0.9758, 0.9779, 0.9798, 0.9815, 0.9831, 0.9846, 0.9859, 0.9872, 0.9883, 0.9893, 0.9902, 0.9911, 0.9919, 0.9926, 0.9933, 0.9939, 0.9944, 0.9949, 0.9954, 0.9958, 0.9961, 0.9965, 0.9968, 0.9971, 0.9974, 0.9976, 0.9978, 0.998, 0.9982, 0.9984, 1);
  --spring-0-08-d: 0.761s;
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-io: cubic-bezier(0.44, 0, 0.56, 1);
  --ease-default: cubic-bezier(0.25, 0.1, 0.35, 1);
  --ease-card: cubic-bezier(0.68, 0, 0.22, 0.83);
}

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

html {
  background: var(--gray-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 12px;
  color: var(--black);
  background: var(--gray-50);
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.05);
}

::selection { background: var(--black); color: var(--white); }

h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
strong { font-weight: var(--bold, 600); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Transition entre les pages (réglages relevés sur le site Framer) ----------
   La nouvelle page se dévoile de bas en haut pendant que l'ancienne monte de 30 % et s'efface
   sur le fond sombre : 0,5 s, courbe (0.68, 0, 0.22, 0.83).
   Navigateurs sans transition entre pages (Firefox) : la page change normalement. */
@view-transition { navigation: auto; }
::view-transition { background: var(--gray-900); }
::view-transition-group(root) { animation-duration: 0.5s; }
::view-transition-old(root),
::view-transition-new(root) {
  mix-blend-mode: normal;
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.68, 0, 0.22, 0.83);
  animation-fill-mode: both;
}
::view-transition-old(root) { animation-name: page-exit; }
::view-transition-new(root) { animation-name: page-enter; }
@keyframes page-exit { to { transform: translateY(-30%); opacity: 0; } }
@keyframes page-enter { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* Bordure dessinée par-dessus l'élément (ne modifie pas les dimensions, comme dans Framer).
   --bw (épaisseur) est remis à 1px sur chaque élément bordé : sans ça, une carte posée dans une section
   « bordure du haut seulement » héritait de ce réglage et perdait ses côtés. */
:where(.bordered) { position: relative; --bw: 1px; }
.bordered::after {
  content: "";
  position: absolute;
  inset: 0;
  border-style: solid;
  border-width: var(--bw, 1px);
  border-color: var(--bc, var(--gray-200));
  border-radius: inherit;
  pointer-events: none;
}

/* ---------- Typographie ---------- */
.t-h1, .t-h2, .t-h3, .t-page-title, .t-post, .t-quote,
.t-body-lg, .t-body-md, .t-body-sm, .t-body-xs, .t-label, .t-small { font-family: var(--font); font-style: normal; }

.t-h1 { font-size: 72px; font-weight: 500; --bold: 700; letter-spacing: -0.03em; line-height: 95%; text-align: left; }
.t-h2 { font-size: 64px; font-weight: 500; --bold: 700; letter-spacing: -0.03em; line-height: 100%; }
.t-h3 { font-size: 32px; font-weight: 500; --bold: 700; letter-spacing: -0.03em; line-height: 115%; }
.t-page-title { font-size: 48px; font-weight: 500; --bold: 700; letter-spacing: -0.03em; line-height: 110%; text-wrap: balance; }
.t-post { font-size: 32px; font-weight: 500; letter-spacing: -0.03em; line-height: 115%; text-wrap: balance; }
.t-quote { font-size: 28px; font-weight: 500; --bold: 600; letter-spacing: -0.03em; line-height: 140%; text-align: center; font-feature-settings: "calt" 0, "ss03" 1; text-wrap: balance; }
.t-body-lg { font-size: 22px; font-weight: 500; --bold: 600; letter-spacing: -0.03em; line-height: 140%; }
.t-body-md { font-size: 18px; font-weight: 500; --bold: 600; letter-spacing: -0.02em; line-height: 140%; }
.t-body-sm { font-size: 16px; font-weight: 500; --bold: 700; letter-spacing: -0.02em; line-height: 150%; }
.t-body-xs { font-size: 14px; font-weight: 500; --bold: 600; letter-spacing: -0.01em; line-height: 160%; font-feature-settings: "blwf" 1, "cv09" 1, "cv03" 1, "cv04" 1, "cv11" 1; }
.t-label { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; line-height: 112%; }
.t-small { font-size: 12px; font-weight: 600; --bold: 900; letter-spacing: -0.01em; line-height: 112%; }
.t-price { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 120%; text-align: center; white-space: nowrap; }

/* Espacement entre paragraphes d'un même texte (réglage « paragraph spacing » de Framer) */
p.t-body-lg + p.t-body-lg, p.t-body-md + p.t-body-md { margin-top: 32px; }

.c-white { color: var(--white); }
.c-black { color: var(--black); }
.c-gray { color: var(--gray-500); }
/* Grands titres (24 px et plus à toutes les tailles d'écran) : le gris d'origine, plus clair, y reste lisible */
:is(.t-h1, .t-h2, .t-h3, .t-post, .t-page-title).c-gray,
:is(.t-h1, .t-h2, .t-h3, .t-post, .t-page-title) .c-gray { color: var(--gray-400); }
/* Sur le fond noir du pied de page, un gris plus foncé ne se lirait plus : le gris d'origine */
.footer .c-gray { color: var(--gray-400); }
.c-gray-dark { color: var(--gray-700); }
.c-gray-darker { color: var(--gray-900); }
.c-gray-light { color: var(--gray-300); }

@media (min-width: 992px) and (max-width: 1199.98px) {
  .t-h1 { font-size: 64px; }
  .t-h2 { font-size: 54px; }
  .t-h3 { font-size: 30px; }
  .t-page-title { font-size: 42px; }
  .t-post { font-size: 30px; }
  .t-quote { font-size: 26px; }
  .t-body-lg { font-size: 20px; }
  .t-price { font-size: 40px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .t-h1 { font-size: 48px; }
  .t-h2 { font-size: 46px; }
  .t-h3 { font-size: 28px; }
  .t-page-title { font-size: 38px; }
  .t-post { font-size: 28px; }
  .t-quote { font-size: 24px; }
  .t-body-lg { font-size: 18px; }
  .t-body-md { font-size: 16px; }
  .t-body-sm { font-size: 14px; }
  .t-price { font-size: 38px; }
}
@media (max-width: 767.98px) {
  .t-h1 { font-size: 42px; }
  .t-h2 { font-size: 36px; }
  .t-h3 { font-size: 26px; }
  .t-page-title { font-size: 32px; }
  .t-post { font-size: 24px; }
  .t-quote { font-size: 22px; }
  .t-body-lg { font-size: 18px; }
  .t-body-md { font-size: 16px; }
  .t-body-sm { font-size: 14px; }
  .t-body-xs { font-size: 15px; }
  .t-price { font-size: 36px; }
}

/* Visibilité par format */
@media (min-width: 992px) { .only-mobile { display: none !important; } }

/* ---------- Structure générale ---------- */
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  overflow: clip;
  background: var(--gray-50);
}

.content,
.main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1080px;
  padding: 0 44px;
}

/* Lignes verticales du cadre */
.frame-lines {
  --bw: 0 1px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 1080px;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}
.frame-lines::after {
  content: "";
  position: absolute;
  inset: 0;
  border: solid var(--gray-200);
  border-width: 0 1px;
}
@media (max-width: 1199.98px) { .frame-lines { max-width: 95%; } }

/* ---------- Avatars ---------- */
.avatar { position: relative; flex: none; display: block; border-radius: 1000px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: inherit; }
.avatar--28 { width: 28px; height: 28px; }
.avatar--32 { width: 32px; height: 32px; }
.avatar--38 { width: 38px; height: 38px; border-radius: 100%; }
.avatar--64 { width: 64px; height: 64px; }

/* ---------- Boutons ---------- */
.btn-dark {
  --bc: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 44px;
  padding: 8px 12px;
  border-radius: 24px;
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease-default);
}
.btn-dark__icon { width: 18px; height: 18px; flex: none; color: var(--white); --ic-stroke: 2; }
.btn-dark__text { padding: 0 6px; user-select: none; color: var(--white); }
@media (hover: hover) and (min-width: 992px) {
  .btn-dark:hover { box-shadow: var(--shadow-dark-hover); }
}

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 8px 12px;
  border-radius: 24px;
  background: var(--gray-50);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  white-space: nowrap;
  transition: box-shadow 0.3s var(--ease-default);
}
.btn-light__icon { width: 18px; height: 18px; flex: none; --ic-stroke: 2; --ic-alpha: 0; }
.btn-light__text { padding: 0 6px; user-select: none; }
.btn-light--block { width: 100%; }
@media (hover: hover) and (min-width: 992px) {
  .btn-light:hover { box-shadow: var(--shadow-card-none); }
}

/* Lien avec flèche (« Voir tous mes projets », « Tout voir ») */
.link-arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  /* 2 px de plus en haut, compensés : zone à toucher de 24 px sans déplacer le texte ni le trait */
  padding-top: 2px;
  margin-top: -2px;
  overflow: hidden;
  cursor: pointer;
}
.link-arrow .t-body-md { white-space: nowrap; user-select: none; }
.link-arrow__line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1%;
  height: 1px;
  background: var(--black);
  opacity: 0;
  z-index: 1;
  transition: width var(--spring-0-06-d) var(--spring-0-06), opacity var(--spring-0-06-d) var(--spring-0-06);
}
.link-arrow:hover .link-arrow__line { width: 100%; opacity: 1; }

/* Icône flèche animée (2 flèches qui se relaient au survol) */
.arrow-icon {
  position: relative;
  display: flex;
  width: 18px;
  height: 18px;
  overflow: hidden;
  flex: none;
}
.arrow-icon svg {
  position: absolute;
  width: 18px;
  height: 18px;
  color: var(--black);
  transition: transform var(--spring-0-04-d) var(--spring-0-04);
}
.arrow-icon svg:first-child { transform: translate(0, 0); }
.arrow-icon svg:last-child { transform: translate(-34px, 34px); }
.link-arrow:hover .arrow-icon svg:first-child,
.project-card.is-hoverable:hover .arrow-icon svg:first-child { transform: translate(34px, -34px); }
.link-arrow:hover .arrow-icon svg:last-child,
.project-card.is-hoverable:hover .arrow-icon svg:last-child { transform: translate(0, 0); }

/* ---------- Pastille « disponibilité » ---------- */
.badge {
  --bc: var(--gray-150);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 30px;
  padding: 12px 16px 12px 8px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-pill);
  white-space: nowrap;
  width: max-content;
}
.pulse { position: relative; display: block; width: 16px; height: 16px; flex: none; }
.pulse--red { --pulse: rgb(186, 6, 6); }
.pulse--green { --pulse: rgb(18, 179, 63); }
.pulse--orange { --pulse: rgb(245, 124, 0); }
.pulse__outer,
.pulse__inner { position: absolute; border-radius: 1000px; background: var(--pulse); }
.pulse__outer { inset: 0; opacity: 0.5; animation: pulse-outer 1s var(--ease-io) infinite alternate; }
.pulse__inner { left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; animation: pulse-inner 1s var(--ease-io) infinite alternate; }
@keyframes pulse-outer { to { opacity: 0.2; transform: scale(0.5); } }
@keyframes pulse-inner { to { opacity: 0.5; } }

/* ---------- Étiquette « Lancez-vous ! » ---------- */
.label {
  --bc: var(--gray-150);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 12px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-pill);
  white-space: nowrap;
  width: max-content;
}

/* ==========================================================================
   MENU DU HAUT
   ========================================================================== */
/* Les 3 points animés (base, avant les variantes du menu qui la surchargent) */
.dots { position: relative; display: flex; width: 24px; height: 24px; flex: none; cursor: pointer; }

.nav-wrap {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 9;
  transform: translateX(-50%);
}
.nav {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  padding: 12px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  overflow: hidden;
  cursor: pointer;
}
.nav__details { display: flex; align-items: center; justify-content: center; gap: 32px; }
.nav__brand { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav__mobile-dots { display: none; }
.nav__right { position: relative; display: flex; align-items: center; gap: 24px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: opacity var(--spring-0-06-d) var(--spring-0-06);
}
.nav__link { white-space: nowrap; color: var(--black); transition: color 0.2s; }
.nav__link:hover { color: var(--gray-500); }
.nav__links .btn-light { height: auto; align-self: stretch; }
.nav__dots {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--spring-0-06-d) var(--spring-0-06);
}
.nav__mobile-links { display: none; }

/* Menu replié (après avoir défilé vers le bas) */
.nav[data-state="closed"] { gap: 32px; }
.nav[data-state="closed"] .nav__links { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; pointer-events: none; }
.nav[data-state="closed"] .nav__dots { position: relative; top: auto; transform: none; opacity: 1; pointer-events: auto; }

/* Les 3 points animés */
.dots__dot {
  position: absolute;
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 24px;
  background: var(--gray-500);
  transition: top var(--spring-0-06-d) var(--spring-0-06), background-color var(--spring-0-06-d) var(--spring-0-06), transform var(--spring-0-06-d) var(--spring-0-06), opacity var(--spring-0-06-d) var(--spring-0-06), width var(--spring-0-06-d) var(--spring-0-06), height var(--spring-0-06-d) var(--spring-0-06), left var(--spring-0-06-d) var(--spring-0-06);
}
.dots__dot:nth-child(1) { left: calc(12.5% - 3px); }
.dots__dot:nth-child(2) { left: calc(50% - 3px); }
.dots__dot:nth-child(3) { left: calc(87.5% - 3px); }
.dots[data-step="1"] .dots__dot:nth-child(1),
.dots[data-step="2"] .dots__dot:nth-child(2),
.dots[data-step="3"] .dots__dot:nth-child(3) { top: calc(37.5% - 3px); background: var(--black); }
.dots.is-x .dots__dot:nth-child(1),
.dots.is-x .dots__dot:nth-child(3) { top: calc(50% - 10px); left: calc(50% - 1px); width: 2px; height: 20px; background: var(--black); }
.dots.is-x .dots__dot:nth-child(1) { transform: rotate(-45deg); }
.dots.is-x .dots__dot:nth-child(3) { transform: rotate(45deg); }
.dots.is-x .dots__dot:nth-child(2) { opacity: 0; }

/* Menu mobile */
@media (max-width: 767.98px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 32px; }
  .nav__right { display: none; }
  .nav__mobile-dots { display: flex; pointer-events: auto; }
  .nav[data-state="mobile-open"] { gap: 16px; }
  .nav[data-state="mobile-open"] .nav__mobile-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 16px;
  }
  .nav__mobile-link { width: 100%; cursor: pointer; }
  .nav__mobile-links .btn-light { height: 44px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 144px;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  max-width: 1080px;
  padding: 0 44px 96px;
}
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 100%; }
.hero__heading { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 100%; }
.hero__title { width: 50%; overflow-wrap: break-word; }
.hero__desc { width: 100%; max-width: 440px; text-wrap: balance; }

@media (min-width: 992px) and (max-width: 1199.98px) { .hero__text { gap: 16px; } }
@media (min-width: 768px) and (max-width: 991.98px) { .hero__desc { max-width: 350px; } }
@media (max-width: 767.98px) {
  .hero { align-items: flex-start; padding-top: 128px; }
  .hero__inner { padding: 0 22px 48px; }
  .hero__title { width: 100%; }
}

/* Bouton « Réserver un appel » (moi + toi) */
.call-btn {
  --bc: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 24px;
  background: var(--black);
  box-shadow: inset 0px 2px 4px 0px rgba(255, 255, 255, 0.4), 0px 0.741px 0.741px -0.75px rgba(0, 0, 0, 0.33), 0px 2.018px 2.018px -1.5px rgba(0, 0, 0, 0.32), 0px 4.431px 4.431px -2.25px rgba(0, 0, 0, 0.3), 0px 9.835px 9.835px -3px rgba(0, 0, 0, 0.25), 0px 25px 25px -3.75px rgba(0, 0, 0, 0.11), 0px 0px 0px 1px var(--gray-700);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--spring-02-05-d) var(--spring-02-05);
}
.call-btn__faces {
  position: relative;
  display: flex;
  align-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  transition: width var(--spring-02-05-d) var(--spring-02-05);
}
.call-btn__me { position: relative; z-index: 2; }
.call-btn__plus {
  position: absolute;
  left: 0;
  top: calc(50% - 7px);
  z-index: 1;
  width: 14px;
  height: 14px;
  transition: left var(--spring-02-05-d) var(--spring-02-05);
}
.call-btn__plus span {
  position: absolute;
  left: calc(50% - 1px);
  top: calc(50% - 5px);
  width: 2px;
  height: 10px;
  background: var(--white);
}
.call-btn__plus span:first-child { transform: rotate(270deg); }
.call-btn__you {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  border-radius: 1000px;
  background: var(--white);
  transition: left var(--spring-02-05-d) var(--spring-02-05);
}
.call-btn__you-txt { white-space: pre; }
.call-btn__label { color: var(--white); white-space: pre; user-select: none; pointer-events: none; }
@media (hover: hover) and (min-width: 992px) {
  .call-btn:hover {
    box-shadow: inset 0px 2px 4px 0px rgba(255, 255, 255, 0.4), 0px 0.741px 0.741px -0.75px rgba(0, 0, 0, 0), 0px 2.018px 2.018px -1.5px rgba(0, 0, 0, 0), 0px 4.431px 4.431px -2.25px rgba(0, 0, 0, 0), 0px 9.835px 9.835px -3px rgba(0, 0, 0, 0), 0px 25px 25px -3.75px rgba(0, 0, 0, 0), 0px 0px 0px 1px var(--gray-500);
  }
  .call-btn:hover .call-btn__faces { width: 78px; }
  .call-btn:hover .call-btn__plus { left: 32px; }
  .call-btn:hover .call-btn__you { left: 50px; }
}

/* Bouton « Appelez-moi » (appel direct), à côté de « Réserver un appel » : même noir, même ombre.
   Un rond avec le picto ; au survol (ordinateur), il s'élargit et affiche « Appelez-moi »,
   comme le rond de la barre du bas (largeur ouverte mesurée en JS : --btn-w-open, --lbl-x). */
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.phone-btn {
  --bc: var(--black);
  display: flex;
  align-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 24px;
  background: var(--black);
  color: var(--white);
  box-shadow: inset 0px 2px 4px 0px rgba(255, 255, 255, 0.4), 0px 0.741px 0.741px -0.75px rgba(0, 0, 0, 0.33), 0px 2.018px 2.018px -1.5px rgba(0, 0, 0, 0.32), 0px 4.431px 4.431px -2.25px rgba(0, 0, 0, 0.3), 0px 9.835px 9.835px -3px rgba(0, 0, 0, 0.25), 0px 25px 25px -3.75px rgba(0, 0, 0, 0.11), 0px 0px 0px 1px var(--gray-700);
  overflow: hidden;
  cursor: pointer;
  transition: width var(--spring-02-05-d) var(--spring-02-05), box-shadow var(--spring-02-05-d) var(--spring-02-05);
}
.phone-btn__ico { position: relative; flex: none; width: 24px; height: 24px; }
.phone-btn__ico .ico-open { display: none; }
/* Libellé : caché derrière le bord droit quand le bouton est rond, puis glisse à côté du picto */
.phone-btn__label {
  position: absolute;
  top: 50%;
  left: var(--lbl-x, 20px);
  color: var(--white);
  white-space: pre;
  opacity: 0;
  user-select: none;
  pointer-events: none;
  transform: translateY(-50%);
  transition: left var(--spring-02-05-d) var(--spring-02-05), opacity var(--spring-02-05-d) var(--spring-02-05);
}
@media (hover: hover) and (min-width: 992px) {
  .phone-btn:hover {
    width: var(--btn-w-open, 140px);
    box-shadow: inset 0px 2px 4px 0px rgba(255, 255, 255, 0.4), 0px 0.741px 0.741px -0.75px rgba(0, 0, 0, 0), 0px 2.018px 2.018px -1.5px rgba(0, 0, 0, 0), 0px 4.431px 4.431px -2.25px rgba(0, 0, 0, 0), 0px 9.835px 9.835px -3px rgba(0, 0, 0, 0), 0px 25px 25px -3.75px rgba(0, 0, 0, 0), 0px 0px 0px 1px var(--gray-500);
  }
  .phone-btn:hover .phone-btn__label { left: 42px; opacity: 1; }
  .phone-btn:hover .ico-open { display: inline; }
  .phone-btn:hover .ico-closed { display: none; }
}

/* Bande logos */
.logos-bar {
  --bw: 1px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 32px 0;
  overflow: hidden;
}
.logos-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1 0 0;
  width: 1px;
  max-width: 1080px;
  padding: 0 0 0 44px;
  overflow: hidden;
}
.logos-bar__ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1 0 0;
  width: 1px;
  overflow: hidden;
}
@media (min-width: 768px) and (max-width: 1199.98px) { .logos-bar__inner { padding: 0 44px; } }
@media (max-width: 767.98px) {
  .logos-bar__inner { flex-direction: column; align-items: flex-start; max-width: none; padding: 0 22px; }
  .logos-bar__ticker { flex: none; width: 100%; }
}

/* Clients satisfaits (avatars empilés + note) */
.happy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
  padding: 0 12px 0 0;
  border-radius: 100px;
}
.happy__avatars { display: flex; align-items: center; gap: 22px; padding: 0 16px; }
.happy__avatar { position: relative; flex: none; width: 1px; height: 44px; }
.happy__avatar img {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  border-radius: 1000px;
  box-shadow: 0 0 0 2px var(--gray-50);
  object-fit: cover;
}
.happy__rating { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.happy__rating .t-label { white-space: pre; }
.stars { display: flex; align-items: center; gap: 4px; align-self: stretch; }
.stars svg { width: 12px; height: 12px; color: var(--black); }

/* Défilement infini des logos */
.ticker {
  display: flex;
  width: 100%;
  overflow: hidden;
  opacity: 0.7;
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, #000 20.6%, #000 50%, #000 80%, rgba(0, 0, 0, 0) 100%);
  mask: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, #000 20.6%, #000 50%, #000 80%, rgba(0, 0, 0, 0) 100%);
  user-select: none;
}
.ticker.is-dragging { cursor: grabbing; }
.ticker__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  will-change: transform;
}
.ticker__track li { flex: none; display: flex; }
.ticker__logo { height: 35px; flex: none; }

/* ==========================================================================
   DERNIÈRES RÉALISATIONS
   ========================================================================== */
.projects {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
  padding: 128px 0;
  background: var(--gray-50);
  scroll-margin-top: 56px;
}
.projects__inner { display: flex; flex-direction: column; align-items: center; gap: 64px; }
.projects__header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  mix-blend-mode: exclusion;
}
.projects__header h2 { flex: 1 0 0; width: 1px; }
.projects__grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.projects__row { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; }
.projects__cell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1 0 0; width: 1px; }
.project-fly { position: relative; width: 100%; transform-origin: 50% 50%; }
.project-fly[data-fly="1"] { z-index: 3; }
.project-fly[data-fly="3"] { z-index: 1; }
.project-fly[data-fly="4"] { z-index: 2; }

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  cursor: pointer;
}
.project-card__media {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
}
.project-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-card);
}
.project-card__meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 12px;
  overflow: hidden;
  transition: opacity 0.6s var(--ease-card), transform 0.6s var(--ease-card), margin-bottom 0.6s var(--ease-card);
}
.project-card__names { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: 1 0 0; width: 1px; }
.project-card__names p { white-space: pre; }
.project-card__view { display: flex; align-items: center; gap: 4px; }
.project-card__view .arrow-icon { opacity: 0.6; }
.project-card__view .t-small { position: relative; z-index: 1; white-space: pre; }

/* État « hero » : légende masquée par-dessus le bas de l'image (pas sur mobile) */
@media (min-width: 768px) {
  .project-card[data-state="hero"] .project-card__meta {
    opacity: 0;
    transform: translateY(calc(-100% - 12px));
    margin-bottom: var(--meta-h, -42.6px);
  }
}
.project-card.is-hoverable:hover .project-card__media img { transform: scale(1.1); }
.project-card.is-hoverable:hover .project-card__meta { mix-blend-mode: exclusion; }

@media (max-width: 767.98px) {
  .projects { padding: 48px 0; }
  .projects__inner { gap: 48px; padding: 0 22px; }
  .projects__row { flex-direction: column; }
  .projects__cell { flex: none; width: 100%; }
}

/* ==========================================================================
   PAGE PROJETS (reprise de la page Framer /projets, générée par outils/projets/generer.py)
   ========================================================================== */
.projets-hero { padding-bottom: 64px; }
.projets-hero__head { display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%; max-width: 640px; }
.projets-hero__title { width: 100%; max-width: 580px; text-align: center; }
.projets-hero__intro { width: 100%; max-width: 560px; text-align: center; text-wrap: pretty; }

/* Sommaire : une pastille par projet (lien vers sa bande) */
.pj-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.pj-index a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 6px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--gray-200);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--black);
  white-space: nowrap;
  transition: box-shadow 0.3s var(--ease-default), transform var(--spring-02-04-d) var(--spring-02-04);
}
.pj-index img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
@media (hover: hover) and (min-width: 992px) {
  .pj-index a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--gray-300), var(--shadow-card); }
}

/* Un projet par bande : grande image d'un côté, texte de l'autre (en alternance) */
.pj,
.projets-cta {
  --bw: 1px 0 0 0;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 64px 0;
}
.pj { padding: 80px 0; scroll-margin-top: 24px; }
.pj__inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.pj:nth-of-type(even) .pj__media { order: 2; }
.pj__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 24px 48px -28px rgba(0, 0, 0, 0.35);
}
.pj__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-card); }
.pj__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.pj__title a { transition: color 0.25s; }
.pj__tagline { margin-top: -6px; text-wrap: balance; }
.pj__desc { max-width: 440px; color: var(--gray-700); text-wrap: pretty; }
.pj__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pj__cta { margin-top: 6px; }
.pj__cta .btn-light__icon { --ic-alpha: 1; }
@media (hover: hover) and (min-width: 992px) {
  .pj:has(.pj__media:hover, .pj__title a:hover, .pj__cta:hover) .pj__media img { transform: scale(1.05); }
  .pj__title a:hover { color: var(--gray-700); }
}

/* Bande « Approuvé par beaucoup » : bordure en haut seulement (la section suivante a la sienne) */
.logos-bar--projets { --bw: 1px 0 0 0; position: relative; z-index: 1; }
.logos-bar__title { flex: none; white-space: pre; }

/* Carte « Ce projet vous inspire ? » */
.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 64px 32px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.cta-card__head { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.cta-card__title { width: 100%; text-align: center; }

@media (min-width: 768px) and (max-width: 991.98px) {
  .pj { padding: 64px 0; }
  .pj__inner { gap: 36px; }
  .pj__body { gap: 16px; }
}
@media (max-width: 767.98px) {
  .projets-hero { padding-bottom: 48px; }
  .projets-hero .page-hero__inner { padding: 0 44px; }
  .projets-cta { padding: 48px 0; }
  .projets-cta__inner { padding: 0 22px; }
  .pj-index a { height: 36px; padding-right: 14px; font-size: 13px; }
  .pj-index img { width: 26px; height: 26px; }
  .pj { padding: 48px 0; }
  .pj__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 0 22px; }
  .pj:nth-of-type(even) .pj__media { order: 0; }
  .pj__media { border-radius: 16px; }
  .pj__body { gap: 16px; }
  .pj__tagline { margin-top: -4px; }
  .logos-bar--projets .logos-bar__inner { align-items: center; max-width: 95%; padding: 0; }
  .cta-card { padding: 32px 16px; }
  .cta-card .happy { flex-direction: column; gap: 8px; }
  .cta-card .happy__rating { align-items: center; }
  .cta-card .stars { justify-content: center; }
}

/* ==========================================================================
   ÉTUDES DE CAS (pages /projets/<projet>, générées par outils/projets/generer.py)
   ========================================================================== */
.cs { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; }

/* En-tête : nom du projet, accroche, boutons, fiche */
.cs-hero .page-hero__inner { gap: 56px; }
.cs-hero__head { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; max-width: 760px; text-align: center; }
.cs-hero__head .breadcrumbs { justify-content: center; }
.cs-hero__title { width: 100%; text-align: center; }
.cs-hero__tagline { max-width: 760px; text-wrap: balance; }
.cs-hero__intro { max-width: 600px; text-wrap: pretty; }
.cs-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.cs-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: 100%; margin: 0; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.cs-facts__item { display: flex; flex-direction: column; gap: 8px; }
.cs-facts dd { margin: 0; color: var(--black); text-wrap: balance; }

/* Grand visuel aux couleurs du projet, posé sur la ligne de la section suivante */
.cs-stage-wrap { position: relative; z-index: 1; display: flex; justify-content: center; width: 100%; padding-top: 56px; }
.cs-stage {
  position: relative;
  width: 100%;
  padding: 56px 56px 0;
  border-radius: 24px 24px 0 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 60%), var(--stage);
  overflow: hidden;
}
.cs-stage .browser { border-radius: 12px 12px 0 0; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }

/* Fenêtre de navigateur autour des captures */
.cs-shot { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.cs-shot figcaption { font-size: 13px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.4; color: var(--gray-500); text-align: center; text-wrap: balance; }
.browser {
  position: relative;
  width: 100%;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 40px -24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  isolation: isolate;
}
.browser::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); pointer-events: none; }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: var(--white); border-bottom: 1px solid var(--gray-150); }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-200); }
.browser img { width: 100%; height: auto; }

/* Capture et téléphone côte à côte : à 21 % de la largeur, le téléphone a la hauteur de la fenêtre */
.cs-duo { display: grid; grid-template-columns: minmax(0, 1fr) 21%; align-items: center; gap: 24px; width: 100%; }
.cs-duo__phone img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.16)); }

/* Maquette déjà mise en scène : seulement des coins arrondis */
.cs-visuel { position: relative; overflow: hidden; border-radius: 20px; isolation: isolate; }
.cs-visuel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); pointer-events: none; }
.cs-visuel img { display: block; width: 100%; height: auto; }

/* Téléphone détouré, seul, posé sur un fond aux couleurs du projet */
.cs-scene {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 64px 24px;
  border-radius: 24px;
  background: radial-gradient(90% 80% at 50% 0%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 70%), var(--stage);
}
.cs-scene picture { display: block; width: min(260px, 60%); }
.cs-scene img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.16)); }

/* Sections numérotées : titre à gauche, texte à droite, images dessous */
.cs-main { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; }
.cs-section,
.cs-next {
  --bw: 1px 0 0 0;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 96px 0;
}
.cs-section__inner { display: flex; flex-direction: column; gap: 56px; }
.cs-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; width: 100%; }
.cs-text__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cs-text__num, .pj__kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--gray-500); }
.cs-text__num span, .pj__kicker span {
  display: inline-grid;
  place-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 24px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.cs-text__title { text-wrap: balance; }
.cs-text__body { display: flex; flex-direction: column; gap: 24px; padding-top: 40px; color: var(--gray-700); }
.cs-text__body .t-body-sm { text-wrap: pretty; }
.cs-checks { display: flex; flex-direction: column; gap: 12px; }
.cs-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.45; color: var(--black); }
.cs-checks svg { flex: none; width: 20px; height: 20px; padding: 5px; border-radius: 50%; background: var(--black); color: var(--white); }

/* Direction artistique : couleurs et typographies */
.cs-da { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; width: 100%; }
.cs-da__card { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-card); }
.cs-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cs-swatches li { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cs-swatches span { aspect-ratio: 1; margin-bottom: 9px; border-radius: 14px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.cs-swatches b { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--black); }
.cs-swatches code { font: 500 12px/1.3 var(--font); letter-spacing: 0; color: var(--gray-500); }
.cs-fonts { display: flex; flex-direction: column; }
.cs-fonts li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--gray-150); }
.cs-fonts li:first-child { padding-top: 2px; border-top: 0; }
.cs-fonts li:last-child { padding-bottom: 0; }
.cs-fonts b { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; color: var(--black); }
.cs-fonts span { font-size: 13px; font-weight: 500; text-align: right; color: var(--gray-500); }

/* Grilles de captures */
.cs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; width: 100%; }
.cs-pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; }
.cs-pages .browser { border-radius: 8px; }
.cs-pages .browser__bar { gap: 4px; height: 18px; padding: 0 8px; }
.cs-pages .browser__bar i { width: 5px; height: 5px; }
.cs-pages .cs-shot { gap: 10px; }

/* Téléphones */
.cs-phones { display: flex; align-items: flex-start; justify-content: center; gap: 40px; width: 100%; padding: 64px 40px; border-radius: 24px; background: var(--stage); }
.device {
  position: relative;
  flex: none;
  width: 240px;
  padding: 7px;
  border-radius: 42px;
  background: #121212;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 60px -30px rgba(0, 0, 0, 0.45);
}
.device__screen { position: relative; aspect-ratio: 1170 / 2532; border-radius: 35px; overflow: hidden; background: var(--white); }
.device__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.device:nth-child(2) { margin-top: 56px; }

/* Plus de projets */
.cs-next__inner { display: flex; flex-direction: column; gap: 40px; }
.cs-next__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; }
.cs-idea {
  --bc: var(--gray-300);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px;
  border-radius: 16px;
  background: var(--white);
  text-align: center;
  transition: background 0.3s var(--ease-default);
}
.cs-idea.bordered::after { border-style: dashed; }
.cs-idea__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--black); color: var(--white); box-shadow: var(--shadow-dark-soft); }
.cs-idea__icon svg { width: 24px; height: 24px; --ic-stroke: 2; --ic-alpha: 1; }
.cs-idea__text { font-size: 26px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: var(--black); text-wrap: balance; }
@media (hover: hover) and (min-width: 992px) {
  .cs-idea:hover { background: var(--gray-100); }
  .cs-idea:hover .arrow-icon svg:first-child { transform: translate(34px, -34px); }
  .cs-idea:hover .arrow-icon svg:last-child { transform: translate(0, 0); }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .cs-stage { padding: 48px 48px 0; }
}
@media (max-width: 991.98px) {
  .cs-text { grid-template-columns: minmax(0, 1fr); }
  .cs-text__body { padding-top: 0; max-width: 600px; }
  .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-da { grid-template-columns: minmax(0, 1fr); }
  .cs-phones { gap: 24px; padding: 48px 24px; }
  .device { width: 200px; padding: 6px; border-radius: 36px; }
  .device__screen { border-radius: 30px; }
  .device:nth-child(2) { margin-top: 40px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .cs-stage { padding: 40px 40px 0; }
  .cs-section, .cs-next { padding: 80px 0; }
}
@media (max-width: 767.98px) {
  .cs-hero .page-hero__inner { gap: 40px; }
  .cs-hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .cs-facts { gap: 20px 16px; }
  .cs-stage-wrap { padding-top: 40px; }
  .cs-stage-wrap__inner, .cs-section__inner, .cs-next__inner { padding: 0 22px; }
  .cs-stage { padding: 24px 16px 0; border-radius: 16px 16px 0 0; }
  .cs-stage .browser { border-radius: 8px 8px 0 0; }
  .browser__bar { gap: 5px; height: 20px; padding: 0 9px; }
  .browser__bar i { width: 6px; height: 6px; }
  .cs-section, .cs-next { padding: 64px 0; }
  .cs-section__inner { gap: 40px; }
  .cs-da__card { padding: 20px; }
  .cs-swatches { gap: 8px; }
  .cs-swatches span { border-radius: 10px; }
  .cs-swatches b { font-size: 12px; }
  .cs-swatches code { font-size: 11px; }
  .cs-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cs-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  /* Téléphones en éventail : celui du milieu devant */
  .cs-phones { gap: 0; padding: 32px 8px; border-radius: 16px; }
  .device { width: 40%; padding: 4px; border-radius: 22px; }
  .device__screen { border-radius: 18px; }
  .device:nth-child(1), .device:nth-child(3) { z-index: 0; margin-top: 24px; transform: scale(0.9); }
  .device:nth-child(1) { margin-right: -9%; }
  .device:nth-child(3) { margin-left: -9%; }
  .device:nth-child(2) { z-index: 1; margin-top: 0; }
  .cs-next__grid { grid-template-columns: minmax(0, 1fr); }
  .cs-idea { padding: 40px 24px; }
  .cs-idea__text { font-size: 22px; }
  .cs-duo { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 28px; }
  .cs-duo__phone { width: 46%; }
  .cs-visuel { border-radius: 12px; }
  .cs-scene { padding: 36px 16px; border-radius: 16px; }
  .cs-scene picture { width: 56%; }
}

/* ==========================================================================
   GRANDE CITATION
   ========================================================================== */
.big-quote {
  --bw: 1px 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 64px 0;
}
.big-quote__inner { display: flex; align-items: center; justify-content: center; gap: 20px; overflow: hidden; }
.big-quote__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 24px;
}
.big-quote__text { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; width: 100%; overflow: hidden; }
.big-quote__text p { max-width: 780px; width: 100%; overflow-wrap: break-word; }

.person { display: flex; align-items: center; justify-content: center; gap: 12px; }
.person__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.person__txt > span { white-space: pre; }
.person--sm { justify-content: flex-start; gap: 10px; width: 100%; }
.person--sm .person__txt { flex: 1 0 0; width: 1px; }
.person--sm .person__txt > span { white-space: normal; }

@media (max-width: 767.98px) {
  .big-quote { padding: 32px 0; }
  .big-quote__inner { padding: 0 22px; }
  .big-quote__card { padding: 12px; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services,
.pricing {
  --bw: 1px 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 64px;
  width: 100%;
  padding: 128px 0;
  scroll-margin-top: 56px;
}
.services__inner { display: flex; align-items: center; justify-content: center; gap: 64px; }
.services__left { display: flex; flex-direction: column; align-items: flex-start; gap: 64px; flex: 1.5 0 0; width: 1px; }
.services__left h2 { width: 100%; }
.stack { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
.stack > .t-body-md { white-space: pre; }
.stack__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; }

.tool { position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; cursor: default; }
.tool__icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.tool__icon svg { width: 24px; height: 24px; color: var(--black); }
.tool__icon .tool__svg--wide { height: 18px; }
.tool__tip {
  position: absolute;
  left: 50%;
  top: -32px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 1000px;
  background: var(--black);
  color: var(--white);
  white-space: pre;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transform: translateX(-50%);
  transition: opacity var(--spring-02-04-d) var(--spring-02-04);
}
/* Nom de l'outil au survol de la souris seulement : sur écran tactile, toucher l'icône ne l'affiche pas */
@media (hover: hover) {
  .tool:hover .tool__tip { opacity: 1; }
}

.services__list { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 48px; flex: 1 0 0; width: 1px; }
.service { display: flex; align-items: center; gap: 12px; border-radius: 16px; }
.service > .t-body-lg { white-space: pre; }
.service__icon {
  --bc: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 24px;
  background: var(--black);
  box-shadow: var(--shadow-dark);
}
.service__icon svg { width: 24px; height: 24px; color: var(--white); --ic-stroke: 1.5; }

@media (min-width: 768px) and (max-width: 991.98px) {
  .services__list { padding: 0 20px 0 0; }
}
@media (max-width: 767.98px) {
  .services, .pricing { gap: 48px; padding: 48px 0; }
  .services__inner { flex-direction: column; gap: 48px; padding: 0 22px; }
  .services__left { flex: none; gap: 48px; width: 100%; }
  .services__list { flex: none; width: 100%; }
}

/* ==========================================================================
   À PROPOS
   ========================================================================== */
.about,
.testimonials,
.articles {
  --bw: 1px 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 64px;
  width: 100%;
  padding: 128px 0;
}
.about__inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 64px; border-radius: 12px; }
.about__title { width: 100%; text-align: left; }
.about__content { display: flex; align-items: flex-start; justify-content: center; gap: 64px; width: 100%; }
.about__profile { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 64px; flex: 1 0 0; width: 1px; }
.about__details { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
.about__picture { position: relative; z-index: 1; width: 100%; aspect-ratio: 0.9047619 / 1; border-radius: 16px; }
.about__picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: inherit; }
.about__name { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
.about__name p { white-space: pre; }
.about__philosophy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 48px; flex: 1.5 0 0; width: 1px; }
.about__paragraphs { width: 100%; }
.about__paragraphs p { text-align: left; overflow-wrap: break-word; }
.about__signature { width: 170px; height: 97px; }
.about__signature img { width: 100%; height: 100%; object-fit: cover; }

/* Icônes réseaux sociaux */
.socials { display: flex; align-items: center; justify-content: center; gap: 6px; }
.socials--photo { position: absolute; right: 12px; bottom: 12px; }
.socials__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--white);
  overflow: hidden;
  --ic-stroke: 2;
}
.socials__link svg { width: 14px; height: 14px; }
.socials--footer .socials__link { background: var(--white); color: var(--black); }
.socials__link > svg { transition: none; }
@media (hover: hover) {
  .socials__link { transition: translate var(--spring-02-06-d) var(--spring-02-06); }
  .socials__link:hover { translate: 0 -5px; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .about__content { gap: 48px; }
  .about__philosophy { flex: 1 0 0; }
}
@media (max-width: 767.98px) {
  .about { gap: 48px; padding: 48px 0; }
  .about__inner { gap: 48px; padding: 0 22px; }
  .about__content { flex-direction: column; gap: 32px; }
  .about__profile { flex: none; align-items: center; gap: 32px; order: 1; width: 100%; }
  .about__philosophy { flex: none; order: 0; width: 100%; }
}

/* ==========================================================================
   TARIFS
   ========================================================================== */
.pricing__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 64px; }
.section-head { display: flex; align-items: flex-end; justify-content: center; gap: 24px; width: 100%; }
.section-head__title { flex: 1 0 0; width: 1px; }
.pricing__intro { flex: 0.5 0 0; width: 1px; text-wrap: balance; }
.pricing__body { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 96px; width: 100%; }

.steps { display: flex; align-items: flex-start; justify-content: center; gap: 64px; width: 100%; overflow: hidden; }
.step { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1 0 0; width: 1px; overflow: hidden; }
.step__title { display: flex; align-items: center; gap: 8px; width: 100%; }
.step__title p { flex: 1 0 0; width: 1px; user-select: none; }
.step__icon { width: 16px; height: 16px; flex: none; color: var(--black); }
.step > * { max-width: 250px; }
.step__desc { text-wrap: balance; user-select: none; }

.plans {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 6px;
  border-radius: 16px;
  background: var(--gray-150);
}
.plans__top { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; }
.plan--expert,
.plan--site {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 32px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.plan--expert { gap: 24px; flex: 1 0 0; width: 1px; align-self: stretch; }
.plan--site { gap: 32px; flex: 1.5 0 0; width: 1px; }

/* Carte noire flottante et inclinée */
.plan__float {
  --bc: var(--black);
  position: absolute;
  left: calc(44.0299% - min(400px, 96.0199%) / 2);
  top: calc(21.0402% - 56.2648% / 2);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 96%;
  max-width: 400px;
  height: 56%;
  padding: 24px;
  border-radius: 24px;
  background: var(--black);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  rotate: 3deg;
  animation: card-float 7s var(--ease-io) infinite alternate;
}
@keyframes card-float {
  to { rotate: -6deg; translate: 2px -5px; }
}
.plan__float-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex: 1 0 0;
  width: 1px;
  height: 100%;
  overflow: hidden;
}
.plan__float-text { max-width: 277px; width: 100%; color: var(--gray-300); text-wrap: balance; }
.plan__bolt {
  position: absolute;
  right: -16px;
  bottom: 16px;
  width: 208px;
  height: 208px;
  object-fit: cover;
  rotate: 25deg;
  filter: grayscale(1) invert(1);
  -webkit-mask: linear-gradient(10deg, rgba(0, 0, 0, 0) 0%, #000 97.75%);
  mask: linear-gradient(10deg, rgba(0, 0, 0, 0) 0%, #000 97.75%);
}

.plan__heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; overflow: hidden; }
.plan__heading h3 { white-space: pre; }
.plan__desc { width: 100%; text-wrap: balance; }
.plan__desc--narrow { max-width: 400px; }
.plan__info { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; width: 100%; }
.plan__divider { width: 100%; height: 1px; background: var(--gray-200); }
.plan__actions { display: flex; align-items: center; justify-content: center; gap: 24px; }
.plan__stripe { width: 45px; height: 19px; flex: none; }

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
}
.benefit { display: flex; align-items: center; gap: 5px; width: 100%; align-self: start; justify-self: start; }
.benefit svg { width: 14px; height: 14px; flex: none; color: var(--gray-500); }
.benefit .t-label { flex: 1 0 0; width: 1px; }
.benefits--light .benefit svg { color: var(--gray-150); }
.benefits--light .t-label { color: var(--white); }

.plan--shop {
  --bc: var(--black);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 32px;
  border-radius: 12px;
  background: var(--black);
  box-shadow: var(--shadow-dark);
}
.plan__shop-info { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; width: 100%; }
.plan__shop-title { display: flex; align-items: center; gap: 24px; width: 100%; }
.plan__shop-title h3 { white-space: pre; }
.plan__shop-body { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; overflow: hidden; }
.plan__shop-desc { flex: 1 0 0; width: 1px; max-width: 400px; text-wrap: balance; }
.plan__shop-body .benefits { flex: 1 0 0; width: 1px; overflow: hidden; }
.plan__shop-body .btn-light { flex: none; }

@media (min-width: 768px) and (max-width: 991.98px) {
  .steps { gap: 48px; }
  .plan--expert, .plan--site, .plan--shop { padding: 24px; }
  .plan--site .benefits { display: flex; flex-direction: column; align-items: center; }
  .plan__shop-info { align-items: flex-start; }
  .plan__shop-body { flex-direction: column; align-items: flex-start; }
  .plan__shop-desc, .plan__shop-body .benefits { flex: none; width: 100%; }
}
@media (max-width: 767.98px) {
  .pricing__inner { gap: 48px; padding: 0 22px; }
  .section-head { flex-direction: column; }
  .section-head__title, .pricing__intro { flex: none; width: 100%; }
  .pricing__body { gap: 48px; }
  .steps { flex-direction: column; gap: 48px; }
  .step { flex: none; width: 100%; }
  .plans { padding: 8px; }
  .plans__top { flex-direction: column; }
  .plan--expert { flex: none; align-self: auto; height: auto; padding: 24px; width: 100%; }
  .plan__float { position: relative; left: auto; top: auto; width: 100%; height: auto; }
  .plan__float-content { height: 149px; }
  .plan--site { flex: none; padding: 24px; width: 100%; }
  .plan--site .benefits { display: flex; flex-direction: column; align-items: center; }
  .plan--shop { gap: 24px; justify-content: center; padding: 24px; }
  .plan__shop-info { align-items: flex-start; }
  .plan__shop-title { flex-wrap: wrap; gap: 12px; }
  .plan__shop-body { flex-direction: column; align-items: flex-start; }
  .plan__shop-desc { flex: none; width: 100%; }
  .plan__shop-body .benefits { display: flex; flex-direction: column; align-items: center; flex: none; width: 100%; padding: 0 0 12px; }
}

/* ==========================================================================
   ILS ME FONT CONFIANCE
   ========================================================================== */
.trust {
  --bw: 1px 0 0 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 32px 0;
  overflow: hidden;
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1 0 0;
  width: 1px;
  max-width: 1080px;
  padding: 0 0 0 44px;
  overflow: hidden;
}
.trust__title { white-space: pre; }
.trust__ticker { flex: 1 0 0; width: 1px; }
@media (min-width: 768px) and (max-width: 1199.98px) { .trust__inner { padding: 0 44px; } }
@media (max-width: 767.98px) {
  .trust__inner { flex-direction: column; max-width: 95%; padding: 0; }
  .trust__title { text-align: left; }
  .trust__ticker { flex: none; width: 100%; }
}

/* ==========================================================================
   TÉMOIGNAGES
   ========================================================================== */
.testimonials__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 64px; }
.testimonials__title { text-wrap: balance; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(50px, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
}
.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: start;
  width: 100%;
  height: 280px;
  padding: 24px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.testimonial__quote { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
.testimonial__mark { width: 25px; height: 21px; flex: none; }
.testimonial blockquote p { overflow-wrap: break-word; }

@media (min-width: 768px) and (max-width: 991.98px) {
  .testimonials { overflow: auto; }
  .testimonials__grid { grid-template-columns: repeat(2, minmax(50px, 1fr)); }
}
@media (max-width: 767.98px) {
  .testimonials { z-index: 2; gap: 48px; justify-content: flex-start; padding: 48px 0; }
  .testimonials__inner { gap: 48px; padding: 0; }
  .testimonials__head { align-items: flex-start; flex-direction: column; padding: 0 0 0 22px; }
  .testimonials__head .section-head__title { flex: none; width: 100%; }
  .testimonials__grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    overflow: hidden;
    overflow-x: auto;
    padding: 0 22px 22px;
    scrollbar-width: none;
  }
  .testimonials__grid::-webkit-scrollbar { display: none; }
  .testimonial { flex: none; width: 95%; max-width: 315px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  --bw: 1px 0 0 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  width: 100%;
  padding: 128px 0;
  scroll-margin-top: 56px;
}
.faq__inner { display: flex; align-items: flex-start; justify-content: center; gap: 32px; }
.faq__main { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 64px; flex: 1.5 0 0; width: 1px; }
.faq__title { width: 100%; }
.faq__list { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; overflow-anchor: none; /* le JS garde la page stable (voir main.js) */ }

.faq-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
}
.faq-item__question {
  flex: none; /* comme Framer : la ligne ne rétrécit jamais pendant l'animation de hauteur */
  --bw: 0 0 1px 0;
  --bc: rgba(240, 240, 240, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  overflow: hidden;
}
.faq-item__question::after { transition: border-color var(--spring-0-04-d) var(--spring-0-04); }
.faq-item.is-open .faq-item__question { --bc: var(--gray-200); }
.faq-item__num {
  position: relative;
  flex: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 150%;
  color: var(--gray-700);
  white-space: pre;
  user-select: none;
  z-index: 1;
  transition: opacity var(--spring-0-04-d) var(--spring-0-04);
}
/* Question ouverte : le numéro sort à gauche (hors de la carte) et s'efface ; le glissement est animé en JS */
.faq-item.is-open .faq-item__num { position: absolute; left: -16px; top: 50%; transform: translateY(-50%); opacity: 0; }
.faq-item__q { flex: 1 0 0; width: 1px; user-select: none; }

.plus-icon { position: relative; flex: none; width: 28px; height: 28px; overflow: hidden; }
.plus-icon span {
  position: absolute;
  left: calc(50% - 1px);
  top: calc(50% - 5px);
  width: 2px;
  height: 10px;
  background: var(--black);
}
.plus-icon span:first-child { transform: rotate(270deg); }
.plus-icon span:last-child { transform: rotate(0deg); transition: transform var(--spring-04-06-d) var(--spring-04-06); }
.faq-item.is-open .plus-icon span:last-child { transform: rotate(90deg); transition: transform var(--spring-02-04-d) var(--spring-02-04); }

/* Réponse fermée : placée sous la carte (bas à -100 px) et invisible, comme dans Framer.
   L'ouverture / fermeture est animée en JS (hauteur de la carte + glissement de la réponse). */
.faq-item__answer {
  position: absolute;
  left: 0;
  bottom: -100px;
  z-index: 1;
  flex: none;
  width: 100%;
  padding: 16px;
  opacity: 0;
}
.faq-item.is-open .faq-item__answer,
.faq-item.is-closing .faq-item__answer { position: relative; left: auto; bottom: auto; z-index: auto; }
.faq-item.is-open .faq-item__answer { opacity: 1; }
.faq-item__answer-inner p { max-width: 640px; user-select: none; overflow-wrap: break-word; }

/* Carte « Un doute ? » */
.call-card {
  position: sticky;
  top: 88px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1 0 0;
  width: 1px;
  padding: 32px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.call-card__top { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; width: 100%; overflow: hidden; }
.call-card__text { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%; overflow: hidden; }
.call-card__text h3 { width: 100%; text-wrap: balance; }
.call-card__desc { width: 100%; text-wrap: balance; }
.call-card__actions { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-start; gap: 18px; width: 100%; }
.call-card__brand { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; }
.call-card__brand img { width: 20px; height: 20px; object-fit: contain; }
.call-card__brand p { height: 25px; display: flex; align-items: center; font-family: var(--font-inter); font-size: 16px; font-weight: 600; line-height: 1.2em; white-space: pre; }

@media (min-width: 768px) and (max-width: 991.98px) {
  .faq__inner { flex-direction: column; }
  .faq__main { flex: none; width: 100%; }
  .faq__title { text-align: center; }
  .call-card { position: relative; top: auto; flex: none; width: 100%; }
  .call-card__top { align-items: center; }
  .call-card__text h3, .call-card__desc { text-align: center; }
  .call-card__desc { max-width: 300px; }
  .call-card__actions { flex-direction: column; justify-content: center; }
}
@media (max-width: 767.98px) {
  .faq { padding: 48px 0; }
  .faq__inner { flex-direction: column; padding: 0 22px; }
  .faq__main { flex: none; gap: 48px; width: 100%; }
  .call-card { position: relative; top: auto; flex: none; width: 100%; padding: 32px 16px; }
  .call-card__top { align-items: center; overflow: visible; }
  .call-card__text h3, .call-card__desc { text-align: center; }
  .call-card__actions { flex-direction: column; justify-content: center; }
}

/* ==========================================================================
   BLOG
   ========================================================================== */
.articles__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.articles__head { padding-bottom: 70px; }

.post-big {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  background: var(--white);
  overflow: clip;
  cursor: pointer;
}
.post-big__media { position: relative; display: flex; flex: 1 0 0; width: 1px; height: 100%; overflow: hidden; }
.post-big__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-io); }
.post-big:hover .post-big__media img { transform: scale(1.1); }
.post-big__body { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; flex: 1 0 0; width: 1px; height: 100%; }
.post-big__body > * { width: 438px; overflow-wrap: break-word; }
.post-date { white-space: pre-wrap; }

@media (min-width: 992px) and (max-width: 1199.98px) {
  .post-big__media img { object-position: 45.1% 48.2%; }
  .post-big__body > * { width: 380px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .articles { overflow: auto; }
  .post-big__media img { object-position: 36.1% 49.1%; }
  .post-big__body > * { width: 243px; }
  .post-big:hover .post-big__media img { transform: none; }
}
@media (max-width: 767.98px) {
  .articles { gap: 48px; justify-content: flex-start; padding: 48px 0; }
  .articles__inner { padding: 0 22px; }
  .articles__head { flex-direction: column; }
  .articles__head .section-head__title { flex: none; width: 100%; }
  .post-big { flex-direction: column; }
  .post-big__media { flex: none; width: 100%; height: 43%; }
  .post-big__body { flex: 1 0 0; width: 100%; height: 1px; padding: 20px 40px; }
  .post-big__body > * { width: 100%; }
}

/* ==========================================================================
   BLOG ET ARTICLES
   ========================================================================== */
/* Lien du menu vers la page affichée (comme Framer : gris foncé, souligné) */
.nav__link[aria-current="page"],
.nav__mobile-link[aria-current="page"] { color: var(--gray-700); text-decoration: underline; }

/* Apparition douce au défilement (blog.js ajoute .is-in ; sécurité : tout s'affiche si le script ne se lance pas) */
.js [data-appear] {
  opacity: 0;
  translate: 0 24px;
  filter: blur(6px);
  transition: opacity 0.7s var(--ease-default), translate var(--spring-0-08-d) var(--spring-0-08), filter 0.7s var(--ease-default);
}
.js [data-appear].is-in { opacity: 1; translate: 0 0; filter: blur(0); }
.js:not(.blog-js) [data-appear] { animation: appear-safety 0.6s 2.5s forwards; }
@keyframes appear-safety { to { opacity: 1; translate: 0 0; filter: blur(0); } }

/* Étiquettes (thème, « À la une »…) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--gray-150);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  color: var(--black);
}
.chip--dark { background: var(--black); box-shadow: none; color: var(--white); }

/* Haut de page (sous le menu fixe) */
.page-hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 144px;
}
.page-hero__inner { display: flex; flex-direction: column; align-items: center; }

/* Grille des articles : sommaire à gauche, texte à droite */
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 640px); column-gap: 64px; justify-content: center; width: 100%; }

/* ---------- Article : en-tête (centré, comme la page blog) ---------- */
.article { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; }
.article-hero__inner { gap: 56px; }
.article-hero__head { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; max-width: 820px; text-align: center; }
.article-hero__head h1 { width: 100%; }
.article-hero__head .breadcrumbs, .article-hero__head .article-meta { justify-content: center; }
.article-hero__lead { max-width: 680px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs span { color: var(--gray-300); }
.breadcrumbs a { padding-block: 6px; margin-block: -6px; transition: color 0.2s; }  /* zone à toucher de 24 px, sans rien décaler */
.breadcrumbs a:last-child { color: var(--gray-700); }
.breadcrumbs a:hover { color: var(--gray-500); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--gray-700); }
.article-meta strong { color: var(--black); }
.article-meta__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gray-300); }
.article-hero__lead { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 155%; color: var(--gray-700); text-wrap: pretty; }
.article-hero__cover { position: relative; width: 100%; aspect-ratio: 1.984; border-radius: 20px 20px 0 0; overflow: hidden; }
/* Pages légales : pas d'image sous l'en-tête, donc de l'air avant le texte */
.article--legal .article-hero { padding-bottom: 72px; }

/* Page 404 */
.erreur { padding-bottom: 140px; }
.erreur__head { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; max-width: 680px; text-align: center; }
.erreur__code { font-size: 120px; font-weight: 600; letter-spacing: -0.06em; line-height: 1; color: var(--gray-200); }
.erreur__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }

/* ---------- Article : corps ---------- */
.article-body {
  --bw: 1px 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 72px 0 104px;
}
.article-body__inner { align-items: start; }
.article-side { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 28px; }

/* Sommaire */
.toc { display: flex; flex-direction: column; gap: 14px; }
.toc__title, .share__title { font-size: 12px; font-weight: 600; letter-spacing: -0.01em; color: var(--gray-500); }
.toc__list { display: flex; flex-direction: column; border-left: 1px solid var(--gray-200); }
.toc__link {
  display: block;
  margin-left: -1px;
  padding: 7px 0 7px 14px;
  border-left: 2px solid transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--gray-500);
  transition: color 0.25s, border-color 0.25s;
}
.toc__link:hover { color: var(--black); }
.toc__link.is-active { border-color: var(--black); color: var(--black); }
.toc__left { font-size: 12px; font-weight: 600; color: var(--gray-500); font-variant-numeric: tabular-nums; }

/* Partage */
.share { display: flex; flex-direction: column; gap: 12px; }
.share__btns { display: flex; gap: 8px; }
.share__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--gray-200);
  color: var(--black);
  --ic-stroke: 1.8;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.share__btn svg { width: 16px; height: 16px; }
.share__btn:hover { background: var(--black); box-shadow: none; color: var(--white); }
.share__ok {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity 0.2s, transform 0.3s var(--spring-02-04);
  pointer-events: none;
}
.share__ok:not(:empty) { opacity: 1; transform: translate(-50%, 0); }
.share--inline { display: none; }

/* Sommaire replié (petits écrans) */
.toc-inline { display: none; border-radius: 16px; background: var(--white); }
.toc-inline summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
}
.toc-inline summary::-webkit-details-marker { display: none; }
.toc-inline summary svg { width: 18px; height: 18px; flex: none; }
.toc-inline__count { margin-left: auto; font-size: 12px; color: var(--gray-500); }
.toc-inline__chev { transition: transform 0.3s var(--spring-0-04); }
.toc-inline[open] .toc-inline__chev { transform: rotate(180deg); }
.toc-inline__list { display: flex; flex-direction: column; gap: 2px; padding: 0 18px 16px 46px; list-style: decimal; color: var(--gray-500); font-size: 14px; }
.toc-inline__list li { padding-left: 4px; }
.toc-inline__list .toc__link { margin: 0; padding: 6px 0; border: 0; font-size: 14px; color: var(--gray-900); }

/* Texte */
.article-content {
  min-width: 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.7;
  color: var(--gray-900);
  text-wrap: pretty;
}
.article-content > * + * { margin-top: 24px; }
.article-content strong { font-weight: 600; color: var(--black); }
.article-content a:not([class]) {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--gray-300);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.article-content a:not([class]):hover { text-decoration-color: var(--black); }
.article-h2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  text-wrap: balance;
  scroll-margin-top: 110px;
}
.article-content > * + .article-h2,
.article-content > * + .faq-block,
.article-content > * + .call-card--article { margin-top: 72px; }
.article-content > .article-h2 + * { margin-top: 20px; }
.article-h2__num { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--gray-500); font-variant-numeric: tabular-nums; }
.article-h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; color: var(--black); }

.list { display: flex; flex-direction: column; gap: 10px; }
.list li { position: relative; padding-left: 26px; }
.list:not(.list--num) li::before { content: ""; position: absolute; left: 6px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--black); }
.list--num { counter-reset: n; }
.list--num li { counter-increment: n; padding-left: 36px; }
.list--num li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 0.12em;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* « En bref » */
.tldr { padding: 26px 28px; border-radius: 20px; background: var(--white); }
.tldr__title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--black); }
.tldr__title svg { width: 18px; height: 18px; --ic-alpha: 1; --ic-stroke: 1.5; }
.tldr ul { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.tldr li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; }
.tldr__check { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 5px; border-radius: 50%; background: var(--black); color: var(--white); }

/* Encadrés */
.callout { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--gray-200); }
.callout__ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--gray-150); color: var(--black); }
.callout__ico svg { width: 20px; height: 20px; }
.callout__body { display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; line-height: 1.6; color: var(--gray-700); }
.callout__title { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--black); }
.callout--warn .callout__ico { background: #fff1e0; color: rgb(214, 104, 0); }
.callout--key { background: var(--black); box-shadow: none; color: var(--white); }
.callout--key .callout__ico { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.callout--key .callout__body { color: var(--gray-300); }
.callout--key .callout__title, .callout--key strong { color: var(--white); }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; background: var(--white); }
.stat__value { font-family: var(--font-display); font-size: 52px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--black); font-variant-numeric: tabular-nums; }
.stat__label { font-size: 15px; line-height: 1.5; color: var(--gray-900); }
.stat__src { margin-top: auto; font-size: 12px; font-weight: 600; color: var(--gray-500); }
.stats--1 .stat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 28px; padding: 28px 30px; }
.stats--1 .stat__value { grid-row: span 2; font-size: 72px; }
.stats--1 .stat__src { margin-top: 0; }

/* Citation */
.pullquote { padding: 4px 0 4px 26px; border-left: 2px solid var(--black); }
.pullquote blockquote p { font-size: 22px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.45; color: var(--black); text-wrap: pretty; }
.pullquote figcaption { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--gray-500); }

/* Tableau */
.table-wrap { overflow-x: auto; border-radius: 20px; background: var(--white); overscroll-behavior-x: contain; }
.table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.table th, .table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray-150); }
.table thead th { background: var(--gray-100); font-size: 12px; font-weight: 600; color: var(--gray-500); }
.table tbody th { width: 28%; font-weight: 600; color: var(--black); }
.table td { color: var(--gray-700); }
.table tbody tr:last-child > * { border-bottom: 0; }

/* Listes à cocher */
.checklist { padding: 22px 24px 18px; border-radius: 20px; background: var(--white); }
.checklist__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.checklist__title { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--black); }
.checklist__count { gap: 0; font-variant-numeric: tabular-nums; }
.checklist__items { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 -10px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.2s;
}
.check:hover { background: var(--gray-100); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.check__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px var(--gray-300);
  color: var(--white);
  transition: background 0.2s, box-shadow 0.2s;
}
.check__box svg { width: 12px; height: 12px; opacity: 0; transform: scale(0.4); transition: opacity 0.15s, transform var(--spring-04-06-d) var(--spring-04-06); }
.check input:checked + .check__box { background: var(--black); box-shadow: none; }
.check input:checked + .check__box svg { opacity: 1; transform: scale(1); }
.check input:checked ~ .check__text { color: var(--gray-500); }
.check input:focus-visible + .check__box { outline: 2px solid var(--black); outline-offset: 2px; }

/* Étapes numérotées */
.steps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.steps-grid__item { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: var(--white); }
.steps-grid__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.steps-grid__num { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: #8f8f8f; }  /* le plus clair lisible (3:1) */
.steps-grid__item h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; color: var(--black); }
.steps-grid__item p:last-child { font-size: 14.5px; line-height: 1.55; color: var(--gray-700); }

/* Frise (7 jours) : la ligne se remplit pendant la lecture */
.timeline { position: relative; padding-left: 44px; }
.timeline__line { position: absolute; left: 13px; top: 26px; bottom: 26px; width: 2px; border-radius: 2px; background: var(--gray-200); }
.timeline__line span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--black); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
.timeline__list { display: flex; flex-direction: column; gap: 12px; }
.timeline__item { position: relative; }
.timeline__dot {
  position: absolute;
  left: -44px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-50);
  box-shadow: inset 0 0 0 2px var(--gray-300);
  color: var(--white);
  transition: background 0.3s, box-shadow 0.3s;
}
.timeline__dot svg { width: 13px; height: 13px; opacity: 0; transform: scale(0.4); transition: opacity 0.2s, transform var(--spring-04-06-d) var(--spring-04-06); }
.timeline__item.is-reached .timeline__dot { background: var(--black); box-shadow: none; }
.timeline__item.is-reached .timeline__dot svg { opacity: 1; transform: scale(1); }
.timeline__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--gray-200);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease-default), box-shadow 0.4s;
}
.timeline__item.is-reached .timeline__card { opacity: 1; box-shadow: inset 0 0 0 1px var(--gray-200), var(--shadow-card); }
.timeline__day { font-size: 12px; font-weight: 600; color: var(--gray-500); }
.timeline__title { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; color: var(--black); }
.timeline__text { font-size: 15px; line-height: 1.6; color: var(--gray-700); }
.timeline__item.is-last .timeline__card { background: var(--black); box-shadow: none; }
.timeline__item.is-last .timeline__title { color: var(--white); }
.timeline__item.is-last .timeline__text { color: var(--gray-300); }
.timeline__item.is-last .timeline__day { color: rgb(88, 214, 124); }

/* Questions fréquentes */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.faq-q { border-radius: 16px; background: var(--white); }
.faq-q summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--black);
}
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q__num { flex: none; font-size: 12px; color: var(--gray-500); font-variant-numeric: tabular-nums; }
.faq-q__plus { position: relative; flex: none; width: 22px; height: 22px; margin-left: auto; border-radius: 50%; background: var(--gray-150); }
.faq-q__plus::before, .faq-q__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -0.8px 0 0 -5px; border-radius: 2px; background: var(--black); transition: transform var(--spring-0-04-d) var(--spring-0-04); }
.faq-q__plus::after { transform: rotate(90deg); }
.faq-q[open] .faq-q__plus::after { transform: rotate(0deg); }
.faq-q__a { overflow: hidden; }
.faq-q__a p { padding: 0 20px 20px 46px; font-size: 15.5px; line-height: 1.65; color: var(--gray-700); }

/* Carte « Un projet en tête ? » à la fin des articles */
.call-card--article { position: relative; top: auto; flex: none; width: 100%; align-items: flex-start; gap: 28px; }
.call-card--article .call-card__top { flex-direction: row; align-items: center; gap: 20px; overflow: visible; }
.call-card--article .call-card__text { align-items: flex-start; gap: 8px; }
.call-card--article .call-card__text .t-h3 { font-size: 28px; }
.call-card--article .call-card__actions { flex-wrap: wrap; gap: 10px; }
.call-card--article .btn-light__icon { width: 16px; height: 16px; }

/* ---------- Cartes d'articles ---------- */
.bgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; }
.bgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Ombre douce : les cartes se détachent du fond (plus marquée au survol) */
.bcard, .post-big--feature {
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 12px 32px -16px rgba(0, 0, 0, 0.2);
  --card-shadow-hover: 0 1px 2px rgba(0, 0, 0, 0.07), 0 24px 48px -20px rgba(0, 0, 0, 0.3);
  box-shadow: var(--card-shadow);
  transition: transform var(--spring-02-06-d) var(--spring-02-06), box-shadow 0.4s var(--ease-default);
}
.bcard {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--white);
  overflow: clip;
  cursor: pointer;
}
/* Accueil : les deux cartes sous l'article à la une */
.articles__grid { margin-top: 20px; }
.bcard__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px 20px 0 0; }
.bcard__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 22px 26px 24px; }
.bcard__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.bcard__title { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: var(--black); text-wrap: balance; }
.bcard__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.6;
  color: var(--gray-700);
}
.bcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; font-size: 12px; font-weight: 600; color: var(--gray-500); }
.bcard__more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--black); }
.bcard__more .arrow-icon, .bcard__more .arrow-icon svg { width: 16px; height: 16px; }
.bgrid--3 .bcard__title { font-size: 21px; }
.bgrid--3 .bcard__body { padding: 20px 22px 22px; }
@media (hover: hover) and (min-width: 992px) {
  .bcard:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
  .post-big--feature:hover { box-shadow: var(--card-shadow-hover); }
  .bcard:hover .cover, .post-big:hover .cover, .bcard:hover .bphoto { transform: scale(1.04); }
  .bcard:hover .arrow-icon svg:first-child, .post-big:hover .arrow-icon svg:first-child { transform: translate(34px, -34px); }
  .bcard:hover .arrow-icon svg:last-child, .post-big:hover .arrow-icon svg:last-child { transform: translate(0, 0); }
}

/* ---------- « Plus d'articles » ---------- */
.articles--more { padding: 72px 0 96px; }
.articles--more .articles__head { padding-bottom: 40px; }

/* ---------- Page blog ---------- */
.blog-hero__head { display: flex; flex-direction: column; align-items: center; gap: 34px; width: 100%; max-width: 620px; padding-bottom: 51px; text-align: center; }
.blog-hero__head > * { width: 100%; }
.post-big--feature .post-big__body { gap: 18px; }
.post-big--feature .bcard__top { margin-bottom: 2px; }
.blog-list {
  --bw: 1px 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 64px 0 72px;
}
.blog-list__inner { display: flex; flex-direction: column; gap: 32px; }
.blog-list__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--gray-200);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gray-700);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.filter span { font-size: 11px; color: var(--gray-500); font-variant-numeric: tabular-nums; }
.filter:hover { color: var(--black); }
.filter[aria-pressed="true"] { background: var(--black); box-shadow: none; color: var(--white); }
.filter[aria-pressed="true"] span { color: var(--gray-300); }
.bcard.is-hidden { display: none; }
.bcard.is-shown { animation: card-in 0.5s var(--ease-default) both; }
@keyframes card-in { from { opacity: 0; translate: 0 16px; } }
.blog-cta { position: relative; z-index: 1; display: flex; justify-content: center; width: 100%; padding: 0 0 104px; }
.blog-cta__inner { display: flex; justify-content: center; }
.blog-cta .call-card--article { max-width: 760px; flex-direction: row; align-items: center; justify-content: space-between; }
.blog-cta .call-card--article .call-card__actions { width: auto; flex: none; flex-direction: column; align-items: stretch; }

@media (min-width: 992px) and (max-width: 1199.98px) {
  .article-grid { grid-template-columns: 190px minmax(0, 640px); column-gap: 48px; }
  .blog-hero__head { padding-bottom: 81px; }
  .blog-hero__intro { width: 82%; }
  .bgrid--3 .bcard__title { font-size: 19px; }
}
@media (max-width: 991.98px) {
  .article-grid { display: flex; flex-direction: column; align-items: center; }
  .article-grid > * { width: 100%; max-width: 640px; }
  .article-side { display: none; }
  .toc-inline, .share--inline { display: flex; }
  .toc-inline { display: block; }
  .share--inline { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--gray-200); }
  .bgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bgrid--3 > :nth-child(3) { display: none; }
  .blog-cta .call-card--article { flex-direction: column; align-items: center; }
  .blog-cta .call-card--article .call-card__actions { flex-direction: row; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .article-h2 { font-size: 28px; }
  .post-big--feature { --bc: var(--gray-200); flex-direction: column; justify-content: flex-start; gap: 28px; height: auto; padding-bottom: 30px; }
  .post-big--feature .post-big__media { flex: none; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .post-big--feature .post-big__body { flex: none; align-items: flex-start; width: 100%; height: auto; padding: 0 32px; }
  .post-big--feature .post-big__body > * { width: 100%; max-width: 600px; }
}
@media (max-width: 767.98px) {
  .page-hero { padding-top: 128px; }
  .page-hero__inner, .article-body__inner, .blog-list__inner, .blog-cta__inner { padding: 0 22px; }
  .article-hero__inner { gap: 40px; }
  .article-hero__lead { font-size: 17px; }
  .article-hero__cover { aspect-ratio: 1.3; border-radius: 16px 16px 0 0; }
  .article--legal .article-hero { padding-bottom: 48px; }
  .erreur { padding-bottom: 96px; }
  .erreur__code { font-size: 88px; }
  .erreur__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .article-body { padding: 48px 0 72px; }
  .article-content { font-size: 16px; line-height: 1.68; }
  .article-content > * + .article-h2,
  .article-content > * + .faq-block,
  .article-content > * + .call-card--article { margin-top: 56px; }
  .article-h2 { font-size: 25px; }
  .tldr, .callout, .checklist { padding: 20px; }
  .callout { flex-direction: column; gap: 12px; }
  .stat__value { font-size: 44px; }
  .stats--1 .stat { grid-template-columns: 1fr; padding: 24px; }
  .stats--1 .stat__value { grid-row: auto; font-size: 56px; }
  .pullquote blockquote p { font-size: 19px; }
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-q summary { padding: 16px; font-size: 15px; }
  .faq-q__a p { padding: 0 16px 18px 42px; font-size: 15px; }
  .call-card--article { padding: 28px 20px; }
  .call-card--article .call-card__top { flex-direction: column; align-items: flex-start; }
  .call-card--article .call-card__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .call-card--article .call-card__actions > * { width: 100%; }
  .share--inline { flex-direction: column; align-items: flex-start; gap: 12px; }
  .articles--more { padding: 48px 0 64px; }
  .bgrid, .bgrid--3 { grid-template-columns: minmax(0, 1fr); }
  .bcard__title, .bgrid--3 .bcard__title { font-size: 22px; }
  .blog-hero__head { gap: 24px; padding-bottom: 40px; }
  .post-big--feature .post-big__body { gap: 14px; }
  .blog-list { padding: 48px 0 56px; }
  .blog-list__inner { gap: 24px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 44px); margin: 0 -22px; padding: 0 22px 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .blog-cta { padding-bottom: 72px; }
  .blog-cta .call-card--article .call-card__actions { flex-direction: column; width: 100%; }
}

/* ==========================================================================
   ÉLÉMENTS INTERACTIFS DES ARTICLES
   ========================================================================== */
.wg { position: relative; padding: 28px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow-card); }
.wg__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.wg__title { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; color: var(--black); text-wrap: balance; }
.wg__note { margin-top: 16px; font-size: 12px; font-weight: 500; line-height: 1.5; color: var(--gray-500); }

/* Curseurs (input range) */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; cursor: pointer; }  /* 24 px : zone à toucher minimale */
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(var(--black), var(--black)) 0 0 / var(--fill, 50%) 100% no-repeat, var(--gray-150); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(var(--black), var(--black)) 0 0 / var(--fill, 50%) 100% no-repeat, var(--gray-150); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.18); }
.range::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.18); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--black); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--black); }

/* Boutons « Oui / Non », « Magasin / En ligne » */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 24px; background: var(--gray-150); }
.seg button { height: 32px; padding: 0 14px; border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--gray-700); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.seg button:hover { color: var(--black); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--black); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); }
.seg--wide { margin-bottom: 20px; }
.seg--wide button { height: 36px; padding: 0 18px; }

/* Simulateur de coût */
.wg-cost__controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-bottom: 26px; }
.wg-range { display: flex; flex-direction: column; gap: 8px; }
.wg-range__top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--gray-700); }
.wg-range__top output { color: var(--black); font-variant-numeric: tabular-nums; }
.wg-cost__rows { display: flex; flex-direction: column; gap: 18px; }
.wg-cost__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label total" "bar bar"; align-items: end; gap: 8px 16px; }
.wg-cost__label { grid-area: label; display: flex; flex-direction: column; gap: 2px; }
.wg-cost__label strong { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--black); }
.wg-cost__label span { font-size: 12.5px; line-height: 1.45; color: var(--gray-500); }
.wg-cost__total { grid-area: total; font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--black); font-variant-numeric: tabular-nums; }
.wg-cost__bar { grid-area: bar; display: block; height: 12px; border-radius: 12px; background: var(--gray-150); overflow: hidden; }
.wg-cost__bar span { display: block; width: var(--w, 0%); height: 100%; border-radius: inherit; background: var(--gray-300); transition: width var(--spring-0-08-d) var(--spring-0-08), background 0.3s; }
.wg-cost__row.is-best .wg-cost__bar span { background: var(--black); }
.wg-cost__row.is-best .wg-cost__label strong::after { content: "Le moins cher"; height: 20px; padding: 0 8px; border-radius: 20px; background: rgba(18, 179, 63, 0.12); color: rgb(12, 130, 45); font-size: 11px; line-height: 20px; }

/* Course : site lent contre site rapide */
.wg-race__phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wg-race__item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone { width: 100%; max-width: 184px; aspect-ratio: 9 / 18; padding: 7px; border-radius: 30px; background: #111; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45); }
.phone__screen { position: relative; height: 100%; border-radius: 24px; overflow: hidden; background: var(--white); container-type: inline-size; }
.mini { display: flex; flex-direction: column; gap: 5cqw; height: 100%; padding: 7cqw; opacity: 0; transition: opacity 0.35s var(--ease-default); }
.mini__nav { display: flex; align-items: center; gap: 4cqw; margin-top: 6cqw; }
.mini__logo { width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--black); margin-right: auto; }
.mini__nav i { width: 12cqw; height: 2.4cqw; border-radius: 2cqw; background: var(--gray-200); }
.mini__hero { height: 42cqw; border-radius: 6cqw; background: linear-gradient(135deg, #efe6da, #d9c7b1); }
.mini__title { font-size: 9cqw; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--black); }
.mini__txt { display: flex; flex-direction: column; gap: 2.6cqw; }
.mini__txt i { height: 2.6cqw; border-radius: 2cqw; background: var(--gray-200); }
.mini__txt i:last-child { width: 60%; }
.mini__btn { align-self: flex-start; padding: 3cqw 6cqw; border-radius: 10cqw; background: var(--black); color: var(--white); font-size: 5.4cqw; font-weight: 600; }
.phone__loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4cqw; padding: 0 16cqw; background: var(--white); transition: opacity 0.3s; }
.phone__loading i { width: 100%; height: 3cqw; border-radius: 2cqw; background: var(--gray-150); }
.phone__loading i:last-child { width: 60%; }
.phone__spinner { width: 14cqw; height: 14cqw; margin-bottom: 4cqw; border-radius: 50%; border: 1.6cqw solid var(--gray-150); border-top-color: var(--black); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wg-race__item.is-done .mini { opacity: 1; }
.wg-race__item.is-done .phone__loading { opacity: 0; pointer-events: none; }
.wg-race__item figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--gray-700); }
.wg-race__item output { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: var(--black); font-variant-numeric: tabular-nums; }
.wg-race__item.is-done[data-kind="fast"] output { color: rgb(12, 150, 50); }
.wg-race__item.is-done[data-kind="slow"] output { color: rgb(200, 30, 30); }
.wg-race__foot { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 22px; text-align: center; }
.wg-race__play-ico { display: grid; place-items: center; width: 18px; height: 18px; }
.wg-race__play-ico svg { width: 14px; height: 14px; }

/* Avant / après */
.wg-ba { padding: 14px 14px 18px; }
.wg-ba .wg__note { margin-top: 12px; text-align: center; }
.ba {
  --pos: 42%;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  container-type: inline-size;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--gray-200);
  touch-action: pan-y;
  -webkit-user-select: none; /* Safari ne connaît que la version préfixée */
  user-select: none;
  -webkit-touch-callout: none;
  cursor: ew-resize;
}
.ba__layer { position: absolute; inset: 0; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); outline: none; }
.ba__handle > span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), var(--shadow-card);
  color: var(--black);
  transition: transform var(--spring-02-04-d) var(--spring-02-04);
}
.ba__handle svg { width: 20px; height: 20px; }
.ba:hover .ba__handle > span, .ba.is-dragging .ba__handle > span { transform: scale(1.1); }
.ba__handle:focus-visible > span { box-shadow: 0 0 0 3px var(--black); }
.ba__tag { position: absolute; bottom: 12px; z-index: 1; padding: 5px 10px; border-radius: 20px; background: rgba(0, 0, 0, 0.72); color: var(--white); font-size: 11px; font-weight: 600; pointer-events: none; }
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; background: var(--white); color: var(--black); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); }

/* Maquettes dans l'avant / après (tailles relatives à la largeur de l'image) */
.mk { position: absolute; inset: 0; overflow: hidden; }
.mk--old { padding: 3.4cqw 4cqw; background: #f3eedf; font-family: "Times New Roman", Times, serif; color: #2b2b2b; letter-spacing: 0; }
.mk-old__top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 1.4cqw; border-bottom: 0.3cqw double #8a7d5c; }
.mk-old__logo { font-size: 3.4cqw; font-weight: 700; font-style: italic; color: #7a1f1f; }
.mk-old__nav { font-size: 1.7cqw; color: #1c3fa0; }
.mk-old__title { margin-top: 3.6cqw; font-size: 4.6cqw; font-weight: 700; text-align: center; color: #1c3fa0; text-decoration: underline; }
.mk-old__text { margin-top: 2.4cqw; font-size: 2cqw; line-height: 1.45; text-align: center; color: #4a4a4a; }
.mk-old__imgs { display: flex; justify-content: center; gap: 1.6cqw; margin-top: 3cqw; }
.mk-old__imgs span { width: 18cqw; height: 12cqw; border: 0.4cqw ridge #b9ad8c; background: linear-gradient(135deg, #c9c0a7, #a89d80); }
.mk-old__small { margin-top: 3cqw; font-size: 1.6cqw; text-align: center; color: #8a8a8a; }
.mk--corp { padding: 0; background: #d9d6ce; }
.mk-corp__head { display: flex; flex-direction: column; align-items: center; gap: 0.6cqw; padding: 2.6cqw 3cqw 2.2cqw; background: linear-gradient(#2c4ea3, #13265c); color: #fff; }
.mk-corp__brand { font-size: 4.6cqw; font-weight: 700; letter-spacing: 0.08em; text-shadow: 0.3cqw 0.3cqw 0 #000; }
.mk-corp__tag { font-size: 1.8cqw; font-style: italic; color: #ffd966; }
.mk-corp__body { display: flex; gap: 2.4cqw; padding: 2.4cqw 3cqw; }
.mk-corp__menu { display: flex; flex-direction: column; gap: 1.2cqw; flex: none; width: 20cqw; padding: 1.8cqw; background: #eeeae0; border: 0.3cqw outset #fff; font-size: 1.7cqw; color: #1c3fa0; }
.mk-corp__main { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; }
.mk-corp__title { font-size: 4cqw; font-weight: 700; color: #13265c; }
.mk-corp__main .mk-old__text { margin: 0; font-size: 1.8cqw; }
.mk-corp__img { width: 34cqw; height: 13cqw; border: 0.4cqw ridge #9c9585; background: linear-gradient(135deg, #b8b3a6, #8f8a7d); }
.mk-corp__foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2cqw; background: #13265c; color: #c9d3ee; font-size: 1.5cqw; text-align: center; }
.mk--new { display: flex; flex-direction: column; gap: 4.4cqw; padding: 3.2cqw 4.4cqw; background: var(--white); font-family: var(--font); color: var(--black); }
.mk-new__nav { display: flex; align-items: center; gap: 3cqw; }
.mk-new__logo { font-size: 2.3cqw; font-weight: 600; letter-spacing: -0.02em; margin-right: auto; }
.mk-new__links { display: flex; gap: 2cqw; }
.mk-new__links i { width: 6cqw; height: 0.9cqw; border-radius: 1cqw; background: var(--gray-200); }
.mk-new__cta { padding: 1.1cqw 2.2cqw; border-radius: 4cqw; background: var(--black); color: var(--white); font-size: 1.7cqw; font-weight: 600; }
.mk-new__hero { flex: 1; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 4cqw; min-height: 0; }
.mk-new__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.8cqw; }
.mk-new__kicker { padding: 0.8cqw 1.6cqw; border-radius: 4cqw; box-shadow: inset 0 0 0 0.15cqw var(--gray-200); font-size: 1.6cqw; font-weight: 600; color: var(--gray-700); }
.mk-new__title { font-size: 4.6cqw; font-weight: 500; letter-spacing: -0.04em; line-height: 1.02; }
.mk-new__sub { font-size: 1.9cqw; line-height: 1.45; color: var(--gray-700); }
.mk-new__btns { display: flex; flex-wrap: wrap; gap: 1.2cqw; margin-top: 0.6cqw; }
.mk-btn { padding: 1.3cqw 2.2cqw; border-radius: 4cqw; box-shadow: inset 0 0 0 0.15cqw var(--gray-200); font-size: 1.7cqw; font-weight: 600; }
.mk-btn--dark { background: var(--black); box-shadow: none; color: var(--white); }
.mk-new__proof { display: flex; align-items: center; gap: 0.8cqw; font-size: 1.6cqw; font-weight: 600; color: var(--gray-700); }
.mk-stars { display: flex; gap: 0.2cqw; color: var(--black); }
.mk-stars svg { width: 1.8cqw; height: 1.8cqw; }
.mk-new__img { order: -1; height: 100%; max-height: 40cqw; border-radius: 2.4cqw; overflow: hidden; }
.mk-new__img svg { width: 100%; height: 100%; display: block; }
.mk-new__img--bath { position: relative; background: linear-gradient(160deg, #eef0f1 0%, #d9dde0 55%, #c7ccd0 100%); }
.mk-new__img--bath span { position: absolute; left: 18%; right: 18%; bottom: 14%; height: 34%; border-radius: 2cqw 2cqw 6cqw 6cqw; background: linear-gradient(#fafafa, #e3e5e7); box-shadow: 0 1.4cqw 3cqw rgba(0, 0, 0, 0.12); }
.mk-new__img--bath span::before { content: ""; position: absolute; left: 50%; top: -38%; width: 1.2cqw; height: 38%; margin-left: -0.6cqw; border-radius: 1cqw; background: #9aa1a7; }

/* Auto-diagnostic de la fiche Google */
.wg-local__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.wg-local__list { margin-top: -6px; }
.wg-local__list .check { font-size: 14.5px; padding: 7px 10px; }
.wg-local__side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: 18px; background: var(--gray-100); box-shadow: inset 0 0 0 1px var(--gray-150); }
.wg-local__score { display: flex; align-items: center; gap: 14px; }
.ring { width: 58px; height: 58px; flex: none; transform: rotate(-90deg); }
.ring__track, .ring__fill { fill: none; stroke-width: 5; }
.ring__track { stroke: var(--gray-200); }
/* 119,38 = longueur du cercle (2 × π × 19) ; le score va de 0 à 10 */
.ring__fill { stroke: var(--black); stroke-linecap: round; stroke-dasharray: 119.38; stroke-dashoffset: calc(119.38 - var(--score, 0) * 11.938); transition: stroke-dashoffset var(--spring-0-08-d) var(--spring-0-08); }
.wg-local__num { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--black); font-variant-numeric: tabular-nums; }
.wg-local__num span { font-size: 18px; color: var(--gray-500); }
.wg-local__verdict { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--black); }
.wg-local__pack { padding: 12px; border-radius: 14px; background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.wg-local__query { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--gray-200); font-size: 13px; font-weight: 500; color: var(--gray-900); }
.wg-local__query svg { width: 15px; height: 15px; flex: none; color: var(--gray-500); }
.wg-local__results { position: relative; height: calc(4 * 50px); margin-top: 8px; }
.wg-local__res {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 10px;
  border-radius: 12px;
  transform: translateY(calc(var(--i, 0) * 50px));
  transition: transform var(--spring-02-06-d) var(--spring-02-06), background 0.3s, opacity 0.3s;
}
.wg-local__res.is-out { opacity: 0.45; }
.wg-local__pos { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gray-150); font-size: 12px; font-weight: 600; color: var(--gray-700); font-variant-numeric: tabular-nums; }
.wg-local__who { display: flex; flex-direction: column; min-width: 0; }
.wg-local__who b { font-size: 13.5px; font-weight: 600; color: var(--black); }
.wg-local__who > span { display: flex; align-items: center; gap: 3px; font-size: 12px; color: var(--gray-500); }
.wg-local__star { display: flex; width: 11px; height: 11px; color: rgb(245, 160, 0); }
.wg-local__star svg { width: 100%; height: 100%; }
.wg-local__res.is-you { z-index: 1; background: var(--black); }
.wg-local__res.is-you .wg-local__pos { background: var(--white); color: var(--black); }
.wg-local__res.is-you b { color: var(--white); }
.wg-local__res.is-you .wg-local__who > span { color: var(--gray-300); }

/* Mini-audit sécurité */
.wg-audit__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.wg-audit__qs { display: flex; flex-direction: column; gap: 10px; counter-reset: q; }
.wg-audit__q { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 12px 12px 14px; border-radius: 14px; background: var(--gray-100); counter-increment: q; }
.wg-audit__q p { font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--gray-900); }
.wg-audit__q .seg { flex: none; background: var(--white); box-shadow: inset 0 0 0 1px var(--gray-200); }
.wg-audit__q .seg button { height: 30px; padding: 0 12px; }
.wg-audit__q .seg button[data-a="1"][aria-pressed="true"] { background: var(--black); color: var(--white); box-shadow: none; }
.wg-audit__q .seg button[data-a="0"][aria-pressed="true"] { background: rgb(200, 30, 30); color: var(--white); box-shadow: none; }
.wg-audit__result { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 18px; border-radius: 18px; background: var(--gray-100); text-align: center; }
.wg-audit__shield { width: 104px; height: 121px; }
.wg-audit__fill { fill: var(--black); transform: scaleY(var(--fill, 0)); transform-origin: 50% 100%; transform-box: fill-box; transition: transform var(--spring-0-08-d) var(--spring-0-08); }
.wg-audit__tick { opacity: 0; transition: opacity 0.3s; }
.wg-audit.is-perfect .wg-audit__tick { opacity: 1; }
.wg-audit__score { font-family: var(--font-display); font-size: 38px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--black); font-variant-numeric: tabular-nums; }
.wg-audit__score span { font-size: 20px; color: var(--gray-500); }
.wg-audit__verdict { min-height: 2.8em; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--black); text-wrap: balance; }
.wg-audit__cta { margin-top: 4px; }

/* Semaine d'ouverture : magasin ou boutique en ligne */
.wg-week__body { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "big grid" ". hours"; align-items: center; gap: 8px 28px; }
.wg-week__big { grid-area: big; display: flex; flex-direction: column; gap: 4px; }
.wg-week__big p { font-family: var(--font-display); font-size: 64px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--black); font-variant-numeric: tabular-nums; }
.wg-week__big span { max-width: 140px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--gray-500); }
.wg-week__grid { grid-area: grid; display: flex; flex-direction: column; gap: 4px; }
.wg-week__grid li { display: flex; align-items: center; gap: 8px; }
.wg-week__day { flex: none; width: 34px; font-size: 11px; font-weight: 600; color: var(--gray-500); }
.wg-week__cells { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; flex: 1; }
.wg-week__cells i { height: 14px; border-radius: 3px; background: var(--gray-150); transition: background 0.35s var(--ease-default); transition-delay: calc(var(--d, 0) * 4ms); }
.wg-week[data-mode="shop"] .wg-week__cells i.is-shop,
.wg-week[data-mode="online"] .wg-week__cells i { background: var(--black); }
.wg-week__hours { grid-area: hours; display: flex; justify-content: space-between; padding-left: 42px; font-size: 11px; font-weight: 600; color: var(--gray-500); }

@media (max-width: 767.98px) {
  .wg { padding: 20px; border-radius: 20px; }
  .wg__title { font-size: 19px; }
  .wg-cost__controls { grid-template-columns: minmax(0, 1fr); }
  .wg-cost__total { font-size: 22px; }
  .wg-ba { padding: 8px 8px 14px; }
  .ba { aspect-ratio: 4 / 3.4; }
  .ba__handle > span { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .wg-local__grid, .wg-audit__grid { grid-template-columns: minmax(0, 1fr); }
  .wg-local__side, .wg-audit__result { position: relative; top: auto; }
  .wg-audit__q { flex-direction: column; align-items: flex-start; }
  .wg-week__body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "big" "grid" "hours"; }
  .wg-week__big { flex-direction: row; align-items: baseline; gap: 10px; }
  .wg-week__big p { font-size: 48px; }
  .wg-week__cells i { height: 11px; border-radius: 2px; }
  .wg-week__cells { gap: 1.5px; }
  .wg-week__day { width: 28px; }
  .wg-week__hours { padding-left: 36px; }
}

/* ==========================================================================
   PHOTOS DES ARTICLES (outils/blog/photos.py)
   ========================================================================== */
/* Photo de couverture : remplit son cadre (carte, en-tête d'article), quel que soit le format */
.bphoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--gray-150); transition: transform 0.9s var(--ease-io); }

/* Photo dans le texte, avec sa légende */
.article-photo { display: flex; flex-direction: column; gap: 12px; }
.article-content > * + .article-photo, .article-content > .article-photo + * { margin-top: 32px; }
.article-photo__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; background: var(--gray-150); }
.article-photo figcaption { position: relative; padding-left: 14px; font-size: 14px; line-height: 1.5; color: var(--gray-700); }
.article-photo figcaption::before { content: ""; position: absolute; left: 0; top: 0.25em; bottom: 0.25em; width: 2px; border-radius: 2px; background: var(--gray-200); }

/* ==========================================================================
   COUVERTURES DES ARTICLES (dessinées en HTML/CSS : nettes à toutes les tailles)
   ========================================================================== */
.cover {
  position: absolute;
  inset: 0;
  container-type: size;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #fbfbfb 0%, #efefef 58%, #e6e6e6 100%);
  color: var(--black);
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: left;
  pointer-events: none;
  user-select: none;
  transition: transform 0.9s var(--ease-io);
}
.cover--dark { background: radial-gradient(110% 90% at 50% 0%, #282828 0%, #131313 56%, #0b0b0b 100%); color: var(--white); }
.cover__bg { position: absolute; inset: 0; }
.cover__bg--dots { background-image: radial-gradient(circle, rgba(0, 0, 0, 0.09) 1px, transparent 1.3px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 72%); }
.cover__bg--dots-dark { background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1.3px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 72%); }
.cover__bg--glow { background: radial-gradient(60% 55% at 50% 45%, rgba(255, 255, 255, 0.1), transparent 70%); }
.cover__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover__stage {
  --u: min(1.12cqh, 0.78cqw);
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(120 * var(--u));
  height: calc(80 * var(--u));
  transform: translate(-50%, -50%);
}

/* Pièces communes */
.cv-card {
  position: absolute;
  border-radius: calc(3 * var(--u));
  background: var(--white);
  color: var(--black);
  box-shadow: 0 calc(0.3 * var(--u)) calc(0.8 * var(--u)) rgba(0, 0, 0, 0.06), 0 calc(3 * var(--u)) calc(7 * var(--u)) calc(-1.5 * var(--u)) rgba(0, 0, 0, 0.16);
}
.cv-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: calc(1.1 * var(--u));
  padding: calc(1.3 * var(--u)) calc(2.3 * var(--u));
  border-radius: calc(10 * var(--u));
  background: var(--white);
  color: var(--black);
  font-size: calc(2.6 * var(--u));
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 calc(0.3 * var(--u)) calc(0.8 * var(--u)) rgba(0, 0, 0, 0.08), 0 calc(2 * var(--u)) calc(5 * var(--u)) calc(-1 * var(--u)) rgba(0, 0, 0, 0.2);
}
.cv-pill svg { width: calc(2.8 * var(--u)); height: calc(2.8 * var(--u)); flex: none; }
.cv-pill--dark { background: var(--black); color: var(--white); }
.cv-glass { position: absolute; display: inline-flex; align-items: center; gap: calc(1 * var(--u)); padding: calc(1.3 * var(--u)) calc(2.2 * var(--u)); border-radius: calc(10 * var(--u)); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); color: var(--white); font-size: calc(2.4 * var(--u)); font-weight: 600; line-height: 1; white-space: nowrap; }
.cv-glass svg { width: calc(2.6 * var(--u)); height: calc(2.6 * var(--u)); color: rgb(88, 214, 124); flex: none; }
.cv-dot { display: block; flex: none; width: calc(1.5 * var(--u)); height: calc(1.5 * var(--u)); border-radius: 50%; background: rgb(229, 72, 77); box-shadow: 0 0 0 calc(0.8 * var(--u)) rgba(229, 72, 77, 0.22); animation: cv-pulse 1.4s var(--ease-io) infinite alternate; }
.cv-dot--green { background: rgb(18, 179, 63); box-shadow: 0 0 0 calc(0.8 * var(--u)) rgba(18, 179, 63, 0.22); }
@keyframes cv-pulse { to { box-shadow: 0 0 0 calc(0.2 * var(--u)) rgba(0, 0, 0, 0); } }
.cv-muted { color: #8a8a8a; }
.cv-browser { position: absolute; display: flex; flex-direction: column; border-radius: calc(2.4 * var(--u)); background: var(--white); overflow: hidden; color: var(--black); box-shadow: 0 calc(4 * var(--u)) calc(10 * var(--u)) calc(-2 * var(--u)) rgba(0, 0, 0, 0.35); }
.cv-browser__bar { display: flex; align-items: center; gap: calc(1 * var(--u)); flex: none; height: calc(5 * var(--u)); padding: 0 calc(2 * var(--u)); background: #f2f2f2; border-bottom: 1px solid #e4e4e4; }
.cv-browser__bar i { width: calc(1.3 * var(--u)); height: calc(1.3 * var(--u)); border-radius: 50%; background: #d4d4d4; }
.cv-browser__url { display: flex; align-items: center; height: calc(2.8 * var(--u)); margin-left: calc(2 * var(--u)); padding: 0 calc(1.6 * var(--u)); border-radius: calc(3 * var(--u)); background: var(--white); box-shadow: inset 0 0 0 1px #e2e2e2; font-size: calc(1.6 * var(--u)); color: #8a8a8a; }

/* Prix */
.cv-invoice { left: calc(20 * var(--u)); top: calc(7 * var(--u)); width: calc(58 * var(--u)); padding: calc(4.4 * var(--u)) calc(4.8 * var(--u)); transform: rotate(-3deg); }
.cv-invoice__head { display: flex; justify-content: space-between; align-items: center; font-size: calc(2.2 * var(--u)); }
.cv-kicker { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.cv-invoice__title { margin-top: calc(2.4 * var(--u)); font-size: calc(4.2 * var(--u)); font-weight: 600; letter-spacing: -0.03em; }
.cv-lines { display: flex; flex-direction: column; margin-top: calc(2.6 * var(--u)); }
.cv-lines li { display: flex; justify-content: space-between; gap: calc(2 * var(--u)); padding: calc(1.4 * var(--u)) 0; border-top: 1px solid #ececec; font-size: calc(2.6 * var(--u)); color: #6b6b6b; }
.cv-lines li span:last-child { color: var(--black); font-weight: 600; }
.cv-invoice__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: calc(1 * var(--u)); padding-top: calc(2.2 * var(--u)); border-top: 1.5px solid var(--black); font-size: calc(2.6 * var(--u)); font-weight: 600; }
.cv-invoice__total strong { font-family: var(--font-display); font-size: calc(7.2 * var(--u)); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.cv-prix__stamp { right: calc(12 * var(--u)); top: calc(13 * var(--u)); transform: rotate(8deg); font-size: calc(3 * var(--u)); padding: calc(1.6 * var(--u)) calc(2.8 * var(--u)); }
.cv-prix__chip { right: calc(4 * var(--u)); bottom: calc(15 * var(--u)); transform: rotate(-2deg); }

/* Erreurs */
.cv-erreurs__win { left: calc(18 * var(--u)); top: calc(10 * var(--u)); width: calc(70 * var(--u)); height: calc(56 * var(--u)); transform: rotate(-2deg); }
.cv-oldsite { position: relative; flex: 1; display: flex; flex-direction: column; gap: calc(2 * var(--u)); padding: calc(2.6 * var(--u)); background: #f3eedf; font-family: "Times New Roman", Times, serif; letter-spacing: 0; }
.cv-oldsite__banner { padding: calc(1 * var(--u)); background: #ffe680; font-size: calc(2.6 * var(--u)); font-weight: 700; text-align: center; color: #1c3fa0; }
.cv-oldsite__row { display: flex; gap: calc(2 * var(--u)); }
.cv-oldsite__img { flex: none; width: calc(20 * var(--u)); height: calc(15 * var(--u)); border: calc(0.5 * var(--u)) ridge #b9ad8c; background: linear-gradient(135deg, #c9c0a7, #a89d80); }
.cv-oldsite__txt { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: calc(1.2 * var(--u)); }
.cv-oldsite__txt i { height: calc(1 * var(--u)); background: #bdb49d; }
.cv-oldsite__txt i:nth-child(3n) { width: 70%; }
.cv-oldsite__link { font-size: calc(2.2 * var(--u)); text-align: center; color: #1c3fa0; text-decoration: underline; }
.cv-loader { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(243, 238, 223, 0.55); }
.cv-loader span { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; border: calc(0.9 * var(--u)) solid rgba(0, 0, 0, 0.12); border-top-color: #2b2b2b; animation: spin 1s linear infinite; }
.cv-erreurs__p1 { right: calc(4 * var(--u)); top: calc(6 * var(--u)); }
.cv-erreurs__p2 { left: calc(6 * var(--u)); bottom: calc(10 * var(--u)); }
.cv-erreurs__p3 { right: calc(10 * var(--u)); bottom: calc(4 * var(--u)); }

/* Référencement local */
.cv-serp { left: calc(10 * var(--u)); top: calc(10 * var(--u)); width: calc(58 * var(--u)); padding: calc(3 * var(--u)); display: flex; flex-direction: column; gap: calc(2 * var(--u)); }
.cv-serp__search { display: flex; align-items: center; gap: calc(1.4 * var(--u)); height: calc(6 * var(--u)); padding: 0 calc(2.2 * var(--u)); border-radius: calc(4 * var(--u)); box-shadow: inset 0 0 0 1px #e2e2e2; font-size: calc(2.5 * var(--u)); color: #2b2b2b; }
.cv-serp__search svg { width: calc(2.6 * var(--u)); height: calc(2.6 * var(--u)); color: #8a8a8a; }
.cv-serp__item { display: flex; align-items: center; justify-content: space-between; gap: calc(2 * var(--u)); padding: calc(1.8 * var(--u)) calc(2 * var(--u)); border-radius: calc(2 * var(--u)); }
.cv-serp__item.is-first { background: #f5f5f5; box-shadow: inset 0 0 0 1px #e8e8e8; }
.cv-serp__item:not(.is-first) { flex-direction: column; align-items: stretch; gap: calc(1.2 * var(--u)); }
.cv-serp__name { font-size: calc(3 * var(--u)); font-weight: 600; letter-spacing: -0.02em; }
.cv-serp__rating { display: flex; align-items: center; gap: calc(0.8 * var(--u)); margin-top: calc(0.8 * var(--u)); font-size: calc(2.2 * var(--u)); }
.cv-stars { display: flex; gap: calc(0.2 * var(--u)); color: rgb(245, 160, 0); }
.cv-stars svg { width: calc(2.2 * var(--u)); height: calc(2.2 * var(--u)); }
.cv-serp__meta { display: flex; align-items: center; gap: calc(1 * var(--u)); margin-top: calc(0.8 * var(--u)); font-size: calc(2.1 * var(--u)); color: #6b6b6b; }
.cv-serp__rank { position: static; font-size: calc(2.4 * var(--u)); }
.cv-sk { display: block; height: calc(1.3 * var(--u)); border-radius: calc(1 * var(--u)); background: #ececec; }
.cv-sk--name { width: 55%; height: calc(1.8 * var(--u)); background: #e2e2e2; }
.cv-pin { position: absolute; width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); border-radius: 50% 50% 50% 0; background: #2b2b2b; transform: rotate(-45deg); box-shadow: calc(0.4 * var(--u)) calc(0.4 * var(--u)) calc(1.2 * var(--u)) rgba(0, 0, 0, 0.25); }
.cv-pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 36%; height: 36%; margin: -18% 0 0 -18%; border-radius: 50%; background: var(--white); }
.cv-pin--main { right: calc(18 * var(--u)); top: calc(24 * var(--u)); width: calc(8 * var(--u)); height: calc(8 * var(--u)); background: var(--black); z-index: 1; }
.cv-pin--main::after { display: none; }
.cv-pin--main b { position: absolute; inset: 0; display: grid; place-items: center; transform: rotate(45deg); color: var(--white); font-size: calc(3.6 * var(--u)); font-weight: 700; }
.cv-pin--a { right: calc(8 * var(--u)); top: calc(46 * var(--u)); }
.cv-pin--b { right: calc(32 * var(--u)); top: calc(54 * var(--u)); }
.cv-pin--c { right: calc(4 * var(--u)); top: calc(14 * var(--u)); opacity: 0.6; }

/* Semaine (7 jours) */
.cv-week { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: calc(2.6 * var(--u)); }
.cv-week__cap, .cv-week__legend { display: flex; justify-content: space-between; font-size: calc(2.3 * var(--u)); font-weight: 600; color: #8f8f8f; }
.cv-week__cap span:first-child { color: var(--white); }
.cv-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: calc(1.6 * var(--u)); }
.cv-days li { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: calc(19 * var(--u)); padding: calc(1.8 * var(--u)); border-radius: calc(2.4 * var(--u)); background: #1b1b1b; box-shadow: inset 0 0 0 1px #2e2e2e; }
.cv-days b { font-family: var(--font-display); font-size: calc(3.6 * var(--u)); font-weight: 600; letter-spacing: -0.02em; color: var(--white); }
.cv-days span { font-size: calc(1.9 * var(--u)); font-weight: 600; color: #9a9a9a; }
.cv-days li.is-live { background: var(--white); box-shadow: 0 0 calc(6 * var(--u)) rgba(255, 255, 255, 0.18); }
.cv-days li.is-live b, .cv-days li.is-live span { color: var(--black); }
.cv-days .cv-dot { position: absolute; right: calc(1.8 * var(--u)); top: calc(2.4 * var(--u)); }
.cv-progress { height: calc(1.2 * var(--u)); border-radius: calc(1 * var(--u)); background: #262626; overflow: hidden; }
.cv-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4a4a4a, #fff); }

/* Design moderne (avant / après) */
.cv-design__win { left: calc(12 * var(--u)); top: calc(10 * var(--u)); width: calc(96 * var(--u)); height: calc(60 * var(--u)); }
.cv-split { position: relative; flex: 1; display: grid; grid-template-columns: 1fr 1fr; }
.cv-split__before { display: flex; flex-direction: column; align-items: center; gap: calc(2 * var(--u)); padding: calc(3.4 * var(--u)) calc(3 * var(--u)); background: #efe9dc; font-family: "Times New Roman", Times, serif; letter-spacing: 0; }
.cv-old__title { font-size: calc(4.4 * var(--u)); font-weight: 700; color: #1c3fa0; text-decoration: underline; }
.cv-old__lines { display: flex; flex-direction: column; align-items: center; gap: calc(1.1 * var(--u)); width: 100%; }
.cv-old__lines i { width: 90%; height: calc(1 * var(--u)); background: #c3b99f; }
.cv-old__lines i:nth-child(2n) { width: 70%; }
.cv-old__img { width: calc(22 * var(--u)); height: calc(12 * var(--u)); border: calc(0.5 * var(--u)) ridge #b9ad8c; background: linear-gradient(135deg, #cfc6ad, #a89d80); }
.cv-old__link { font-size: calc(1.9 * var(--u)); color: #1c3fa0; text-decoration: underline; text-align: center; }
.cv-split__after { display: flex; flex-direction: column; align-items: flex-start; gap: calc(1.8 * var(--u)); padding: calc(4.4 * var(--u)) calc(3.4 * var(--u)); background: var(--white); }
.cv-new__kicker { padding: calc(0.8 * var(--u)) calc(1.4 * var(--u)); border-radius: calc(3 * var(--u)); box-shadow: inset 0 0 0 1px #e2e2e2; font-size: calc(1.7 * var(--u)); font-weight: 600; color: #545454; }
.cv-new__title { font-size: calc(4 * var(--u)); font-weight: 500; letter-spacing: -0.04em; line-height: 1.04; }
.cv-new__btn { padding: calc(1.2 * var(--u)) calc(2.4 * var(--u)); border-radius: calc(3 * var(--u)); background: var(--black); color: var(--white); font-size: calc(1.8 * var(--u)); font-weight: 600; }
.cv-new__img { align-self: stretch; flex: 1; min-height: calc(8 * var(--u)); border-radius: calc(1.6 * var(--u)); background: linear-gradient(135deg, #f1e7dd, #d9c2b1); }
.cv-split__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: calc(0.5 * var(--u)); margin-left: calc(-0.25 * var(--u)); background: var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.cv-split__handle > span { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: calc(7 * var(--u)); height: calc(7 * var(--u)); margin: calc(-3.5 * var(--u)) 0 0 calc(-3.5 * var(--u)); border-radius: 50%; background: var(--white); box-shadow: 0 calc(0.6 * var(--u)) calc(2 * var(--u)) rgba(0, 0, 0, 0.2); }
.cv-split__handle svg { width: calc(3.4 * var(--u)); height: calc(3.4 * var(--u)); }
.cv-design__tag1 { left: calc(8 * var(--u)); top: calc(5 * var(--u)); }
.cv-design__tag2 { right: calc(8 * var(--u)); top: calc(5 * var(--u)); }

/* Sécurité */
.cv-rings { position: absolute; left: 50%; top: 50%; }
.cv-rings i { position: absolute; left: 50%; top: 50%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); transform: translate(-50%, -50%); animation: cv-ring 3.2s var(--ease-io) infinite; }
.cv-rings i:nth-child(1) { width: calc(44 * var(--u)); height: calc(44 * var(--u)); }
.cv-rings i:nth-child(2) { width: calc(66 * var(--u)); height: calc(66 * var(--u)); opacity: 0.7; animation-delay: 0.4s; }
.cv-rings i:nth-child(3) { width: calc(90 * var(--u)); height: calc(90 * var(--u)); opacity: 0.45; animation-delay: 0.8s; }
@keyframes cv-ring { 50% { transform: translate(-50%, -50%) scale(1.04); } }
.cv-shield { position: absolute; left: 50%; top: 50%; width: calc(28 * var(--u)); height: calc(32.7 * var(--u)); transform: translate(-50%, -48%); filter: drop-shadow(0 0 calc(3 * var(--u)) rgba(255, 255, 255, 0.18)); }
.cv-secu__url { left: 50%; top: calc(4 * var(--u)); transform: translateX(-50%); }
.cv-secu__c1 { left: calc(6 * var(--u)); top: calc(30 * var(--u)); }
.cv-secu__c2 { right: calc(2 * var(--u)); top: calc(42 * var(--u)); }
.cv-secu__c3 { left: calc(14 * var(--u)); bottom: calc(10 * var(--u)); }

/* Boutique */
.cv-product { left: calc(38 * var(--u)); top: calc(5 * var(--u)); width: calc(40 * var(--u)); overflow: hidden; }
.cv-product__img { height: calc(34 * var(--u)); background: #f1efeb; }
.cv-product__svg { display: block; width: 100%; height: 100%; }
.cv-product__body { display: flex; flex-direction: column; gap: calc(0.8 * var(--u)); padding: calc(2.4 * var(--u)) calc(2.6 * var(--u)) calc(2.8 * var(--u)); }
.cv-product__name { font-size: calc(2.8 * var(--u)); font-weight: 600; letter-spacing: -0.02em; }
.cv-product__price { font-size: calc(2.4 * var(--u)); color: #6b6b6b; }
.cv-product__btn { margin-top: calc(1.2 * var(--u)); padding: calc(1.4 * var(--u)); border-radius: calc(3 * var(--u)); background: var(--black); color: var(--white); font-size: calc(2.2 * var(--u)); font-weight: 600; text-align: center; }
.cv-toast { right: calc(2 * var(--u)); top: calc(12 * var(--u)); display: flex; align-items: center; gap: calc(1.8 * var(--u)); padding: calc(2 * var(--u)) calc(3.6 * var(--u)) calc(2 * var(--u)) calc(2 * var(--u)); transform: rotate(3deg); }
.cv-toast__ico { display: grid; place-items: center; flex: none; width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: var(--black); color: var(--white); }
.cv-toast__ico svg { width: calc(3 * var(--u)); height: calc(3 * var(--u)); }
.cv-toast b { display: block; font-size: calc(2.5 * var(--u)); font-weight: 600; }
.cv-toast .cv-muted { display: block; margin-top: calc(0.6 * var(--u)); font-size: calc(2 * var(--u)); }
.cv-toast .cv-dot { position: absolute; right: calc(1.6 * var(--u)); top: calc(1.6 * var(--u)); }
.cv-sales { left: calc(6 * var(--u)); bottom: calc(9 * var(--u)); width: calc(28 * var(--u)); padding: calc(2.2 * var(--u)) calc(2.4 * var(--u)); transform: rotate(-3deg); }
.cv-sales p { font-size: calc(2.1 * var(--u)); font-weight: 600; }
.cv-bars { display: flex; align-items: flex-end; gap: calc(0.9 * var(--u)); height: calc(10 * var(--u)); margin-top: calc(1.6 * var(--u)); }
.cv-bars i { flex: 1; height: var(--h); border-radius: calc(0.6 * var(--u)); background: var(--black); }
.cv-bars i:not(:last-child) { background: #d0d0d0; }

@media (prefers-reduced-motion: reduce) {
  .js [data-appear] { opacity: 1; translate: none; filter: none; transition: none; animation: none; }
  .cover *, .phone__spinner { animation: none !important; }
}

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--black);
  overflow: hidden;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  flex: 1 0 0;
  width: 1px;
  max-width: 1080px;
  padding: 64px 44px 211px;
  position: relative;
}
.footer__top {
  --bw: 0 0 1px 0;
  --bc: var(--gray-500);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  width: 100%;
  padding-bottom: 24px;
}
.footer__top::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid var(--gray-500);
  pointer-events: none;
}
.footer__heading { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }
.footer__heading > .t-h1 { width: 100%; }
.footer__heading-row { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; }
.footer__heading-row > .t-h1 { white-space: pre; }

/* Mots qui défilent (penser / designer / propulser) */
.text-cycle { position: relative; display: flex; align-items: center; gap: 32px; }
.text-cycle__item {
  white-space: pre;
  transition: transform var(--spring-0-08-d) var(--spring-0-08), opacity var(--spring-0-08-d) var(--spring-0-08), filter var(--spring-0-08-d) var(--spring-0-08);
}
.text-cycle__item.is-current { position: relative; opacity: 1; filter: blur(0); transform: translateY(0); }
.text-cycle__item.is-next,
.text-cycle__item.is-prev { position: absolute; left: 0; top: 0; opacity: 0; filter: blur(5px); }
.text-cycle__item.is-next { transform: translateY(68px); }
.text-cycle__item.is-prev { transform: translateY(-68px); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(50px, 1fr));
  grid-auto-rows: min-content;
  gap: 32px;
  width: 100%;
}
.footer__col { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; width: 100%; align-self: start; }
.footer__col > p { width: 100%; overflow-wrap: break-word; }
.footer__col--social { gap: 16px; }
.footer__col--social > p { white-space: pre; width: auto; }

.footer__link { color: var(--white); transition: color 0.4s var(--ease-io); }
.footer__link:hover { color: var(--gray-500); }
.footer__link[aria-current="page"] { color: var(--gray-200); text-decoration: underline; }
.footer__link[aria-current="page"]:hover { color: var(--gray-500); text-decoration: none; }

.footer__bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(50px, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  overflow: hidden;
}
.footer__legal { display: flex; align-items: flex-start; justify-content: flex-start; gap: 24px; grid-column: span 2; width: 100%; align-self: start; }
.footer__menu { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; flex: 1 0 0; width: 1px; }
.footer__menu > p { white-space: pre; }
.footer__menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 10px;
  width: max-content;
}
.footer__menu-grid p { white-space: pre; }
.footer__menu-list { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; }
.footer__menu-list p { white-space: pre; }
.footer__copyright {
  align-self: end;
  justify-self: end;
  width: 100%;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1em;
  color: var(--gray-300);
}

/* Grand « AYOUB » coupé en bas */
.footer__fit {
  position: absolute;
  left: 50%;
  top: 92%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 44px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  container-type: inline-size;
}
.footer__fit p {
  width: 100%;
  font-family: var(--font);
  font-weight: 500;
  font-size: calc(100cqw * 0.32264);
  letter-spacing: -0.03em;
  line-height: 1em;
  color: var(--white);
  white-space: nowrap;
  text-align: left;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .footer__inner { padding: 64px 44px 153px; }
  .footer__top { gap: 64px; }
  .footer__fit { top: 94%; }
  .footer__fit p { font-size: calc(100cqw * 0.32244); }
}
@media (max-width: 767.98px) {
  .footer__inner { gap: 32px; padding: 32px 22px 76px; }
  .footer__heading-row { flex-direction: column; align-items: flex-start; }
  .footer__cols { display: flex; flex-direction: column; flex-wrap: wrap; align-items: flex-start; }
  .footer__col--social { width: min-content; }
  .footer__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__legal { flex-wrap: wrap; gap: 16px; }
  .footer__copyright { width: auto; align-self: auto; }
  .footer__fit { top: 98%; padding: 0 22px; }
  .footer__fit p { font-size: calc(100cqw * 0.32244); }
}

/* ==========================================================================
   BARRE DE CONTACT EN BAS D'ÉCRAN
   ========================================================================== */
.contact-bar-wrap {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%) translateY(100px);
  transition: transform var(--spring-02-06-d) var(--spring-02-06);
}
.contact-bar-wrap.is-visible { transform: translateX(-50%) translateY(0); }
/* Même rendu que la barre Framer (fermée : texte + 2 icônes ; ouverte : 2 boutons avec libellés).
   Tout est animé par des transitions (ressort 0,5 s avec léger rebond, comme l'original) :
   le texte s'efface sur place, les boutons glissent vers la gauche et s'élargissent.
   Les largeurs des textes sont mesurées en JS (--bar-shift, --btn-w-open, --lbl-x). */
.contact-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  padding: 12px;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  overflow: hidden;
}
.contact-bar__text {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
  transition: opacity var(--spring-02-05-d) var(--spring-02-05);
}
.contact-bar__text p { white-space: pre; }
.contact-bar__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  /* barre fermée : 12 px de marge en plus à gauche + largeur du texte + écart de 18 px */
  margin-left: var(--bar-shift, 139px);
  transition: margin-left var(--spring-02-05-d) var(--spring-02-05);
}
.contact-bar__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: none;
  width: 40px;
  padding: 8px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: width var(--spring-02-05-d) var(--spring-02-05);
}
.contact-bar__btn--dark { --bc: var(--black); background: var(--black); box-shadow: var(--shadow-dark-soft); color: var(--white); }
.contact-bar__btn--light { background: var(--gray-50); box-shadow: var(--shadow-light-btn); color: var(--black); }
.contact-bar__ico { position: relative; width: 24px; height: 24px; flex: none; }
.contact-bar__ico .ico-open { display: none; }
/* Libellé : caché à droite du bouton quand la barre est fermée, puis glisse à côté de l'icône */
.contact-bar__lbl {
  position: absolute;
  top: 50%;
  left: var(--lbl-x, 17px);
  white-space: pre;
  opacity: 0;
  user-select: none;
  transform: translateY(-50%);
  transition: left var(--spring-02-05-d) var(--spring-02-05), opacity var(--spring-02-05-d) var(--spring-02-05);
}

.contact-bar.is-instant,
.contact-bar.is-instant * { transition: none !important; }

/* Survol (ordinateur) et version mobile/tablette : libellés visibles */
.contact-bar.is-open .contact-bar__text { opacity: 0; }
.contact-bar.is-mobile .contact-bar__text { display: none; }
.contact-bar.is-open .contact-bar__icons,
.contact-bar.is-mobile .contact-bar__icons { margin-left: 0; }
.contact-bar.is-open .contact-bar__btn,
.contact-bar.is-mobile .contact-bar__btn { width: var(--btn-w-open, 93px); }
.contact-bar.is-open .contact-bar__lbl,
.contact-bar.is-mobile .contact-bar__lbl { left: 38px; opacity: 1; }
.contact-bar.is-open .ico-open,
.contact-bar.is-mobile .ico-open { display: inline; }
.contact-bar.is-open .ico-closed,
.contact-bar.is-mobile .ico-closed { display: none; }

/* Rond « Appelez-moi » à droite de la barre. Sa place reste celle du rond (64 px) :
   au survol, il s'élargit vers la droite par-dessus le vide, sans décaler la barre. */
.call-float { position: relative; flex: none; width: 64px; height: 64px; }
.call-float .contact-bar { position: absolute; left: 0; top: 0; }

/* Flou progressif en bas de l'écran */
.bottom-blur {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 5;
  width: 100%;
  height: 25vh;
  pointer-events: none;
}
.bottom-blur > div { position: absolute; inset: 0; pointer-events: none; }
.bottom-blur > div:nth-child(1) { z-index: 1; -webkit-backdrop-filter: blur(0.039px); backdrop-filter: blur(0.039px); -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 12.5%, #000 25%, rgba(0,0,0,0) 37.5%); mask: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 12.5%, #000 25%, rgba(0,0,0,0) 37.5%); }
.bottom-blur > div:nth-child(2) { z-index: 2; -webkit-backdrop-filter: blur(0.078px); backdrop-filter: blur(0.078px); -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,0) 12.5%, #000 25%, #000 37.5%, rgba(0,0,0,0) 50%); mask: linear-gradient(to bottom, rgba(0,0,0,0) 12.5%, #000 25%, #000 37.5%, rgba(0,0,0,0) 50%); }
.bottom-blur > div:nth-child(3) { z-index: 3; -webkit-backdrop-filter: blur(0.156px); backdrop-filter: blur(0.156px); -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,0) 25%, #000 37.5%, #000 50%, rgba(0,0,0,0) 62.5%); mask: linear-gradient(to bottom, rgba(0,0,0,0) 25%, #000 37.5%, #000 50%, rgba(0,0,0,0) 62.5%); }
.bottom-blur > div:nth-child(4) { z-index: 4; -webkit-backdrop-filter: blur(0.3125px); backdrop-filter: blur(0.3125px); -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,0) 37.5%, #000 50%, #000 62.5%, rgba(0,0,0,0) 75%); mask: linear-gradient(to bottom, rgba(0,0,0,0) 37.5%, #000 50%, #000 62.5%, rgba(0,0,0,0) 75%); }
.bottom-blur > div:nth-child(5) { z-index: 5; -webkit-backdrop-filter: blur(0.625px); backdrop-filter: blur(0.625px); -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,0) 50%, #000 62.5%, #000 75%, rgba(0,0,0,0) 87.5%); mask: linear-gradient(to bottom, rgba(0,0,0,0) 50%, #000 62.5%, #000 75%, rgba(0,0,0,0) 87.5%); }
.bottom-blur > div:nth-child(6) { z-index: 6; -webkit-backdrop-filter: blur(1.25px); backdrop-filter: blur(1.25px); -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,0) 62.5%, #000 75%, #000 87.5%, rgba(0,0,0,0) 100%); mask: linear-gradient(to bottom, rgba(0,0,0,0) 62.5%, #000 75%, #000 87.5%, rgba(0,0,0,0) 100%); }
.bottom-blur > div:nth-child(7) { z-index: 7; -webkit-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px); -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,0) 75%, #000 87.5%, #000 100%); mask: linear-gradient(to bottom, rgba(0,0,0,0) 75%, #000 87.5%, #000 100%); }
.bottom-blur > div:nth-child(8) { z-index: 8; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,0) 87.5%, #000 100%); mask: linear-gradient(to bottom, rgba(0,0,0,0) 87.5%, #000 100%); }

/* ==========================================================================
   PANNEAU « DEMANDER UN DEVIS »
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 10; pointer-events: none; visibility: hidden; }
.drawer.is-open { pointer-events: auto; visibility: visible; }
.drawer.is-closing { visibility: visible; }
.drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 9;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity var(--spring-02-06-d) var(--spring-02-06);
}
.drawer[data-theme="light"] .drawer__backdrop { background: rgba(255, 255, 255, 0.5); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  width: 540px;
  height: 100%;
  opacity: 0;
  transform: translateX(500px);
  transition: transform var(--spring-0-08-d) var(--spring-0-08), opacity var(--spring-0-08-d) var(--spring-0-08);
}
.drawer.is-open .drawer__panel { opacity: 1; transform: translateX(0); }

.contact-form {
  --bw: 0 0 0 1px;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  height: 100%;
}
.contact-form::after {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 1px solid var(--gray-200);
  pointer-events: none;
}
.hp { position: absolute; left: -9999px; }
.contact-form__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex: 1 0 0;
  align-self: stretch;
  width: 1px;
  padding: 32px;
  overflow: auto;
  background: var(--white);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  scrollbar-width: none;
}
.contact-form__inner::-webkit-scrollbar { display: none; }
.contact-form__top { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; width: 100%; padding-bottom: 24px; }
.contact-form__text { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; width: 100%; }
.contact-form__heading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; }
.contact-form__heading > * { width: 100%; text-align: left; text-wrap: balance; }
.person--form { justify-content: flex-start; gap: 8px; width: 100%; }
.contact-form__fields { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; width: 100%; }
.contact-form__row { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; }
.field { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1 0 0; width: 1px; }
.contact-form__fields > .field { flex: none; width: 100%; }
.field--select { gap: 10px; }
.field > .t-small { white-space: pre; user-select: none; }

.input {
  width: 100%;
  height: 40px;
  padding: 12px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: transparent;
  color: var(--black);
  font-family: "Switzer", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0;
  outline: none;
  transition: border-color 0.2s var(--ease-io);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--gray-500); opacity: 1; }
.input:focus { border-color: var(--gray-500); }
.input--area { height: auto; min-height: 200px; resize: vertical; }
.select { position: relative; display: block; width: 100%; }
.select .input { border-radius: 10px; line-height: 100%; padding-right: 38px; cursor: pointer; }
.select .input:invalid { color: var(--gray-500); }
/* Flèche identique à celle des formulaires Framer (masque SVG, gris clair) */
.select::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 16px;
  padding: 0 12px 0 10px;
  box-sizing: content-box;
  background-color: var(--gray-300);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M 3.5 6 L 8 10.5 L 12.5 6" fill="transparent" stroke-width="1.5" stroke="rgb(153, 153, 153)" stroke-linecap="round" stroke-linejoin="round"></path></svg>') no-repeat 10px center / 16px auto;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M 3.5 6 L 8 10.5 L 12.5 6" fill="transparent" stroke-width="1.5" stroke="rgb(153, 153, 153)" stroke-linecap="round" stroke-linejoin="round"></path></svg>') no-repeat 10px center / 16px auto;
  pointer-events: none;
}

.link-dark { color: var(--black); transition: color 0.2s; }
.link-dark:hover { color: var(--gray-500); }
.link-dark.c-gray-dark { color: var(--gray-700); }

/* Bouton d'envoi (normal / chargement / envoyé / erreur) */
.form-btn {
  --bc: var(--black);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 44px;
  padding: 8px 12px;
  border-radius: 24px;
  background: var(--black);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--spring-02-04-d) var(--spring-02-04);
}
.form-btn:hover { box-shadow: var(--shadow-dark-hover); }
.form-btn__text { color: var(--white); white-space: pre; user-select: none; transition: opacity var(--spring-02-04-d) var(--spring-02-04); }
.form-btn__check {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.form-btn__spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  opacity: 0;
  border-radius: 50%;
  -webkit-mask: radial-gradient(circle, transparent 7px, #000 7.5px);
  mask: radial-gradient(circle, transparent 7px, #000 7.5px);
}
.form-btn__spinner span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0) 0deg, var(--gray-200) 342deg);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-btn[data-state="loading"] { cursor: default; }
.form-btn[data-state="loading"] .form-btn__text { opacity: 0; }
.form-btn[data-state="loading"] .form-btn__spinner { opacity: 1; transition: opacity 0.3s var(--ease-io); }
.form-btn[data-state="success"] .form-btn__check { position: relative; left: auto; top: auto; transform: none; opacity: 1; }

/* Croix de fermeture */
.x-icon {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
  width: 30px;
  height: 30px;
  overflow: hidden;
  cursor: pointer;
}
.x-icon span {
  position: absolute;
  left: calc(50% - 7px);
  top: calc(50% - 1px);
  width: 14px;
  height: 2px;
  background: var(--black);
  transition: transform var(--spring-02-06-d) var(--spring-02-06);
}
.x-icon span:first-child { transform: rotate(-45deg); }
.x-icon span:last-child { transform: rotate(45deg); }
.x-icon:hover span { transform: rotate(0deg); }

@media (max-width: 767.98px) {
  .drawer__panel { width: 100%; }
  .contact-form::after { border-left: 0; }
  .contact-form__inner { padding: 24px; }
  .input--area { min-height: 150px; }
}

/* ==========================================================================
   CURSEUR PERSONNALISÉ
   ========================================================================== */
/* Comme le composant « Cursor » de Framer : un rond de 16 px en négatif flouté, qui devient une pastille
   « Voir le projet » / « Lire l'article » au survol des cartes.
   Framer pose un fond blanc 85 % en mode exclusion sur un flou d'arrière-plan : Chrome affiche alors le
   négatif flouté, mais Safari l'affiche net. On obtient le même rendu partout en floutant puis en inversant
   directement l'arrière-plan (invert(0.85) = blanc 85 % en exclusion). */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 13;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 24px;
  -webkit-backdrop-filter: blur(5px) invert(0.85);
  backdrop-filter: blur(5px) invert(0.85);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: width var(--spring-02-04-d) var(--spring-02-04), height var(--spring-02-04-d) var(--spring-02-04), padding var(--spring-02-04-d) var(--spring-02-04), opacity 0.2s ease;
}
.cursor.is-active { display: flex; }
.cursor.is-visible { opacity: 1; }
.cursor__text { position: relative; z-index: 1; flex: none; white-space: pre; visibility: hidden; }
/* Texte de la pastille : calque identique posé au-dessus, en mode différence, pour qu'il ressorte
   (clair sur fond sombre, sombre sur fond clair) comme sur le site d'origine */
.cursor--label {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  mix-blend-mode: difference;
}
.cursor--label .cursor__text { visibility: visible; color: var(--white); }

/* ==========================================================================
   ANIMATIONS D'APPARITION (activées seulement avec JavaScript)
   ========================================================================== */
/* Pendant le volet d'un changement de page (« is-revealed » pas encore là), tout ce qui va apparaître reste caché.
   Sinon Safari dessine pendant le volet ce qui bouge à l'intérieur (cartes, pastille, vidéo), malgré la transparence. */
.js:not(.is-revealed) .appear,
.js:not(.is-revealed) [data-reveal],
.js:not(.is-revealed) [data-appear],
.js:not(.is-revealed) [data-split],
.js:not(.is-revealed) [data-reveal-text] { visibility: hidden; }

/* Apparition au chargement, dès que la page est visible (« is-revealed » : voir le script dans <head>) */
.js .appear { opacity: 0.001; }
.js .appear--projects { transform: translateY(200px) scale(0.8); }
.is-revealed .appear--hero-badge { animation: appear-fade 0.6s var(--ease-std) 0.4s forwards; }
.is-revealed .appear--hero-cta { animation: appear-fade 0.6s var(--ease-std) 0.4s forwards; }
.is-revealed .appear--logos { animation: appear-fade 0.6s var(--ease-std) 0.6s forwards; }
.is-revealed .appear--projects { animation: appear-projects 0.5s var(--ease-std) 0s forwards; }
@keyframes appear-fade { to { opacity: 1; } }
@keyframes appear-projects { to { opacity: 1; transform: none; } }

/* Textes qui apparaissent mot par mot / bloc par bloc (flou + montée) */
.js [data-split]:not(.is-split),
.js [data-reveal-text]:not(.is-ready) { opacity: 0.001; }
.fx-token {
  display: inline-block;
  opacity: 0.001;
  filter: blur(5px);
  transform: translateY(10px);
  will-change: transform, opacity, filter;
}
/* Mots des titres : marge invisible tout autour, compensée (rien ne bouge). Le flou limite le dessin à la boîte
   du mot, et Safari sur iPhone coupait le bas des g, p, q et le haut des accents, qui dépassent de la ligne
   (jusqu'à 9 px en bas et 2 px en haut sur les plus grands titres). En pixels entiers : aucun arrondi ne décale le texte. */
[data-split] .fx-token { padding: 6px 4px 14px; margin: -6px -4px -14px; }
.fx-token.is-in {
  opacity: 1;
  filter: blur(0);
  transform: none;
  transition-property: opacity, filter, transform;
  transition-duration: var(--fx-dur, 0.8s);
  transition-timing-function: var(--ease-std);
  transition-delay: var(--fx-delay, 0s);
}
.fx-token.is-out {
  transition-property: opacity, filter, transform;
  transition-duration: var(--fx-dur, 0.8s);
  transition-timing-function: var(--ease-std);
  transition-delay: var(--fx-delay, 0s);
}

/* Éléments qui glissent à l'entrée dans l'écran */
.js [data-reveal] {
  opacity: 0;
  transform: translateX(var(--rx, 0px));
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease-std) var(--rd, 0s), transform 0.6s var(--ease-std) var(--rd, 0s);
}
/* Les icônes sociales utilisent un ressort (et gardent leur survol) */
.js .socials__link[data-reveal] { transform: none; translate: var(--rx, 0px) 0; }
.js .socials__link[data-reveal].is-in { translate: 0 0; transition: opacity 0.6s var(--ease-std) var(--rd, 0s), translate 0.6s var(--ease-std) var(--rd, 0s); }
.js .socials__link[data-reveal].is-in.is-settled { transition: translate var(--spring-02-06-d) var(--spring-02-06); }
@media (hover: hover) {
  .js .socials__link[data-reveal].is-in.is-settled:hover { translate: 0 -5px; }
}

/* Mobile : pas d'animation d'entrée pour les avis */
@media (max-width: 767.98px) {
  .js .testimonial[data-reveal] { opacity: 1; transform: none; }
}

/* Réduction des animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  .js .appear, .js [data-reveal], .fx-token, .js [data-split], .js [data-reveal-text] { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .plan__float, .pulse__outer, .pulse__inner { animation: none; }
  .project-card__meta { transition: none; }  /* la légende des cartes apparaît sans glisser */
}

.call-btn__you-txt .you-hover { display: none; }
@media (hover: hover) and (min-width: 992px) {
  .call-btn:hover .call-btn__you-txt .you-default { display: none; }
  .call-btn:hover .call-btn__you-txt .you-hover { display: inline; }
}
