/* ==========================================================================
   intellarys.fr — V5
   Charte Intellarys (palette exacte), police Schibsted Grotesk auto-hébergée.
   Mobile first. Chemins relatifs (ouverture en file:// possible).
   ========================================================================== */

/* --------------------------------------------------------------- polices */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin-wght-normal.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;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin-wght-italic.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;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin-ext-wght-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Repli métrique pour limiter le décalage de mise en page avant le chargement. */
@font-face {
  font-family: 'Schibsted Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 103%;
  ascent-override: 94%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ---------------------------------------------------------------- tokens */
:root {
  /* Charte Intellarys */
  --blue: #2864EA;
  --blue-hover: #1F4FBF;
  --blue-bright: #5489FF;
  --blue-light: #A3BFFF;
  --blue-soft: #EAF0FE;
  --ink: #0F172A;
  --ink-2: #475569;
  --ink-3: #64748B;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --bg-soft: #F8FAFC;
  --white: #FFFFFF;
  --success: #10B981;
  --success-text: #047857;
  --warning-text: #B45309;
  --danger: #EF4444;
  --danger-text: #B91C1C;

  /* Sur fond sombre / cobalt */
  --on-dark: #E2E8F0;
  --on-dark-2: #B7C3D6;
  --on-dark-line: rgba(226, 232, 240, 0.14);
  --dark-raised: #16213A;
  --on-blue-2: #EEF3FF;
  --on-blue-line: rgba(255, 255, 255, 0.24);

  --font: 'Schibsted Grotesk', 'Schibsted Fallback', Arial, Helvetica, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --text-h3: 1.375rem;
  --text-h2: clamp(1.9rem, 1.35rem + 2.2vw, 3rem);
  --text-h1: clamp(2.5rem, 1.55rem + 4.4vw, 5.25rem);

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max: 1200px;
  --section-y: clamp(3.75rem, 2.5rem + 5vw, 8rem);
  --header-h: 64px;

  --radius: 2px;
  --radius-md: 4px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-blue: 0 8px 20px rgba(40, 100, 234, 0.28);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur: 300ms;
  --dur-slow: 700ms;

  --z-header: 20;
  --z-nav: 30;
  --z-dialog: 50;
}
@media (min-width: 1024px) {
  :root { --header-h: 72px; }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}
html[lang="fr"] { quotes: "«\202F" "\202F»"; }
html[lang="en"] { quotes: "\201C" "\201D"; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 var(--text-base) / 1.6 var(--font);
  font-kerning: normal;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }
ul, ol { padding: 0; }
/* viewport-fit=cover laisse la page passer sous l'encoche et la barre gestuelle :
   tout le contenu transite par .container, on l'y écarte. Les fonds restent bord à bord. */
.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.8rem 1rem; background: var(--white); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-md); font-weight: 600;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.section-blue :focus-visible, .proof-early :focus-visible, .hero :focus-visible { outline-color: var(--white); }
::selection { background: var(--blue); color: var(--white); }

.icon { flex: none; }

/* ---------------------------------------------------- retour tactile
   Les survols sont réservés aux pointeurs qui savent survoler ; au doigt,
   c'est l'appui qui répond. Halo d'appui aux couleurs de la charte, et les
   grandes surfaces cliquables accusent réception pendant le contact. */
html { -webkit-tap-highlight-color: rgba(40, 100, 234, 0.14); }
@media (hover: none) {
  .profile-door:active { background: var(--bg-soft); }
  .profile-door:active .profile-door-cta .icon { transform: translateX(4px); }
  .bridge-cover:active { transform: scale(0.985); }
  .nav-list a:active { color: var(--blue); }
  .profile-back:active { color: var(--white); } /* lien de retour sur fond sombre */
}

