/* ============================================================
   Oswald Solutions — Design system "Zerovant Dark Forest"
   Hero forest #002624 · CTA acid yellow #f8f574 · Geist
   Logo "Oswald Solutions" en Clash Grotesk (police locale)
   Sections claires #f0f2ed · Textes deep ink #001d1b
   ============================================================ */

/* Geist et Caveat : polices hébergées localement (pas de requête vers Google) */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

/* Logo Oswald Solutions — Clash Grotesk (police locale) */
@font-face {
  font-family: "Clash Grotesk";
  src: url("../fonts/clash-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clash Grotesk";
  src: url("../fonts/clash-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clash Grotesk";
  src: url("../fonts/clash-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs */
  --surface: #f0f2ed; /* fond de page (off-white surface) */
  --surface-deep: #002624; /* forest dark — hero, surfaces sombres */
  --surface-mid: #ffffff; /* cartes */
  --surface-cream: #f7f6f4; /* footer */
  --ink: #000000; /* texte noir (CTA acid) */
  --ink-deep: #001d1b; /* textes principaux sur fond clair */
  --muted: #52525a; /* textes secondaires sur fond clair */
  --muted-2: #707078;
  --acid: #f8f574; /* CTA primaire / mises en avant */
  --accent-ink: #002624; /* liens & accents texte sur fond clair */

  --on-dark: #f0f2ed;
  --on-dark-muted: rgba(240, 242, 237, 0.65);
  --on-dark-muted-2: rgba(240, 242, 237, 0.42);
  --border: #eaeaea; /* bordures fond clair */
  --border-strong: #c9c9cf;
  --border-on-dark: rgba(240, 242, 237, 0.14);
  --border-on-dark-strong: rgba(240, 242, 237, 0.3);

  /* Typographie */
  --font: "Geist", "Geist Placeholder", system-ui, sans-serif;
  --font-display: "Geist", "Geist Placeholder", system-ui, sans-serif;
  --font-logo: "Clash Grotesk", "Geist", system-ui, sans-serif;

  /* Rayons */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 100px;

  /* Layout */
  --container: 1160px;
  --container-narrow: 820px;
  --space-section: clamp(5.5rem, 10vw, 7.75rem);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink-deep);
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

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

/* ---------- Accessibilité ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--acid);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Loader de chargement ---------- */
body.loader-active {
  overflow: hidden;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--surface-deep);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.loader.is-active {
  opacity: 1;
  visibility: visible;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__inner {
  width: min(calc(100% - 3rem), 320px);
  text-align: center;
}

.loader__logo {
  font-family: var(--font-logo);
  font-weight: 500;
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  letter-spacing: -0.03em;
  color: var(--on-dark);
}

.loader__bar {
  margin-top: 1.5rem;
  height: 3px;
  border-radius: var(--radius-pill);
  background: rgba(240, 242, 237, 0.1);
  overflow: hidden;
}

.loader__bar-fill {
  width: 0%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--acid);
}

.loader__percent {
  display: block;
  margin-top: 0.875rem;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

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

.section__title {
  font-size: clamp(2.25rem, 4.5vw, 2.875rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
  max-width: 18ch;
}

.section__lede {
  margin-top: 1.25rem;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
}

.label {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: 'Caveat', cursive;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
}

.label--light {
  color: var(--accent-ink);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease),
    filter 0.2s var(--ease);
}

.btn--primary {
  background: var(--acid);
  color: var(--ink);
  border: 0;
}

.btn--primary:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.btn--outline {
  border: 1px solid var(--border-on-dark-strong);
  color: var(--on-dark);
  background: rgba(0, 38, 36, 0.25);
}

.btn--outline:hover {
  border-color: var(--on-dark);
  transform: translateY(-1px);
}

.btn--light {
  background: var(--surface-deep);
  color: var(--on-dark);
  border: 0;
}

.btn--light:hover {
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn--ghost {
  border: 1px solid var(--ink-deep);
  color: var(--ink-deep);
}

.btn--ghost:hover {
  background: var(--ink-deep);
  color: var(--on-dark);
  transform: translateY(-1px);
}

.btn--small {
  min-height: 36px;
  padding: 8px 18px;
  font-size: 13px;
}

.btn--small .btn__icon {
  width: 15px;
  height: 15px;
  margin-right: 0.5rem;
}

.btn__label {
  display: flex;
  flex-direction: column;
  height: 1.5em;
  overflow: hidden;
}

.btn__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-right: 0.625rem;
}

.btn__text {
  display: block;
  flex-shrink: 0;
  line-height: 1.5;
  transition: transform 0.4s var(--ease);
}

.btn:hover .btn__text,
.btn:focus-visible .btn__text {
  transform: translateY(-100%);
}

.arrow {
  font-size: 1.15em;
  transition: transform 0.25s var(--ease);
}

/* ---------- Icônes (Iconsax, System Regular) ---------- */
.icon {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: currentColor;
  color: var(--accent-ink);
}

.value__card .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 1.25rem;
}

.service-card .icon {
  width: 26px;
  height: 26px;
}

.care__icon {
  width: 32px;
  height: 32px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  opacity: 0;
  transition: opacity 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled::before {
  opacity: 1;
  background: rgba(0, 38, 36, 0.82);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-on-dark);
}

.site-header--solid,
.site-header--solid.is-scrolled {
  border-bottom-color: var(--border-on-dark);
}

.site-header--solid::before {
  opacity: 1;
  background: rgba(0, 38, 36, 0.92);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.btn--round {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
}

.btn--round svg {
  width: 22px;
  height: 22px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

/* ---------- Bulle WhatsApp : fun et vivante ---------- */
.whatsapp-wrap {
  position: relative;
}

.whatsapp-tip {
  position: absolute;
  top: calc(100% + 0.9rem);
  right: -0.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem 0.6rem 0.8rem;
  border-radius: 20px 6px 20px 20px;
  background: var(--acid);
  box-shadow: 0 14px 30px -10px rgba(248, 245, 116, 0.55),
    0 6px 14px -6px rgba(0, 0, 0, 0.45);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  rotate: -2deg;
  transform-origin: 90% 0;
  animation: wa-tip 11s var(--ease) 1s forwards,
    wa-tip-float 2.4s ease-in-out 1s infinite alternate;
}

/* petite main qui salue */
.whatsapp-tip::after {
  content: "\1F44B";
  order: -1;
  font-size: 1.15rem;
  line-height: 1;
  transform-origin: 70% 75%;
  animation: wa-wave 1.8s ease-in-out 1.6s 3;
}

/* pointe vers le bouton */
.whatsapp-tip::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 22px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--acid);
  transform: rotate(45deg);
}

@keyframes wa-tip {
  0% {
    opacity: 0;
    visibility: visible;
    scale: 0.4;
  }
  3% {
    opacity: 1;
    scale: 1.12;
  }
  5% {
    scale: 0.96;
  }
  7%,
  90% {
    opacity: 1;
    scale: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    scale: 0.9;
  }
}

@keyframes wa-tip-float {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -6px;
  }
}

@keyframes wa-wave {
  0%,
  60%,
  100% {
    transform: rotate(0);
  }
  10%,
  30% {
    transform: rotate(16deg);
  }
  20%,
  40% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

/* le bouton WhatsApp « sonne » quand la bulle apparaît */
.whatsapp-wrap .btn {
  animation: wa-ring 1.2s ease-in-out 1.2s 2;
}

@keyframes wa-ring {
  0%,
  100% {
    rotate: 0deg;
  }
  15% {
    rotate: -14deg;
  }
  30% {
    rotate: 12deg;
  }
  45% {
    rotate: -9deg;
  }
  60% {
    rotate: 7deg;
  }
  75% {
    rotate: -3deg;
  }
}

/* au survol du bouton, la bulle revient */
.whatsapp-wrap:hover .whatsapp-tip,
.whatsapp-wrap:focus-within .whatsapp-tip {
  opacity: 1;
  visibility: visible;
  scale: 1;
  animation: wa-tip-float 2.4s ease-in-out infinite alternate;
}

.btn--outline:hover {
  border-color: var(--on-dark);
  transform: translateY(-1px);
}

.logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 95;
  min-height: 44px;
}

.logo__img {
  display: block;
  width: auto;
  height: 34px;
}

.footer__brand .logo__img {
  height: 44px;
}

@media (max-width: 767px) {
  .logo__img {
    height: 31px;
  }
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.site-nav__list > li > a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-dark-muted);
  transition: color 0.2s var(--ease);
}

.site-nav__list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--on-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav__list > li > a:hover {
  color: var(--on-dark);
}

.site-nav__list > li > a:hover::after {
  transform: scaleX(1);
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2.5rem;
  padding: 5.5rem clamp(1.5rem, 8vw, 3rem) 3rem;
  background: radial-gradient(
      140% 60% at 100% 0%,
      rgba(248, 245, 116, 0.09),
      transparent 60%
    ),
    rgba(0, 38, 36, 0.86);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
}

/* Décor du menu mobile ouvert : grille de points + lueurs */
.site-nav::before,
.site-nav::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.site-nav::before {
  background-image: radial-gradient(
    rgba(240, 242, 237, 0.09) 1px,
    transparent 1.3px
  );
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(
    130% 100% at 50% 35%,
    black,
    transparent 80%
  );
  mask-image: radial-gradient(130% 100% at 50% 35%, black, transparent 80%);
}

.site-nav::after {
  background: radial-gradient(
    30rem 30rem at 90% 0%,
    rgba(248, 245, 116, 0.14),
    transparent 65%
  );
  animation: nav-glow-drift 7s var(--ease) infinite alternate;
}

@keyframes nav-glow-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -14px, 0);
  }
}

