/* ==========================================================================
   Polices auto-hébergées (Cormorant Garamond + Jost)
   Aucun appel à un CDN externe : chargement plus rapide et pas de transfert
   d'adresse IP des visiteurs vers un tiers.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/jost-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/jost-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/jost-latin-600-normal.woff2") format("woff2");
}

/* ==========================================================================
   ALPINEA SERVICES — Design system
   Palette crème / charbon, composition en cartes ("bulles"), typo éditoriale.
   ========================================================================== */

:root {
  /* Couleurs */
  --cream: #efeae2;
  --cream-2: #e5dfd4;
  --panel: #fbf9f5;
  --panel-2: #f4f1ea;
  --ink: #14120f;
  --ink-2: #2b2721;
  --muted: #6e675c;
  --line: rgba(20, 18, 15, 0.12);
  --line-strong: rgba(20, 18, 15, 0.2);
  --line-light: rgba(255, 255, 255, 0.16);
  --accent: #23485f;
  --accent-2: #2f6180;
  --accent-soft: rgba(35, 72, 95, 0.08);
  --blue: #2a6f9e;
  --blue-bright: #3d8fc4;
  --blue-soft: rgba(42, 111, 158, 0.1);

  /* Rythme */
  --gutter: clamp(10px, 1.1vw, 18px);
  --pad: clamp(26px, 3.2vw, 60px);
  --pad-lg: clamp(34px, 4.4vw, 84px);

  /* Formes */
  --r-lg: clamp(20px, 1.9vw, 32px);
  --r-md: clamp(16px, 1.4vw, 22px);
  --r-sm: 14px;

  /* Mouvement */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --dur: 820ms;

  /* Typo */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.004em;
  text-wrap: balance;
}

/* Aux très grandes tailles, la graisse fine redevient la plus élégante */
.hero-overlay h1,
.subpage-hero h1 {
  font-weight: 400;
}

::selection {
  background: var(--ink);
  color: var(--cream);
}

/* Grain léger sur toute la page ------------------------------------------- */
body::after {
  position: fixed;
  inset: 0;
  z-index: 9998;
  content: "";
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Barre de progression de lecture ----------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--blue-bright));
  pointer-events: none;
}

/* ==========================================================================
   Structure
   ========================================================================== */

.page-shell {
  min-height: 100vh;
  padding: 0;
  background: var(--cream);
}

.site-board {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: block;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.left-column,
.right-column {
  min-width: 0;
}

.left-column {
  position: relative;
}

.right-column {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
  margin-top: 0;
  padding: 0 var(--gutter) var(--gutter);
}

.content-flow {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
  padding: var(--gutter);
}

.inner-page {
  background: var(--cream);
}

.inner-page .content-flow {
  padding-top: calc(var(--gutter) + 76px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.topbar {
  position: fixed;
  top: var(--gutter);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 200;
  height: 62px;
  margin: 0;
  padding: 0 10px 0 22px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 18px;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition:
    background 620ms var(--ease),
    border-color 620ms var(--ease),
    box-shadow 620ms var(--ease),
    color 480ms var(--ease),
    transform 620ms var(--ease);
}

/* Sur les héros sombres, la nav démarre en blanc */
.topbar.on-dark {
  color: #fff;
}

.topbar.is-pinned {
  background: rgba(251, 249, 245, 0.82);
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(20, 18, 15, 0.08);
  backdrop-filter: blur(18px) saturate(1.4);
  color: var(--ink);
}

.topbar.is-hidden {
  transform: translateY(calc(-100% - var(--gutter) - 6px));
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand span {
  font-weight: 400;
  opacity: 0.62;
}

.navlinks {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.navlinks a {
  position: relative;
  padding: 6px 2px;
  display: inline-flex;
  align-items: center;
  opacity: 0.62;
  transition:
    opacity 420ms var(--ease),
    transform 420ms var(--ease);
}

.navlinks a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 520ms var(--ease);
}

.navlinks a:hover,
.navlinks a.is-active {
  opacity: 1;
}

.navlinks a:hover::after,
.navlinks a.is-active::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

/* Bouton menu (petites largeurs) ------------------------------------------ */
.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 420ms var(--ease);
}

.nav-toggle span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: currentColor;
  transition: transform 420ms var(--ease), opacity 320ms var(--ease);
}

body.nav-open .nav-toggle span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ==========================================================================
   Boutons
   ========================================================================== */

.nav-cta,
.button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition:
    color 520ms var(--ease),
    border-color 520ms var(--ease),
    background 520ms var(--ease),
    transform 520ms var(--ease);
}

.nav-cta::before,
.button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 620ms var(--ease);
}