/* --------------------------------------------------------------- boutons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.75rem 1.25rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: var(--text-sm); line-height: 1.2; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.button-lg { min-height: 52px; padding: 0.9rem 1.5rem; font-size: 1rem; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--blue); color: var(--white); box-shadow: var(--shadow-blue); }
  @media (hover: hover) {
.button-primary:hover { background: var(--blue-hover); box-shadow: 0 4px 12px rgba(40, 100, 234, 0.22); } }
.button-ghost { background: transparent; color: var(--ink); border-color: rgba(15, 23, 42, 0.28); }
  @media (hover: hover) {
.button-ghost:hover { background: var(--bg-soft); border-color: var(--ink); } }
.button-ghost.on-dark { color: var(--white); border-color: rgba(255, 255, 255, 0.38); }
  @media (hover: hover) {
.button-ghost.on-dark:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); } }
.button .icon { transition: transform var(--dur-fast) var(--ease); }
  @media (hover: hover) {
.button:hover .icon { transform: translateX(2px); } }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  color: var(--white);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
/* Menu ouvert : pas de backdrop-filter, sinon le panneau fixe serait positionné par rapport à l'en-tête. */
.site-header.is-open {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; min-height: 44px; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.brand-name { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; }

.menu-button {
  position: relative; z-index: calc(var(--z-nav) + 1);
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit; border-radius: var(--radius);
}
.menu-icon { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; }
.menu-icon i { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 1px; transition: transform var(--dur) var(--ease); }
.menu-button[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-4px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: var(--z-nav);
  display: flex; flex-direction: column; gap: 2rem;
  padding: 1.5rem var(--gutter) 2rem; overflow-y: auto;
  background: var(--white); color: var(--ink);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
/* Ouverture du menu : les entrées montent l'une après l'autre (40 ms d'écart),
   fermeture instantanée. Sur ordinateur le panneau n'existe pas, rien ne s'applique. */
@media (max-width: 1023.98px) {
  .site-nav.is-open .nav-list li, .site-nav.is-open .nav-tools {
    animation: rise var(--dur-slow) var(--ease) both;
    animation-delay: calc(var(--i, 0) * 40ms);
  }
  .site-nav .nav-list li:nth-child(1) { --i: 1; }
  .site-nav .nav-list li:nth-child(2) { --i: 2; }
  .site-nav .nav-list li:nth-child(3) { --i: 3; }
  .site-nav .nav-list li:nth-child(4) { --i: 4; }
  .site-nav .nav-list li:nth-child(5) { --i: 5; }
  .site-nav .nav-tools { --i: 6; }
}
.nav-list { list-style: none; display: flex; flex-direction: column; }
.nav-list a {
  display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line);
  font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none;
}
.nav-tools { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.lang-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 0.75rem;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-decoration: none;
  opacity: 0.85; transition: opacity var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
  @media (hover: hover) {
.lang-link:hover { opacity: 1; background: rgba(15, 23, 42, 0.05); } }
.nav-cta { min-height: 44px; }

/* --------------------------------------------- action à portée de pouce
   Sur téléphone, le seul CTA vivait derrière le menu. Dès que le lecteur défile,
   « Échanger 30 min » apparaît dans l'en-tête, à un pouce du bord. Pas de bandeau
   collant en bas d'écran : l'en-tête existe déjà, on ne prend aucune place de plus. */
.nav-cta-mini { display: none; }
@media (max-width: 1023.98px) {
  .nav-cta-mini {
    display: inline-flex; margin-left: auto;
    min-height: 44px; padding: 0.5rem 0.9rem; font-size: var(--text-sm);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .site-header.is-past-hero .nav-cta-mini { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  /* Menu ouvert : le panneau porte déjà le CTA complet, on ne double pas à côté de la croix. */
  .site-header.is-open .nav-cta-mini { visibility: hidden; opacity: 0; }
}
/* Écran étroit : quand le CTA apparaît, la marque se replie sur son sigle. */
@media (max-width: 479.98px) {
  .site-header.is-past-hero:not(.is-open) .brand-name { display: none; }
}

@media (min-width: 1024px) {
  .menu-button { display: none; }
  .site-nav {
    position: static; inset: auto; z-index: auto;
    flex-direction: row; align-items: center; gap: clamp(1.5rem, 3vw, 3rem);
    padding: 0; overflow: visible; background: transparent; color: inherit;
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .nav-list { flex-direction: row; gap: clamp(1.1rem, 2vw, 1.9rem); }
  .nav-list a {
    padding: 0.5rem 0; border: 0; font-size: var(--text-sm); font-weight: 500; letter-spacing: 0;
    opacity: 0.86; text-underline-offset: 0.45em; text-decoration-thickness: 1px; text-decoration-color: transparent;
    transition: opacity var(--dur-fast) var(--ease), text-decoration-color var(--dur-fast) var(--ease);
  }
    @media (hover: hover) {
  .nav-list a:hover, .nav-list a[aria-current="true"] { opacity: 1; text-decoration: underline; text-decoration-color: currentColor; } }
  .nav-tools { gap: 0.75rem; }
  .lang-link { min-width: 40px; min-height: 36px; }
  .nav-cta { min-height: 40px; padding: 0.5rem 1rem; }
  .site-header:not(.is-scrolled) .nav-cta { background: var(--white); color: var(--ink); box-shadow: none; }
    @media (hover: hover) {
  .site-header:not(.is-scrolled) .nav-cta:hover { background: var(--blue-light); } }
    @media (hover: hover) {
  .site-header:not(.is-scrolled) .lang-link:hover { background: rgba(255, 255, 255, 0.12); } }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100svh);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  background: var(--ink); color: var(--white);
}
.hero-media, .hero-overlay { position: absolute; inset: 0; z-index: -1; }
/* Cadrage étroit (téléphone) : la fenêtre visible ne couvre qu'un tiers de la largeur
   de la photo. Le point de mire à 76 % garde les deux personnes dans le cadre plutôt
   que de trancher celle de droite au bord de l'écran. */
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 76% 30%; }
/* Téléphone : le voile ne descend jamais sous 0,80 dans la zone où le texte se pose.
   Le palier précédent (0,25 à 30 % de hauteur) laissait la baseline et le H1 tomber sur
   le pilier clair de la photo, à 1,3:1 au lieu des 4,5:1 exigés. La photo reste lisible
   en texture, comme dans la colonne gauche du cadrage large. */
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.80) 24%, rgba(15, 23, 42, 0.92) 60%, rgba(15, 23, 42, 0.98) 100%);
}
.hero-inner { position: relative; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.02em; color: var(--blue-light);
}
.hero-kicker::before { content: ""; width: 24px; height: 2px; background: var(--blue-bright); }
.hero-title {
  margin-top: 1.25rem;
  font-size: var(--text-h1); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em;
  max-width: 12ch;
}
.hero-title > span { display: block; }
.hero-title-accent { color: var(--blue-bright); }
.hero-title-sub {
  max-width: 30ch; margin-top: 1.25rem;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em;
  color: var(--on-dark);
}
.hero-lead { margin-top: 1.5rem; max-width: 44ch; font-size: var(--text-lg); line-height: 1.5; color: var(--on-dark-2); }
.hero-lead span, .hero-lead strong { display: block; }
.hero-lead strong { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-note { margin-top: 1rem; font-size: var(--text-sm); color: var(--on-dark-2); }

@media (min-width: 640px) {
  .hero { align-items: center; padding-bottom: 4rem; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 23, 42, 0.97) 0%, rgba(15, 23, 42, 0.88) 34%, rgba(15, 23, 42, 0.42) 64%, rgba(15, 23, 42, 0.12) 100%),
      linear-gradient(0deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0) 40%);
  }
  .hero-media img { object-position: 62% 40%; }
}
@media (min-width: 1024px) {
  .hero { min-height: min(920px, 100svh); }
}
@media (min-width: 1024px) and (max-height: 720px) {
  .hero { min-height: 640px; }
}
/* Écran court (téléphone en paysage, fenêtre écrasée) : le H1 suit la largeur et
   prenait quatre lignes sur 390 px de haut, poussant les deux boutons à 1,8 écran.
   Ici il suit aussi la hauteur, et les marges se resserrent. */