.site-nav__list > li > a {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease),
    color 0.2s var(--ease);
}

.site-nav.is-open .site-nav__list {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.site-nav.is-open .site-nav__list > li > a {
  opacity: 1;
  transform: none;
  font-size: clamp(2.25rem, 8vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--on-dark);
}

.site-nav.is-open .site-nav__list li:nth-child(1) > a {
  transition-delay: 0.05s;
}

.site-nav.is-open .site-nav__list li:nth-child(2) > a {
  transition-delay: 0.1s;
}

.site-nav.is-open .site-nav__list li:nth-child(3) > a {
  transition-delay: 0.15s;
}

.site-nav.is-open .site-nav__list li:nth-child(4) > a {
  transition-delay: 0.2s;
}

.site-nav.is-open .site-nav__list li:nth-child(5) > a {
  transition-delay: 0.25s;
}

.site-nav.is-open .site-nav__cta {
  align-self: flex-start;
  animation: nav-cta-in 0.45s var(--ease) 0.35s both;
}

@keyframes nav-cta-in {
  from {
    opacity: 0;
    translate: 0 28px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .site-header {
  background: rgba(0, 38, 36, 0.94);
  border-bottom-color: var(--border-on-dark);
}

body.nav-open .cookie-banner {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 95;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border-on-dark-strong);
  border-radius: 50%;
  background: rgba(248, 245, 116, 0.08);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--acid);
}

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-block: max(clamp(5rem, 12vw, 9.375rem), calc(var(--header-h) + 3.5rem)) clamp(4rem, 9vw, 7.5rem);
  background: var(--surface-deep);
  color: var(--on-dark);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__visual {
  position: absolute;
  bottom: -40px;
  left: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero__chateau {
  width: 1231px;
  max-width: none;
  height: auto;
  opacity: 0.85;
  transform: translateX(-30%);
}

@media (max-width: 1199px) {
  .hero__chateau {
    width: 960px;
    transform: translateX(-30%);
  }

  .services__statue {
    width: 320px;
    transform: translateX(calc(80% + 60px));
  }
}

@media (max-width: 809px) {
  .hero__chateau {
    width: 640px;
    transform: translateX(-25%);
  }

  .services__statue {
    width: 260px;
    transform: translateX(60%);
  }
}

@media (max-width: 480px) {
  .hero__visual {
  bottom: -20px;
  }

  .hero {
    padding-bottom: 14rem;
  }

  .hero__chateau {
    width: 680px;
    transform: translateX(-40%);
  }

  .services__visual {
    bottom: -10px;
  }

  .services__statue {
    width: 200px;
    transform: translateX(50%);
  }
}

.hero__label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.875rem 0.875rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.75rem;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(240, 242, 237, 0.16);
  background: linear-gradient(
    180deg,
    rgba(248, 245, 116, 0.09),
    rgba(248, 245, 116, 0.03)
  );
}

.hero__label .fr-flag {
  margin-right: 0;
}

.hero .status {
  color: var(--acid);
}

.hero .status__dot {
  --pulse: rgba(248, 245, 116, 0.55);
  background: var(--acid);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-right: 0.875rem;
  border-right: 1px solid rgba(240, 242, 237, 0.16);
  color: var(--accent-ink);
}

.status__dot {
  --pulse: rgba(0, 38, 36, 0.45);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-ink);
  animation: status-pulse 2.2s var(--ease) infinite;
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--pulse, rgba(0, 38, 36, 0.45));
  }
  70% {
    box-shadow: 0 0 0 6px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.hero__label-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--on-dark);
}