.nav-cta:hover::before,
.button:hover::before {
  transform: translateY(0);
}

/* CTA de la barre de navigation */
.nav-cta {
  justify-self: end;
  min-height: 42px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--cream);
}

.nav-cta::before {
  background: var(--accent);
}

.topbar.on-dark:not(.is-pinned) .nav-cta {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(14px);
}

.topbar.on-dark:not(.is-pinned) .nav-cta::before {
  background: #fff;
}

.topbar.on-dark:not(.is-pinned) .nav-cta:hover {
  color: var(--ink);
  border-color: #fff;
}

/* Bouton principal */
.button.primary {
  background: var(--ink);
  color: var(--cream);
}

.button.primary::before {
  background: var(--accent);
}

.button.primary:hover {
  color: #fff;
}

/* Bouton secondaire / fantôme */
.button.ghost {
  min-height: 46px;
  padding: 0 26px;
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
  text-decoration: none;
}

.button.ghost::before {
  background: var(--ink);
}

.button.ghost:hover {
  border-color: var(--ink);
  color: var(--cream);
}

/* Sur fond sombre, le fantôme s'inverse vers le clair */
.hero-overlay .button.ghost,
.subpage-hero .button.ghost,
.steps-panel .button.ghost,
.cta-photo .button.ghost,
.section-panel.blue .button.ghost,
.section-panel.dark .button.ghost {
  border-color: rgba(255, 255, 255, 0.44);
  color: #fff;
}

.hero-overlay .button.ghost::before,
.subpage-hero .button.ghost::before,
.steps-panel .button.ghost::before,
.cta-photo .button.ghost::before,
.section-panel.blue .button.ghost::before,
.section-panel.dark .button.ghost::before {
  background: #fff;
}

.hero-overlay .button.ghost:hover,
.subpage-hero .button.ghost:hover,
.steps-panel .button.ghost:hover,
.cta-photo .button.ghost:hover,
.section-panel.blue .button.ghost:hover,
.section-panel.dark .button.ghost:hover {
  color: var(--ink);
  border-color: #fff;
}

.button.compact {
  width: fit-content;
}

.button:focus-visible,
.nav-cta:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================================================================
   Étiquettes
   ========================================================================== */

.pill-label {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: none;
}

.pill-label::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--blue);
  opacity: 1;
}

.pill-label.light::before,
.hero-overlay .pill-label::before,
.subpage-hero .pill-label::before,
.section-panel.blue .pill-label::before,
.section-panel.dark .pill-label::before {
  background: var(--blue-bright);
}