@media (max-height: 520px) {
  .hero { min-height: 100svh; padding: calc(var(--header-h) + 0.5rem) 0 1.5rem; }
  /* La mesure de 12ch vient du portrait, où la largeur manque. En paysage elle
     force cinq lignes alors qu'il reste de la place à droite : on l'élargit. */
  .hero-title { margin-top: 0.75rem; font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.75rem); max-width: 22ch; }
  .hero-title-sub { margin-top: 0.5rem; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem); max-width: 38ch; }
  .hero-lead { margin-top: 0.5rem; }
  .hero-actions { margin-top: 1rem; }
  .hero-note { margin-top: 0.6rem; }
}

/* Chargement : chaque bloc monte de 16 px, d'un flou léger vers net. */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.hero-kicker, .hero-title > span, .hero-lead, .hero-actions, .hero-note {
  animation: rise var(--dur-slow) var(--ease) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
.hero-title-line { --i: 1; }
.hero-title-accent { --i: 2; }
.hero-title-sub { --i: 3; }
.hero-lead { --i: 4; }
.hero-actions { --i: 5; }
.hero-note { --i: 6; }

/* ------------------------------------------------------------ assurances */
.assurances { background: var(--white); border-bottom: 1px solid var(--line); }
.assurances ul { list-style: none; display: grid; }
.assurances li { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.assurances li:first-child { border-top: 0; }
.assurances h2 { font-size: var(--text-base); font-weight: 700; letter-spacing: -0.01em; }
.assurances p { margin-top: 0.25rem; font-size: var(--text-sm); color: var(--ink-2); }
@media (min-width: 768px) {
  .assurances ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; }
  .assurances li { padding: 1.75rem 0; border-top: 0; }
  .assurances li + li { border-left: 1px solid var(--line); padding-left: 2.5rem; }
}

/* ------------------------------------------------------- preuve remontée */
.proof-early { padding: clamp(2.5rem, 4vw, 4rem) 0; background: var(--blue); color: var(--white); }
.proof-early-shell { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.proof-early-content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
.proof-early-scene {
  position: relative; height: clamp(15rem, 65vw, 20rem); overflow: hidden; background: #C5B197;
}
.proof-early-picture { position: absolute; inset: 0; }
.proof-early-picture,
.proof-early-picture img { width: 100%; height: 100%; }
.proof-early-picture img { object-fit: cover; object-position: 60% 42%; }
.proof-early--with-scene { padding: 0; }
.proof-early--with-scene .proof-early-shell { width: 100%; margin: 0; }
.proof-early--with-scene .proof-early-content { padding: clamp(2.5rem, 7vw, 3.5rem) var(--gutter); }
.proof-early-kicker { font-size: var(--text-sm); font-weight: 700; color: var(--on-blue-2); }
.proof-early h2 {
  margin-top: 0.5rem; max-width: 19ch;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em;
}
.proof-early .text-link.on-blue { margin-top: 1rem; }
.proof-early-facts { display: grid; border-bottom: 1px solid var(--on-blue-line); }
.proof-early-facts > div { padding: 1rem 0; border-top: 1px solid var(--on-blue-line); }
.proof-early-facts dt { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.proof-early-axis { color: var(--on-blue-2); font-size: var(--text-sm); font-weight: 700; line-height: 1.2; }
.proof-early-facts dt strong {
  font-size: clamp(1.65rem, 1.35rem + .9vw, 2rem); font-weight: 800; line-height: 1.04;
  letter-spacing: -0.025em; font-variant-numeric: tabular-nums; text-wrap: balance;
}
.proof-early-facts dd { margin: .55rem 0 0; max-width: 25ch; color: var(--on-blue-2); font-size: var(--text-sm); line-height: 1.45; }
@media (min-width: 768px) {
  .proof-early-content { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); }
  .proof-early--with-scene .proof-early-content { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .proof-early-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--on-blue-line); border-bottom: 1px solid var(--on-blue-line); }
  .proof-early-facts > div { padding: 1.25rem 1.5rem; border-top: 0; }
  .proof-early-facts > div:first-child { padding-left: 0; }
  .proof-early-facts > div + div { border-left: 1px solid var(--on-blue-line); }
}
@media (min-width: 1024px) {
  .proof-early--with-scene .proof-early-shell {
    display: grid; grid-template-columns: clamp(12rem, 15vw, 16rem) minmax(0, 1fr);
  }
  .proof-early-scene { height: auto; min-height: 100%; }
  .proof-early-picture img { object-position: 50% 43%; }
  .proof-early--with-scene .proof-early-content {
    min-height: clamp(22rem, 26vw, 28rem); padding: clamp(3rem, 4vw, 4rem) var(--gutter);
  }
}
@media (min-width: 1200px) {
  .proof-early--with-scene .proof-early-content {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 4vw, 5rem);
  }
}