.fr-flag {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 0.45rem;
  border-radius: 50%;
  border: 1px solid rgba(240, 242, 237, 0.22);
  object-fit: cover;
  vertical-align: -0.1em;
}

.hero__title {
  font-size: clamp(2.75rem, 6.5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
  font-weight: 500;
  max-width: 16ch;
  color: var(--on-dark);
}

.hero__title .accent {
  color: var(--acid);
}

.hero__word {
  display: inline-block;
  white-space: nowrap;
}

.hero__char {
  display: inline-block;
  white-space: pre;
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(6px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__char.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero__char--accent {
  color: var(--acid);
}

.hero__lede {
  margin-top: 1.75rem;
  max-width: 54ch;
  color: var(--on-dark-muted);
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

.hero__proof {
  margin-top: 3rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted-2);
}

/* ---------- Problème ---------- */
.problem {
  border-top: 1px solid var(--border);
}

.problem__list {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.875rem;
}

.problem__list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
  font-size: 16px;
}

.problem__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted-2);
}

.problem__outro {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 28ch;
}

/* ---------- Proposition de valeur ---------- */
.value {
  position: relative;
}

.value__inner {
  position: relative;
  z-index: 1;
}

.value__grid {
  margin-top: 3.25rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}

.value__card {
  padding: 2rem;
  background: var(--surface-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.value__card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.value__card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.value__card p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Services ---------- */
.services {
  position: relative;
  overflow: hidden;
  background: var(--surface-deep);
  border-top: 1px solid var(--border-on-dark);
  border-bottom: 1px solid var(--border-on-dark);
}

.services__visual {
  position: absolute;
  bottom: -35px;
  left: 50%;
  z-index: 0;
  pointer-events: none;
}

.services__statue {
  width: 380px;
  max-width: none;
  height: auto;
  opacity: 0.6;
  transform: translateX(calc(80% + 60px));
}

.services__grid {
  position: relative;
  z-index: 1;
}

.services .label {
  color: var(--on-dark-muted);
}

.services .section__title {
  color: var(--on-dark);
}

.services .section__lede {
  color: var(--on-dark-muted);
}

.services__grid {
  margin-top: 3.25rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  background: rgba(240, 242, 237, 0.04);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-xl);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-card:hover {
  border-color: var(--border-on-dark-strong);
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}

.service-card p {
  color: var(--on-dark-muted);
  font-size: 16px;
}

.service-card .icon {
  color: var(--acid);
}

.service-card--cta {
  justify-content: space-between;
  align-items: flex-start;
  border-color: var(--border-on-dark-strong);
}

.service-card--cta h3 {
  color: var(--on-dark);
  max-width: 14ch;
}

.service-card--cta .arrow {
  margin-top: auto;
  color: var(--acid);
  font-size: 1.5rem;
}

.service-card--cta:hover {
  border-color: var(--acid);
}

.service-card--cta:hover .arrow {
  transform: translateX(6px);
}

/* ---------- Méthode ---------- */
.method__list {
  margin-top: 3.25rem;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}

.method__step {
  position: relative;
  padding: 1.5rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
}

.method__step:first-child {
  border-top: 1px solid var(--border);
}

.method__step h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.method__step p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 16px;
  max-width: 34ch;
}

.method__outro {
  margin-top: 2.5rem;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 30ch;
}

/* ---------- Care Plan ---------- */
.care .label--light {
  color: var(--acid);
}

.care__card {
  padding: clamp(2rem, 6vw, 3.5rem);
  background: var(--surface-deep);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-xl);
  display: grid;
  gap: 2.25rem;
  position: relative;
}

.care__icon {
  color: var(--acid);
}

.care__title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.05em;
  line-height: 1.15;
  max-width: 18ch;
  color: var(--on-dark);
}

