/* ==========================================================================
   JRP Patrimoine : Refonte 2026
   Direction artistique : style guide « Compound » (éditorial, encre sur papier)
   adapté à la charte JRP (navy, bleu ciel, or, jaune pâle).
   Une seule police (Inter, graisse 400), toile blanche, filets fins,
   la couleur n'apparaît que dans les facettes et quelques accents.
   ========================================================================== */

/* Inter, hébergée sur le site (sous-ensemble latin, axe optique 14-32, graisse 400) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Neutres (style guide, très légèrement teintés navy pour s'accorder au logo) */
  --ink: #0D1B2A;
  --paper: #FFFFFF;
  --hairline: #E5E7EB;
  --vellum: #F4F5F7;
  --slate: #5E6875;
  --pewter: #4F5864;
  --ash: #9AA2AD;
  --stone: #C9CED5;
  --cream: #FFE9BF;

  /* Charte JRP (échantillonnée sur la pièce jointe) */
  --navy: #0B4177;
  --navy-deep: #08325C;
  --sky: #45A4FF;
  --gold: #F8BC00;
  --sun: #FFDA75;

  /* Typographie */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-caption: 0.75rem;     /* 12 */
  --fs-body-sm: 0.875rem;    /* 14 */
  --fs-body: 1rem;           /* 16 */
  --fs-sub: 1.125rem;        /* 18 */
  --fs-h-sm: clamp(1.625rem, 1.1rem + 1.6vw, 2.25rem);   /* 26 → 36 */
  --fs-h: clamp(2rem, 1.25rem + 2.6vw, 3rem);            /* 32 → 48 */
  --fs-h-lg: clamp(2.25rem, 1.2rem + 3.6vw, 3.75rem);    /* 36 → 60 */
  --fs-display: clamp(2.6rem, 1.1rem + 5.2vw, 4.5rem);   /* 42 → 72 */

  /* Espacements (base 8) */
  --s-8: 8px; --s-16: 16px; --s-24: 24px; --s-32: 32px; --s-40: 40px;
  --s-48: 48px; --s-56: 56px; --s-64: 64px; --s-80: 80px; --s-112: 112px;
  --s-128: 128px; --s-160: 160px;
  --section-pad: clamp(72px, 8.5vw, 128px);
  --page-max: 1200px;
  --gutter: clamp(20px, 5vw, 40px);

  /* Rayons */
  --r-card: 20px;
  --r-card-lg: 24px;
  --r-list: 28px;
  --r-full: 9999px;

  /* Ombres (style guide : quatre couches, opacité < 0.10) */
  --shadow-card: rgba(207, 207, 207, 0.01) 0 132px 53px 0, rgba(207, 207, 207, 0.05) 0 74px 44px 0, rgba(207, 207, 207, 0.09) 0 33px 33px 0, rgba(207, 207, 207, 0.1) 0 8px 18px 0;
  --shadow-lift: rgba(0, 0, 0, 0.01) 0 128px 51px 0, rgba(0, 0, 0, 0.02) 0 72px 43px 0, rgba(0, 0, 0, 0.03) 0 32px 32px 0, rgba(0, 0, 0, 0.04) 0 8px 18px 0;
  --shadow-list: rgba(194, 194, 194, 0.01) 0 168px 67px 0, rgba(194, 194, 194, 0.05) 0 94px 57px 0, rgba(194, 194, 194, 0.09) 0 42px 42px 0, rgba(194, 194, 194, 0.1) 0 10px 23px 0;

  /* En-tête */
  --announce-h: 0px;
  --nav-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
  font-feature-settings: "kern", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol, address { margin: 0; }
h1, h2, h3, h4, strong, b, dt, th { font-weight: 400; }
address { font-style: normal; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--cream); color: var(--ink); }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
main:focus, [tabindex="-1"]:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-full);
  background: var(--ink); color: #fff; font-size: var(--fs-body-sm);
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

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

/* ---------- Composants du style guide ---------- */

