/* =========================================================================
   CJE — Consultations Juridiques Express
   Feuille de styles unique du site. Ordre : polices, tokens, base, puis
   les styles de chaque section dans l'ordre de la page.
   ========================================================================= */

/* ---------- Polices auto-hébergées ---------- */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/public-sans-400-latin-ext.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: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/public-sans-400-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;
}

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/public-sans-600-latin-ext.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: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/public-sans-600-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;
}

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/public-sans-700-latin-ext.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: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/public-sans-700-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;
}

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/public-sans-800-latin-ext.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: 'Public Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/public-sans-800-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;
}

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/spectral-400-latin-ext.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: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/spectral-400-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;
}

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/spectral-600-latin-ext.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: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/spectral-600-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;
}

/* ---------- Tokens de design ---------- */
/* =========================================================
   CJE — Design tokens
   Identité visuelle : navy profond, or, blanc, neutres clairs.
   Aucun composant ne doit utiliser de couleur en dur.
   ========================================================= */

:root {
  /* --- Couleurs de marque --- */
  --cje-navy: #0b375b;
  --cje-navy-dark: #063056;
  --cje-navy-deep: #04223d;
  --cje-navy-tint: #12456d;
  --cje-gold: #c99a2e;
  --cje-gold-dark: #ac8020;
  --cje-gold-soft: #f0dfb6;
  --cje-white: #ffffff;
  --cje-background: #f7f8fa;
  --cje-surface: #ffffff;
  --cje-surface-alt: #eef1f5;

  /* --- Texte --- */
  --cje-text: #14243a;
  --cje-text-muted: #5b6b7e;
  --cje-text-on-navy: rgba(255, 255, 255, 0.86);
  --cje-text-on-navy-muted: rgba(255, 255, 255, 0.68);

  /* --- Lignes & séparations --- */
  --cje-border: #e2e7ee;
  --cje-border-strong: #cdd6e0;
  --cje-border-on-navy: rgba(255, 255, 255, 0.16);

  /* --- Typographie --- */
  --font-display: 'Spectral', 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;

  --step--1: clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.08rem + 0.22vw, 1.25rem);
  --step-2: clamp(1.375rem, 1.29rem + 0.42vw, 1.625rem);
  --step-3: clamp(1.75rem, 1.6rem + 0.75vw, 2.25rem);
  --step-4: clamp(2.125rem, 1.85rem + 1.35vw, 3rem);
  --step-5: clamp(2.5rem, 2rem + 2.5vw, 4rem);

  /* --- Rythme --- */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --section-y: clamp(3.5rem, 2.2rem + 6vw, 6.5rem);
  --container: 1160px;
  --container-narrow: 820px;
  --gutter: clamp(1.125rem, 0.8rem + 1.6vw, 2rem);

  /* --- Rayons --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* --- Ombres (discrètes, jamais spectaculaires) --- */
  --shadow-xs: 0 1px 2px rgba(11, 55, 91, 0.06);
  --shadow-sm: 0 2px 10px rgba(11, 55, 91, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 55, 91, 0.09);
  --shadow-lg: 0 24px 60px rgba(4, 34, 61, 0.18);

  /* --- Divers --- */
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.6, 0.25, 1);
  --transition: 200ms var(--ease);
}

@media (min-width: 900px) {
  :root {
    --header-h: 84px;
  }
}

