/* ==========================================================================
   Capritora - feuille de style principale
   Sommaire :
   1. Polices          6. En-tête et navigation   11. Pages de service
   2. Variables        7. Accueil : hero          12. Contact et formulaire
   3. Base             8. Maquettes animées       13. Pages légales
   4. Mise en page     9. Sections d'accueil      14. Pied de page
   5. Composants      10. Appel à l'action        15. Bandeau cookies
                                                  16. Animations et accessibilité
   ========================================================================== */

/* 1. Polices (hébergées sur le site, licence SIL Open Font License) ------- */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/worksans-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* 2. Variables -------------------------------------------------------------- */
:root {
  /* Couleurs de marque (relevées sur le logo) */
  --red: #e6203a;
  --red-600: #c8182f;
  --red-soft: #fdecee;
  --ink: #1f1c17;
  --anthracite: #26231c;

  /* Neutres chauds */
  --bg: #faf8f5;
  --surface: #ffffff;
  --sand: #f3efe9;
  --line: #e6e1d9;
  --line-strong: #d4cdc2;
  --muted: #625c53;

  /* Sections sombres */
  --night: #1a1814;
  --night-2: #24211c;
  --night-line: #3a362f;
  --on-night: #f4f1ec;
  --on-night-muted: #aaa49a;

  /* Couleur par expertise : -ink pour le texte (contraste AA), -soft pour les fonds */
  --dev: #2f6feb;      --dev-ink: #2257c4;      --dev-soft: #e9f0fd;
  --mkt: #e08a00;      --mkt-ink: #9a5d00;      --mkt-soft: #fdf3e1;
  --ads: #1e9e6a;      --ads-ink: #137148;      --ads-soft: #e4f5ed;
  --ai: #7a4de8;       --ai-ink: #6236cf;       --ai-soft: #efe9fd;
  --pm: #0e8fa0;       --pm-ink: #0a6f7c;       --pm-soft: #e2f3f5;

  /* Typographie */
  --font-display: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;

  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem);

  /* Espacements */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 136px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Ombres et mouvement */
  --shadow-sm: 0 1px 2px rgba(31, 28, 23, 0.06), 0 2px 8px rgba(31, 28, 23, 0.05);
  --shadow: 0 2px 6px rgba(31, 28, 23, 0.06), 0 18px 40px -12px rgba(31, 28, 23, 0.18);
  --shadow-lg: 0 30px 80px -20px rgba(31, 28, 23, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 240ms;

  --header-h: 72px;
}

/* 3. Base ------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.is-locked {
  overflow: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.03em;
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.2;
}
p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--red);
  color: #fff;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

/* 4. Mise en page ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow {
  max-width: calc(820px + 2 * var(--gutter));
}
.section {
  padding-block: var(--section);
}
.section--tight {
  padding-block: calc(var(--section) * 0.6);
}
.section--sand {
  background: var(--sand);
}
.section--line {
  border-top: 1px solid var(--line);
}
.section--dark {
  background: var(--night);
  color: var(--on-night);
}
.section-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head--split {
  max-width: none;
  grid-template-columns: 1fr auto;
  align-items: end;
}
.section-head p {
  color: var(--muted);
  font-size: var(--fs-lg);
}
.section--dark .section-head p {
  color: var(--on-night-muted);
}
@media (max-width: 720px) {
  .section-head--split {
    grid-template-columns: 1fr;
  }
}

/* 5. Composants ------------------------------------------------------------- */

/* Étiquette au-dessus des titres */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 14px;
  height: 8px;
  border-radius: 2px 6px 6px 2px;
  background: var(--accent, var(--red));
}
.section--dark .eyebrow {
  color: var(--on-night-muted);
}

/* Boutons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-border: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  --btn-bg: var(--red);
}
.btn--primary:hover {
  --btn-bg: var(--red-600);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--line-strong);
}
.btn--ghost:hover {
  --btn-border: var(--ink);
}
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.35);
}
.btn--outline-light:hover {
  --btn-border: #fff;
}
.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.9375rem;
}
.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform var(--dur) var(--ease);
}
.btn:hover .icon--arrow {
  transform: translateX(3px);
}

/* Lien fléché */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size var(--dur) var(--ease);
}
.link-arrow:hover {
  background-size: 100% 1.5px;
}
.link-arrow .icon {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}
.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* Icônes (sprite SVG) */
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft, var(--red-soft));
  color: var(--accent-ink, var(--red));
}

/* Thèmes de couleur par expertise */
.theme-dev { --accent: var(--dev); --accent-ink: var(--dev-ink); --accent-soft: var(--dev-soft); }
.theme-mkt { --accent: var(--mkt); --accent-ink: var(--mkt-ink); --accent-soft: var(--mkt-soft); }
.theme-ads { --accent: var(--ads); --accent-ink: var(--ads-ink); --accent-soft: var(--ads-soft); }
.theme-ai  { --accent: var(--ai);  --accent-ink: var(--ai-ink);  --accent-soft: var(--ai-soft); }
.theme-pm  { --accent: var(--pm);  --accent-ink: var(--pm-ink);  --accent-soft: var(--pm-soft); }
.theme-brand { --accent: var(--red); --accent-ink: var(--red); --accent-soft: var(--red-soft); }

