/* ==========================================================================
   NYA Services — feuille de style unique
   Mobile first · sans framework · sans dépendance externe
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;

  --brand: #2ea3c8;
  --brand-600: #1c87ab;
  --brand-700: #146a88;
  --brand-050: #f0fafd;
  --brand-100: #dcf1f8;
  --brand-200: #b6e2f0;
  /* Teinte assez foncée pour porter du texte blanc en AA (4.7:1) : boutons, accents. */
  --brand-cta: #147d9e;

  --ink: #0b1e28;
  --ink-2: #2d4b58;
  --muted: #587682;
  --line: #e3ecf0;
  --line-2: #f0f5f7;

  --bg: #ffffff;
  --bg-soft: #f5fafb;
  --bg-deep: #08222e;

  --ok: #17805a;
  --err: #c02626;
  --err-bg: #fdf1f1;

  --ff: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(11, 30, 40, 0.05), 0 4px 14px rgba(11, 30, 40, 0.05);
  --sh-2: 0 2px 6px rgba(11, 30, 40, 0.06), 0 14px 40px rgba(11, 30, 40, 0.09);
  --sh-3: 0 30px 70px rgba(11, 30, 40, 0.16);

  --wrap: 1180px;
  --gut: 20px;
  --nav-h: 68px;

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

@media (min-width: 768px) {
  :root {
    --gut: 32px;
    --nav-h: 76px;
  }
}

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

/* Une règle auteur (ex. .form{display:grid}) l'emporte sur le [hidden] de l'UA :
   on rétablit explicitement le masquage pour tout élément portant l'attribut. */
[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* L'en-tête collant ne doit pas recouvrir la cible d'une ancre, y compris
     quand on arrive sur la page via un lien #section venu d'une autre page. */
  scroll-padding-top: calc(var(--nav-h) + 14px);
}

@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;
  }
}

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--brand-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

button {
  font: inherit;
  color: inherit;
}

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

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

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section {
  padding-block: 64px;
}

@media (min-width: 768px) {
  .section {
    padding-block: 96px;
  }
}

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

.section__head {
  max-width: 680px;
  margin-bottom: 36px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.section__head--center .eyebrow::before {
  display: none;
}

.h2 {
  font-size: clamp(1.7rem, 4.6vw, 2.5rem);
}

.lead {
  margin-top: 14px;
  font-size: 1.0625rem;
  color: var(--muted);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  left: 0;
}

/* ---------- 4. Boutons ---------- */
.btn {
  --btn-bg: var(--brand-cta);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), border-color 0.18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  box-shadow: 0 8px 22px rgba(46, 163, 200, 0.32);
}

.btn--primary:hover {
  --btn-bg: var(--brand-700);
  box-shadow: 0 12px 30px rgba(46, 163, 200, 0.4);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
  background: #fff;
  box-shadow: var(--sh-1);
}

.btn--ghost:hover {
  border-color: var(--brand-200);
  --btn-fg: var(--brand-700);
}

.btn--wa {
  --btn-bg: #25d366;
  --btn-fg: #06381a;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.28);
}

.btn--wa:hover {
  --btn-bg: #1fbe5b;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 5. Top bar ---------- */
.topbar {
  display: none;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
}

@media (min-width: 900px) {
  .topbar {
    display: block;
  }
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
}

.topbar__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s var(--ease);
}

.topbar__link:hover {
  color: #fff;
}

.topbar__link svg {
  width: 14px;
  height: 14px;
  fill: var(--brand);
  flex: none;
}

/* ---------- 6. Header / nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(11, 30, 40, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand__sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__links {
  display: none;
}

@media (min-width: 1020px) {
  .nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}

.nav__link {
  position: relative;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav__link:hover {
  color: var(--brand-700);
  background: var(--brand-050);
}

.nav__link.is-active {
  color: var(--brand-700);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.nav__end {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__cta {
  display: none;
}

@media (min-width: 1020px) {
  .nav__cta {
    display: inline-flex;
  }
}

/* Sélecteur de langue */
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.lang:hover {
  border-color: var(--brand);
  color: var(--brand-700);
}

/* Burger */
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s var(--ease);
}