/* Bouton pilule plein : l'unique bouton plein du système */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 18px;
  border-radius: var(--r-full);
  background: var(--navy); color: #fff;
  font-size: var(--fs-body-sm); line-height: 1; white-space: nowrap;
  transition: background-color .3s ease;
  will-change: transform;
}
.pill:hover { background: var(--navy-deep); }
.pill__arrow { display: inline-block; transition: transform .45s var(--ease-out); }
.pill:hover .pill__arrow { transform: translateX(3px); }

/* Lien texte « fantôme » souligné */
.link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .45s var(--ease-out);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* Séparateur de section avec libellé centré sur le filet */
.divider {
  display: flex; align-items: center; gap: 20px;
  color: var(--slate); font-size: var(--fs-body-sm); line-height: 1.43;
  margin-bottom: var(--s-56);
}
.divider__line { flex: 1; height: 1px; background: var(--hairline); }
.divider__line:first-child { transform-origin: 100% 50%; }
.divider__line:last-child { transform-origin: 0 50%; }
.divider__label { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.divider__label::before {
  content: ""; width: 7px; height: 7px; background: var(--facet, var(--sky));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* Cercle d'icône */
.icon-circle {
  width: 40px; height: 40px; flex: 0 0 auto;
  border-radius: var(--r-full); background: var(--paper);
  display: grid; place-items: center;
}
.icon-circle svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Titres */
.section { padding-block: var(--section-pad); }
.section-head { max-width: 780px; margin: 0 auto var(--s-64); text-align: center; }
.h2 { font-size: var(--fs-h-lg); line-height: 1.1; letter-spacing: -0.035em; text-wrap: balance; }
.lead {
  margin: var(--s-24) auto 0; max-width: 58ch;
  font-size: var(--fs-sub); line-height: 1.56; color: var(--slate); text-wrap: pretty;
}

/* ==========================================================================
   En-tête : bandeau d'annonce + navigation
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 70;
  transition: transform .6s var(--ease-out);
}
.site-header.is-compact { transform: translateY(calc(-1 * var(--announce-h))); }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { transform: translateY(calc(-1 * var(--announce-h))); }


.nav-bar {
  position: relative;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s ease;
}
.site-header.is-scrolled .nav-bar { border-bottom-color: var(--hairline); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { position: relative; font-size: var(--fs-body-sm); padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .45s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--r-full);
  background: var(--vellum); position: relative;
}
.nav-toggle span, .nav-toggle span::before {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .45s var(--ease-out);
}
.nav-toggle span { transform: translate(-50%, -4px); }
.nav-toggle span::before { content: ""; transform: translate(-50%, 7px); }
.nav-toggle[aria-expanded="true"] span { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(-90deg); }

.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--navy); transform: scaleX(0); transform-origin: 0 50%;
}

/* Menu mobile plein écran */
.menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
  background: var(--paper);
  visibility: hidden; opacity: 0;
  transition: opacity .4s ease, visibility 0s linear .4s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .4s ease; }
.menu__links a {
  display: block; padding: 12px 0; border-bottom: 1px solid var(--hairline);
  font-size: var(--fs-h-sm); line-height: 1.25; letter-spacing: -0.022em;
}
.menu__foot { font-size: var(--fs-body-sm); color: var(--slate); }

/* ==========================================================================
   Hero plein écran
   ========================================================================== */
#smooth-content { overflow: visible; }

.hero {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--announce-h) + var(--nav-h) + clamp(40px, 11vh, 132px));
  overflow: hidden;
  background: var(--paper);
}
.hero__inner { position: relative; z-index: 2; text-align: center; }
.hero__title { font-size: inherit; }
.hero__kicker {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: var(--s-32);
  font-size: var(--fs-body-sm); line-height: 1.43; color: var(--slate);
}
.hero__rule { width: 48px; height: 1px; background: var(--stone); }
.hero__rule:first-child { transform-origin: 100% 50%; }
.hero__rule:last-child { transform-origin: 0 50%; }
.hero__display {
  display: block;
  font-size: var(--fs-display); line-height: 1; letter-spacing: -0.045em;
  color: var(--ink); text-wrap: balance;
}
.hero__sub {
  margin: var(--s-32) auto 0; max-width: 40ch;
  font-size: var(--fs-sub); line-height: 1.56; color: var(--slate);
}