.pill-label.dark {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.pill-label.light,
.hero-overlay .pill-label,
.subpage-hero .pill-label {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

/* ==========================================================================
   Héros — page d'accueil
   ========================================================================== */

.hero-card {
  position: relative;
  height: calc(100svh - (var(--gutter) * 2));
  min-height: 560px;
  max-height: none;
  margin: var(--gutter);
  overflow: hidden;
  border-radius: var(--r-lg);
  background-image:
    linear-gradient(180deg, rgba(12, 11, 9, 0.46), rgba(12, 11, 9, 0.2) 40%, rgba(12, 11, 9, 0.82)),
    url("assets/hero-chalet.jpg");
  background-size: cover;
  background-position: center center;
}

.hero-card::after {
  display: none;
}

.hero-overlay {
  position: absolute;
  left: var(--pad-lg);
  right: var(--pad-lg);
  bottom: var(--pad-lg);
  z-index: 2;
  width: auto;
  max-width: 1100px;
  color: #fff;
}

.hero-overlay h1 {
  max-width: 15ch;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6.4vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.032em;
}

.hero-overlay p:not(.pill-label) {
  max-width: 54ch;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Indice de défilement */
.hero-scroll {
  position: absolute;
  right: var(--pad-lg);
  bottom: var(--pad-lg);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-scroll i {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
  animation: scrollHint 2.4s var(--ease-soft) infinite;
}

@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: 0 0; }
  45% { transform: scaleY(1); transform-origin: 0 0; }
  55% { transform: scaleY(1); transform-origin: 0 100%; }
  100% { transform: scaleY(0); transform-origin: 0 100%; }
}

/* Révélation du titre mot à mot */
.split-line {
  display: block;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
  overflow: hidden;
}

.split-word {
  display: inline-block;
  transform: translateY(110%) rotate(2.4deg);
  opacity: 0;
  transition:
    transform 1080ms var(--ease),
    opacity 1080ms var(--ease);
  transition-delay: var(--word-delay, 0ms);
}

.is-revealed .split-word {
  transform: translateY(0) rotate(0);
  opacity: 1;
}

/* ==========================================================================
   Bandeau défilant
   ========================================================================== */

.marquee {
  position: relative;
  margin: 0;
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  padding-right: 42px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 30px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.marquee span::after {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.9;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Bloc « à propos »
   ========================================================================== */

.about-row {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: var(--gutter);
  margin-top: 0;
  padding: var(--gutter);
  background: transparent;
}

.inner-page .about-row {
  padding: 0;
}

.about-card {
  min-height: clamp(440px, 46vw, 660px);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
}

.about-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.about-kicker .pill-label {
  margin: 0;
}

.about-kicker span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.about-card h2 {
  max-width: 18ch;
  margin: 18px 0 0;
  font-size: clamp(30px, 3.1vw, 54px);
  line-height: 1.04;
}

.about-card p,
.about-lead {
  max-width: 56ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(14.5px, 0.95vw, 17px);
  font-weight: 400;
  line-height: 1.68;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: clamp(26px, 2.4vw, 42px) 0 clamp(26px, 2.4vw, 40px);
  padding: 0;
  list-style: none;
}

.feature-list li {
  min-height: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: transparent;
  transition:
    background 620ms var(--ease),
    border-color 620ms var(--ease),
    transform 620ms var(--ease);
}

.feature-list li:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--panel-2);
}

.feature-list strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.004em;
}

.feature-list span {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
}

.image-card {
  position: relative;
  min-height: clamp(440px, 46vw, 660px);
  overflow: hidden;
  border-radius: var(--r-lg);
  background-size: cover;
  background-position: center;
}

.image-card::after {
  display: none;
}

.image-card.mountain {
  background-image: url("assets/about-textiles.jpg");
  background-position: center;
}

/* ==========================================================================
   Cartes services (accueil)
   ========================================================================== */

.mini-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: stretch;
}

.mini-card {
  position: relative;
  min-height: clamp(320px, 30vw, 500px);
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transform-origin: center;
  transition:
    transform 900ms var(--ease),
    box-shadow 900ms var(--ease);
  will-change: transform;
}

.mini-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.06) 30%, rgba(12, 11, 9, 0.78));
  transition: background 900ms var(--ease);
}

.mini-card::after {
  display: none;
}

.mini-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(20, 18, 15, 0.18);
}

.mini-card:hover::before {
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.1) 20%, rgba(12, 11, 9, 0.86));
}

.mini-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.mini-card > div {
  position: absolute;
  left: clamp(20px, 1.7vw, 32px);
  right: clamp(20px, 1.7vw, 32px);
  bottom: clamp(20px, 1.7vw, 30px);
  z-index: 2;
  color: #fff;
  transition: transform 900ms var(--ease);
}

.mini-card:hover > div {
  transform: translateY(-6px);
}

.mini-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 1.9vw, 35px);
  line-height: 1.08;
}

.mini-card p {
  min-height: 0;
  margin: 10px 0 16px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.9;
  transition:
    opacity 620ms var(--ease),
    gap 620ms var(--ease);
}

.service-link::after {
  content: "→";
  font-family: var(--font-body);
  font-size: 14px;
  transition: transform 620ms var(--ease);
}

.mini-card:hover .service-link {
  opacity: 1;
  gap: 14px;
}

.mini-card:hover .service-link::after {
  transform: translateX(3px);
}

.card-clean {
  background-image: url("assets/card-coproprietes.jpg");
}

.card-home {
  background-image: url("assets/card-locaux.jpg");
}

.card-snow {
  background-image: url("assets/card-deneigement.jpg");
}

/* ==========================================================================
   Panneau « étapes »
   ========================================================================== */

.steps-panel {
  position: relative;
  min-height: clamp(520px, 62vh, 780px);
  padding: var(--pad-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.steps-panel::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: radial-gradient(
    circle at var(--mx, 30%) var(--my, 30%),
    rgba(255, 255, 255, 0.07),
    transparent 42%
  );
  opacity: 0;
  transition: opacity 900ms var(--ease);
}

.steps-panel:hover::before {
  opacity: 1;
}

.steps-panel > * {
  position: relative;
  z-index: 1;
}

.steps-panel h2 {
  max-width: 20ch;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.3vw, 60px);
  line-height: 1.04;
}