/* Mots-clés colorés */
.kw { font-weight: 500; }
.kw--dev { color: var(--dev-ink); }
.kw--mkt { color: var(--mkt-ink); }
.kw--ads { color: var(--ads-ink); }
.kw--ai { color: var(--ai-ink); }
.kw--pm { color: var(--pm-ink); }
.kw--red { color: var(--red); }

/* Pastilles de logos (plateformes et technologies) */
.chip-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
}
.chip-logo img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}
.chip-logo--text {
  padding-left: 16px;
}
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.section--dark .chip-logo {
  background: var(--night-2);
  border-color: var(--night-line);
  color: var(--on-night);
}
.section--dark .chip-logo img {
  filter: invert(1);
}

/* Cartes */
.card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card p {
  color: var(--muted);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cards-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.cards-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1000px) {
  .cards-grid,
  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .cards-grid,
  .cards-grid--2,
  .cards-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* Liste à coches */
.checklist {
  display: grid;
  gap: 12px;
  list-style: none;
}
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}
.checklist li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft, var(--red-soft))
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1c17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* Fil d'Ariane */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}
.breadcrumb a {
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Questions fréquentes */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1c17' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E")
    center / 14px no-repeat;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--sand);
}
.faq details > div {
  padding: 0 56px 26px 0;
  color: var(--muted);
}
.faq details > div p + p {
  margin-top: 12px;
}

/* 6. En-tête et navigation -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
/* Le flou est porté par un calque à part : posé sur l'en-tête lui-même, il enfermerait
   le menu mobile (position fixe) dans la hauteur de l'en-tête. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 248, 245, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  transition: background-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.site-header.is-scrolled::before {
  background: rgba(250, 248, 245, 0.92);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.site-header__logo {
  display: block;
  flex: none;
}
.site-header__logo img {
  width: 158px;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav__link {
  position: relative;
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.96875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}
.nav__link:hover {
  background: rgba(31, 28, 23, 0.05);
}
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}
.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
}
.nav__toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.75px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px var(--gutter) 40px;
    background: var(--bg);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__list li {
    border-bottom: 1px solid var(--line);
  }
  .nav__link {
    padding: 18px 4px;
    font-size: 1.375rem;
    border-radius: 0;
  }
  .nav__link:hover {
    background: none;
    color: var(--red);
  }
  .nav__link[aria-current="page"] {
    color: var(--red);
  }
  .nav__link[aria-current="page"]::after {
    display: none;
  }
  .nav .btn {
    align-self: stretch;
    min-height: 52px;
    font-size: 1.0625rem;
  }
}

/* 7. Accueil : hero ---------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 5.5vw, 80px);
  padding-bottom: clamp(56px, 6vw, 88px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: 24px;
  max-width: 1120px;
}
.hero__title .line {
  display: block;
}
.hero__title em {
  font-style: normal;
  color: var(--red);
}
.hero__lead {
  max-width: 660px;
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  line-height: 1.5;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.hero__assurances li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__assurances .icon {
  width: 16px;
  height: 16px;
  color: var(--red);
}
.hero__stage {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
}

/* Bande de logos qui défile */
.marquee {
  position: relative;
  display: grid;
  grid-template-columns: 100%;
  gap: 12px;
  padding-block: 28px;
  border-block: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__caption {
  padding-inline: 10%; /* reste hors du fondu des bords */
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: 6px;
}
.marquee__row {
  display: flex;
  width: max-content;
  gap: 10px;
  list-style: none;
  animation: marquee 60s linear infinite;
}
.marquee__row--reverse {
  animation-direction: reverse;
  animation-duration: 70s;
}
.marquee:hover .marquee__row {
  animation-play-state: paused;
}
.marquee__row .chip-logo {
  background: var(--bg);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* 8. Maquettes animées (illustrations dessinées en HTML/CSS) ---------------- */
.mock {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.mock__dots {
  display: flex;
  gap: 6px;
}
.mock__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.mock__url {
  flex: 1;
  max-width: 320px;
  margin-inline: auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}
.mock__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
}
.mock__label {
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.mock__caption {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
}
.skeleton {
  height: 10px;
  border-radius: 6px;
  background: var(--sand);
}

/* Scène d'accueil : navigateur + cartes flottantes */
.stage {
  position: relative;
  min-height: 520px;
}
.stage__browser {
  width: min(880px, 92%);
  margin-inline: auto;
}
.stage__site {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  padding: 36px;
}
.stage__site-copy {
  display: grid;
  align-content: center;
  gap: 12px;
}
.stage__site-copy .skeleton:nth-child(1) { width: 90%; height: 18px; background: var(--ink); opacity: 0.85; }
.stage__site-copy .skeleton:nth-child(2) { width: 70%; height: 18px; background: var(--ink); opacity: 0.85; }
.stage__site-copy .skeleton:nth-child(3) { width: 95%; margin-top: 8px; }
.stage__site-copy .skeleton:nth-child(4) { width: 80%; }
.stage__site-btn {
  width: 120px;
  height: 34px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--red);
}
.stage__site-visual {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 30%, rgba(230, 32, 58, 0.18), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(122, 77, 232, 0.18), transparent 55%),
    var(--sand);
  overflow: hidden;
}
.stage__site-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
}
.stage__site-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stage__site-row div {
  height: 70px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.float-card {
  position: absolute;
  z-index: 2;
  width: 260px;
  padding: 16px;
  animation: float 7s ease-in-out infinite;
}
.float-card--ads {
  left: 0;
  top: 18%;
}
.float-card--ai {
  right: 0;
  top: 6%;
  width: 290px;
  animation-delay: -2s;
}
.float-card--pm {
  right: 4%;
  bottom: -4%;
  animation-delay: -4s;
}
.float-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Mini graphique à barres */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
}
.bars i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 4px 4px 2px 2px;
  background: var(--accent, var(--ads));
  opacity: 0.85;
  transform-origin: bottom;
  animation: grow 1.2s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 80ms + 400ms);
}
.bars i:nth-child(odd) {
  opacity: 0.55;
}
@keyframes grow {
  from { transform: scaleY(0.1); }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft, var(--sand));
  color: var(--accent-ink, var(--muted));
  font-size: 0.6875rem;
  font-weight: 600;
}
.pill--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Conversation avec une IA */
.chat {
  display: grid;
  gap: 10px;
}
.chat__msg {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.8125rem;
}
.chat__msg--user {
  justify-self: end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat__msg--ai {
  background: var(--ai-soft);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.chat__msg--ai [data-typing]::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--ai);
  animation: blink 1s steps(1) infinite;
}
.chat__msg--ai [data-typing].is-done::after {
  display: none;
}
@keyframes blink {
  50% { opacity: 0; }
}
.chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chat__chips span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ai-soft);
  color: var(--ai-ink);
  font-size: 0.75rem;
  font-weight: 500;
}
.chat__input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}
.chat__input i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--ai);
}
.chat__input i::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-1px, 1px) rotate(45deg);
}