.care__lede {
  margin-top: 1.25rem;
  color: var(--on-dark-muted);
  max-width: 58ch;
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
}

.care__price {
  display: grid;
  gap: 0.375rem;
  grid-template-columns: 1fr;
}

.care__price-tag {
  color: var(--on-dark-muted);
  font-size: 15px;
}

.care__price-tag span {
  display: block;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--acid);
}

.care__list {
  display: grid;
  gap: 0.625rem 1.5rem;
  grid-template-columns: 1fr;
}

.care__list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--on-dark);
  font-size: 16px;
}

.care__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8f574' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.care__note {
  color: var(--on-dark-muted-2);
  font-size: 15px;
  max-width: 62ch;
}

/* ---------- Tarifs ---------- */
.pricing {
  background: var(--surface-deep);
  border-top: 1px solid var(--border-on-dark);
  border-bottom: 1px solid var(--border-on-dark);
}

.pricing .label {
  color: var(--on-dark-muted);
}

.pricing .section__title {
  color: var(--on-dark);
  margin-bottom: 2.5rem;
}

.pricing__group-title {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted-2);
}

/* ---- Grid ---- */
.pricing__cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: stretch;
}

.pricing__cards--3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: stretch;
}

/* ---- Card ---- */
.pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  background: rgba(240, 242, 237, 0.04);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-xl);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.pricing__card:hover {
  border-color: var(--border-on-dark-strong);
  transform: translateY(-3px);
}

.pricing__card--featured {
  background: rgba(248, 245, 116, 0.04);
  border-color: var(--acid);
}

.pricing__card--featured:hover {
  border-color: var(--acid);
}

/* ---- Badge ---- */
.pricing__card-badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--acid);
  border-radius: var(--radius-pill);
  margin-left: 0.6rem;
  vertical-align: middle;
}

/* ---- Card head ---- */
.pricing__card-head {
  display: flex;
  flex-direction: column;
}

.pricing__card-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pricing__card-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  padding: 8px;
  border-radius: var(--radius-md);
  background: rgba(240,242,237,0.06);
  color: var(--acid);
  box-sizing: content-box;
}

.pricing__card--featured .pricing__card-icon svg {
  background: rgba(248,245,116,0.1);
}

.pricing__card-icon h4 {
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  margin: 0;
}

.pricing__card--featured .pricing__card-icon h4 {
  color: var(--acid);
}

.pricing__card-price {
  margin-top: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.1em;
}

.pricing__amount {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--on-dark);
}

.pricing__card-unit {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--on-dark-muted-2);
}

.pricing__card--featured .pricing__amount {
  color: var(--acid);
}

.pricing__card-period {
  font-size: 13px;
  color: var(--on-dark-muted-2);
  margin-top: 0.25rem;
}

.pricing__card-period strong {
  color: var(--on-dark-muted);
  font-weight: 500;
}

.pricing__card-for {
  margin-top: 0.85rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.pricing__save {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(248, 245, 116, 0.14);
  color: var(--acid);
  font-size: 11.5px;
  font-weight: 500;
}

/* ---- Divider ---- */
.pricing__card-divider {
  height: 1px;
  background: var(--border-on-dark);
}

.pricing__card--featured .pricing__card-divider {
  background: rgba(248, 245, 116, 0.15);
}

/* ---- Features ---- */
.pricing__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.pricing__features li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-dark-muted);
  padding-left: 1.4rem;
  position: relative;
}

.pricing__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f8f574' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing__card--featured .pricing__features li {
  color: var(--on-dark);
}

.pricing__card--featured .pricing__features li::before {
  opacity: 1;
}

/* ---- CTA inside card ---- */
.pricing__card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.pricing__card .btn + .btn {
  margin-top: 0;
}

/* ---- Engagements ---- */
.pricing__assure {
  list-style: none;
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 2.5rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--border-on-dark);
}

.pricing__assure li {
  display: grid;
  gap: 0.3rem;
  padding-left: 1.75rem;
  position: relative;
}

.pricing__assure li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f8f574' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pricing__assure strong {
  font-weight: 500;
  color: var(--on-dark);
  font-size: 15px;
}

.pricing__assure span {
  color: var(--on-dark-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ---- Separator ---- */
.pricing__separator {
  border: none;
  height: 1px;
  margin: 2rem 0;
  background: rgba(168, 213, 186, 0.25);
}

/* ---- Global CTA ---- */
.pricing__cta {
  margin-top: 2rem;
}

/* ---------- À propos ---------- */
.about {
  border-top: 1px solid var(--border);
}

.about__prose {
  display: grid;
  gap: 1.25rem;
  max-width: 58ch;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
}

.about__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-ink);
  transition: color 0.2s var(--ease);
}

.about__linkedin:hover {
  color: var(--acid);
}

.about__linkedin-arrow {
  font-size: 1.1em;
  transition: transform 0.2s var(--ease);
}

.about__linkedin:hover .about__linkedin-arrow {
  transform: translateX(4px);
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--border);
}

.faq__layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

.faq__intro-text {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 16px;
  max-width: 40ch;
}

.faq__support {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--surface-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: border-color 0.25s var(--ease);
}

.faq__support:hover {
  border-color: var(--border-strong);
}

.faq__support p {
  color: var(--muted);
  font-size: 16px;
}

.faq__support-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-ink);
}

.faq__support-link .arrow {
  color: var(--accent-ink);
  font-size: 1.15em;
}

.faq__support-link:hover .arrow {
  transform: translateX(4px);
}

.faq__list {
  display: grid;
  gap: 0.875rem;
}