/* ------------------------------------------------------- portes par profil */
.section-profiles { background: var(--white); }
.profiles-head { max-width: 54rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-kicker {
  margin-bottom: 0.8rem; color: var(--blue); font-size: var(--text-xs);
  font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.profiles-head .section-lead { margin-top: 1.25rem; max-width: 50ch; }
.profiles-symptoms { margin-top: 1.25rem; display: grid; gap: 0.5rem; list-style: none; font-size: var(--text-lg); line-height: 1.5; color: var(--ink); max-width: 50ch; }
.profile-doors {
  display: grid; border: 1px solid var(--line-strong); background: var(--line-strong);
  gap: 1px; box-shadow: 0 22px 60px -42px rgba(15, 23, 42, 0.42);
}
.profile-door {
  --door-pad: clamp(1.5rem, 3vw, 2.25rem);
  position: relative; isolation: isolate; display: flex; min-width: 0; min-height: 33rem; flex-direction: column;
  padding: 0; overflow: hidden;
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.profile-door::after {
  content: ""; position: absolute; z-index: 4; inset: auto 0 0; height: 4px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
  @media (hover: hover) {
.profile-door:hover { background: var(--bg-soft); color: var(--ink); } }
  @media (hover: hover) {
.profile-door:hover::after { transform: scaleX(1); } }
.profile-door-top {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(1.5rem, 2.5vw, 2rem) var(--door-pad) 0;
}
.profile-door-index { color: var(--blue); font-size: var(--text-xs); font-weight: 800; font-variant-numeric: tabular-nums; }
.profile-door-label { font-size: var(--text-sm); font-weight: 700; }
.profile-door-visual {
  position: relative; z-index: 1; display: block; flex: 0 0 auto; width: 100%; height: clamp(12rem, 20vw, 14rem);
  margin: 0.35rem 0 0.75rem; overflow: hidden; background: transparent; pointer-events: none;
}
.profile-door-visual img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: auto; object-fit: contain; transition: transform 420ms var(--ease);
}
  @media (hover: hover) {
.profile-door:hover .profile-door-visual img { transform: scale(1.02); } }
.profile-door-copy {
  position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column;
  margin: 0; padding: clamp(1.4rem, 2.5vw, 1.8rem) var(--door-pad) var(--door-pad);
  border-top: 1px solid var(--line); background: transparent;
  transition: transform var(--dur) var(--ease);
}
  @media (hover: hover) {
.profile-door:hover .profile-door-copy {
  transform: translateY(-1px);
} }
.profile-door-copy > strong { max-width: 19ch; font-size: clamp(1.4rem, 1.18rem + 0.75vw, 1.8rem); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.profile-door-lead { margin-top: 1rem; max-width: 34ch; color: var(--ink-2); font-size: var(--text-sm); line-height: 1.55; }
  @media (hover: hover) {
.profile-door:hover .profile-door-lead { color: var(--ink-2); } }
.profile-door-cta { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 2rem; color: var(--blue); font-size: var(--text-sm); font-weight: 750; }
  @media (hover: hover) {
.profile-door:hover .profile-door-cta { color: var(--blue-hover); } }
.profile-door-cta .icon { transition: transform var(--dur-fast) var(--ease); }
  @media (hover: hover) {
.profile-door:hover .profile-door-cta .icon { transform: translateX(4px); } }
@media (max-width: 1023.98px) {
  .profile-doors { max-width: 44rem; margin-inline: auto; }
}
@media (min-width: 1024px) {
  .profile-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------- pages profil */
.profile-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--white); padding: clamp(3rem, 7vw, 7rem) 0;
}
.profile-hero-grid { position: relative; isolation: isolate; }
.profile-hero-grid::after {
  content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(15, 23, 42, 0.98) 50%, rgba(15, 23, 42, 0.72) 72%, rgba(15, 23, 42, 0) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(15, 23, 42, 0.68) 18%, rgba(15, 23, 42, 0) 48%);
}
.profile-hero-copy { position: relative; z-index: 2; max-width: 55rem; }
.profile-back { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: clamp(3rem, 7vw, 6rem); color: var(--on-dark-2); font-size: var(--text-sm); text-decoration: none; }
.profile-back .icon { transform: rotate(180deg); }
  @media (hover: hover) {
.profile-back:hover { color: var(--white); } }
.profile-hero h1 { max-width: 14ch; font-size: clamp(2.6rem, 1.7rem + 3.6vw, 5.25rem); line-height: 0.98; letter-spacing: -0.045em; }
.profile-hero h1 span, .profile-hero h1 strong { display: block; }
.profile-hero h1 strong { margin-top: 0.12em; color: var(--blue-light); font-weight: 650; }
.profile-hero-lead { margin-top: 1.6rem; max-width: 48ch; color: var(--on-dark); font-size: var(--text-lg); line-height: 1.55; }
.profile-hero .hero-actions { margin-top: 2rem; }
.profile-hero-visual {
  position: absolute; z-index: 0; top: 50%; right: clamp(-16rem, -40vw, -10rem);
  width: clamp(29rem, 132vw, 42rem); opacity: 0.22; transform: translateY(-42%); pointer-events: none;
}
.profile-hero-visual picture, .profile-hero-visual img { display: block; width: 100%; }
.profile-hero-visual img { aspect-ratio: 3 / 2; object-fit: contain; }
@media (min-width: 900px) {
  .profile-hero-grid::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(15, 23, 42, 0.98) 37%, rgba(15, 23, 42, 0.84) 54%, rgba(15, 23, 42, 0.28) 77%, rgba(15, 23, 42, 0) 100%),
      linear-gradient(0deg, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0) 34%);
  }
  .profile-hero-visual {
    top: 52%; right: clamp(-7rem, -4vw, -2rem);
    width: clamp(36rem, 58vw, 54rem); opacity: 0.38; transform: translateY(-50%);
  }
}