/* ---------- Base, primitives, accessibilité ---------- */
/* =========================================================
   Reset raisonné
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--cje-background);
  color: var(--cje-text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

a {
  color: inherit;
}

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

button {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--cje-navy);
  color: var(--cje-white);
}

/* =========================================================
   Primitives de mise en page
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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

.section--tint {
  background: var(--cje-background);
}

.section--paper {
  background: var(--cje-white);
}

.section--navy {
  background: var(--cje-navy-dark);
  color: var(--cje-text-on-navy);
}

.section-head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.section-head--start {
  margin-inline: 0;
  text-align: start;
}

.eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--cje-gold);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  font-size: var(--step-4);
}

.section-lede {
  margin-top: var(--space-md);
  color: var(--cje-text-muted);
  font-size: var(--step-1);
}

.section--navy .section-title {
  color: var(--cje-white);
}

.section--navy .section-lede {
  color: var(--cje-text-on-navy-muted);
}

.card {
  background: var(--cje-surface);
  border: 1px solid var(--cje-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   Boutons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  flex: none;
}

.btn--gold {
  background: var(--cje-gold);
  color: var(--cje-navy-deep);
  box-shadow: var(--shadow-xs);
}

.btn--gold:hover {
  background: var(--cje-gold-dark);
  color: var(--cje-white);
}

.btn--navy {
  background: var(--cje-navy);
  color: var(--cje-white);
}

.btn--navy:hover {
  background: var(--cje-navy-dark);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--cje-white);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cje-white);
}

.btn--ghost-navy {
  border-color: var(--cje-border-strong);
  background: var(--cje-white);
  color: var(--cje-navy);
}

.btn--ghost-navy:hover {
  border-color: var(--cje-navy);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* =========================================================
   Accessibilité
   ========================================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--cje-navy);
  color: var(--cje-white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* =========================================================
   Révélation au défilement (progressive enhancement)
   ========================================================= */
/* Sans JavaScript, le contenu reste visible : l'opacité n'est retirée
   que si la classe `js` a été posée sur <html>. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

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

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

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

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

/* ---------- Sceau et signature ---------- */
.lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.lockup .lockup__seal {
  flex: none;
}

.lockup__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.lockup__name {
  color: var(--cje-navy);
  font-size: clamp(0.9375rem, 0.82rem + 0.6vw, 1.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.lockup__line {
  color: var(--cje-gold);
  font-size: clamp(0.6875rem, 0.63rem + 0.28vw, 0.8125rem);
  font-weight: 700;
  line-height: 1.3;
}

.lockup--footer .lockup__name {
  color: var(--cje-white);
  text-transform: none;
  font-size: var(--step-1);
}

.lockup--footer .lockup__line {
  color: var(--cje-gold-soft);
  font-weight: 600;
}

/* Au-delà de 1280px, la ligne d'en-tête est assez large pour que la
   raison sociale tienne sur une seule ligne sans compresser le menu. */
@media (min-width: 1280px) {
  .lockup--header .lockup__name,
  .lockup--header .lockup__line {
    white-space: nowrap;
  }
}

/* ---------- En-tête ---------- */
.topbar {
  background: var(--cje-navy-deep);
  color: var(--cje-text-on-navy);
  font-size: var(--step--1);
}

.topbar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding-block: 0.7rem;
  text-align: center;
}

.topbar__tagline {
  color: var(--cje-white);
}

.topbar__contact {
  color: var(--cje-text-on-navy-muted);
}

.topbar__contact a {
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition);
}

.topbar__contact a:hover {
  color: var(--cje-gold-soft);
}

.topbar__dot {
  margin-inline: 0.4rem;
  color: var(--cje-gold);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--cje-border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-height: var(--header-h);
}

.header__brand {
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
}

.header__nav {
  display: none;
}

.header__list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 0.2rem + 1.1vw, 1.75rem);
}

.header__link {
  color: var(--cje-navy);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  padding-block: 0.6rem;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.header__link:hover {
  color: var(--cje-gold-dark);
  border-bottom-color: var(--cje-gold);
}

.header__inner .header__cta {
  display: none;
}

.header__toggle {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--cje-border-strong);
  border-radius: var(--radius-sm);
  color: var(--cje-navy);
  cursor: pointer;
}

.header__toggle .header__toggle-icon--close,
.header__toggle[aria-expanded='true'] .header__toggle-icon--open {
  display: none;
}

.header__toggle[aria-expanded='true'] .header__toggle-icon--close {
  display: block;
}