/* Les Pyrénées en facettes, aux couleurs du cavalier */
.hero__ridge {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  height: clamp(260px, 31vw, 560px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
}
.ridge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.facet { stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* ==========================================================================
   Carte « vitrine » (le seul objet en relief du système)
   ========================================================================== */
.showcase {
  position: relative; z-index: 2;
  margin-top: calc(-1 * clamp(120px, 22vh, 240px));
  padding-bottom: var(--s-16);
  perspective: 1800px;
}
.preview-card {
  max-width: 1040px; margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  transform-origin: 50% 0;
  overflow: hidden;
}
.preview-card__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--hairline);
  font-size: 13px; color: var(--slate);
}
.preview-card__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.preview-card__brand svg { width: 18px; height: 18px; }
.preview-card__body {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4.5vw, 56px);
  padding: clamp(20px, 3.4vw, 40px);
}
.portrait { border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--vellum); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.person { margin-top: var(--s-16); }
.person__name { font-size: var(--fs-sub); line-height: 1.38; }
.person__role { margin-top: 2px; font-size: var(--fs-body-sm); line-height: 1.43; color: var(--slate); }
.card-quote { font-size: var(--fs-h-sm); line-height: 1.25; letter-spacing: -0.024em; text-wrap: pretty; }
.metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-16);
  margin-top: var(--s-40); padding-top: var(--s-24); border-top: 1px solid var(--hairline);
}
.metrics dt { font-size: var(--fs-caption); line-height: 1.5; color: var(--slate); }
.metrics dd {
  margin-top: 6px; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem); line-height: 1.1;
  letter-spacing: -0.035em; font-variant-numeric: tabular-nums;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-32); }
.chips li {
  font-size: var(--fs-caption); line-height: 1; padding: 8px 12px;
  border-radius: var(--r-full); background: var(--vellum); color: var(--pewter);
}

/* ==========================================================================
   Vos objectifs : rangée de cartes de service
   ========================================================================== */
.goals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-16); }
.goal {
  position: relative;
  display: flex; flex-direction: column; gap: var(--s-40);
  min-height: 248px; padding: var(--s-24);
  border-radius: var(--r-card); background: var(--vellum);
  transition: background-color .5s ease, box-shadow .6s var(--ease-out), translate .6s var(--ease-out);
}
/* « translate » (et non « transform ») pour ne pas entrer en conflit avec les animations GSAP */
.goal:hover { background: var(--paper); box-shadow: var(--shadow-lift); translate: 0 -4px; }
.goal__facet {
  position: absolute; top: 28px; right: 26px; width: 12px; height: 12px;
  background: var(--facet, var(--sky)); clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transition: transform .8s var(--ease-out);
}
.goal:hover .goal__facet { transform: rotate(180deg) scale(1.25); }
.goal__text { margin-top: auto; }
.goal h3 { font-size: var(--fs-body); line-height: 1.5; }
.goal p { margin-top: 6px; font-size: var(--fs-body-sm); line-height: 1.5; color: var(--slate); }

/* ==========================================================================
   Notre approche
   ========================================================================== */
.manifesto {
  max-width: 1000px; margin: 0 auto;
  font-size: var(--fs-h); line-height: 1.11; letter-spacing: -0.032em;
  text-align: center; text-wrap: balance;
}
.approach {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  margin-top: var(--s-128);
  align-items: start;
}
.photo-frame {
  position: relative; max-width: 420px;
  aspect-ratio: 1 / 1; border-radius: var(--r-card-lg); overflow: hidden;
  background: var(--vellum);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform-origin: 50% 40%; }
.photo-caption { margin-top: var(--s-24); max-width: 420px; }
.photo-caption .person__name { font-size: var(--fs-sub); }
.place { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s-16); font-size: var(--fs-caption); color: var(--slate); }
.place svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.bio { font-size: var(--fs-sub); line-height: 1.56; text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-24); }
.tags li {
  font-size: 13px; line-height: 1; padding: 9px 14px;
  border-radius: var(--r-full); background: var(--paper); border: 1px solid var(--hairline);
}
.pillars {
  margin-top: var(--s-56);
  background: var(--paper); border: 1px solid var(--hairline);
  border-radius: var(--r-list); box-shadow: var(--shadow-list);
}
.pillar {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s-16);
  padding: var(--s-32);
  border-top: 1px solid var(--hairline);
}
.pillar:first-child { border-top: 0; }
.pillar__num { padding-top: 3px; font-size: 13px; color: var(--ash); font-variant-numeric: tabular-nums; }
.pillar h3 { font-size: var(--fs-sub); line-height: 1.38; }
.pillar p { margin-top: 6px; font-size: var(--fs-body-sm); line-height: 1.57; color: var(--slate); }