/* Petite liste de tâches */
.tasks {
  display: grid;
  gap: 8px;
  list-style: none;
}
.tasks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
}
.tasks li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
}
.tasks li.is-done {
  color: var(--muted);
  text-decoration: line-through;
}
.tasks li.is-done::before {
  border-color: var(--pm);
  background: var(--pm)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 10px no-repeat;
}
.progress {
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--sand);
  overflow: hidden;
}
.progress i {
  display: block;
  width: var(--p, 60%);
  height: 100%;
  border-radius: inherit;
  background: var(--pm);
  animation: fill 2.4s var(--ease) both 0.6s;
}
@keyframes fill {
  from { width: 8%; }
}

/* Éditeur de code */
.code {
  padding: 20px 22px;
  background: var(--night);
  color: #d9d4cb;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-variant-ligatures: none;
  line-height: 1.75;
  white-space: pre;
  overflow-x: auto;
}
.code .c-k { color: #ff7a8c; }
.code .c-s { color: #9fd98b; }
.code .c-f { color: #8ab4ff; }
.code .c-m { color: #8a8478; }
.code .c-n { color: #f3c26b; }
.mock--dark {
  border-color: var(--night-line);
  background: var(--night);
}
.mock--dark .mock__bar {
  background: var(--night-2);
  border-color: var(--night-line);
}
.mock--dark .mock__dots i {
  background: var(--night-line);
}
.mock--dark .mock__url {
  background: var(--night);
  color: var(--on-night-muted);
}

/* Tableau de bord publicitaire */
.dash {
  display: grid;
  gap: 16px;
  padding: 22px;
}
.dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.dash__kpi {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.dash__kpi strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.dash__channels {
  display: grid;
  gap: 10px;
  list-style: none;
}
.dash__channels li {
  display: grid;
  grid-template-columns: 22px 110px 1fr;
  align-items: center;
  gap: 10px;
}
.dash__channels img {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}
.meter {
  height: 8px;
  border-radius: 999px;
  background: var(--sand);
  overflow: hidden;
}
.meter i {
  display: block;
  width: var(--w, 50%);
  height: 100%;
  border-radius: inherit;
  background: var(--accent, var(--ads));
  transform-origin: left;
  animation: meter 1.4s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 120ms + 300ms);
}
@keyframes meter {
  from { transform: scaleX(0.05); }
}

/* Tableau de suivi de projet (kanban) */
.kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}
.kanban__col {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: var(--bg);
  min-height: 210px;
}
.kanban__card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.kanban__card .who {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6875rem;
  color: var(--muted);
}
.kanban__card .avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent, var(--pm));
  opacity: 0.8;
}
.kanban__card--moving {
  animation: kanban-move 9s var(--ease) infinite;
}
@keyframes kanban-move {
  0%, 20% { transform: translateX(0); }
  40%, 70% { transform: translateX(calc(100% + 32px)); }
  90%, 100% { transform: translateX(0); }
}

/* Schéma d'automatisation IA */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 0;
  padding: 30px 22px;
}
.flow__node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
}
.flow__node .icon-tile {
  width: 52px;
  height: 52px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.flow__node--ai .icon-tile {
  background: var(--accent, var(--ai));
  border-color: var(--accent, var(--ai));
  color: #fff;
}
.flow__link {
  position: absolute;
  top: 26px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
  z-index: -1;
}
.flow__link::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--ai));
  animation: travel 2.4s linear infinite;
}
.flow__node:nth-child(2) .flow__link::after { animation-delay: 0.8s; }
.flow__node:nth-child(3) .flow__link::after { animation-delay: 1.6s; }
@keyframes travel {
  from { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  to { left: calc(100% - 8px); opacity: 0; }
}

/* Carte de positionnement (marketing) */
.posmap {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 22px;
  border-radius: 10px;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) center / 1px 100% no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) center / 100% 1px no-repeat,
    var(--bg);
}
.posmap__axis {
  position: absolute;
  font-size: 0.6875rem;
  color: var(--muted);
}
.posmap__axis--top { top: 8px; left: 50%; transform: translateX(-50%); }
.posmap__axis--bottom { bottom: 8px; left: 50%; transform: translateX(-50%); }
.posmap__axis--left { left: 10px; top: 50%; transform: translateY(-50%); }
.posmap__axis--right { right: 10px; top: 50%; transform: translateY(-50%); }
.posmap__dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--line-strong);
  transform: translate(-50%, -50%);
}
.posmap__dot--you {
  width: 22px;
  height: 22px;
  background: var(--mkt);
  box-shadow: 0 0 0 8px rgba(224, 138, 0, 0.18);
  animation: you 3s var(--ease) infinite;
}
.posmap__dot--you::after {
  content: attr(data-label);
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}
@keyframes you {
  50% { box-shadow: 0 0 0 14px rgba(224, 138, 0, 0.08); }
}