.faq-item {
  background: var(--surface-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding-inline: 1.5rem;
  transition: border-color 0.25s var(--ease);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item.is-open {
  border-color: var(--accent-ink);
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  min-height: 68px;
  padding: 1.1rem 0;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
}

.faq-item__trigger > span:first-child {
  flex: 1;
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink-deep);
  border-radius: 2px;
  transition: background 0.3s var(--ease);
}

.faq-item__icon::before {
  width: 20px;
  height: 1.5px;
}

.faq-item__icon::after {
  width: 1.5px;
  height: 20px;
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon::before,
.faq-item__trigger[aria-expanded="true"] .faq-item__icon::after {
  background: var(--accent-ink);
}

.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s var(--ease), opacity 0.3s var(--ease);
}

.faq-item__panel.is-open-panel {
  opacity: 1;
}

.faq-item__panel p {
  padding: 0 0 1.5rem;
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
}

/* ---------- Contact ---------- */
.contact {
  border-top: 1px solid var(--border);
  background: var(--surface-mid);
}

.contact__grid {
  display: grid;
  gap: 3.5rem;
  grid-template-columns: 1fr;
}

.contact__intro > p:not(.label) {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  max-width: 48ch;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

.contact__direct {
  margin-top: 1.5rem;
  font-size: 14px;
  color: var(--muted-2);
}

/* Formulaire */
.contact-form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form__row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.form__field {
  display: grid;
  gap: 0.5rem;
}

.form__field label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-deep);
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 16px;
  color: var(--ink-deep);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form__field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: var(--muted-2);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 3px rgba(0, 38, 36, 0.12);
}

.form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23001d1b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

.form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.form__status {
  min-height: 1.5rem;
  font-size: 15px;
  color: var(--muted);
}

.form__status.is-error {
  color: #d1453b;
}

.form__field.invalid input,
.form__field.invalid select,
.form__field.invalid textarea {
  border-color: #d1453b;
}

/* ---------- Footer ---------- */
.site-footer {
  --wm: clamp(3rem, 11.4vw, 11.5rem);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-on-dark);
  background: var(--surface-deep);
  padding-block: 3.5rem calc(2rem + var(--wm) * 0.62);
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

/* Nom de la marque en filigrane, légèrement rogné en bas */
.site-footer::after {
  content: "Oswald Solutions";
  content: "Oswald Solutions" / "";
  position: absolute;
  left: 50%;
  bottom: calc(var(--wm) * -0.2);
  transform: translateX(-50%);
  z-index: 0;
  font-family: var(--font-logo);
  font-size: var(--wm);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: var(--on-dark);
  opacity: 0.028;
  pointer-events: none;
  user-select: none;
}

.footer__grid {
  display: grid;
  gap: 2.75rem;
  grid-template-columns: 1fr;
}

.footer__brand .footer__tagline {
  margin-top: 0.875rem;
  color: var(--on-dark-muted);
  font-size: 16px;
}

.footer__brand .footer__services {
  margin-top: 0.5rem;
  color: var(--on-dark-muted-2);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.footer__cta {
  margin-top: 1.5rem;
}

.footer__heading {
  margin-bottom: 1.125rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark);
}

.footer__col ul {
  display: grid;
  gap: 0.625rem;
}

.footer__col a {
  font-size: 15px;
  color: var(--on-dark-muted);
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: var(--on-dark);
}

.footer__contact li {
  font-size: 15px;
  color: var(--on-dark-muted);
}

.footer__status {
  padding-right: 0;
  border-right: 0;
  color: var(--acid);
}

.footer__status .status__dot {
  --pulse: rgba(248, 245, 116, 0.5);
  background: var(--acid);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-on-dark);
  font-size: 14px;
  color: var(--on-dark-muted-2);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-left: auto;
}

.footer__legal a {
  font-size: 14px;
  color: var(--on-dark-muted-2);
  transition: color 0.2s var(--ease);
}

.footer__legal a:hover {
  color: var(--on-dark);
}

/* ---------- Retour en haut ---------- */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-on-dark-strong);
  background: rgba(0, 38, 36, 0.95);
  color: var(--on-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  border-color: var(--acid);
  background: rgba(248, 245, 116, 0.14);
}

.back-to-top__icon {
  width: 20px;
  height: 20px;
}

/* ---------- Bouton cookies ---------- */
.cookie-btn {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: calc(clamp(1rem, 3vw, 2rem) + 60px);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-on-dark-strong);
  background: rgba(0, 38, 36, 0.95);
  color: var(--on-dark);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.3s var(--ease);
}

.cookie-btn:hover {
  border-color: var(--acid);
  background: rgba(248, 245, 116, 0.14);
  color: var(--acid);
}

.cookie-btn:active {
  transform: scale(0.94);
}

.cookie-btn__icon {
  width: 20px;
  height: 20px;
}

.cookie-btn__dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--acid);
  border: 2px solid var(--surface);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  animation: cookie-dot-pulse 2.4s var(--ease) infinite;
}

.cookie-btn.has-pending .cookie-btn__dot {
  opacity: 1;
  transform: scale(1);
}

@keyframes cookie-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 245, 116, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

/* ---------- Pages légales ---------- */
.legal {
  padding-block: clamp(3rem, 8vw, 5rem) clamp(4rem, 10vw, 7rem);
  min-height: 70vh;
  position: relative;
}

.legal::before,
.legal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.legal::before {
  background-image: radial-gradient(
    rgba(0, 38, 36, 0.09) 1px,
    transparent 1.5px
  );
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(
    120% 100% at 50% 25%,
    black,
    transparent 78%
  );
  mask-image: radial-gradient(120% 100% at 50% 25%, black, transparent 78%);
}

.legal::after {
  background: radial-gradient(
      30rem 26rem at 92% 0%,
      rgba(248, 245, 116, 0.55),
      transparent 65%
    ),
    radial-gradient(
      26rem 22rem at 0% 100%,
      rgba(0, 38, 36, 0.07),
      transparent 65%
    );
}