/* ==========================================================================
   Nos solutions : piste horizontale (bureau), grille (mobile)
   ========================================================================== */
.solutions { padding-block: var(--section-pad); overflow: hidden; }
.solutions__head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s-40); align-items: end;
  margin-bottom: var(--s-56);
}
.solutions__head .h2 { max-width: 14ch; }
.solutions__head .lead { margin: 0; }
/* Par défaut (sans GSAP, tablette, mobile) : une grille lisible */
.track {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-16);
  max-width: calc(var(--page-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
}
.sol {
  min-height: 420px;
  display: flex; flex-direction: column;
  padding: var(--s-32);
  border-radius: var(--r-card-lg); background: var(--vellum);
}
.sol__top { display: flex; justify-content: space-between; align-items: center; }
.sol__num { font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }
.sol h3 { margin-top: var(--s-48); font-size: var(--fs-h-sm); line-height: 1.25; letter-spacing: -0.024em; }
.sol .tags { margin-top: auto; padding-top: var(--s-32); }
.track-progress {
  display: none; position: relative; height: 1px; background: var(--hairline);
  margin-top: var(--s-40);
}
.track-progress__bar { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }

/* Bureau + GSAP : la section s'épingle et les cartes défilent à l'horizontale */
.solutions.is-hscroll { padding-block: 0; }
.solutions.is-hscroll .solutions__pin {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 64px 40px;
}
.solutions.is-hscroll .divider { margin-bottom: var(--s-32); }
.solutions.is-hscroll .solutions__head { margin-bottom: var(--s-32); }
.solutions.is-hscroll .h2 { font-size: var(--fs-h); line-height: 1.11; letter-spacing: -0.03em; }
.solutions.is-hscroll .track {
  display: flex; width: max-content; max-width: none; margin: 0;
  padding-inline: max(var(--gutter), calc((100vw - var(--page-max)) / 2));
}
.solutions.is-hscroll .sol { flex: 0 0 clamp(340px, 33vw, 470px); min-height: 0; padding: 28px; }
.solutions.is-hscroll .sol h3 { margin-top: var(--s-24); }
.solutions.is-hscroll .sol .tags { padding-top: var(--s-24); }
.solutions.is-hscroll .track-progress { display: block; margin-top: var(--s-32); }

.risk-note { margin-top: var(--s-32); font-size: var(--fs-caption); line-height: 1.5; color: var(--slate); }
.solutions.is-hscroll .risk-note { margin-top: 0; padding-bottom: var(--s-64); }

/* ==========================================================================
   Avis clients
   ========================================================================== */
.reviews-section { background: var(--vellum); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-16); align-items: start; }
.review {
  display: flex; flex-direction: column; gap: var(--s-32);
  padding: var(--s-32);
  border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--hairline);
}
.review__stars { color: var(--gold); font-size: 14px; letter-spacing: 3px; line-height: 1; }
.review blockquote { font-size: var(--fs-sub); line-height: 1.56; text-wrap: pretty; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: var(--fs-body-sm); }
.review__source { display: block; font-size: var(--fs-caption); color: var(--slate); }
.avatar {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: var(--r-full);
  display: grid; place-items: center; background: var(--vellum); font-size: 13px;
}