/* 9. Sections d'accueil ------------------------------------------------------ */

/* Grande phrase */
.statement {
  max-width: 980px;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

/* Piliers séparés par des filets */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.pillar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 32px 28px 8px 0;
}
.pillar + .pillar {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.pillar .icon {
  color: var(--red);
}
.pillar h3 {
  font-size: 1.125rem;
}
.pillar p {
  color: var(--muted);
  font-size: 0.96875rem;
}
@media (max-width: 1000px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 560px) {
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillar,
  .pillar + .pillar {
    padding: 24px 0 8px;
    border-left: 0;
  }
  .pillar + .pillar {
    border-top: 1px solid var(--line);
  }
}

/* Panneaux d'expertises qui s'ouvrent au survol */
.panels {
  display: flex;
  gap: 8px;
  height: 520px;
}
.panel {
  --grow: 1;
  position: relative;
  flex: var(--grow) 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--on-night);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: flex-grow 600ms var(--ease);
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 70% at 0% 100%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 65%),
    radial-gradient(60% 50% at 100% 0%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 70%);
  opacity: 0.75;
  transition: opacity 600ms var(--ease);
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.panel__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel__num {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--on-night-muted);
}
.panel__plus {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: transform 600ms var(--ease), background-color var(--dur) var(--ease);
}
.panel__plus .icon {
  width: 16px;
  height: 16px;
}
.panel__icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  stroke-width: 1.25;
}
.panel__body {
  display: grid;
  gap: 14px;
}
.panel__title {
  font-size: 1.125rem;
  line-height: 1.2;
  transition: font-size 500ms var(--ease);
}
.panel__text,
.panel__more {
  max-height: 0;
  margin-top: -14px; /* annule l'espacement du bloc tant que le texte est replié */
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease), max-height 500ms var(--ease), margin 500ms var(--ease);
}
.panel__text {
  max-width: 360px;
  color: var(--on-night-muted);
  font-size: 0.96875rem;
}
.panel__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
}
.panel__more .icon {
  width: 16px;
  height: 16px;
}
.panels:hover .panel,
.panels:focus-within .panel {
  --grow: 1;
}
.panels .panel:hover,
.panels .panel:focus-visible,
.panels:not(:hover):not(:focus-within) .panel:first-child {
  --grow: 2.4;
}
.panels .panel:hover .panel__title,
.panels .panel:focus-visible .panel__title,
.panels:not(:hover):not(:focus-within) .panel:first-child .panel__title {
  font-size: 1.5rem;
}
.panels .panel:hover::before,
.panels .panel:focus-visible::before,
.panels:not(:hover):not(:focus-within) .panel:first-child::before {
  opacity: 1;
}
.panels .panel:hover .panel__plus,
.panels .panel:focus-visible .panel__plus,
.panels:not(:hover):not(:focus-within) .panel:first-child .panel__plus {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.1);
}
.panels .panel:hover :is(.panel__text, .panel__more),
.panels .panel:focus-visible :is(.panel__text, .panel__more),
.panels:not(:hover):not(:focus-within) .panel:first-child :is(.panel__text, .panel__more) {
  max-height: 10em;
  margin-top: 0;
  opacity: 1;
  transform: none;
  transition-delay: 150ms;
}
.panel:focus-visible {
  outline-offset: 4px;
}
@media (max-width: 1000px) {
  .panels {
    flex-direction: column;
    height: auto;
  }
  .panel {
    flex: 0 0 auto;
    min-height: 0;
    gap: 32px;
  }
  .panel__plus {
    display: none;
  }
  .panel__text,
  .panel__more {
    max-height: none;
    margin-top: 0;
    opacity: 1;
    transform: none;
  }
  .panel .panel__title,
  .panels .panel .panel__title {
    font-size: 1.375rem;
  }
  .panels:hover .panel,
  .panels:focus-within .panel {
    --grow: 1;
  }
}