/* Décor discret de la page d'accueil */
body.home main {
  position: relative;
  isolation: isolate;
}

body.home main::before,
body.home main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* motif de la charte : défenses en quinconce, ton sur ton */
body.home main::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22160%22 height=%22140%22 viewBox=%220 0 160 140%22%3E%3Cg fill=%22%23002624%22 fill-opacity=%22.032%22%3E%3Cpath transform=%22translate%2820 14%29 scale%28.9%29 translate%28-12 -66%29%22 d=%22M32 108A27 27 0 0 1 12 66A62 62 0 0 0 32 108Z%22/%3E%3Cpath transform=%22translate%2876 28%29 scale%28-.9 .9%29 translate%28-12 -66%29%22 d=%22M32 108A27 27 0 0 1 12 66A62 62 0 0 0 32 108Z%22/%3E%3Cpath transform=%22translate%28100 14%29 scale%28.9%29 translate%28-12 -66%29%22 d=%22M32 108A27 27 0 0 1 12 66A62 62 0 0 0 32 108Z%22/%3E%3Cpath transform=%22translate%28156 28%29 scale%28-.9 .9%29 translate%28-12 -66%29%22 d=%22M32 108A27 27 0 0 1 12 66A62 62 0 0 0 32 108Z%22/%3E%3Cpath transform=%22translate%2860 84%29 scale%28.9%29 translate%28-12 -66%29%22 d=%22M32 108A27 27 0 0 1 12 66A62 62 0 0 0 32 108Z%22/%3E%3Cpath transform=%22translate%28116 98%29 scale%28-.9 .9%29 translate%28-12 -66%29%22 d=%22M32 108A27 27 0 0 1 12 66A62 62 0 0 0 32 108Z%22/%3E%3Cpath transform=%22translate%28140 84%29 scale%28.9%29 translate%28-12 -66%29%22 d=%22M32 108A27 27 0 0 1 12 66A62 62 0 0 0 32 108Z%22/%3E%3Cpath transform=%22translate%2836 98%29 scale%28-.9 .9%29 translate%28-12 -66%29%22 d=%22M32 108A27 27 0 0 1 12 66A62 62 0 0 0 32 108Z%22/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 210px;
  -webkit-mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.55));
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.55));
}

body.home main::after {
  background: radial-gradient(
      34rem 30rem at 100% 0%,
      rgba(248, 245, 116, 0.55),
      transparent 62%
    ),
    radial-gradient(
      30rem 26rem at 0% 100%,
      rgba(0, 38, 36, 0.08),
      transparent 62%
    ),
    radial-gradient(
      26rem 24rem at 12% 42%,
      rgba(0, 38, 36, 0.06),
      transparent 60%
    );
}

.legal__intro {
  max-width: 66ch;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  line-height: 1.55;
}

.legal__updated {
  margin-top: 0.75rem;
  font-size: 13px;
  color: var(--muted-2);
}

.legal__section {
  max-width: 66ch;
}

.legal__section + .legal__section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.legal h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.legal h2 + p,
.legal h2 + ul,
.legal h2 + .legal__intro {
  margin-top: 1rem;
}

.legal p {
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

.legal ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-left: 1.15rem;
  list-style: disc;
  color: var(--muted);
  line-height: 1.6;
}

.legal strong {
  color: var(--ink-deep);
  font-weight: 500;
}

.legal a {
  color: var(--accent-ink);
  transition: color 0.2s var(--ease);
}

.legal a:hover {
  color: var(--acid);
}

.legal-footer .footer__bottom {
  margin-top: 0;
}