.mobile-nav {
  border-top: 1px solid var(--cje-border);
  background: var(--cje-white);
  padding: var(--space-md) var(--gutter) var(--space-lg);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__list {
  display: grid;
  gap: 0.15rem;
  margin-bottom: var(--space-md);
}

.mobile-nav__link {
  display: block;
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid var(--cje-border);
  color: var(--cje-navy);
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav__actions {
  display: grid;
  gap: var(--space-xs);
}

/* Le menu horizontal n'apparaît qu'à partir de 1080px : en dessous,
   la ligne d'en-tête devient trop dense (marque + 4 liens + bouton). */
@media (min-width: 1080px) {
  .header__brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .header__nav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
  }

  .header__inner .header__cta {
    display: inline-flex;
    flex: none;
    min-height: 44px;
    padding-inline: 1.1rem;
    font-size: var(--step--1);
    white-space: nowrap;
  }

  .header__toggle,
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .topbar__tagline {
    display: none;
  }
}

/* ---------- Bandeau héros et contact ---------- */
.band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    var(--cje-navy-dark) 0%,
    var(--cje-navy) 48%,
    #0d3f68 78%,
    var(--cje-navy) 100%
  );
  color: var(--cje-text-on-navy);
  isolation: isolate;
}

/* Halo bas, discret : reprend la lumière de la maquette, sans animation. */
.band::after {
  content: '';
  position: absolute;
  inset: auto -25% -60% -25%;
  z-index: -1;
  aspect-ratio: 2 / 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
}

.band__inner {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 4rem);
  padding-block: clamp(3rem, 1.8rem + 6vw, 5.5rem);
}

@media (min-width: 1080px) {
  .band__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    align-items: center;
    gap: clamp(3rem, 1rem + 4vw, 5rem);
  }
}

.hero {
  max-width: 42rem;
}

.hero__eyebrow {
  color: var(--cje-gold);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__heading {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: var(--space-lg);
}

.hero__mark {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--cje-white);
}

.hero__name {
  color: var(--cje-white);
  font-size: var(--step-3);
  font-weight: 800;
  line-height: 1.15;
}

.hero__lede {
  max-width: 38rem;
  margin-top: var(--space-lg);
  color: var(--cje-text-on-navy);
  font-size: var(--step-1);
}

.hero__actions {
  margin-top: var(--space-xl);
}

@media (max-width: 480px) {
  .hero__actions {
    display: grid;
  }
}

.contact__card {
  max-width: 40rem;
  padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact__title {
  font-size: var(--step-3);
}

.contact__lede {
  margin-top: var(--space-xs);
  color: var(--cje-text-muted);
}

.contact__rows {
  margin-top: var(--space-lg);
}

.contact__rows > * + * {
  border-top: 1px solid var(--cje-border);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  text-decoration: none;
  color: inherit;
}

.contact-row__tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--cje-surface-alt);
  color: var(--cje-navy);
  transition: background-color var(--transition), color var(--transition);
}

.contact-row__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-row__label {
  color: var(--cje-navy);
  font-size: var(--step-0);
  font-weight: 800;
}

.contact-row__value {
  color: var(--cje-text-muted);
  font-size: var(--step-0);
  overflow-wrap: anywhere;
}

.contact-row__chevron {
  margin-inline-start: auto;
  color: var(--cje-border-strong);
  transition: color var(--transition), transform var(--transition);
}

.contact-row:hover .contact-row__tile {
  background: var(--cje-navy);
  color: var(--cje-white);
}

.contact-row:hover .contact-row__chevron {
  color: var(--cje-gold);
  transform: translateX(3px);
}

/* Sur petit écran, la flèche cède la place à l'adresse e-mail complète. */
@media (max-width: 560px) {
  .contact-row__chevron {
    display: none;
  }

  .contact-row__value {
    font-size: var(--step--1);
  }
}