/* Onglets avec barre de progression */
.tabs-feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.tabs-feature__list {
  display: grid;
  border-top: 1px solid var(--line);
}
.tab {
  display: grid;
  gap: 8px;
  padding: 20px 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  position: relative;
}
.tab__title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.tab__text {
  display: none;
  color: var(--muted);
  font-size: 0.96875rem;
}
.tab[aria-selected="true"] .tab__title {
  color: var(--ink);
}
.tab[aria-selected="true"] .tab__text {
  display: block;
}
.tab__bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--accent, var(--red));
  transform: scaleX(0);
  transform-origin: left;
}
.tab[aria-selected="true"] .tab__bar {
  transform: scaleX(var(--progress, 1));
}
.tab:hover .tab__title {
  color: var(--ink);
}
.tabs-feature__stage {
  position: relative;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 60% at 80% 10%, rgba(122, 77, 232, 0.18), transparent 70%),
    radial-gradient(60% 60% at 10% 90%, rgba(230, 32, 58, 0.12), transparent 70%),
    var(--sand);
}
/* Les panneaux sont superposés : le bloc garde la hauteur du plus grand, rien ne saute au changement d'onglet */
.tabs-feature__stage {
  display: grid;
}
.tab-panel {
  grid-area: 1 / 1;
  align-self: center;
  min-width: 0;
}
.tab-panel[hidden] {
  display: block;
  visibility: hidden;
}
.tab-panel .mock {
  padding: 18px;
}
@media (max-width: 900px) {
  .tabs-feature {
    grid-template-columns: 1fr;
  }
}

/* Étapes de la méthode */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
}
.steps::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 2px;
  margin-top: -0.5px;
  background: var(--red);
  transform: scaleX(var(--steps-progress, 1));
  transform-origin: left;
}
.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
}
.section--sand .step::before {
  background: var(--sand);
}
.step p {
  color: var(--muted);
  font-size: 0.96875rem;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 64px;
  }
  .steps::before,
  .steps::after {
    top: 0;
    bottom: 0;
    left: 22px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .steps::after {
    width: 2px;
    margin-left: -0.5px;
    transform: scaleY(var(--steps-progress, 1));
    transform-origin: top;
  }
  .step::before {
    position: absolute;
    left: -64px;
    top: -6px;
  }
}

/* Section sombre « en coulisses » */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split + .split {
  margin-top: clamp(64px, 8vw, 120px);
}
.split--reverse .split__visual {
  order: -1;
}
.split__copy {
  display: grid;
  gap: 18px;
}
.split__copy > p {
  color: var(--muted);
  font-size: var(--fs-lg);
}
.section--dark .split__copy > p {
  color: var(--on-night-muted);
}
.split__copy .checklist {
  margin-top: 6px;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__visual {
    order: 0;
  }
}

/* 10. Appel à l'action final ------------------------------------------------ */
.cta {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: clamp(56px, 8vw, 104px) var(--gutter);
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--on-night);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(230, 32, 58, 0.45), transparent 70%);
  transition: background 120ms linear;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
}
.cta h2 {
  max-width: 760px;
}
.cta p {
  max-width: 560px;
  color: var(--on-night-muted);
  font-size: var(--fs-lg);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* 11. Pages de service ------------------------------------------------------ */
.page-hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, var(--red)) 16%, transparent), transparent 65%);
  pointer-events: none;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.page-hero__copy {
  display: grid;
  gap: 24px;
}
.page-hero__copy .breadcrumb {
  margin-bottom: 4px;
}
.page-hero h1 {
  font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem);
}
.page-hero--simple h1 {
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4.25rem);
}
.page-hero__lead {
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  line-height: 1.5;
  color: var(--muted);
}
.page-hero--simple .page-hero__grid {
  grid-template-columns: 1fr;
  max-width: 860px;
}
@media (max-width: 900px) {
  .page-hero__grid {
    grid-template-columns: 1fr;
  }
}