.burger:hover {
  border-color: var(--brand);
}

@media (min-width: 1020px) {
  .burger {
    display: none;
  }
}

.burger__bars {
  position: relative;
  width: 18px;
  height: 12px;
}

.burger__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.15s var(--ease);
}

.burger__bars span:nth-child(1) {
  top: 0;
}
.burger__bars span:nth-child(2) {
  top: 5px;
}
.burger__bars span:nth-child(3) {
  top: 10px;
}

.burger[aria-expanded="true"] .burger__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__bars span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] .burger__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Tiroir mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  visibility: hidden;
  pointer-events: none;
}

.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 34, 46, 0.5);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
  border: 0;
  padding: 0;
  width: 100%;
  cursor: default;
}

.drawer.is-open .drawer__scrim {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  display: flex;
  flex-direction: column;
  padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: var(--sh-3);
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.drawer__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
}

.drawer__close svg {
  width: 16px;
  height: 16px;
  fill: var(--ink);
}

.drawer__links {
  display: flex;
  flex-direction: column;
  margin: 10px 0 18px;
}

.drawer__link {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
}

.drawer__link:hover,
.drawer__link.is-active {
  color: var(--brand-700);
}

.drawer__foot {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.drawer__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.drawer__contact svg {
  width: 15px;
  height: 15px;
  fill: var(--brand);
  flex: none;
}

body.is-locked {
  overflow: hidden;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--brand-050) 0%, #fff 78%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: 520px;
  height: 520px;
  top: -220px;
  right: -160px;
  background: radial-gradient(
    circle,
    rgba(46, 163, 200, 0.22) 0%,
    rgba(46, 163, 200, 0) 68%
  );
}

.hero::after {
  width: 420px;
  height: 420px;
  bottom: -200px;
  left: -180px;
  background: radial-gradient(
    circle,
    rgba(46, 163, 200, 0.13) 0%,
    rgba(46, 163, 200, 0) 68%
  );
}

.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
  padding-block: 52px 64px;
}

@media (min-width: 980px) {
  .hero__in {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 56px;
    padding-block: 76px 96px;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--brand-200);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(46, 163, 200, 0.16);
  flex: none;
}

.hero__title {
  margin-top: 20px;
  font-size: clamp(2.25rem, 7.2vw, 3.85rem);
  letter-spacing: -0.035em;
}

.hero__accent {
  display: block;
  color: var(--brand-cta);
}

.hero__lead {
  margin-top: 20px;
  max-width: 54ch;
  font-size: 1.0625rem;
  color: var(--ink-2);
}

@media (min-width: 768px) {
  .hero__lead {
    font-size: 1.125rem;
  }
}

.hero__actions {
  margin-top: 28px;
}

.hero__points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.hero__point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-2);
}

.hero__point svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 2px;
  fill: var(--brand);
}

/* Carte visuelle du hero */
.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-2);
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    140deg,
    var(--brand) 0%,
    rgba(46, 163, 200, 0) 45%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.hero__card-glyph {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--r);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
}

.hero__card-glyph svg {
  width: 28px;
  height: 28px;
  fill: var(--brand);
}

.hero__card-title {
  font-size: 1.375rem;
}

.hero__card-text {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.hero__card-cta {
  margin-top: 20px;
}

.hero__card-note {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}

.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: var(--sh-2);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
  fill: var(--brand);
  flex: none;
}

.hero__badge--1 {
  top: -14px;
  left: -6px;
}

.hero__badge--2 {
  bottom: -14px;
  right: -6px;
}

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

/* ---------- 8. Bandeau confiance ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.trust__grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-inline: 1px solid var(--line);
}

@media (min-width: 640px) {
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust__item {
  padding: 28px 24px;
  background: var(--bg-soft);
}

.trust__num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.trust__num svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}

.trust__title {
  font-size: 1.0625rem;
}

.trust__text {
  margin-top: 8px;
  font-size: 0.9063rem;
  color: var(--muted);
}

/* ---------- 9. Cartes services ---------- */
.svc-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 620px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease),
    border-color 0.24s var(--ease);
}

.svc::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-200));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.svc:hover {
  transform: translateY(-4px);
  border-color: var(--brand-100);
  box-shadow: var(--sh-2);
}

