/* ==========================================================================
   Subnet — feuille de style du site public
   Design minimaliste : grande lisibilité, hiérarchie forte, espaces respirants.
   Les couleurs et dimensions se règlent dans les variables ci-dessous.
   ========================================================================== */

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

:root {
  --font: -apple-system, BlinkMacSystemFont, 'InterVariable', 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-dark: #000000;
  --surface-dark: #161617;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #707075;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
  --accent: #2b59ff;
  --accent-hover: #1d46e0;
  --accent-soft: rgba(43, 89, 255, 0.08);
  --accent-on-dark: #7c98ff;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  --success: #1f8f4e;
  --danger: #c4291e;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 22px 44px -18px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.32), 0 14px 30px -16px rgba(0, 0, 0, 0.16);

  --container: 1080px;
  --container-wide: 1240px;
  --container-narrow: 760px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(88px, 4rem + 7vw, 168px);
  --header-h: 56px;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base ------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  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;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(43, 89, 255, 0.18);
}

.sr-only {
  position: absolute;
  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: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* Typographie -------------------------------------------------------------- */

.display {
  font-size: clamp(2.75rem, 1.35rem + 5.6vw, 5.75rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-wrap: balance;
}

.display--page {
  font-size: clamp(2.5rem, 1.45rem + 4.2vw, 4.75rem);
}

.h2 {
  font-size: clamp(2rem, 1.2rem + 3.1vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.034em;
  font-weight: 700;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.55vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: -0.024em;
  font-weight: 650;
  text-wrap: balance;
}

.h4 {
  font-size: 1.1875rem;
  line-height: 1.3;
  letter-spacing: -0.018em;
  font-weight: 650;
}

.lead {
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem);
  line-height: 1.45;
  letter-spacing: -0.016em;
  color: var(--text-2);
  text-wrap: pretty;
}

.eyebrow {
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.1875rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--accent);
  text-wrap: balance;
}

.eyebrow--icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.muted {
  color: var(--text-2);
}

/* Mise en page -------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: calc(var(--container-wide) + 2 * var(--gutter));
}

.container--narrow {
  max-width: calc(var(--container-narrow) + 2 * var(--gutter));
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: clamp(56px, 3rem + 4vw, 104px);
}

.section--flush-top {
  padding-top: 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--on-dark);
}

.section--dark .lead,
.section--dark .muted,
.section--dark p {
  color: var(--on-dark-2);
}

.section--dark .eyebrow {
  color: var(--accent-on-dark);
}

.section-head {
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: 780px;
  margin-bottom: clamp(48px, 2.5rem + 3vw, 88px);
}

.section-head .lead {
  margin-top: 4px;
}

.section-head .link-arrow {
  margin-top: 8px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section-foot {
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
}

.split {
  display: grid;
  gap: clamp(40px, 6vw, 104px);
}

.split__aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .split--even {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .split__aside {
    position: sticky;
    top: calc(var(--header-h) + 48px);
  }
}

.stack {
  display: grid;
  gap: 32px;
  align-content: start;
}

/* Boutons et liens ------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--secondary {
  background: var(--bg-soft);
  color: var(--text);
}

.btn--secondary:hover {
  background: #e8e8ed;
}

.section--soft .btn--secondary {
  background: #fff;
}

.section--soft .btn--secondary:hover {
  background: #fafafc;
  box-shadow: var(--shadow-sm);
}

.btn--lg {
  min-height: 52px;
  padding: 0 30px;
  font-size: 1.0625rem;
}

.btn--sm {
  min-height: 32px;
  padding: 0 15px;
  font-size: 0.875rem;
}

.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
}

.link-arrow svg {
  flex: none;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.link-arrow--lg {
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
}

.section--dark .link-arrow {
  color: var(--accent-on-dark);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 30px;
}

.actions--center {
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 980px;
  background: #fff;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.chip:hover {
  border-color: var(--text-3);
}

.chip[aria-pressed='true'] {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.chip--static {
  cursor: default;
}

.chip--static:hover {
  border-color: var(--line-strong);
}

.section--dark .chip--static {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--on-dark);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips--center {
  justify-content: center;
  max-width: 900px;
  margin-inline: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 980px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Bandeau d'information ---------------------------------------------------- */

.notice {
  background: var(--text);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.4;
}

.notice__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  padding-block: 11px;
  text-align: center;
}