.related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.related a {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.related a:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.related .icon {
  color: var(--accent-ink);
}
.related strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.25;
}
@media (max-width: 900px) {
  .related {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .related {
    grid-template-columns: 1fr;
  }
}

.note {
  padding: 22px 24px;
  border-left: 3px solid var(--accent, var(--red));
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-soft, var(--red-soft));
}
.note strong {
  font-family: var(--font-display);
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.value {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 32px 32px 32px 0;
  border-bottom: 1px solid var(--line);
}
.value:nth-child(even) {
  padding-left: 32px;
  padding-right: 0;
  border-left: 1px solid var(--line);
}
.value__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--red);
}
.value h3 {
  margin-bottom: 10px;
}
.value p {
  color: var(--muted);
}
@media (max-width: 760px) {
  .values {
    grid-template-columns: 1fr;
  }
  .value,
  .value:nth-child(even) {
    padding: 28px 0;
    border-left: 0;
  }
}

/* 12. Contact et formulaire -------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
.form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}
.field {
  display: grid;
  align-content: start;
  gap: 8px;
}
.field__error .icon {
  width: 18px;
  height: 18px;
}
.field__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.96875rem;
}
.field__label .req {
  color: var(--red);
}
.field__label .opt {
  color: var(--muted);
  font-weight: 400;
  font-size: var(--fs-sm);
}
.field__hint {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg);
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field textarea {
  min-height: 170px;
  resize: vertical;
}
.field select {
  appearance: none;
  padding-right: 42px;
  background: var(--bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23625c53' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    right 14px center / 18px no-repeat;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--muted);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background-color: var(--surface);
  box-shadow: 0 0 0 4px rgba(31, 28, 23, 0.08);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
}
.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--red-600);
}
.field.has-error .field__error {
  display: flex;
}
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__legal {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form__status {
  display: none;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 12px;
  font-weight: 500;
}
.form__status.is-visible {
  display: flex;
}
.form__status--ok {
  background: var(--ads-soft);
  color: var(--ads-ink);
}
.form__status--error {
  background: var(--red-soft);
  color: var(--red-600);
}
.btn[aria-busy="true"] {
  pointer-events: none;
  opacity: 0.7;
}
.btn[aria-busy="true"] .icon {
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.contact-aside {
  display: grid;
  gap: 16px;
}
.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.contact-card--dark {
  border-color: var(--night);
  background: var(--night);
  color: var(--on-night);
}
.contact-card--dark p,
.contact-card--dark address {
  color: var(--on-night-muted);
}
.contact-card address {
  font-style: normal;
  line-height: 1.7;
}
.contact-card a {
  text-underline-offset: 3px;
}
.contact-mail {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}
.contact-mail:hover {
  text-decoration: underline;
}
.next-steps {
  display: grid;
  gap: 16px;
  list-style: none;
  counter-reset: next;
}
.next-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  counter-increment: next;
  color: var(--muted);
  font-size: 0.96875rem;
}
.next-steps li::before {
  content: counter(next);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
}
.next-steps strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
}

/* 13. Pages légales ----------------------------------------------------------- */
.prose {
  max-width: 760px;
  overflow-wrap: break-word;
  color: var(--ink);
}
.prose > * + * {
  margin-top: 1em;
}
.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
}
.prose h3 {
  margin-top: 1.6em;
  font-size: 1.1875rem;
}
.prose p,
.prose li {
  color: #3d3831;
}
.prose ul {
  padding-left: 1.25em;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose a {
  color: var(--red-600);
  text-underline-offset: 3px;
}
.prose .meta {
  color: var(--muted);
  font-size: var(--fs-sm);
}
.prose .todo {
  padding: 1px 6px;
  border-radius: 4px;
  background: #fff3c4;
  font-weight: 500;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.table th,
.table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.table th {
  background: var(--sand);
  font-family: var(--font-display);
  font-weight: 500;
}
.table tr:last-child td {
  border-bottom: 0;
}

/* Page 404 */
.error-page {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding-block: clamp(80px, 14vw, 180px);
  text-align: center;
}
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 10vw, 10rem);
  font-weight: 300;
  line-height: 1;
  color: var(--red);
}