.profile-symptoms h2, .profile-change h2, .profile-evidence h2, .profile-faq h2, .profile-close h2 { max-width: 16ch; font-size: var(--text-h2); line-height: 1.05; letter-spacing: -.035em; }
.section.profile-symptoms { padding-block: clamp(3rem, 4.5vw, 4.75rem); }
.profile-symptoms-layout { display: grid; }
.profile-symptom-grid {
  display: grid; margin-top: clamp(1.75rem, 4vw, 2.5rem);
}
.profile-symptom {
  position: relative; isolation: isolate; display: grid; min-width: 0;
  padding-block: 1.25rem 1rem; overflow: hidden; border-top: 1px solid var(--line);
}
.profile-symptom:last-child { border-bottom: 1px solid var(--line); }
.profile-symptom-copy { position: relative; z-index: 2; min-width: 0; }
.profile-symptom-visual {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: min(100%, 25rem); height: auto; aspect-ratio: 3 / 2;
  margin: .75rem -.25rem -.25rem auto; overflow: visible; pointer-events: none;
}
.profile-symptom-picture,
.profile-symptom-picture img { display: block; width: 100%; height: 100%; }
.profile-symptom-picture { width: 100%; height: 100%; }
.profile-symptom-picture img { aspect-ratio: 3 / 2; object-fit: contain; object-position: center; }
.profile-symptom h3 {
  max-width: 21ch; font-size: clamp(1.5rem, 1.35rem + 0.8vw, 1.7rem);
  line-height: 1.16; letter-spacing: -.02em; text-wrap: balance;
}
.profile-symptom p {
  max-width: 40ch; margin-top: .7rem; color: var(--ink-2);
  font-size: 1rem; line-height: 1.55; text-wrap: pretty;
}
@media (min-width: 760px) {
  .profile-symptom {
    grid-template-columns: minmax(0, 1.08fr) minmax(15rem, .92fr);
    grid-template-areas: "copy visual";
    align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem);
    min-height: 15.5rem; padding-block: 1rem; overflow: visible;
  }
  .profile-symptom-copy { grid-area: copy; align-self: center; width: auto; padding-right: 0; }
  .profile-symptom-visual {
    grid-area: visual; width: min(100%, 25rem); height: auto; margin: 0;
    justify-self: end; align-self: center;
    -webkit-mask-image: none; mask-image: none;
  }
  .profile-symptom-picture img { object-position: center; }
  .profile-symptom h3 { max-width: 21ch; font-size: 1.75rem; line-height: 1.14; }
  .profile-symptom p { max-width: 38ch; font-size: 1.0625rem; line-height: 1.52; }
}
@media (min-width: 1024px) {
  .profile-symptoms-layout { grid-template-columns: minmax(16rem, 3fr) minmax(0, 9fr); align-items: start; gap: clamp(2rem, 3.5vw, 3.5rem); }
  .profile-symptoms-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
  .profile-symptom-grid { margin-top: 0; }
  .profile-symptom { min-height: 16.5rem; padding-block: 1rem; }
  .profile-symptom-copy { width: auto; }
  .profile-symptom-visual { width: min(100%, 25rem); }
  .profile-symptom h3 { font-size: 1.875rem; line-height: 1.13; }
  .profile-symptom p { max-width: 38ch; font-size: 1.125rem; line-height: 1.5; }
}
@media (forced-colors: active) {
  .profile-symptom-visual { display: none; }
}