.notice a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #9db4ff;
}

/* En-tête ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: var(--line);
}

.site-header.is-open {
  background: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.logo:hover {
  text-decoration: none;
}

.logo__mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.logo__word {
  text-transform: lowercase;
}

.logo__img {
  height: 30px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 2px;
}

.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.875rem;
  opacity: 0.78;
  transition: opacity 0.2s var(--ease);
}

.site-nav a:hover {
  opacity: 1;
  text-decoration: none;
}

.site-nav a[aria-current='page'] {
  opacity: 1;
  font-weight: 550;
}

.site-header__cta {
  margin-left: 6px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: -11px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle__bars {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}

.menu-toggle__bars::before {
  top: 2px;
}

.menu-toggle__bars::after {
  bottom: 2px;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bars::before {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bars::after {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  overflow-y: auto;
  padding: 16px var(--gutter) 48px;
  background: #fff;
}

.mobile-menu ul {
  display: grid;
  margin-bottom: 32px;
}

.mobile-menu a:not(.btn) {
  display: block;
  padding: 10px 0;
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.mobile-menu a[aria-current='page'] {
  color: var(--accent);
}

.mobile-menu li,
.mobile-menu .btn {
  animation: menu-in 0.5s var(--ease-out) both;
}

.mobile-menu li:nth-child(2) { animation-delay: 30ms; }
.mobile-menu li:nth-child(3) { animation-delay: 60ms; }
.mobile-menu li:nth-child(4) { animation-delay: 90ms; }
.mobile-menu li:nth-child(5) { animation-delay: 120ms; }
.mobile-menu li:nth-child(6) { animation-delay: 150ms; }
.mobile-menu .btn { animation-delay: 190ms; }

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (max-width: 880px) {
  .site-nav,
  .site-header__cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

/* Accueil : bandeau principal ---------------------------------------------- */

.hero {
  overflow: hidden;
  padding-top: clamp(56px, 2rem + 6vw, 128px);
  padding-bottom: clamp(72px, 3rem + 6vw, 136px);
}

.hero__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.hero .display {
  max-width: 12em;
}

.hero__lead {
  max-width: 660px;
}

.hero .actions {
  margin-top: 14px;
}

.showcase {
  margin-top: clamp(56px, 3rem + 4vw, 104px);
}

.showcase__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(48px, 7vw, 88px);
}

.showcase__slide {
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.showcase__slide.is-active {
  opacity: 1;
}

/* Appareils (navigateur + téléphone) -------------------------------------- */

.devices {
  position: relative;
}

.devices--hero {
  padding-right: 7%;
  margin-bottom: 5%;
}

.browser {
  position: relative;
  overflow: hidden;
  border-radius: clamp(10px, 1.4vw, 16px);
  background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: clamp(26px, 3vw, 38px);
  padding: 0 clamp(10px, 1.4vw, 16px);
  background: #f2f2f5;
  border-bottom: 1px solid var(--line);
}

.browser__dots {
  display: flex;
  gap: clamp(5px, 0.6vw, 8px);
}

.browser__dots i {
  width: clamp(8px, 0.9vw, 12px);
  height: clamp(8px, 0.9vw, 12px);
  border-radius: 50%;
  background: #d9d9de;
}

.browser__address {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(42%, 380px);
  height: 60%;
  margin-inline: auto;
  margin-right: auto;
  border-radius: 7px;
  background: #e5e5ea;
  color: #a1a1a6;
  transform: translateX(-24px);
}

.browser__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}

.browser__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone {
  position: absolute;
  right: 0;
  bottom: -8%;
  width: 19%;
  min-width: 92px;
  aspect-ratio: 390 / 844;
  padding: 0.7%;
  border-radius: 17% / 7.9%;
  background: #1d1d1f;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14% / 6.5%;
  background: #fff;
}

.phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.browser--dark {
  background: #1c1c1e;
  box-shadow: 0 50px 140px -40px rgba(43, 89, 255, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.browser--dark .browser__bar {
  background: #2a2a2d;
  border-color: rgba(255, 255, 255, 0.06);
}

.browser--dark .browser__dots i {
  background: #48484c;
}

.browser--dark .browser__address {
  background: #3a3a3d;
  color: #8e8e93;
}

/* Positionnement ---------------------------------------------------------- */

.pillars {
  border-top: 1px solid var(--line);
}

.pillar {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.pillar__num {
  padding-top: 3px;
  color: var(--text-3);
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pillar h3 {
  margin-bottom: 6px;
}

.pillar p {
  color: var(--text-2);
}

/* Liste centrée sous un titre centré (pages secteurs) */
.pillars--center,
.checklist--center {
  max-width: 760px;
  margin-inline: auto;
}

/* Parcours client ----------------------------------------------------------- */

.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  max-width: 1000px;
  margin: 0 auto;
}

.journey__step {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  text-align: center;
}

.journey__step > p:last-child {
  max-width: 280px;
  color: var(--text-2);
}

.phone.phone--static {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(100%, 250px);
  min-width: 0;
  margin-bottom: 22px;
  padding: 8px;
  border-radius: 40px;
}

.phone--static .phone__screen {
  border-radius: 32px;
}

.journey__num span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 760px) {
  .journey {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(74%, 270px);
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .journey::-webkit-scrollbar {
    display: none;
  }

  .journey__step {
    scroll-snap-align: center;
  }

  .js .journey .journey__step.reveal {
    opacity: 1;
    transform: none;
  }
}

/* Secteurs ----------------------------------------------------------------- */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 20px;
}

.sector-grid--large {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 28px;
}

.sector-grid--three {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.sector-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  color: var(--text);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.section--soft .sector-card {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.sector-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

.sector-grid--large .sector-card__media {
  aspect-ratio: 16 / 10;
}

.sector-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 1s var(--ease-out);
}

.sector-card:hover .sector-card__media img {
  transform: scale(1.04);
}

.sector-card__body {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 8px;
  padding: 22px 24px 26px;
}

.sector-grid--large .sector-card__body {
  padding: 28px 32px 34px;
}

.sector-card__body p {
  color: var(--text-2);
}

.sector-card__tone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
}

.sector-card .link-arrow {
  margin-top: 8px;
}

.note {
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
  color: var(--text-2);
}

.note .link-arrow {
  margin-left: 4px;
}

.note + .note {
  margin-top: 12px;
}

/* Page Grenoble : questions fréquentes sous la zone d'intervention */
.local-faq__title {
  margin: clamp(48px, 6vw, 80px) 0 clamp(20px, 2.5vw, 28px);
  text-align: center;
}

/* Offre ------------------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr));
  gap: 20px;
}

.feature {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 30px 26px 32px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.section--soft .feature {
  background: #fff;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.feature p {
  color: var(--text-2);
  font-size: 0.96875rem;
  line-height: 1.55;
}

.statement {
  max-width: 820px;
  margin: clamp(56px, 7vw, 96px) auto 0;
  color: var(--text);
  font-size: clamp(1.3125rem, 1rem + 1.1vw, 1.875rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.024em;
  text-align: center;
  text-wrap: balance;
}

.steps {
  display: grid;
  gap: 20px;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: #fff;
}

.step__num {
  min-width: 1.1ch;
  color: var(--accent);
  font-size: clamp(2.5rem, 1.8rem + 2.4vw, 4.25rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.step__body {
  display: grid;
  gap: 12px;
}

.step__body > p {
  max-width: 640px;
  color: var(--text-2);
}

.step--media {
  grid-template-columns: auto minmax(0, 1fr) 220px;
  align-items: center;
}

.step--browser {
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 440px);
}

.step--media .checklist--compact {
  grid-template-columns: minmax(0, 1fr);
}

.step__media .phone--static {
  width: 210px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .step--media,
  .step--browser {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .step__media {
    grid-column: 2;
  }

  .step__media .phone--static {
    margin: 8px 0 0;
  }
}

.checklist {
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checklist svg {
  flex: none;
  margin-top: 0.3em;
  color: var(--accent);
}

.section--dark .checklist svg {
  color: var(--accent-on-dark);
}

.checklist--compact {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 10px 28px;
  margin-top: 8px;
  font-size: 0.96875rem;
}

.checklist--two {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 14px 28px;
}

.checklist--large {
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.checklist--large li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.016em;
}

.panel {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  background: var(--surface-dark);
}

.panel li {
  color: var(--on-dark);
}

.point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.point__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.section--dark .point__icon {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.point h3 {
  margin-bottom: 4px;
}

.point p {
  color: var(--text-2);
}

.section--dark .point p {
  color: var(--on-dark-2);
}

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px 40px;
  max-width: 900px;
  margin: clamp(48px, 6vw, 80px) auto 0;
}

.admin-shot {
  max-width: 1040px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(30px, 3.5vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.card--white {
  background: #fff;
}

.card__icon {
  margin-bottom: 10px;
  color: var(--accent);
}

.card p {
  color: var(--text-2);
}

/* Étapes numérotées (création du site) */
.card-grid--steps {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.card .h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem);
  text-wrap: pretty;
}

.principles {
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
}

.principles li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.3125rem, 1.05rem + 1vw, 1.875rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1040px;
  margin-inline: auto;
}