/* 14. Pied de page ---------------------------------------------------------- */
.site-footer {
  margin-top: 0;
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: 32px;
  background: var(--night);
  color: var(--on-night-muted);
  font-size: 0.96875rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.site-footer__brand {
  display: grid;
  align-content: start;
  gap: 18px;
  max-width: 340px;
}
.site-footer__brand img {
  width: 170px;
}
.site-footer h2 {
  margin-bottom: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-night);
}
.site-footer ul {
  display: grid;
  gap: 10px;
  list-style: none;
}
.site-footer a {
  color: var(--on-night-muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.site-footer a:hover {
  color: #fff;
}
.site-footer address {
  font-style: normal;
  line-height: 1.7;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  font-size: var(--fs-sm);
}
.site-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-night-muted);
  font-size: inherit;
  text-decoration: none;
}
.link-button:hover {
  color: #fff;
}
@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* 15. Bandeau cookies -------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px 28px;
  max-width: 980px;
  margin-inline: auto;
  padding: 20px 22px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--on-night);
  box-shadow: var(--shadow-lg);
  font-size: 0.9375rem;
  animation: slide-up 500ms var(--ease) both;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner p {
  color: var(--on-night-muted);
}
.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--on-night);
}
.cookie-banner a {
  color: var(--on-night);
  text-underline-offset: 3px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 820px) {
  .cookie-banner {
    grid-template-columns: 1fr;
  }
  .cookie-banner__actions .btn {
    flex: 1 1 auto;
  }
}
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}
.cookie-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.cookie-dialog::backdrop {
  background: rgba(26, 24, 20, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.cookie-dialog__inner {
  display: grid;
  gap: 18px;
  padding: 28px;
}
.cookie-dialog h2 {
  font-size: 1.5rem;
}
.cookie-dialog p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.cookie-option strong {
  font-family: var(--font-display);
  font-weight: 500;
}
.cookie-option p {
  grid-column: 1;
}
.switch {
  position: relative;
  grid-row: 1 / span 2;
  grid-column: 2;
  width: 48px;
  height: 28px;
}
.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--line-strong);
  pointer-events: none;
  transition: background-color var(--dur) var(--ease);
}
.switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease);
}
.switch input:checked + span {
  background: var(--ads);
}
.switch input:checked + span::after {
  transform: translateX(20px);
}
.switch input:disabled + span {
  opacity: 0.6;
}
.switch input:focus-visible + span {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
.cookie-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

/* Répartition des tâches entre modèles d'IA */
.router {
  display: grid;
  gap: 10px;
  padding: 22px;
  list-style: none;
}
.router li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  animation: enter 700ms var(--ease) both;
  animation-delay: calc(var(--i, 0) * 120ms + 200ms);
}
.router small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}
.router .chip-logo {
  padding: 6px 12px 6px 8px;
  font-size: 0.8125rem;
  background: var(--bg);
}
.router .chip-logo img {
  width: 16px;
  height: 16px;
}

/* Liste de contrôles avec statut */
.checks {
  display: grid;
  gap: 10px;
  padding: 22px;
  list-style: none;
}
.checks li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 500;
}
.checks .pill {
  flex: none;
}
.checks .pill--ok {
  background: var(--ads-soft);
  color: var(--ads-ink);
}
.checks .pill--wait {
  background: var(--mkt-soft);
  color: var(--mkt-ink);
}

/* Lignes libellé + jauge */
.meters {
  display: grid;
  gap: 14px;
  padding: 22px;
  list-style: none;
}
.meters li {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 14px;
}
.meters li.is-best {
  font-weight: 600;
}
.meters li.is-best .meter i {
  background: var(--accent);
}
.meters li:not(.is-best) .meter i {
  background: var(--line-strong);
}
@media (max-width: 480px) {
  .meters li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Panier (e-commerce) */
.cart {
  display: grid;
  gap: 14px;
  padding: 22px;
}
.cart__line {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
}
.cart__thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--dev-soft), var(--sand));
}
.cart__line:nth-child(2) .cart__thumb {
  background: linear-gradient(135deg, var(--red-soft), var(--sand));
}
.cart__total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
}
.cart__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cart__pay span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}
.cart__btn {
  display: grid;
  place-items: center;
  height: 42px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
}

/* Orbite des expertises (page agence) */
.orbit {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
}
.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
}
.orbit::before {
  inset: 6%;
}
.orbit::after {
  inset: 26%;
  border-style: solid;
  border-color: var(--line);
}
.orbit__core {
  position: absolute;
  inset: 36%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.orbit__core img {
  width: 58%;
}
.orbit__item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  transform: translate(-50%, -50%);
}
.orbit__item .pill {
  padding: 8px 14px;
  font-size: 0.8125rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  animation: float 6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -1.2s);
}