/* ---------- Bannière cookies ---------- */
.cookie-banner {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: calc(clamp(1rem, 3vw, 2rem) + 60px + 48px + 0.75rem);
  z-index: 200;
  width: min(calc(100% - 2rem), 480px);
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-mid);
  box-shadow: 0 24px 60px -12px rgba(0, 38, 36, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(100% + 1.5rem));
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease),
    visibility 0.5s var(--ease);
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner__heading {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.cookie-banner__icon {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
}

.cookie-banner__title {
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
}

.cookie-banner__text {
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-banner__text a {
  color: var(--accent-ink);
  transition: color 0.2s var(--ease);
}

.cookie-banner__text a:hover {
  color: var(--acid);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 809px) {
  .cookie-banner__actions .btn {
    flex: 1;
  }
}

/* ---------- Animations d'apparition ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

  .whatsapp-tip {
    animation: none;
    opacity: 1;
    visibility: visible;
  }
}

/* ============================================================
   Responsive — breakpoints du design system
   mobile ≤ 809 · tablette 810-1199 · desktop ≥ 1200
   ============================================================ */
@media (max-width: 1199px) {
  /* ---------- Services : accordéon du menu mobile ---------- */
  .has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
  }

  .site-nav.is-open .has-dropdown {
    width: 100%;
    max-width: 32rem;
  }

  .nav-link__chevron {
    display: block;
    width: 22px;
    height: 22px;
    color: var(--acid);
    transition: transform 0.35s var(--ease), color 0.2s var(--ease);
  }

  .has-dropdown.is-open .nav-link__chevron {
    transform: rotate(180deg);
    color: var(--on-dark);
  }

  .has-dropdown .dropdown {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.55s var(--ease), opacity 0.3s var(--ease),
      transform 0.4s var(--ease);
  }

  .has-dropdown.is-open .dropdown {
    opacity: 1;
    transform: translateY(0);
  }

  .dropdown__grid {
    display: grid;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    background-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(240, 242, 237, 0.16) 25%,
      rgba(248, 245, 116, 0.4) 50%,
      rgba(240, 242, 237, 0.16) 75%,
      transparent 100%
    );
    background-size: 100% 1px;
    background-repeat: no-repeat;
  }

  .dropdown__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(240, 242, 237, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(240, 242, 237, 0.06);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
    box-shadow: inset 0 1px 0 rgba(240, 242, 237, 0.08);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
      background 0.2s var(--ease), border-color 0.2s var(--ease);
  }

  .has-dropdown.is-open .dropdown__item {
    opacity: 1;
    transform: none;
  }

  .has-dropdown.is-open .dropdown__item:nth-child(1) {
    transition-delay: 0.06s;
  }

  .has-dropdown.is-open .dropdown__item:nth-child(2) {
    transition-delay: 0.1s;
  }

  .has-dropdown.is-open .dropdown__item:nth-child(3) {
    transition-delay: 0.14s;
  }

  .has-dropdown.is-open .dropdown__item:nth-child(4) {
    transition-delay: 0.18s;
  }

  .has-dropdown.is-open .dropdown__item:nth-child(5) {
    transition-delay: 0.22s;
  }

  .has-dropdown.is-open .dropdown__item:active {
    transform: scale(0.98);
  }

  .dropdown__item:hover {
    background: rgba(248, 245, 116, 0.12);
    border-color: rgba(248, 245, 116, 0.45);
    box-shadow: inset 0 1px 0 rgba(248, 245, 116, 0.14);
  }

  .dropdown__item.is-current {
    border-color: rgba(248, 245, 116, 0.4);
    background: rgba(248, 245, 116, 0.1);
  }

  .dropdown__item.is-current .dropdown__copy strong {
    color: var(--acid);
  }

  .dropdown__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: rgba(248, 245, 116, 0.12);
    color: var(--acid);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
  }

  .dropdown__item:hover .dropdown__icon {
    background: var(--acid);
    color: var(--ink);
  }

  .dropdown__icon svg {
    width: 22px;
    height: 22px;
  }

  .dropdown__copy {
    display: grid;
    gap: 0.15rem;
  }

  .dropdown__copy strong {
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--on-dark);
  }

  .dropdown__copy span {
    font-size: 13px;
    line-height: 1.4;
    color: var(--on-dark-muted);
  }

  .dropdown__footer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(248, 245, 116, 0.18);
    border-radius: var(--radius-lg);
    background: rgba(248, 245, 116, 0.08);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
    font-size: 15px;
    font-weight: 500;
    color: var(--acid);
    transition: color 0.2s var(--ease), background 0.2s var(--ease),
      border-color 0.2s var(--ease), transform 0.2s var(--ease);
  }

  .dropdown__footer-link:hover {
    color: var(--on-dark);
    background: rgba(248, 245, 116, 0.14);
    border-color: rgba(248, 245, 116, 0.4);
  }

  .dropdown__arrow {
    transition: transform 0.2s var(--ease);
  }

  .dropdown__footer-link:hover .dropdown__arrow {
    transform: translateX(4px);
  }
}

@media (max-width: 809px) {
  .hero__label {
    gap: 0.5rem;
    padding: 0.3rem 0.7rem;
  }

  .hero__label-text {
    font-size: 10.5px;
    gap: 0.4rem;
  }

  .status {
    padding-right: 0;
    border-right: 0;
  }

  .hero__label .status__label {
    display: none;
  }

  .pricing__card {
    padding: 1.5rem;
  }

  .pricing__card .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 560px) {
  .care__price {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .care__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 810px) {
  .faq__layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .faq__intro {
    position: sticky;
    top: 6.5rem;
  }

  .value__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing__cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }

  .form__row {
    grid-template-columns: 1fr 1fr;
  }

  .form__submit {
    width: auto;
    justify-self: start;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
  }
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    flex-direction: row;
    gap: 0;
    padding: 0;
    background: none;
    border-bottom: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: contents;
  }

  .site-nav::before,
  .site-nav::after {
    display: none;
  }

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

  .site-nav__list > li > a {
    opacity: 1;
    transform: none;
    transition: color 0.2s var(--ease);
  }

  .site-nav__cta {
    margin-left: 1.75rem;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .nav-link__chevron {
    width: 14px;
    height: 14px;
    color: var(--on-dark-muted-2);
    transition: transform 0.25s var(--ease), color 0.2s var(--ease);
  }

  .has-dropdown {
    position: relative;
  }

  .has-dropdown:hover .nav-link__chevron,
  .has-dropdown:focus-within .nav-link__chevron,
  .has-dropdown.is-open .nav-link__chevron {
    transform: rotate(180deg);
    color: var(--acid);
  }

  .dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 110;
    min-width: 620px;
    padding: 0.75rem;
    border: 1px solid var(--border-on-dark);
    border-radius: var(--radius-lg);
    background: var(--surface-deep);
    box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(12px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s var(--ease);
  }

  .dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: var(--surface-deep);
    border-top: 1px solid var(--border-on-dark);
    border-left: 1px solid var(--border-on-dark);
    transform: translateX(-50%) rotate(45deg);
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown,
  .has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
  }

  .dropdown__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--on-dark-muted);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
  }

  .dropdown__item::after {
    display: none;
  }

  .dropdown__item:hover {
    background: rgba(248, 245, 116, 0.1);
    color: var(--on-dark);
  }

  .dropdown__item.is-current {
    background: rgba(248, 245, 116, 0.12);
    color: var(--on-dark);
  }

  .dropdown__item.is-current .dropdown__copy strong {
    color: var(--acid);
  }

  .dropdown__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(248, 245, 116, 0.1);
    color: var(--acid);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
  }

  .dropdown__item:hover .dropdown__icon {
    background: var(--acid);
    color: var(--ink);
  }

  .dropdown__icon svg {
    width: 19px;
    height: 19px;
  }

  .dropdown__copy {
    display: grid;
    gap: 0.2rem;
  }

  .dropdown__copy strong {
    font-weight: 500;
    color: var(--on-dark);
    transition: color 0.2s var(--ease);
  }

  .dropdown__copy span {
    font-size: 13px;
    line-height: 1.45;
    color: var(--on-dark-muted);
  }

  .dropdown__footer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding: 0.75rem 0.75rem 0.5rem;
    border-top: 1px solid var(--border-on-dark);
    font-size: 14px;
    font-weight: 500;
    color: var(--acid);
    transition: color 0.2s var(--ease);
  }

  .dropdown__footer-link::after {
    display: none;
  }

  .dropdown__footer-link:hover {
    color: var(--on-dark);
  }

  .dropdown__arrow {
    transition: transform 0.2s var(--ease);
  }

  .dropdown__footer-link:hover .dropdown__arrow {
    transform: translateX(4px);
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .method__list {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }

  .method__step {
    padding: 0;
    border-bottom: 0;
  }

  .method__step:first-child {
    border-top: 0;
  }

  .method__step::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border-strong);
    margin-bottom: 1.5rem;
  }
}