.benefit {
  flex: 1 1 300px;
  max-width: 336px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  font-weight: 500;
  line-height: 1.45;
}

.benefit__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

/* Comparatif ----------------------------------------------------------- */

.comparison {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
}

.comparison__table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.96875rem;
  line-height: 1.45;
}

.comparison__table th,
.comparison__table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison__table thead th {
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
}

.comparison__table tbody th {
  width: 22%;
  font-weight: 600;
}

.comparison__table td {
  color: var(--text-2);
}

.comparison__table .is-ours {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 500;
}

.comparison__table thead .is-ours {
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 700;
}

.ours-cell {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ours-cell svg {
  flex: none;
  margin-top: 0.2em;
  color: var(--accent);
}

.comparison__table tbody tr:last-child > * {
  border-bottom: 0;
}

@media (max-width: 760px) {
  .comparison {
    overflow: visible;
    background: none;
    box-shadow: none;
  }

  .comparison__table,
  .comparison__table tbody,
  .comparison__table tr,
  .comparison__table th,
  .comparison__table td {
    display: block;
    width: auto;
    min-width: 0;
  }

  .comparison__table thead {
    display: none;
  }

  .comparison__table tr {
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 0 0 1px var(--line);
  }

  .comparison__table tbody th {
    width: auto;
    padding: 20px 20px 8px;
    border: 0;
    font-size: 1.0625rem;
  }

  .comparison__table td {
    display: grid;
    grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
    gap: 14px;
    padding: 12px 20px;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .comparison__table td::before {
    content: attr(data-label);
    color: var(--text-3);
    font-size: 0.8125rem;
    font-weight: 500;
  }

  .comparison__table td.is-ours::before {
    color: var(--accent);
    font-weight: 700;
  }

  .comparison__table tbody tr:last-child > * {
    border-top: 1px solid var(--line);
  }

  .comparison__table tbody tr:last-child > th {
    border-top: 0;
  }
}

/* Page secteur --------------------------------------------------------------- */

.tone {
  font-size: clamp(2rem, 1.35rem + 2.7vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background: #fff;
}

.callout h2 {
  margin-bottom: 6px;
}

.callout p {
  color: var(--text-2);
}

.callout .btn--secondary {
  background: var(--bg-soft);
}

.callout .btn--secondary:hover {
  background: #e8e8ed;
  box-shadow: none;
}

.callout__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 720px) {
  .callout {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }
}

/* Pages intérieures ------------------------------------------------------- */

.page-hero {
  padding-top: clamp(64px, 2.5rem + 6vw, 144px);
  padding-bottom: clamp(56px, 2.5rem + 5vw, 120px);
}

.page-hero__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.page-hero__inner .display {
  max-width: 14em;
}

.page-hero__lead {
  max-width: 680px;
}

.page-hero .actions {
  margin-top: 14px;
}

.page-hero--compact {
  padding-bottom: clamp(40px, 4vw, 64px);
}

.page-hero--compact .display {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
}

.page-hero--sector {
  overflow: hidden;
  padding-bottom: clamp(80px, 4rem + 5vw, 144px);
}

.page-hero--sector .devices {
  margin-top: clamp(56px, 3rem + 4vw, 104px);
}

.page-hero--error {
  min-height: 60vh;
  display: grid;
  align-content: center;
}

/* Réalisations ---------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr));
  gap: clamp(36px, 4vw, 56px) 28px;
}

.project-card {
  display: grid;
  align-content: start;
  gap: 20px;
}

.project-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .project-grid--single .project-card {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
    gap: clamp(32px, 4vw, 64px);
  }
}

.project-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: 0 0 0 1px var(--line);
  cursor: zoom-in;
}

.section--soft .project-card__media {
  background: #fff;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1s var(--ease-out);
}

.project-card__media:hover > img {
  transform: scale(1.03);
}

.project-card__phone {
  position: absolute;
  right: 4%;
  bottom: 7%;
  width: 18%;
  aspect-ratio: 390 / 844;
  padding: 1%;
  border-radius: 16% / 7.4%;
  background: #1d1d1f;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.45);
  transition: transform 0.8s var(--ease-out);
}

.project-card__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 13% / 6%;
}

.project-card__media:hover .project-card__phone {
  transform: translateY(-6px);
}

.project-card__body {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.project-card__body p {
  color: var(--text-2);
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 0.875rem;
}

.empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 72px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  color: var(--text-2);
  text-align: center;
}

.empty__icon {
  color: var(--text-3);
}

.lightbox {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.64);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox[open] {
  animation: lightbox-in 0.4s var(--ease-out);
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

.lightbox__panel {
  position: relative;
}

.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.72);
  color: #fff;
  cursor: pointer;
}

.lightbox__media {
  background: var(--bg-soft);
}

.lightbox__media {
  position: relative;
}

.lightbox__media > img {
  width: 100%;
  height: auto;
}

.lightbox__phone {
  position: absolute;
  right: 4%;
  bottom: 6%;
  width: 17%;
  aspect-ratio: 390 / 844;
  padding: 0.9%;
  border-radius: 16% / 7.4%;
  background: #1d1d1f;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.5);
}

.lightbox__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 13% / 6%;
}

.lightbox__body {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 24px 28px 30px;
}

.lightbox__body p:not(.project-card__meta) {
  color: var(--text-2);
}

/* FAQ ------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  transition: transform 0.35s var(--ease-out), background-color 0.2s var(--ease);
}

.faq__item summary:hover .faq__icon {
  background: #e8e8ed;
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 60px 28px 0;
}

.faq__more {
  margin-top: 44px;
  color: var(--text-2);
  text-align: center;
}

/* Texte riche (pages légales, réponses) ------------------------------------ */

.prose {
  color: var(--text-2);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2 {
  margin-top: 2.2em;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.022em;
}

.prose h3,
.prose h4 {
  margin-top: 1.8em;
  color: var(--text);
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.016em;
}

.prose > :first-child {
  margin-top: 0;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose ul {
  padding-left: 1.2em;
  list-style: disc;
}

.prose ol {
  padding-left: 1.4em;
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: 2em;
}

.prose mark.todo {
  padding: 1px 7px;
  border-radius: 6px;
  background: #fff3d6;
  color: #8a5300;
  font-size: 0.9em;
  font-weight: 500;
}

/* Contact --------------------------------------------------------------- */

.contact {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}

@media (min-width: 960px) {
  .contact {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
  }

  .contact--single {
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
  }
}

.contact__form {
  padding: clamp(24px, 4.5vw, 52px);
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

@media (max-width: 640px) {
  .form__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.form__field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form label {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
}

.optional {
  margin-left: 4px;
  color: var(--text-3);
  font-weight: 400;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(43, 89, 255, 0.16);
}

.form ::placeholder {
  color: #a1a1a6;
}

.has-error input,
.has-error textarea {
  border-color: var(--danger);
}

.form__error {
  color: var(--danger);
  font-size: 0.875rem;
}

.form__alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 13px 16px;
  border-radius: 12px;
  background: #fff1f0;
  color: #b42318;
  font-size: 0.9375rem;
}

.form__alert svg {
  flex: none;
}

.select {
  position: relative;
}

.select select {
  padding-right: 46px;
  cursor: pointer;
}

.select svg {
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--text-2);
  pointer-events: none;
  transform: translateY(-50%);
}

.form__modules {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form__modules legend {
  margin-bottom: 10px;
  padding: 0;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check {
  position: relative;
  cursor: pointer;
}

.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 980px;
  background: #fff;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.check span svg {
  width: 0;
  opacity: 0;
  transition: width 0.2s var(--ease), opacity 0.2s var(--ease);
}

.check:hover span {
  border-color: var(--text-3);
}

.check input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.check input:checked + span svg {
  width: 14px;
  opacity: 1;
}

.check input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 30px;
}

.form__privacy {
  flex: 1 1 240px;
  color: var(--text-3);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.form__privacy a {
  color: var(--text-2);
  text-decoration: underline;
}

.success {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 48px 8px;
  text-align: center;
}

.success p {
  max-width: 440px;
  color: var(--text-2);
}

.success__icon {
  color: var(--success);
}

.contact__info {
  display: grid;
  gap: 32px;
  padding-top: 8px;
}

.info-list {
  display: grid;
  gap: 24px;
}

.info-list li {
  display: flex;
  gap: 16px;
}

.info-list li > div {
  display: grid;
  justify-items: start;
  gap: 2px;
  min-width: 0;
}

.info-list__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--text);
}

.info-list__label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 0.8125rem;
  font-weight: 500;
}

.info-list a:not(.link-arrow) {
  color: var(--text);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.info-list address {
  font-style: normal;
}

.info-list .link-arrow {
  margin-top: 4px;
  font-size: 0.9375rem;
}

.hours dl {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.hours dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.hours dt {
  color: var(--text-2);
}

.hours dd {
  font-weight: 500;
  text-align: right;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text);
  transition: background-color 0.2s var(--ease);
}

.socials a:hover {
  background: #e8e8ed;
  text-decoration: none;
}

.socials--labelled a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  padding: 0 16px 0 12px;
  border-radius: 980px;
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Appel à l'action ---------------------------------------------------------- */

.cta {
  padding-top: var(--section);
  padding-bottom: clamp(64px, 3rem + 4vw, 120px);
}

.section:not(.section--soft):not(.section--dark) + .cta {
  padding-top: 0;
}

.cta__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(56px, 3rem + 5vw, 120px) clamp(24px, 5vw, 80px);
  border-radius: var(--radius-xl);
  background: radial-gradient(120% 120% at 50% 0%, #eef1ff 0%, var(--bg-soft) 58%);
  text-align: center;
}

.cta__inner .lead {
  max-width: 620px;
}

.cta .actions {
  margin-top: 16px;
}

/* Type de demande et contact rapide ------------------------------------------ */

.segmented {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 24px;
  padding: 4px;
  border: 0;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.055);
}

.segmented label {
  position: relative;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 980px;
  color: #55555a;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.segmented input:checked + span {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.segmented input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .segmented {
    display: flex;
    min-inline-size: 0;
  }

  .segmented label {
    flex: 1 1 0;
    min-width: 0;
  }

  .segmented span {
    width: 100%;
    height: 100%;
    padding: 6px 10px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 400px) {
  .segmented svg {
    display: none;
  }
}

.quick-contact {
  padding-top: var(--section);
  padding-bottom: clamp(64px, 3rem + 4vw, 120px);
}

.section:not(.section--soft):not(.section--dark) + .quick-contact {
  padding-top: 0;
}

.quick-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(24px, 5vw, 72px);
  border-radius: var(--radius-xl);
  background: radial-gradient(120% 120% at 0% 0%, #eef1ff 0%, var(--bg-soft) 55%);
}

@media (min-width: 960px) {
  .quick-contact__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: start;
  }
}

.quick-contact__intro {
  display: grid;
  align-content: start;
  gap: 16px;
}

.quick-contact__links {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.quick-contact__links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
}

.quick-contact__links svg {
  flex: none;
  color: var(--accent);
}

.quick-contact__form {
  padding: clamp(22px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.quick-contact__form .segmented {
  background: var(--bg-soft);
}

.quick-contact__form .success {
  padding: 32px 8px;
}

/* Pied de page -------------------------------------------------------------- */

.site-footer {
  padding: clamp(48px, 6vw, 72px) 0 32px;
  background: var(--bg-soft);
  color: var(--text-2);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.site-footer__top {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  }
}

.site-footer__brand {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 16px;
  max-width: 340px;
}

.site-footer__brand .logo {
  font-size: 1.0625rem;
}

.site-footer__brand .logo__mark {
  width: 24px;
  height: 24px;
}

.site-footer .socials a {
  background: #fff;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
}

.site-footer__title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
}

.site-footer ul {
  display: grid;
  gap: 10px;
}

.site-footer__nav a,
.site-footer__bottom a {
  color: var(--text-2);
}

.site-footer__nav a:hover,
.site-footer__bottom a:hover {
  color: var(--text);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
}

.site-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* Animations d'apparition -------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js:not(.reveal-ready) .reveal {
  animation: reveal-fallback 0s 2.5s forwards;
}

@keyframes reveal-fallback {
  to {
    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;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Petits écrans ------------------------------------------------------------- */

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  /* Cartes secteurs : défilement horizontal, comme une galerie. */
  .sector-grid:not(.sector-grid--large) {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 300px);
    gap: 14px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .sector-grid:not(.sector-grid--large)::-webkit-scrollbar {
    display: none;
  }

  .sector-grid:not(.sector-grid--large) .sector-card {
    scroll-snap-align: start;
  }

  /* Dans le carrousel, les cartes hors écran restent visibles pendant le glissement. */
  .js .sector-grid:not(.sector-grid--large) .sector-card.reveal {
    opacity: 1;
    transform: none;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  }

  .feature {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 4px;
    padding: 22px 20px;
  }

  .feature__icon {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }

  .pillar {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 24px 0;
  }

  .step,
  .step--media,
  .step--browser {
    grid-template-columns: minmax(0, 1fr);
  }

  .step__media {
    grid-column: auto;
  }

  .step__media .phone--static {
    width: min(70%, 230px);
    margin: 8px auto 0;
  }

  .faq__answer {
    padding-right: 0;
  }

  .browser__bar {
    gap: 8px;
  }

  .browser__address {
    transform: none;
  }

  .devices--hero {
    padding-right: 10%;
  }

  .phone {
    width: 26%;
    min-width: 0;
  }
}

@media print {
  .site-header,
  .notice,
  .cta,
  .site-footer,
  .showcase__tabs {
    display: none !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Blog ------------------------------------------------------------------- */

.blog-filters {
  margin-bottom: 48px;
}

.chip[aria-current='page'] {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.post-card__link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 28px;
  color: inherit;
  text-decoration: none;
}

.post-card__image {
  width: calc(100% + 56px);
  max-width: none;
  margin: -28px -28px 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--text-3);
  font-size: 0.875rem;
}

.post-card__category {
  color: var(--accent);
  font-weight: 600;
}

.post-card__title {
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.018em;
}

.post-card__excerpt {
  margin: 0;
  color: var(--text-2);
  font-size: 0.9875rem;
  line-height: 1.6;
}

.post-card .link-arrow {
  margin-top: auto;
}

.blog-empty {
  color: var(--text-2);
  text-align: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 56px;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.preview-banner {
  margin: 0;
  padding: 10px var(--gutter);
  background: #fff3d6;
  color: #6b4100;
  font-size: 0.9375rem;
  text-align: center;
}

.post__head {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: 32px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 0.875rem;
}

.breadcrumb li + li::before {
  content: '›';
  margin: 0 8px;
}

.breadcrumb li[aria-current] {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb a {
  color: inherit;
}

.display--post {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.1;
}

.post__lead {
  margin-top: 20px;
}

.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  margin-top: 24px;
  color: var(--text-3);
  font-size: 0.9375rem;
}

.post__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post__cover {
  margin-top: 40px;
}

.post__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.toc {
  margin: 8px 0 40px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.toc__title {
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 650;
}

.toc ol {
  margin: 0;
  padding-left: 1.3em;
  color: var(--text-2);
  line-height: 1.5;
}

.toc li + li {
  margin-top: 6px;
}

.toc a {
  color: inherit;
}

.toc a:hover {
  color: var(--accent);
}

.prose--post {
  max-width: 70ch;
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.75;
}

.prose--post p,
.prose--post li {
  color: #333336;
}

.prose--post h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.prose th,
.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 600;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.post__faq {
  margin-top: 64px;
}

.post__faq .h3 {
  margin-bottom: 20px;
}

.post__cta {
  margin: 64px 0 clamp(64px, 8vw, 120px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.post__cta p {
  margin: 12px 0 24px;
  color: var(--text-2);
}

.related__title {
  margin-bottom: 40px;
}