/* Réglages des maquettes (hauteurs, largeurs, positions, délais) : classes plutôt que styles dans le HTML */
.bars i:nth-child(1) { --h: 38%; --i: 0; }
.bars i:nth-child(2) { --h: 52%; --i: 1; }
.bars i:nth-child(3) { --h: 45%; --i: 2; }
.bars i:nth-child(4) { --h: 64%; --i: 3; }
.bars i:nth-child(5) { --h: 58%; --i: 4; }
.bars i:nth-child(6) { --h: 72%; --i: 5; }
.bars i:nth-child(7) { --h: 66%; --i: 6; }
.bars i:nth-child(8) { --h: 80%; --i: 7; }
.bars i:nth-child(9) { --h: 74%; --i: 8; }
.bars i:nth-child(10) { --h: 88%; --i: 9; }
.bars i:nth-child(11) { --h: 82%; --i: 10; }
.bars i:nth-child(12) { --h: 95%; --i: 11; }
.w-15 { --w: 15%; }
.w-25 { --w: 25%; }
.w-35 { --w: 35%; }
.w-45 { --w: 45%; }
.w-55 { --w: 55%; }
.w-65 { --w: 65%; }
.w-75 { --w: 75%; }
.w-85 { --w: 85%; }
.w-95 { --w: 95%; }
.w-100 { --w: 100%; }
.meters li:nth-child(1), .dash__channels li:nth-child(1), .router li:nth-child(1) { --i: 0; }
.meters li:nth-child(2), .dash__channels li:nth-child(2), .router li:nth-child(2) { --i: 1; }
.meters li:nth-child(3), .dash__channels li:nth-child(3), .router li:nth-child(3) { --i: 2; }
.meters li:nth-child(4), .dash__channels li:nth-child(4), .router li:nth-child(4) { --i: 3; }
.meters li:nth-child(5), .dash__channels li:nth-child(5), .router li:nth-child(5) { --i: 4; }
.meters li:nth-child(6), .dash__channels li:nth-child(6), .router li:nth-child(6) { --i: 5; }
.progress--65 { --p: 65%; }
.posmap__dot--1 { --x: 22%; --y: 30%; }
.posmap__dot--2 { --x: 35%; --y: 72%; }
.posmap__dot--3 { --x: 62%; --y: 24%; }
.posmap__dot--4 { --x: 82%; --y: 64%; }
.posmap__dot--you { --x: 70%; --y: 78%; }
.orbit__item:nth-of-type(1) { --x: 50%; --y: 6%; --i: 0; }
.orbit__item:nth-of-type(2) { --x: 90%; --y: 40%; --i: 1; }
.orbit__item:nth-of-type(3) { --x: 78%; --y: 90%; --i: 2; }
.orbit__item:nth-of-type(4) { --x: 22%; --y: 90%; --i: 3; }
.orbit__item:nth-of-type(5) { --x: 10%; --y: 40%; --i: 4; }

/* 16. Animations à l'apparition et accessibilité ----------------------------- */
.hero [data-enter] {
  animation: enter 900ms var(--ease) both;
  animation-delay: calc(var(--d, 0) * 110ms);
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .marquee__row {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .marquee__row [aria-hidden="true"] {
    display: none;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .stage {
    min-height: 0;
  }
  .stage__browser {
    width: 100%;
  }
  .stage__site {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .stage__site-visual {
    min-height: 140px;
  }
  .float-card--ads,
  .float-card--pm {
    display: none;
  }
  .float-card--ai {
    position: relative;
    right: auto;
    top: auto;
    width: auto;
    margin: -40px 16px 0;
  }
}
@media (max-width: 560px) {
  .stage__site-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stage__site-row div:nth-child(3) {
    display: none;
  }
  .kanban {
    grid-template-columns: repeat(2, 1fr);
  }
  .kanban__col:nth-child(3) {
    display: none;
  }
  .kanban__card--moving {
    animation: none;
  }
  .flow {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  .flow__link {
    display: none;
  }
  .dash__channels li {
    grid-template-columns: 22px 90px 1fr;
  }
}

@media print {
  .site-header,
  .cookie-banner,
  .site-footer,
  .marquee {
    display: none;
  }
}

/* Titre de section imbriqué dans un en-tête à deux colonnes */
.section-head .section-head {
  margin-bottom: 0;
}

/* Conversation posée directement dans une fenêtre de maquette */
.mock > .chat {
  padding: 18px;
}

/* Lien sous la liste d'onglets */
.tabs-feature__list + p {
  margin-top: 28px;
}

@media (max-width: 600px) {
  .orbit {
    width: min(300px, 80%);
  }
  .orbit__item .pill {
    padding: 6px 10px;
    font-size: 0.6875rem;
  }
}

/* Colonnes autorisées à rétrécir : un bloc de code large défile dans son cadre
   au lieu d'élargir toute la page sur mobile */
.tabs-feature > *,
.split > *,
.page-hero__grid > *,
.contact-layout > * {
  min-width: 0;
}

/* Chiffres des maquettes : jamais coupés, plus compacts sur téléphone */
.dash__kpi strong {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .dash {
    padding: 16px;
  }
  .dash__kpi {
    padding: 10px;
  }
  .dash__kpi strong {
    font-size: 1rem;
  }
  .dash__kpi .mock__label {
    font-size: 0.625rem;
  }
}