/* ==========================================================================
   FAQ : accordéon
   ========================================================================== */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s-24);
  padding: var(--s-32) 0; text-align: left;
  font-size: var(--fs-sub); line-height: 1.38;
}
.faq__icon {
  position: relative; width: 36px; height: 36px; flex: 0 0 auto;
  border-radius: var(--r-full); background: var(--vellum);
  transition: transform .6s var(--ease-out), background-color .3s ease;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px;
  background: var(--ink); transform: translate(-50%, -50%); transition: background-color .3s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q:hover .faq__icon { background: var(--hairline); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--navy); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__a p { padding: 0 64px var(--s-32) 0; font-size: var(--fs-body); line-height: 1.6; color: var(--slate); }
/* Repli accessible : sans JavaScript, les réponses restent visibles */
.js .faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.js .faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.js .faq__a > div { overflow: hidden; }

/* ==========================================================================
   Habilitations : cartes « publication » sur vélin
   ========================================================================== */
.regul { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.regul__intro .h2 { font-size: var(--fs-h); line-height: 1.11; letter-spacing: -0.03em; }
.regul__text { margin-top: var(--s-24); font-size: var(--fs-body-sm); line-height: 1.71; color: var(--slate); }
.regul__text strong { color: var(--ink); }
.regul__text a { color: var(--ink); }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-16); }
.cred {
  display: flex; flex-direction: column; min-height: 236px;
  padding: var(--s-32) var(--s-24) var(--s-24);
  border-radius: var(--r-card); background: var(--vellum);
}
.cred__abbr { font-size: var(--fs-h-sm); line-height: 1.1; letter-spacing: -0.03em; }
.cred h3 { margin-top: auto; padding-top: var(--s-32); font-size: var(--fs-body-sm); line-height: 1.43; }
.cred p { margin-top: 8px; font-size: 13px; line-height: 1.54; color: var(--slate); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.footer { position: relative; padding-top: var(--s-112); border-top: 1px solid var(--hairline); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--s-48); }
.footer__logo img { height: 40px; width: auto; }
.footer__desc { margin-top: var(--s-24); max-width: 38ch; font-size: var(--fs-body); line-height: 1.5; color: var(--slate); }
.footer address { margin-top: var(--s-24); font-size: var(--fs-body-sm); line-height: 1.71; }
.footer__title { font-size: var(--fs-caption); color: var(--slate); margin-bottom: var(--s-16); }
.footer__list { display: grid; gap: 10px; font-size: var(--fs-body-sm); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: var(--s-80); padding-block: var(--s-24);
  border-top: 1px solid var(--hairline);
  font-size: var(--fs-caption); color: var(--slate);
}
.footer__ridge {
  position: relative; height: clamp(110px, 18vw, 280px); margin-top: var(--s-16);
  pointer-events: none;
}

/* ==========================================================================
   Animation : état initial anti-flash (retiré si GSAP ne se charge pas)
   ========================================================================== */
.anim [data-intro] { visibility: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
  .goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  /* Montagnes recadrées sur les deux grands sommets (bleu ciel à droite) */
  .hero__ridge { height: clamp(220px, 46svh, 520px); }
  .hero__ridge .ridge { right: auto; left: 50%; width: auto; aspect-ratio: 1440 / 560; translate: -64% 0; }
  .showcase { margin-top: -88px; }
  .nav__links, .nav__actions .pill { display: none; }
  .nav-toggle { display: inline-block; }
  .approach { grid-template-columns: 1fr; }
  .photo-frame, .photo-caption { max-width: 360px; }
  .solutions__head { grid-template-columns: 1fr; gap: var(--s-24); }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol { min-height: 360px; }
  .reviews { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .regul { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  .nav__logo img { height: 30px; }
  .hero__kicker { gap: 12px; font-size: 13px; }
  .hero__rule { width: 24px; }
  .hide-sm { display: none; }
  .preview-card__bar { font-size: 12px; }
  .preview-card__brand { white-space: nowrap; }
  .preview-card__body { grid-template-columns: 1fr; }
  .preview-card__media { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-16); align-items: center; }
  .preview-card__media .person { margin-top: 0; }
  .portrait { border-radius: 12px; }
  .metrics { gap: 8px; }
  .goals { grid-template-columns: 1fr; }
  .goal { min-height: 0; gap: var(--s-32); }
  .track { grid-template-columns: 1fr; }
  .sol { min-height: 0; }
  .creds { grid-template-columns: 1fr; }
  .cred { min-height: 0; }
  .faq__a p { padding-right: 0; }
  .pillar { padding: var(--s-24); grid-template-columns: 36px minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