.svc:hover::after {
  transform: scaleX(1);
}

.svc__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: var(--r);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  flex: none;
}

.svc__icon svg {
  width: 26px;
  height: 26px;
  fill: var(--brand-600);
}

.svc__title {
  font-size: 1.25rem;
}

.svc__text {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.svc__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  color: var(--brand-700);
  font-weight: 800;
  font-size: 0.875rem;
  text-decoration: none;
}

.svc__link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s var(--ease);
}

.svc__link:hover svg {
  transform: translateX(4px);
}

/* Carte CTA dans la grille */
.svc--cta {
  background: linear-gradient(150deg, var(--ink) 0%, #123c4e 100%);
  border-color: transparent;
  justify-content: center;
}

.svc--cta::after {
  display: none;
}

.svc--cta .svc__title {
  color: #fff;
}

.svc--cta .svc__text {
  color: rgba(255, 255, 255, 0.72);
}

.svc--cta .svc__icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.svc--cta .svc__icon svg {
  fill: #fff;
}

/* ---------- 10. Catalogue ---------- */
.cat__tools {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 900px) {
  .cat__tools {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cat__search {
  position: relative;
}

.cat__search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  fill: var(--muted);
  pointer-events: none;
}

.cat__search input {
  width: 100%;
  min-height: 50px;
  padding: 12px 44px 12px 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.cat__search input::placeholder {
  color: var(--muted);
}

.cat__search input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(46, 163, 200, 0.15);
}

.cat__clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--line-2);
  cursor: pointer;
}

.cat__clear.is-on {
  display: grid;
}

.cat__clear svg {
  position: static;
  transform: none;
  width: 12px;
  height: 12px;
  fill: var(--ink-2);
}

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

@media (max-width: 899px) {
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(var(--gut) * -1);
    padding-inline: var(--gut);
    padding-bottom: 4px;
  }
  .chips::-webkit-scrollbar {
    display: none;
  }
}

.chip {
  flex: none;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.chip:hover {
  border-color: var(--brand-200);
  color: var(--brand-700);
}

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

.cat__count {
  margin-bottom: 18px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
}

.cat__groups {
  display: grid;
  gap: 16px;
}

.cat-group {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--sh-1);
}

.cat-group[hidden] {
  display: none;
}

.cat-group__head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s var(--ease);
}

.cat-group__head:hover {
  background: var(--brand-050);
}

.cat-group__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
}

.cat-group__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--brand-600);
}

.cat-group__title {
  flex: 1;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.cat-group__n {
  flex: none;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--brand-050);
  color: var(--brand-700);
  font-size: 0.75rem;
  font-weight: 800;
}

.cat-group__chev {
  width: 18px;
  height: 18px;
  flex: none;
  fill: var(--muted);
  transition: transform 0.26s var(--ease);
}

.cat-group__head[aria-expanded="true"] .cat-group__chev {
  transform: rotate(180deg);
}

.cat-group__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.cat-group__body.is-open {
  grid-template-rows: 1fr;
}

.cat-group__inner {
  overflow: hidden;
}

.cat-list {
  display: grid;
  gap: 1px;
  padding: 0 22px 22px;
}

@media (min-width: 720px) {
  .cat-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 26px;
  }
}

.cat-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 0;
  border-top: 1px solid var(--line-2);
  font-size: 0.9375rem;
}

.cat-item[hidden] {
  display: none;
}

.cat-item svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 4px;
  fill: var(--brand);
}

.cat-item mark {
  padding: 0 2px;
  border-radius: 3px;
  background: #fff2ab;
  color: inherit;
}

.cat__empty {
  padding: 44px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  text-align: center;
}

.cat__empty[hidden] {
  display: none;
}

.cat__empty p {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- 11. Process ---------- */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
}

@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 52px;
    right: -17px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--brand-200);
    border-right: 2px solid var(--brand-200);
    transform: rotate(45deg);
  }
}

.step__n {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand-200);
  line-height: 1;
}

.step__title {
  font-size: 1.125rem;
}