/* ---------- Parcours en 5 étapes ---------- */
.steps {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.steps__item {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--cje-white);
  border: 1px solid var(--cje-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition),
    border-color var(--transition);
}

.steps__item:hover {
  transform: translateY(-2px);
  border-color: var(--cje-border-strong);
  box-shadow: var(--shadow-md);
}

.steps__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
}

.steps__tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--cje-navy-dark);
  color: var(--cje-white);
}

.steps__num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--cje-gold-soft);
}

.steps__title {
  margin-top: var(--space-lg);
  font-size: var(--step-1);
  font-weight: 800;
}

.steps__text {
  margin-top: var(--space-xs);
  color: var(--cje-text-muted);
}

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

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
  }

  .steps__item {
    grid-column: span 2;
  }

  /* Les deux dernières étapes sont centrées sous les trois premières. */
  .steps__item:nth-child(4) {
    grid-column: 2 / span 2;
  }
}

/* ---------- Notre approche ---------- */
.trust {
  display: grid;
  gap: var(--space-2xl);
}

.trust__plaque {
  display: grid;
  justify-items: center;
  gap: var(--space-md);
  margin: 0;
  padding: clamp(2rem, 1.4rem + 3vw, 3.25rem) var(--space-lg);
  background: linear-gradient(160deg, var(--cje-navy) 0%, var(--cje-navy-dark) 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.trust__plaque .trust__emblem {
  color: var(--cje-gold);
  stroke-width: 1.2;
}

.trust__plaque-title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.15;
  color: var(--cje-white);
}

.trust__plaque-sub {
  margin-top: var(--space-2xs);
  color: var(--cje-text-on-navy-muted);
}

.trust__plaque-foot {
  width: min(100%, 22rem);
  padding-top: var(--space-md);
  border-top: 1px solid var(--cje-border-on-navy);
  color: var(--cje-gold-soft);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.trust__list {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.trust__item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--cje-white);
  border: 1px solid var(--cje-border);
  border-radius: var(--radius-md);
}

.trust__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--cje-gold-soft);
  color: var(--cje-navy-dark);
  font-size: var(--step--1);
  font-weight: 800;
}

.trust__item-title {
  font-size: var(--step-0);
  font-weight: 800;
}

.trust__item-text {
  margin-top: 0.15rem;
  color: var(--cje-text-muted);
}

@media (min-width: 940px) {
  .trust {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  }

  .trust__plaque {
    padding-block: 4rem;
  }
}

/* ---------- À qui s’adresse CJE ---------- */
.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.audience__item {
  padding: var(--space-lg);
  background: var(--cje-white);
  border: 1px solid var(--cje-border);
  border-top: 3px solid var(--cje-gold);
  border-radius: var(--radius-md);
}

.audience__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--cje-surface-alt);
  color: var(--cje-navy);
}

.audience__title {
  margin-top: var(--space-md);
  font-size: var(--step-1);
}

.audience__text {
  margin-top: var(--space-xs);
  color: var(--cje-text-muted);
}

/* ---------- Questions fréquentes ---------- */
.faq {
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--cje-border);
}