.steps-intro {
  max-width: 56ch;
  margin: 18px 0 clamp(34px, 3.4vw, 58px);
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(14.5px, 0.95vw, 17px);
  font-weight: 400;
  line-height: 1.68;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  overflow: hidden;
}

.steps-grid article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: clamp(22px, 2vw, 32px);
  background: var(--ink);
  transition: background 620ms var(--ease);
}

.steps-grid article:hover {
  background: #1c1915;
}

.steps-grid span {
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  padding-top: 5px;
}

.steps-grid h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(19px, 1.3vw, 25px);
  font-weight: 600;
  line-height: 1.22;
}

.steps-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

/* Fond vidéo éventuel */
.steps-video-bg,
.steps-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.steps-video-bg {
  z-index: 0;
  overflow: hidden;
  background: var(--ink);
}

.steps-video-bg video {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  filter: saturate(0.8) contrast(1.04) brightness(0.5);
  transition:
    opacity 1600ms ease,
    transform 8000ms var(--ease-soft);
}

.steps-video-bg video.is-active {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   Panneaux de contenu
   ========================================================================== */

.section-panel {
  position: relative;
  min-height: 0;
  padding: var(--pad-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  transition:
    border-color 900ms var(--ease),
    box-shadow 900ms var(--ease);
}

.section-panel::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    var(--accent-soft),
    transparent 34%
  );
  opacity: 0;
  transition: opacity 900ms var(--ease);
}

.section-panel:hover::before {
  opacity: 1;
}

.section-panel:hover {
  border-color: var(--line-strong);
}

.section-panel.blue {
  background: linear-gradient(152deg, #2b5a76 0%, var(--accent) 54%, #1d3d52 100%);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section-panel.blue::before {
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.09),
    transparent 34%
  );
}

.section-panel.dark {
  background: var(--ink);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.section-panel.dark::before {
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.07),
    transparent 34%
  );
}

.section-panel > * {
  position: relative;
  z-index: 1;
}

.section-panel.blue h2,
.section-panel.dark h2,
.section-panel.blue h3,
.section-panel.dark h3 {
  color: #fff;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: clamp(24px, 3vw, 64px);
  align-items: end;
  margin-bottom: clamp(30px, 3vw, 54px);
  padding-bottom: clamp(24px, 2.4vw, 40px);
  border-bottom: 1px solid var(--line);
}

.section-panel.blue .section-header,
.section-panel.dark .section-header {
  border-bottom-color: var(--line-light);
}

.section-header h2 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(28px, 2.9vw, 52px);
  line-height: 1.06;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 0.92vw, 16.5px);
  font-weight: 400;
  line-height: 1.7;
}

.section-panel.blue .section-header p,
.section-panel.dark .section-header p,
.section-panel.blue .benefit-card p,
.section-panel.dark .benefit-card p,
.section-panel.blue .process-list p,
.section-panel.dark .process-list p,
.section-panel.blue .metric p,
.section-panel.dark .metric p,
.section-panel.blue .metric span,
.section-panel.dark .metric span,
.section-panel.blue .faq-item p,
.section-panel.dark .faq-item p {
  color: rgba(255, 255, 255, 0.68);
}

/* Grille d'atouts ---------------------------------------------------------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.benefit-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-card {
  min-height: 0;
  padding: clamp(24px, 2.2vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: transparent;
  box-shadow: none;
  transition:
    transform 700ms var(--ease),
    background 700ms var(--ease),
    border-color 700ms var(--ease);
}

.section-panel.blue .benefit-card,
.section-panel.dark .benefit-card {
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.04);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: var(--panel-2);
  box-shadow: none;
}

.section-panel.blue .benefit-card:hover,
.section-panel.dark .benefit-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.benefit-card span,
.metric span {
  display: block;
  margin-bottom: clamp(22px, 2.2vw, 38px);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-panel.blue .benefit-card span,
.section-panel.dark .benefit-card span {
  color: rgba(255, 255, 255, 0.44);
}

.benefit-card h3 {
  margin: 0;
  font-size: clamp(21px, 1.45vw, 29px);
  line-height: 1.16;
}

.benefit-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.62;
}

.benefit-card > div {
  display: contents;
}

/* Chiffres clés ----------------------------------------------------------- */

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  min-height: 0;
  padding: clamp(24px, 2.2vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: transparent;
  transition:
    transform 700ms var(--ease),
    border-color 700ms var(--ease),
    background 700ms var(--ease);
}