/* champ piège anti-spam du formulaire */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Header flottant : barre vitrée arrondie ---------- */
.site-header {
  top: 0;
  padding-top: 12px;
  border-bottom: 0;
  background: transparent;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.site-header::before,
.site-header.is-scrolled::before,
.site-header--solid::before,
body.nav-open .site-header {
  background: transparent;
}

.site-header::before {
  display: none;
}

.site-header.is-scrolled,
.site-header--solid,
.site-header--solid.is-scrolled,
body.nav-open .site-header {
  border-bottom-color: transparent;
  background: transparent;
}

.header__inner {
  --bar-inset: clamp(0.5rem, 2.2vw, 1.25rem);
  --bar-gap: 8px;
  position: relative;
  min-height: calc(48px + var(--bar-gap) * 2);
  /* même espace à droite du bouton qu'au-dessus et en dessous */
  padding-right: calc(var(--bar-inset) + var(--bar-gap));
}

.header__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 var(--bar-inset);
  background: rgba(0, 38, 36, 0.9);
  border: 1px solid rgba(240, 242, 237, 0.14);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(240, 242, 237, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  border-radius: var(--radius-pill);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled .header__inner::before {
  background: rgba(0, 38, 36, 0.95);
}

/* le menu mobile ouvert couvre l'écran : la barre reste au-dessus */
body.nav-open .header__inner::before {
  background: rgba(0, 38, 36, 0.96);
}

/* ---------- Correctifs responsive ---------- */
/* bouton « outline » posé sur fond clair : texte et contour foncés */
.projects__more .btn--outline {
  border-color: var(--ink-deep);
  color: var(--ink-deep);
  background: transparent;
}

.projects__more .btn--outline:hover {
  background: var(--ink-deep);
  color: var(--on-dark);
}

/* mobile : les boutons flottants ne masquent plus les liens du bas de page */
@media (max-width: 640px) {
  .site-footer {
    padding-bottom: 4.75rem;
  }
}

/* mobile : zones de toucher confortables dans le pied de page et la FAQ */
@media (max-width: 899px) {
  .footer__col ul {
    gap: 0;
  }

  .footer__col li > a {
    display: inline-block;
    padding-block: 0.6rem;
  }

  .faq__support-link {
    padding-block: 0.6rem;
  }
}

/* ---------- Mobile : barre compacte fixée en haut à droite ---------- */
@media (max-width: 767px) {
  :root {
    --header-h: 64px;
  }

  /* l'en-tête défile avec la page ; seule la capsule d'actions reste fixe */
  .site-header {
    position: relative;
    padding-top: 12px;
  }

  .header__inner {
    min-height: 52px;
    padding-right: clamp(1.25rem, 5vw, 2.5rem);
  }

  .header__inner::before {
    display: none;
  }

  /* logo dans une petite capsule sombre, fixée en haut à gauche :
     complet quand on remonte, réduit à la hure quand on descend */
  .logo {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(240, 242, 237, 0.14);
    border-radius: var(--radius-pill);
    background: rgba(0, 38, 36, 0.92);
  }

  .site-header .logo {
    position: fixed;
    top: 14px;
    left: clamp(1.25rem, 5vw, 2.5rem);
    z-index: 105;
    transition: padding 0.4s var(--ease);
    -webkit-backdrop-filter: blur(16px) saturate(1.25);
    backdrop-filter: blur(16px) saturate(1.25);
    box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.7);
  }

  .site-header .logo__img {
    width: 126px;
    object-fit: cover;
    object-position: left center;
    transition: width 0.4s var(--ease);
  }

  .site-header.is-compact .logo {
    padding-right: 0.48rem;
    padding-left: 0.48rem;
  }

  .site-header.is-compact .logo__img {
    width: 31.6px;
  }

  /* pas de capsule pour le logo du pied de page */
  .site-footer .logo {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .header__actions {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 110;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(240, 242, 237, 0.14);
    border-radius: var(--radius-pill);
    background: rgba(0, 38, 36, 0.9);
    -webkit-backdrop-filter: blur(16px) saturate(1.25);
    backdrop-filter: blur(16px) saturate(1.25);
    box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.7);
    pointer-events: auto;
  }

  .header__actions .btn--round,
  .header__actions .nav-toggle {
    width: 44px;
    height: 44px;
    min-height: 0;
  }

  .header__actions .btn--round svg {
    width: 21px;
    height: 21px;
  }

  .header__actions .nav-toggle__line {
    width: 20px;
  }
}