.faq__item {
  border-bottom: 1px solid var(--cje-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  color: var(--cje-navy);
  font-size: var(--step-1);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq__question:hover {
  color: var(--cje-gold-dark);
}

.faq__question .faq__chevron {
  flex: none;
  color: var(--cje-gold);
  transition: transform var(--transition);
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  padding-bottom: var(--space-lg);
  color: var(--cje-text-muted);
  max-width: 62ch;
}

.faq__solution {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-left: 3px solid var(--cje-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--cje-background);
}

.faq__solution-label {
  color: var(--cje-navy);
  font-weight: 800;
}

.faq__note {
  margin-top: var(--space-xl);
  color: var(--cje-text-muted);
  font-size: var(--step--1);
  max-width: 62ch;
}

.faq__note strong {
  color: var(--cje-navy);
}

/* ---------- Appel à l’action final ---------- */
.final {
  display: grid;
  gap: var(--space-lg);
  padding: clamp(1.75rem, 1.2rem + 2.6vw, 3.25rem);
  background: linear-gradient(150deg, var(--cje-navy) 0%, var(--cje-navy-dark) 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.final__title {
  color: var(--cje-white);
  font-size: var(--step-4);
}

.final__lede {
  margin-top: var(--space-xs);
  color: var(--cje-text-on-navy-muted);
  font-size: var(--step-1);
}

@media (min-width: 860px) {
  .final {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-2xl);
  }

  .final__actions {
    justify-content: flex-end;
  }
}

@media (max-width: 420px) {
  .final__actions {
    display: grid;
  }
}

/* ---------- Pied de page ---------- */
.footer {
  background: var(--cje-navy-deep);
  color: var(--cje-text-on-navy);
  padding-block: var(--space-2xl) var(--space-lg);
}


.footer__inner {
  display: grid;
  gap: var(--space-2xl);
}

.footer__eyebrow {
  margin-top: var(--space-lg);
  color: var(--cje-gold);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.footer__contact {
  display: grid;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cje-white);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: var(--cje-gold-soft);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: var(--space-xl);
}

.footer__heading {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cje-gold-soft);
}

.footer__list {
  display: grid;
  gap: 0.55rem;
  margin-top: var(--space-md);
}

.footer__list a {
  color: var(--cje-text-on-navy-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__list a:hover {
  color: var(--cje-white);
}

.footer__bottom {
  display: grid;
  gap: var(--space-2xs);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--cje-border-on-navy);
  color: var(--cje-text-on-navy-muted);
  font-size: var(--step--1);
}

.footer__note {
  max-width: 44rem;
}

@media (min-width: 860px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: var(--space-3xl);
  }

  .footer__bottom {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: var(--space-lg);
  }
}

/* ---------- Barre d’action mobile ---------- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  gap: var(--space-xs);
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--cje-border);
  transform: translateY(110%);
  transition: transform 260ms var(--ease);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__btn {
  flex: 1 1 auto;
  min-height: 48px;
}

.sticky-cta__mail {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--cje-border-strong);
  border-radius: var(--radius-sm);
  color: var(--cje-navy);
  text-decoration: none;
}

@media (min-width: 1080px) {
  .sticky-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta {
    transition: none;
  }
}

/* ---------- Pages d’information ---------- */
.legal {
  background: var(--cje-white);
}

.legal__title {
  font-size: var(--step-4);
}

.legal__updated {
  margin-top: var(--space-xs);
  color: var(--cje-text-muted);
  font-size: var(--step--1);
}

.legal__prose {
  margin-top: var(--space-2xl);
  color: var(--cje-text);
}

.legal__prose h2 {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--cje-border);
  font-size: var(--step-2);
}

.legal__prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal__prose h3 {
  margin-top: var(--space-lg);
  font-size: var(--step-1);
}

.legal__prose p,
.legal__prose ul {
  margin-top: var(--space-md);
  color: var(--cje-text-muted);
}

.legal__prose ul {
  display: grid;
  gap: var(--space-xs);
  padding-inline-start: 1.1rem;
  list-style: disc;
}

.legal__prose a {
  color: var(--cje-navy);
  text-underline-offset: 3px;
}

/* Éléments à compléter par le cabinet — visibles et faciles à retrouver. */
.legal__prose .placeholder {
  display: inline-block;
  padding: 0.05em 0.45em;
  border: 1px dashed var(--cje-gold-dark);
  border-radius: 4px;
  background: #fdf6e6;
  color: var(--cje-gold-dark);
  font-size: 0.95em;
  font-weight: 600;
}

.notfound {
  background: var(--cje-white);
}

.notfound__title {
  font-size: var(--step-4);
}

.notfound__text {
  margin-top: var(--space-md);
  color: var(--cje-text-muted);
  font-size: var(--step-1);
}

.notfound__actions {
  margin-top: var(--space-xl);
}