.metric:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: var(--panel-2);
  box-shadow: none;
}

.section-panel.blue .metric,
.section-panel.dark .metric {
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.04);
}

.metric strong {
  display: block;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(38px, 3.6vw, 68px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--blue);
}

.section-panel.blue .metric strong,
.section-panel.dark .metric strong {
  color: var(--blue-bright);
}

.metric span {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
  color: var(--muted);
}

.metric p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

/* Liste de process -------------------------------------------------------- */

.process-list {
  display: grid;
  gap: 10px;
  counter-reset: process;
}

.process-list article {
  position: relative;
  min-height: 0;
  padding: clamp(22px, 2vw, 32px);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: transparent;
  transition:
    transform 700ms var(--ease),
    background 700ms var(--ease),
    border-color 700ms var(--ease);
}

.section-panel.dark .process-list article,
.section-panel.blue .process-list article {
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.04);
}

.process-list article:hover {
  transform: translateX(6px);
  border-color: var(--line-strong);
  background: var(--panel-2);
}

.section-panel.blue .process-list article:hover,
.section-panel.dark .process-list article:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.process-list article::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 1.9;
}

.section-panel.dark .process-list article::before,
.section-panel.blue .process-list article::before {
  color: rgba(255, 255, 255, 0.44);
}

.process-list h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 1.35vw, 27px);
  line-height: 1.2;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.62;
}

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

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.faq-item {
  padding: clamp(24px, 2.2vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: transparent;
  transition:
    transform 700ms var(--ease),
    background 700ms var(--ease),
    border-color 700ms var(--ease);
}

.section-panel.dark .faq-item,
.section-panel.blue .faq-item {
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.04);
}

.faq-item:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: var(--panel-2);
}

.section-panel.dark .faq-item:hover,
.section-panel.blue .faq-item:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.faq-item h3 {
  margin: 0 0 12px;
  font-size: clamp(19px, 1.3vw, 25px);
  font-weight: 600;
  line-height: 1.26;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.62;
}

/* ==========================================================================
   Bandeau photo d'appel
   ========================================================================== */

.cta-photo {
  position: relative;
  min-height: clamp(460px, 58vh, 700px);
  overflow: hidden;
  border-radius: var(--r-lg);
  background-image:
    linear-gradient(180deg, rgba(12, 11, 9, 0.14), rgba(12, 11, 9, 0.7)),
    url("assets/cta-banner.jpg");
  background-size: cover;
  background-position: center;
}

.cta-photo::before,
.cta-photo::after {
  display: none;
}

.cta-photo > div {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: var(--pad);
  z-index: 2;
  max-width: 620px;
  color: #fff;
}

.cta-photo h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 2.8vw, 52px);
  line-height: 1.06;
}

.cta-photo p {
  margin: 16px 0 26px;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

/* ==========================================================================
   Pages internes
   ========================================================================== */

.subpage-hero {
  position: relative;
  min-height: clamp(460px, 62svh, 720px);
  padding: var(--pad-lg);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  border-radius: var(--r-lg);
  background-size: cover;
  background-position: center;
}

.subpage-hero.has-video {
  width: 100%;
  margin: 0;
  border-radius: var(--r-lg);
}

.subpage-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.56), rgba(12, 11, 9, 0.32) 40%, rgba(12, 11, 9, 0.86));
}

.subpage-hero > div {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.subpage-hero .hero-video-bg,
.subpage-hero .hero-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Le visuel de la section reste visible si la vidéo ne se charge pas */
.subpage-hero .hero-video-bg {
  z-index: 0;
  overflow: hidden;
  max-width: none;
  background: transparent;
}

.subpage-hero .hero-video-bg video {
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}

.subpage-hero h1 {
  max-width: 17ch;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5.2vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.subpage-hero p:not(.pill-label) {
  max-width: 54ch;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(15px, 1.02vw, 18px);
  font-weight: 400;
  line-height: 1.62;
}

.subpage-hero.about-visual {
  background-image: url("assets/card-coproprietes.jpg");
}

.subpage-hero.services-visual {
  background-image: url("assets/cta-banner.jpg");
}

.subpage-hero.contact-visual {
  background-image: url("assets/card-locaux.jpg");
}

.subpage-hero.method-visual {
  background-image: url("assets/hero-chalet.jpg");
}

/* Grille de services ------------------------------------------------------ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.service-panel {
  min-height: clamp(320px, 34vh, 440px);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  transition:
    transform 700ms var(--ease),
    border-color 700ms var(--ease),
    background 700ms var(--ease);
}

.service-panel:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: #fff;
}

.service-panel h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(26px, 2.05vw, 39px);
  line-height: 1.12;
}

.service-panel p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.65;
}

/* Cas d'usage ------------------------------------------------------------- */

.usecase-panel {
  min-height: 0;
  padding: var(--pad-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
}

.usecase-panel h2 {
  max-width: 20ch;
  margin: 6px 0 0;
  font-size: clamp(28px, 2.6vw, 48px);
  line-height: 1.06;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(30px, 3vw, 52px);
}

.usecase-grid article {
  min-height: 0;
  padding: clamp(24px, 2.2vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: transparent;
  transition:
    transform 700ms var(--ease),
    border-color 700ms var(--ease),
    background 700ms var(--ease);
}

.usecase-grid article:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: var(--panel-2);
}

.usecase-grid h3 {
  margin: 0 0 12px;
  font-size: clamp(19px, 1.3vw, 26px);
  font-weight: 600;
  line-height: 1.22;
}

.usecase-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.6;
}

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

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gutter);
}