.step__text {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---------- 12. Zone ---------- */
.area {
  display: grid;
  gap: 32px;
}

@media (min-width: 980px) {
  .area {
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
  }
}

.area__places {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.place {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-2);
}

.place svg {
  width: 13px;
  height: 13px;
  fill: var(--brand);
  flex: none;
}

.area__card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
}

.area__card-title {
  font-size: 1.0625rem;
  margin-bottom: 16px;
}

.area__addr {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.area__addr strong {
  color: var(--ink);
}

.area__map {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  margin-top: 12px;
  padding-block: 8px;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--brand-700);
  text-decoration: none;
}

.area__map svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.area__map:hover {
  text-decoration: underline;
}

/* ---------- 13. Citation ---------- */
.quote {
  background: linear-gradient(150deg, var(--bg-deep) 0%, #10475c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.quote::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  top: -230px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(46, 163, 200, 0.3) 0%,
    rgba(46, 163, 200, 0) 70%
  );
}

.quote__in {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.quote__mark {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  fill: var(--brand);
  opacity: 0.9;
}

.quote__text {
  font-size: clamp(1.125rem, 2.9vw, 1.625rem);
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  letter-spacing: -0.01em;
}

.quote__sig {
  margin-top: 22px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-200);
}

/* ---------- 14. FAQ ---------- */
.faq {
  display: grid;
  gap: 32px;
}

@media (min-width: 980px) {
  .faq {
    grid-template-columns: 360px 1fr;
    gap: 56px;
    align-items: start;
  }
}

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

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.faq__item[open] {
  border-color: var(--brand-200);
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.18s var(--ease);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--brand-700);
}

.faq__q-txt {
  flex: 1;
}

.faq__sign {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}

.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}

.faq__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__sign::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
  padding: 0 20px 20px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.faq__aside {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
}

@media (min-width: 980px) {
  .faq__aside {
    position: sticky;
    top: calc(var(--nav-h) + 20px);
  }
}

.faq__aside .lead {
  font-size: 0.9375rem;
}

.faq__aside .btn {
  margin-top: 20px;
}

/* ---------- 15. Contact ---------- */
.contact {
  display: grid;
  gap: 28px;
}

@media (min-width: 980px) {
  .contact {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
  }
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
}

@media (min-width: 768px) {
  .card {
    padding: 34px;
  }
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field__label {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--ink);
}

.field__opt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: lowercase;
}

.field__req {
  color: var(--brand);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.input::placeholder,
.textarea::placeholder {
  color: #9db3bc;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(46, 163, 200, 0.15);
}

.textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2364848f' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 11px;
  cursor: pointer;
}

.field.has-err .input,
.field.has-err .select,
.field.has-err .textarea {
  border-color: var(--err);
  background: var(--err-bg);
}

.field__err {
  display: none;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--err);
}

.field.has-err .field__err {
  display: block;
}

.field--row2 {
  display: grid;
  gap: 18px;
}