.profile-change-grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
.profile-change .section-lead { margin-top: 1.25rem; }
.profile-flow { display: grid; gap: .75rem; align-items: stretch; }
.profile-flow-column { padding: 1.2rem; border: 1px solid var(--line-strong); background: var(--white); }
.profile-flow-column > span { color: var(--ink-3); font-size: var(--text-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.profile-flow-column ul { display: grid; gap: .55rem; margin-top: 1rem; list-style: none; }
.profile-flow-column li { padding-top: .55rem; border-top: 1px solid var(--line); font-size: var(--text-sm); font-weight: 650; }
.profile-flow-column.is-action { border-color: var(--blue); background: var(--blue-soft); }
.profile-flow-column.is-action > span { color: var(--ink-2); }
.profile-flow-column.is-after { background: var(--ink); color: var(--white); border-color: var(--ink); }
.profile-flow-column.is-after > span { color: var(--blue-light); }
.profile-flow-column.is-after li { border-color: var(--on-dark-line); }
.profile-flow-arrow { display: grid; place-items: center; color: var(--blue); font-size: 1.5rem; transform: rotate(90deg); }
@media (min-width: 900px) {
  .profile-change-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .profile-flow { grid-template-columns: 1fr auto 1fr auto 1fr; }
  .profile-flow-arrow { transform: none; }
}

.profile-evidence { padding: var(--section-y) 0; background: var(--blue); color: var(--white); }
.profile-evidence-grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.profile-evidence h2 { margin-top: .65rem; }
.profile-evidence h2 + p { margin-top: 1.25rem; max-width: 48ch; color: var(--on-blue-2); }
.profile-evidence .proof-early-facts { color: var(--white); }
@media (min-width: 900px) { .profile-evidence-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.profile-faq-list { margin-top: 2rem; display: grid; gap: 1.75rem; max-width: 46rem; }
.profile-faq-item h3 { font-size: var(--text-h3); font-weight: 800; letter-spacing: -0.02em; }
.profile-faq-item p { margin-top: 0.6rem; color: var(--ink-2); line-height: 1.55; max-width: 68ch; }
.profile-close { background: var(--ink); color: var(--white); }
.profile-close-grid { display: grid; gap: 2.5rem; align-items: end; }
.profile-close h2 { margin-top: .75rem; }
.profile-close h2 + p { margin-top: 1rem; max-width: 46ch; color: var(--on-dark-2); }
.profile-close-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.profile-close-actions > a:last-child { color: var(--on-dark); font-size: var(--text-sm); font-weight: 650; text-underline-offset: .25em; }
@media (min-width: 760px) { .profile-close-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* -------------------------------------------------------------- sections */
.section { padding-block: var(--section-y); }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark p, .section-dark li { line-height: 1.68; letter-spacing: 0.005em; }

.section h2 { font-size: var(--text-h2); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
.section-dark h2, .section-dark h3, .section-blue h2, .section-blue h3 { color: var(--white); }
.h2-b { display: block; margin-top: 0.15em; font-weight: 600; color: var(--ink-2); }
.section-dark .h2-b { color: var(--blue-light); }
.section-lead { margin-top: 1.25rem; font-size: var(--text-lg); line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.section-dark .section-lead { color: var(--on-dark-2); }
.section-head .section-lead { margin-top: 0; }
@media (min-width: 1024px) {
  .section-head .section-lead { max-width: 52ch; }
}
.diagnostic-choice.is-active {
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.diagnostic-choice .icon { transition: transform var(--dur-fast) var(--ease); }
  @media (hover: hover) {
.diagnostic-choice:hover .icon, .diagnostic-choice.is-active .icon { transform: translateX(3px); } }

@keyframes diagnostic-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.diagnostic-actions .button { white-space: normal; text-align: center; }
@media (max-width: 520px) {
  .diagnostic-actions .button { width: 100%; }
}
.problem-back .icon { transform: rotate(180deg); }
.problem-hero .hero-kicker { margin-bottom: 1rem; }
.problem-hero .hero-actions { margin-top: 2rem; }
.problem-system-intro .section-lead { margin-top: 1.25rem; }
.control-ledger tbody th { color: var(--ink); font-weight: 750; }
.control-ledger tbody tr:last-child th, .control-ledger tbody tr:last-child td { border-bottom: 0; }

.problem-scope-body { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.problem-scope-body h3 { font-size: var(--text-h3); font-weight: 800; letter-spacing: -0.02em; }
.problem-focus li.is-active { padding-inline: 1rem; background: var(--blue-soft); box-shadow: inset 2px 0 0 var(--blue); }
.problem-evidence .section-lead { color: var(--on-dark-2); }
.problem-evidence .proof-early-facts { color: var(--white); }
.problem-close-actions .text-link { margin-top: 0.7rem; }
@media (max-width: 560px) {
  .problem-hero .hero-actions { width: 100%; }
  .problem-hero .hero-actions .button { width: 100%; }
}
.situation-body { padding: 0 0 1.5rem; max-width: min(62ch, 100%); display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
.situation[open] .situation-body { animation: fade-slide 260ms var(--ease); }
.situation-body p { font-size: var(--text-sm); color: var(--ink-2); }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-size: var(--text-sm); font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 0.3em; }
.text-link.on-blue { color: var(--white); margin-top: 1.5rem; }
.selfcheck .button { justify-self: start; }
@media (max-width: 400px) {
  /* Sous 400 px, un libellé long ne doit pas imposer sa largeur à la carte. */
  .button { white-space: normal; text-align: center; }
  .selfcheck .button, .contact-actions .button, .offer .button { justify-self: stretch; width: 100%; }
}

/* --------------------------------------------------------------- méthode */
.method-layout { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.method-head { display: grid; gap: 1.25rem clamp(3rem, 6vw, 6rem); align-items: end; }
.method-head .section-lead { margin-top: 0; }
.method-head .text-link { margin-top: 1.25rem; }
.method-sequence { display: grid; width: min(100%, 52rem); gap: clamp(1rem, 2vw, 1.5rem); margin-inline: auto; }
.method-visual { width: 100%; margin: 0; padding-inline: clamp(0.25rem, 1.5vw, 1rem); overflow: hidden; }
.method-visual picture,
.method-visual img { display: block; width: 100%; height: auto; }
.method-steps {
  display: grid; gap: 1px; list-style: none;
  border: 1px solid var(--line); background: var(--line);
  box-shadow: 0 22px 60px -42px rgba(15, 23, 42, 0.38);
}
.method-step {
  --method-pad: clamp(1.4rem, 3vw, 2rem);
  display: flex; min-width: 0; min-height: 13.25rem; flex-direction: column;
  padding: var(--method-pad); background: var(--white);
}
.method-step-num {
  margin-bottom: 1.25rem;
  color: var(--blue); font-size: var(--text-xs); font-weight: 800; font-variant-numeric: tabular-nums;
}
.method-step-copy {
  display: flex; flex: 1; flex-direction: column;
}
.method-step h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.method-step-optional { margin-top: 0.35rem; color: var(--ink-3); font-size: var(--text-xs); line-height: 1.45; }
.method-deliverables { display: grid; margin-top: auto; padding-top: 1.25rem; list-style: none; }
.method-deliverables li { padding: 0.45rem 0; border-top: 1px solid var(--line); font-size: var(--text-sm); font-weight: 650; }
@media (min-width: 760px) {
  .method-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .method-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.bridge-who-sign { display: grid; gap: 0.1rem; }
.bridge-who-sign strong { color: var(--white); font-size: var(--text-base); }
.bridge-who-sign span { color: var(--on-dark-2); font-size: var(--text-xs); }
/* Deux paragraphes côte à côte : la bande occupe toute la largeur, une seule
   colonne de texte y dépasserait la limite de lisibilité. */
@media (min-width: 960px) {
  /* Spécificité alignée sur « .bridge-who-text p + p { margin-top: 0 } », sinon la
     signature se colle au paragraphe et se lit comme une quatrième ligne. */
  .bridge-who-text .bridge-who-initials-sign { grid-column: 2; margin-top: 1.5rem; }
}
.bridge-cover { display: block; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7); outline: 1px solid rgba(255, 255, 255, 0.14); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
  @media (hover: hover) {
.bridge-cover:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.75); } }
.bridge-cover img { width: 100%; height: auto; }
/* Sur téléphone l'ordre du flux fait la démonstration : on montre la couverture,
   puis on propose de l'ouvrir. Sur grand écran, texte et boutons se réunissent à
   gauche, la vignette occupe la colonne de droite sur les deux rangées. */
@media (min-width: 1024px) {
  .bridge-cover { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* Passerelle compacte de la V6 : identité, philosophie, puis artefact de lecture. */
.section-bridge { padding-block: clamp(3.5rem, 5.5vw, 5rem); }
.bridge-compact { display: grid; gap: clamp(2rem, 5vw, 3rem); }
.bridge-identity .hero-kicker { color: var(--blue-light); }
.bridge-identity h2 {
  margin-top: 0.8rem; max-width: 12ch; color: var(--white);
  font-size: clamp(2.15rem, 1.65rem + 1.8vw, 3rem); line-height: 1.03; letter-spacing: -0.04em;
}
.bridge-identity .bridge-who-photo { display: block; margin-top: 1.5rem; }
.bridge-identity .bridge-who-sign { margin-top: 1.5rem; }
.bridge-philosophy .section-kicker { margin-bottom: 1rem; color: var(--blue-light); }
.bridge-philosophy-text { display: grid; gap: 1rem; }
.bridge-philosophy-text p {
  max-width: 52ch; color: var(--on-dark-2);
  font-size: clamp(1rem, 0.95rem + 0.16vw, 1.075rem); line-height: 1.62; text-wrap: pretty;
}
.bridge-presentation { display: grid; gap: 1.25rem; align-content: start; }
.bridge-presentation .bridge-cover { grid-column: auto; grid-row: auto; align-self: auto; border-radius: 0; }
.bridge-presentation-copy { display: grid; justify-items: start; gap: 0.55rem; }
.bridge-presentation-copy > p { color: var(--white); font-size: var(--text-sm); font-weight: 650; }
.bridge-presentation-copy > span { color: var(--on-dark-2); font-size: var(--text-sm); line-height: 1.5; }
.bridge-presentation-link,
.bridge-pdf-link { color: var(--white); font-weight: 700; text-underline-offset: 0.28em; }
.bridge-presentation-link { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
  @media (hover: hover) {
.bridge-presentation-link:hover { text-decoration: underline; } }
.bridge-pdf-link { margin-top: 0.25rem; color: var(--on-dark-2); font-size: var(--text-sm); font-weight: 550; }
@media (min-width: 640px) and (max-width: 1023.98px) {
  .bridge-compact { grid-template-columns: minmax(12rem, 4fr) minmax(0, 8fr); }
  .bridge-presentation {
    grid-column: 1 / -1; grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    align-items: center; padding-top: 2rem; border-top: 1px solid var(--on-dark-line);
  }
}
@media (min-width: 1024px) {
  .bridge-compact { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(15rem, 4fr); gap: 0; align-items: start; }
  .bridge-identity { padding-right: clamp(2rem, 4vw, 4rem); }
  .bridge-philosophy,
  .bridge-presentation { min-height: 100%; padding-left: clamp(2rem, 4vw, 4rem); border-left: 1px solid var(--on-dark-line); }
}
.offer.is-featured { background: var(--bg-soft); outline: 2px solid var(--blue); outline-offset: -2px; border-radius: var(--radius-md); position: relative; z-index: 1; }
.offer .button { margin-top: auto; align-self: flex-start; white-space: normal; text-align: left; }
@keyframes fade-slide { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.contact-criterion { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-2); max-width: 44ch; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 1.75rem; }
.contact-email { font-size: var(--text-sm); }
.contact-email span { color: var(--ink-3); }
.contact-email a { display: inline-block; padding-block: 0.2rem; font-weight: 600; text-underline-offset: 0.25em; }

.contact-form {
  display: grid; gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.form-legend { font-size: 1.125rem; font-weight: 700; }
.field label { display: block; margin-bottom: 0.4rem; font-size: var(--text-sm); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 1rem; transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
  @media (hover: hover) {
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); } }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--blue); outline-offset: 2px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230F172A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field-consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.field-consent input { width: 1.5rem; height: 1.5rem; min-height: 0; margin: 0.05rem 0 0; padding: 0; accent-color: var(--blue); }
.field-consent label { margin: 0; font-size: var(--text-sm); font-weight: 400; color: var(--ink-2); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-note { font-size: var(--text-xs); color: var(--ink-3); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding: 3rem 0 2rem; border-top: 1px solid var(--on-dark-line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.footer-brand .brand { color: var(--white); }
.footer-punchline { margin-top: 0.5rem; font-size: var(--text-sm); font-weight: 600; color: var(--on-dark); }
.footer-tagline { margin-top: 0.25rem; font-size: var(--text-xs); color: var(--on-dark-2); opacity: 0.85; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.footer-links a, .footer-links button {
  display: inline-flex; align-items: center; min-height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--on-dark); font-size: var(--text-sm); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em;
  transition: text-decoration-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
  @media (hover: hover) {
.footer-links a:hover, .footer-links button:hover { color: var(--white); text-decoration-color: currentColor; } }
.copyright { padding-top: 1.5rem; border-top: 1px solid var(--on-dark-line); font-size: var(--text-xs); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: auto 1fr; align-items: end; column-gap: 4rem; }
  .footer-links { justify-content: flex-end; }
  .copyright { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------- dialogs */
.legal-dialog {
  width: min(640px, calc(100% - 2rem)); max-height: 85svh; margin: auto; padding: 0;
  border: 0; border-radius: var(--radius-md); background: var(--white); color: var(--ink);
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.45);
}
.legal-dialog::backdrop { background: rgba(15, 23, 42, 0.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.legal-dialog[open] { animation: dialog-in 260ms var(--ease); }
.dialog-head {
  position: sticky; top: 0; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1rem 1rem 1.5rem; background: var(--white); border-bottom: 1px solid var(--line);
}
.dialog-head h2 { font-size: 1.25rem; font-weight: 700; }
.dialog-close { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; border-radius: var(--radius); cursor: pointer; color: var(--ink-2); }
  @media (hover: hover) {
.dialog-close:hover { background: var(--bg-soft); color: var(--ink); } }
.dialog-body { padding: 0.5rem 1.5rem 1.75rem; }
.dialog-body h3 { margin: 1.5rem 0 0.4rem; font-size: 1rem; font-weight: 700; }
.dialog-body p { font-size: var(--text-sm); color: var(--ink-2); }
.dialog-body a { display: inline-block; padding-block: 0.15rem; color: var(--blue); }
.legal-note { margin-top: 1rem; font-style: italic; color: var(--ink-3); }

/* ------------------------------------------------------- révélations (JS) */
@keyframes rise-soft { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.is-in { animation: rise-soft 600ms var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }

/* ---------------------------------------------------------- mouvement off */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important;
  }
}

/* Mobile : espacement resserré des deux blocs revus en V7 (contexte, preuve),
   pour que la page ne dépasse pas la hauteur V6 à 390 px de large.
   En pile mobile, la hauteur minimale des portes ne sert qu'à égaliser une rangée : retirée. */
@media (max-width: 767.98px) {
  .section-profiles { padding-block: 2.25rem; }
  .profiles-head { margin-bottom: 1.25rem; }
  .profiles-symptoms { margin-top: 0.875rem; gap: 0.3rem; font-size: var(--text-base); }
  .profiles-head .section-lead { margin-top: 0.875rem; }
  .profile-door { min-height: 0; }
  .proof-early { padding: 1.5rem 0; }
  .proof-early-content { gap: 1.25rem; }
  .proof-early .text-link.on-blue { margin-top: 0.5rem; }
  .proof-early-facts > div { padding: 0.75rem 0; }
}

/* ----------------------------------------------------------------- print */
@media print {
  .site-header, .menu-button, .skip-link, .hero-media, .hero-overlay, .button, .contact-form { display: none !important; }
  .profile-symptom-visual { display: none !important; }
  .hero, .section-dark, .section-blue, .site-footer { background: none !important; color: #000 !important; }
  .hero { min-height: 0; padding: 2rem 0; }
  .hero-title-accent, .section-dark h2, .section-dark h3, .section-blue h2, .section-blue h3 { color: #000 !important; }
  .section { padding-block: 1.5rem; }
}