.contact-card {
  min-height: 0;
  padding: var(--pad);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
}

.contact-card h2 {
  max-width: 18ch;
  margin: 6px 0 0;
  font-size: clamp(26px, 2.5vw, 44px);
  line-height: 1.08;
}

.contact-card p {
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.66;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: clamp(26px, 2.4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 400;
  transition:
    border-color 620ms var(--ease),
    background 620ms var(--ease);
}

.contact-list li:hover {
  border-color: var(--line-strong);
  background: var(--panel-2);
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 420ms var(--ease);
}

.contact-list a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: clamp(26px, 2.4vw, 40px);
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition:
    border-color 480ms var(--ease),
    background 480ms var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(110, 103, 92, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
  background: #fff;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .button {
  margin-top: 6px;
}

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer {
  position: relative;
  margin: clamp(60px, 8vw, 130px) 0 0;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cream);
}

/* Crête de montagne */
.footer-ridge {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
  background: transparent;
}

.footer-ridge svg {
  display: block;
  width: 100%;
  height: clamp(90px, 13vw, 210px);
}

.footer-ridge path {
  fill: var(--ink);
}

.footer-body {
  padding: clamp(20px, 3vw, 40px) var(--pad-lg) clamp(28px, 3vw, 44px);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(0, 0.75fr));
  gap: clamp(30px, 4vw, 76px);
  align-items: start;
}

/* Colonne inscription */
.footer-subscribe h2 {
  margin: 0 0 14px;
  color: var(--cream);
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.04;
}

.footer-subscribe p {
  max-width: 40ch;
  margin: 0 0 24px;
  color: rgba(239, 234, 226, 0.6);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.62;
}

.subscribe-form {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 380px;
  border-bottom: 1px solid rgba(239, 234, 226, 0.28);
  transition: border-color 520ms var(--ease);
}

.subscribe-form:focus-within {
  border-bottom-color: var(--blue-bright);
}

.subscribe-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 400;
}

.subscribe-form input::placeholder {
  color: rgba(239, 234, 226, 0.42);
}

.subscribe-form input:focus {
  outline: none;
}

.subscribe-form button {
  padding: 8px 2px 8px 14px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: transform 520ms var(--ease);
}