@media (min-width: 560px) {
  .field--row2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.875rem;
  color: var(--ink-2);
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.field.has-err .check {
  color: var(--err);
}

.form__note {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Honeypot anti-spam */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* États du formulaire */
.form-msg {
  display: none;
  padding: 20px;
  border-radius: var(--r);
  border: 1px solid;
}

.form-msg.is-on {
  display: block;
}

.form-msg--ok {
  border-color: #b7e3d0;
  background: #f0fbf6;
}

.form-msg--ok .form-msg__title {
  color: var(--ok);
}

.form-msg--warn {
  border-color: #f3ddb0;
  background: #fffaf0;
}

.form-msg--warn .form-msg__title {
  color: #96620d;
}

.form-msg__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-msg__title svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex: none;
}

.form-msg__text {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.form-msg .btn-row {
  margin-top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Bloc contact direct */
.direct {
  display: grid;
  gap: 12px;
}

.direct__title {
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.direct__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  text-decoration: none;
  box-shadow: var(--sh-1);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.direct__row:hover {
  transform: translateY(-2px);
  border-color: var(--brand-200);
  box-shadow: var(--sh-2);
}

.direct__ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
}

.direct__ico svg {
  width: 20px;
  height: 20px;
  fill: var(--brand-600);
}

.direct__row--wa .direct__ico {
  background: #e9fbf0;
  border-color: #c4f0d6;
}

.direct__row--wa .direct__ico svg {
  fill: #1fa855;
}

.direct__body {
  min-width: 0;
  flex: 1;
}

.direct__k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.direct__tag {
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: #e9fbf0;
  color: #17754a;
  font-size: 0.625rem;
  letter-spacing: 0.04em;
}

.direct__v {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.direct__v--sm {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ---------- 16. Bande CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  /* Les deux extrémités restent assez foncées pour porter du texte blanc en AA. */
  background: linear-gradient(120deg, var(--brand-700) 0%, var(--brand-cta) 100%);
  color: #fff;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    900px 320px at 78% 0%,
    rgba(255, 255, 255, 0.16),
    transparent 65%
  );
}

.cta-band__in {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  padding-block: 52px;
  text-align: center;
}

@media (min-width: 900px) {
  .cta-band__in {
    grid-template-columns: 1fr auto;
    align-items: center;
    text-align: left;
    gap: 40px;
    padding-block: 60px;
  }
}

.cta-band__title {
  font-size: clamp(1.5rem, 3.6vw, 2.125rem);
  color: #fff;
}

.cta-band__text {
  margin-top: 10px;
  color: #fff;
  font-size: 1rem;
}

.cta-band .btn-row {
  justify-content: center;
}

@media (min-width: 900px) {
  .cta-band .btn-row {
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
}

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9063rem;
}

.footer__grid {
  display: grid;
  gap: 36px;
  padding-block: 56px 40px;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
  }
}

.footer__brand .brand__name {
  color: #fff;
}

.footer__brand .brand__sub {
  color: var(--brand);
}

.footer__about {
  margin-top: 16px;
  max-width: 34ch;
}

.footer__title {
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.footer__list {
  display: grid;
  gap: 2px;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer__link:hover {
  color: var(--brand);
}

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

.footer__ci {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 40px;
  padding-block: 3px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer__ci:hover {
  color: #fff;
}

.footer__ci svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
  fill: var(--brand);
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bar a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer__bar a:hover {
  color: var(--brand);
}

/* ---------- 18. Barre d'action mobile ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}

.dock.is-on {
  transform: translateY(0);
}

@media (min-width: 1020px) {
  .dock {
    display: none;
  }
}

body.has-dock {
  /* Doit couvrir la hauteur réelle du dock, encoche comprise, sinon le bas de
     page passe sous la barre sur les téléphones à zone sûre (iPhone). */
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

@media (min-width: 1020px) {
  body.has-dock {
    padding-bottom: 0;
  }
}

/* ---------- 19. Pages simples (légal / 404) ---------- */
.page {
  padding-block: 48px 72px;
}

.page__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--brand-700);
  text-decoration: none;
}

.page__back svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transform: rotate(180deg);
}

.page__back:hover {
  text-decoration: underline;
}

.prose {
  max-width: 74ch;
}

.prose h1 {
  font-size: clamp(1.75rem, 4.4vw, 2.4rem);
  margin-bottom: 12px;
}

.prose h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.prose p {
  margin-bottom: 14px;
  color: var(--ink-2);
}

.prose p + p {
  margin-top: 0;
}

.prose a {
  color: var(--brand-700);
}

.err-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  text-align: center;
  padding-block: 60px;
}

.err-page__code {
  font-size: clamp(4.5rem, 18vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--brand-100);
}

.err-page__title {
  margin-top: 6px;
  font-size: clamp(1.5rem, 4.4vw, 2.125rem);
}

.err-page__text {
  margin-top: 14px;
  max-width: 46ch;
  margin-inline: auto;
  color: var(--muted);
}

.err-page .btn-row {
  margin-top: 28px;
  justify-content: center;
}

/* ---------- 20. Révélation au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 21. Impression ---------- */
@media print {
  .topbar,
  .header,
  .drawer,
  .dock,
  .cta-band,
  .hero__art,
  .cat__tools {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  .section {
    padding-block: 18px;
    break-inside: avoid;
  }
  a {
    color: #000;
  }
  .cat-group__body {
    grid-template-rows: 1fr !important;
  }
}