.subscribe-form button:hover {
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: rgba(239, 234, 226, 0.5);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-social a {
  transition: color 420ms var(--ease);
}

.footer-social a:hover {
  color: var(--cream);
}

.footer-social i {
  font-style: normal;
  opacity: 0.4;
}

/* Colonnes de liens */
.footer-col h3 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(239, 234, 226, 0.2);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col h3::after {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 1px;
  content: "";
  background: var(--blue-bright);
}

.footer-col a,
.footer-col address,
.footer-col p {
  display: block;
  margin: 0;
  color: rgba(239, 234, 226, 0.62);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 2;
}

.footer-col a {
  width: fit-content;
  transition:
    color 420ms var(--ease),
    transform 420ms var(--ease);
}

.footer-col a:hover {
  color: var(--blue-bright);
  transform: translateX(4px);
}

.footer-col address a {
  margin-top: 2px;
  color: var(--cream);
  border-bottom: 1px solid rgba(239, 234, 226, 0.3);
}

.footer-col .footer-note {
  margin-bottom: 10px;
  max-width: 30ch;
  line-height: 1.6;
}

.footer-col .footer-more {
  width: fit-content;
  color: var(--cream);
  border-bottom: 1px solid rgba(239, 234, 226, 0.4);
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-baseline {
  margin-top: clamp(40px, 5vw, 76px);
  padding-top: 22px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(239, 234, 226, 0.14);
  color: rgba(239, 234, 226, 0.42);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

/* ==========================================================================
   Animations d'apparition
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Apparition en cascade des enfants d'un panneau */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 760ms var(--ease),
    transform 760ms var(--ease);
  transition-delay: var(--child-delay, 0ms);
}

[data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Parallaxe douce sur les visuels */
[data-parallax] {
  will-change: background-position;
}

/* ==========================================================================
   Accessibilité — mouvement réduit
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  [data-stagger] > *,
  .split-word {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none;
  }

  .hero-scroll i {
    animation: none;
  }
}

/* ==========================================================================
   Adaptatif
   ========================================================================== */

@media (max-width: 1180px) {
  .about-row {
    grid-template-columns: 1fr;
  }

  .about-card,
  .image-card {
    min-height: 380px;
  }

  .usecase-grid,
  .service-grid,
  .split-panel,
  .mini-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid,
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }

  .footer-subscribe {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 8px;
    --pad: 26px;
    --pad-lg: 30px;
  }

  .topbar {
    height: 56px;
    padding: 0 8px 0 16px;
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: flex;
  }

  .topbar {
    grid-template-columns: 1fr auto auto;
  }

  .navlinks {
    position: fixed;
    inset: 0;
    z-index: -1;
    justify-self: stretch;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 0 var(--pad-lg);
    background: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(30px, 9vw, 46px);
    letter-spacing: -0.025em;
    text-transform: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 480ms var(--ease);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .navlinks {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .topbar {
    color: var(--cream);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.nav-open .nav-cta {
    display: none;
  }

  .navlinks a {
    padding: 8px 0;
    color: var(--cream);
    opacity: 0.82;
  }

  .navlinks a::after {
    display: none;
  }

  .hero-card {
    height: calc(100svh - (var(--gutter) * 2));
    min-height: 520px;
  }

  .hero-scroll {
    display: none;
  }

  .mini-services,
  .service-grid,
  .usecase-grid,
  .split-panel,
  .benefit-grid,
  .benefit-grid.two,
  .metric-strip,
  .faq-list,
  .steps-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .steps-grid article {
    grid-template-columns: 40px 1fr;
  }

  .process-list article {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .inner-page .content-flow {
    padding-top: calc(var(--gutter) + 68px);
  }
}

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

  :root {
    --gutter: 8px;
    --pad: 24px;
    --pad-lg: 26px;
  }

  .topbar {
    gap: 10px;
    padding: 0 7px 0 14px;
  }

  .brand {
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  /* Le mot « Services » saute pour laisser la place au CTA et au menu */
  .brand span {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-overlay,
  .cta-photo > div {
    left: var(--pad);
    right: var(--pad);
    bottom: var(--pad);
  }

  .hero-overlay h1 {
    font-size: clamp(32px, 10.5vw, 46px);
  }

  .subpage-hero h1 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .hero-actions {
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .about-card,
  .image-card {
    min-height: 300px;
  }

  .mini-card {
    min-height: 260px;
  }

  .cta-photo {
    min-height: 380px;
  }

  .cta-photo .button {
    width: 100%;
  }

  .subpage-hero {
    min-height: 64svh;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-baseline {
    flex-direction: row;
    gap: 10px;
  }

  .marquee span {
    gap: 26px;
    padding-right: 26px;
  }
}

/* Cascade des cartes déjà porteuses de .reveal ----------------------------- */
.mini-services > .reveal:nth-child(2),
.service-grid > .reveal:nth-child(2),
.split-panel > .reveal:nth-child(2) {
  --reveal-delay: 110ms;
}

.mini-services > .reveal:nth-child(3),
.service-grid > .reveal:nth-child(3) {
  --reveal-delay: 220ms;
}

/* Note sous le formulaire d'inscription ------------------------------------ */
.subscribe-note {
  min-height: 18px;
  margin: 12px 0 0;
  color: rgba(239, 234, 226, 0.55);
  font-size: 12.5px;
  font-weight: 400;
}

/* ==========================================================================
   Page services — composants dédiés
   ========================================================================== */

/* Sommaire ancré sous le héros ------------------------------------------- */
.service-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px var(--pad);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
}

.service-jump a {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    color 420ms var(--ease),
    border-color 420ms var(--ease),
    background 420ms var(--ease);
}

.service-jump a:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

/* Segments d'audience ----------------------------------------------------- */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.segment-card {
  position: relative;
  padding: clamp(26px, 2.4vw, 40px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: transparent;
  overflow: hidden;
  transition:
    transform 700ms var(--ease),
    border-color 700ms var(--ease),
    background 700ms var(--ease);
}

.segment-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 700ms var(--ease);
}

.segment-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: var(--panel-2);
}

.segment-card:hover::before {
  transform: scaleX(1);
}

.segment-card .segment-icon {
  margin-bottom: 22px;
  color: var(--blue);
}

.segment-card h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 1.55vw, 30px);
  line-height: 1.16;
}

.segment-card > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.62;
}

.segment-card .segment-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: gap 460ms var(--ease);
}

.segment-card .segment-link::after {
  content: "→";
  font-family: var(--font-body);
  font-size: 14px;
}

.segment-card:hover .segment-link {
  gap: 13px;
}

/* Listes à puces cochées -------------------------------------------------- */
.check-list {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 11px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--blue-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%232a6f9e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.section-panel.dark .check-list li,
.section-panel.blue .check-list li {
  color: rgba(255, 255, 255, 0.72);
}

.section-panel.dark .check-list li::before,
.section-panel.blue .check-list li::before {
  background-color: rgba(255, 255, 255, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Catalogue des prestations ---------------------------------------------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.catalog-card {
  position: relative;
  padding: clamp(26px, 2.3vw, 38px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: transparent;
  transition:
    transform 700ms var(--ease),
    border-color 700ms var(--ease),
    background 700ms var(--ease);
}

.catalog-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: var(--panel-2);
}

.catalog-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.catalog-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
}

.catalog-card h3 {
  margin: 0;
  font-size: clamp(20px, 1.35vw, 26px);
  font-weight: 600;
  line-height: 1.18;
}

.catalog-card > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.catalog-card .check-list {
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Formules ---------------------------------------------------------------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  padding: clamp(28px, 2.5vw, 42px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 700ms var(--ease),
    border-color 700ms var(--ease),
    background 700ms var(--ease);
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.plan-card.is-featured {
  border-color: var(--blue-bright);
  background: rgba(61, 143, 196, 0.14);
}

.plan-badge {
  position: absolute;
  top: -1px;
  right: clamp(20px, 2vw, 34px);
  padding: 7px 14px;
  border-radius: 0 0 10px 10px;
  background: var(--blue-bright);
  color: #0d1c26;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.plan-card .plan-name {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(26px, 1.95vw, 37px);
  line-height: 1.1;
}

.plan-card .plan-tagline {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.plan-price {
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.plan-card .check-list {
  margin-bottom: 28px;
}

.plan-card .button {
  margin-top: auto;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.plan-card .button::before {
  background: #fff;
}

.plan-card .button:hover {
  color: var(--ink);
  border-color: #fff;
}

.plan-card.is-featured .button {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  color: #0d1c26;
}

.plan-note {
  margin: clamp(24px, 2.4vw, 36px) 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
}

/* Options à la carte ------------------------------------------------------ */
.option-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: clamp(26px, 2.6vw, 44px);
}

.option-cloud li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  transition:
    color 460ms var(--ease),
    border-color 460ms var(--ease),
    background 460ms var(--ease),
    transform 460ms var(--ease);
}

.option-cloud li::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

.option-cloud li:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  background: var(--blue-soft);
}

/* Zone d'intervention ----------------------------------------------------- */
.zone-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(26px, 3.4vw, 70px);
  align-items: start;
}

.zone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zone-list li {
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  transition: color 420ms var(--ease), padding-left 420ms var(--ease);
}

.zone-list li:hover {
  padding-left: 12px;
  color: var(--blue);
}

.zone-visual {
  position: relative;
  min-height: clamp(260px, 26vw, 380px);
  border-radius: var(--r-md);
  overflow: hidden;
  background-image: url("assets/card-coproprietes.jpg");
  background-size: cover;
  background-position: center;
}

.zone-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.1), rgba(35, 72, 95, 0.42));
}

/* Adaptatif --------------------------------------------------------------- */
@media (max-width: 1180px) {
  .segment-grid,
  .catalog-grid,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zone-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .segment-grid,
  .catalog-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .zone-list {
    grid-template-columns: 1fr;
  }

  .service-jump {
    gap: 6px;
    padding: 14px;
  }

  .service-jump a {
    padding: 9px 14px;
    font-size: 10px;
  }
}
