/* ==========================================================================
   FENIASSUR Carrières — feuille de style unique du nouveau design
   --------------------------------------------------------------------------
   Direction artistique : « éditorial institutionnel »
   - Encre marine (#06243b) + bleu ciel signal (#47aeff), héritage de la marque
   - Accent braise (#8b1a3a), clin d'œil au Phénix, utilisé avec parcimonie
   - Titres en serif expressive (Fraunces), texte en grotesque nette (Manrope)
   - Filets fins, numérotation éditoriale, motif de « courbe ascendante »
   Toutes les règles sont préfixées `fx-` et/ou portées par `.fx-page`
   (classe présente uniquement sur le <body> des nouvelles pages) :
   aucune autre page du site n'est affectée.

   SOMMAIRE
   01. Tokens (variables)
   02. Base de page & utilitaires
   03. Typographie éditoriale
   04. Boutons & liens
   05. Header & navigation (surcouche du template)
   06. Hero accueil
   06b. Mouvement global (hero cinétique, bandeaux, progression)
   06c. Écran de chargement
   07. Hero pages intérieures & fil d'Ariane
   08. Sections & en-têtes de section
   09. Annonces
   10. Split (texte + image)
   11. Qui sommes-nous : piliers & cartes
   12. Chiffres
   13. Avantages
   14. Métiers
   14b. Fiche de poste
   15. Offres d'emploi
   16. Processus de recrutement
   17. Plan de carrière
   18. Témoignages
   19. Valeurs
   20. Galerie évènements
   21. FAQ
   22. CTA final
   23. Contact & formulaires
   24. Modal « Postuler »
   25. Footer & retour en haut
   26. Responsive
   27. Accessibilité & mouvement réduit
   ========================================================================== */


/* ==========================================================================
   01. TOKENS
   ========================================================================== */
:root {
  /* Couleurs */
  --fx-ink: #06243b;
  --fx-ink-2: #0c3352;
  --fx-ink-3: #041a2b;
  --fx-sky: #47aeff;
  --fx-sky-soft: #8ccbff;
  --fx-sky-deep: #1673bd;
  --fx-ember: #8b1a3a;
  --fx-ember-2: #a8264b;
  --fx-paper: #f6f2ec;
  --fx-paper-2: #ece6dc;
  --fx-white: #ffffff;
  --fx-text: #1b2a37;
  --fx-muted: #586878;
  --fx-muted-light: rgba(255, 255, 255, 0.72);
  --fx-line: rgba(6, 36, 59, 0.12);
  --fx-line-strong: rgba(6, 36, 59, 0.22);
  --fx-line-light: rgba(255, 255, 255, 0.16);

  /* Typographies */
  --fx-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --fx-font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fx-fs-xs: 0.75rem;
  --fx-fs-sm: 0.875rem;
  --fx-fs-base: 1rem;
  --fx-fs-md: 1.125rem;
  --fx-fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  --fx-fs-h3: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --fx-fs-h2: clamp(2rem, 1.35rem + 2.5vw, 3.25rem);
  --fx-fs-h1: clamp(2.6rem, 1.6rem + 4.4vw, 5.2rem);
  --fx-fs-h1-page: clamp(2.3rem, 1.5rem + 3.2vw, 4rem);

  /* Espacements */
  --fx-space-1: 0.25rem;
  --fx-space-2: 0.5rem;
  --fx-space-3: 0.75rem;
  --fx-space-4: 1rem;
  --fx-space-5: 1.5rem;
  --fx-space-6: 2rem;
  --fx-space-7: 3rem;
  --fx-space-8: 4rem;
  --fx-section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --fx-gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --fx-container: 1200px;

  /* Formes */
  --fx-radius-sm: 4px;
  --fx-radius: 8px;
  --fx-radius-lg: 14px;
  --fx-border: 1px solid var(--fx-line);

  /* Ombres */
  --fx-shadow-sm: 0 1px 2px rgba(6, 36, 59, 0.06), 0 2px 8px rgba(6, 36, 59, 0.05);
  --fx-shadow: 0 10px 30px -12px rgba(6, 36, 59, 0.25);
  --fx-shadow-lg: 0 30px 60px -25px rgba(6, 36, 59, 0.45);

  /* Mouvement */
  --fx-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fx-dur: 0.25s;
  --fx-header-h: 80px;
}


/* ==========================================================================
   02. BASE DE PAGE & UTILITAIRES
   ========================================================================== */
.fx-page {
  font-family: var(--fx-font-sans);
  color: var(--fx-text);
  background-color: var(--fx-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.fx-page [class*="fx-"],
.fx-page [class*="fx-"]::before,
.fx-page [class*="fx-"]::after {
  box-sizing: border-box;
}

.fx-page ::selection {
  background: var(--fx-sky);
  color: var(--fx-ink);
}

.fx-container {
  width: 100%;
  max-width: var(--fx-container);
  margin-inline: auto;
  padding-inline: var(--fx-gutter);
}

.fx-center {
  text-align: center;
  margin-top: var(--fx-space-7);
}

.fx-list {
  list-style: none;
  padding: 0;
  margin: var(--fx-space-3) 0 var(--fx-space-5);
  display: grid;
  gap: var(--fx-space-2);
}

.fx-list li {
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.5;
}

.fx-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.7rem;
  height: 2px;
  background: var(--fx-sky);
}

.fx-list--cols {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  column-gap: var(--fx-space-5);
}

.fx-text-light {
  color: var(--fx-muted-light);
}


/* ==========================================================================
   03. TYPOGRAPHIE ÉDITORIALE
   ========================================================================== */
.fx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--fx-space-3);
  margin: 0 0 var(--fx-space-4);
  font-family: var(--fx-font-sans);
  font-size: var(--fx-fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fx-sky-deep);
}

.fx-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  flex: none;
}

.fx-eyebrow--light {
  color: var(--fx-sky);
}

.fx-index {
  font-family: var(--fx-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.fx-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fx-ember);
}

.fx-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--fx-ember);
  animation: fx-pulse 2s var(--fx-ease) infinite;
}

/* L'eyebrow avec pastille n'affiche pas le filet */
.fx-eyebrow:has(.fx-pulse)::before {
  display: none;
}

.fx-page .fx-title {
  margin: 0 0 var(--fx-space-5);
  font-family: var(--fx-font-display);
  font-size: var(--fx-fs-h2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fx-ink);
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}

.fx-page .fx-title em,
.fx-page .fx-cta__title em,
.fx-page .fx-pagehero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--fx-sky-deep);
}

.fx-page .fx-title--light {
  color: var(--fx-white);
}

.fx-page .fx-title--light em {
  color: var(--fx-sky);
}

.fx-page .fx-title--sm {
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
}

.fx-lead {
  font-size: var(--fx-fs-lead);
  line-height: 1.6;
  color: var(--fx-text);
}

.fx-page .fx-section p {
  line-height: 1.7;
}


/* ==========================================================================
   04. BOUTONS & LIENS
   ========================================================================== */
.fx-page .fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: var(--fx-radius-sm);
  font-family: var(--fx-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--fx-dur) var(--fx-ease), color var(--fx-dur) var(--fx-ease),
    border-color var(--fx-dur) var(--fx-ease), transform var(--fx-dur) var(--fx-ease), box-shadow var(--fx-dur) var(--fx-ease);
}

.fx-page .fx-btn i {
  font-size: 1.05em;
  transition: transform var(--fx-dur) var(--fx-ease);
}

.fx-page .fx-btn:hover i {
  transform: translate(3px, -1px);
}

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

.fx-page .fx-btn--small {
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

.fx-page .fx-btn--sky {
  background: var(--fx-sky);
  border-color: var(--fx-sky);
  color: var(--fx-ink);
}

.fx-page .fx-btn--sky:hover {
  background: var(--fx-white);
  border-color: var(--fx-white);
  color: var(--fx-ink);
  box-shadow: 0 10px 24px -10px rgba(71, 174, 255, 0.8);
}

.fx-page .fx-section:not(.fx-section--ink) .fx-btn--sky:hover,
.fx-page .fx-modal .fx-btn--sky:hover,
.fx-page .fx-footer .fx-btn--sky:hover {
  background: var(--fx-ink);
  border-color: var(--fx-ink);
  color: var(--fx-white);
}

.fx-page .fx-btn--ink {
  background: var(--fx-ink);
  border-color: var(--fx-ink);
  color: var(--fx-white);
}

.fx-page .fx-btn--ink:hover {
  background: var(--fx-sky);
  border-color: var(--fx-sky);
  color: var(--fx-ink);
}

.fx-page .fx-btn--light {
  background: var(--fx-white);
  border-color: var(--fx-white);
  color: var(--fx-ink);
}

.fx-page .fx-btn--light:hover {
  background: var(--fx-sky);
  border-color: var(--fx-sky);
  color: var(--fx-ink);
}

.fx-page .fx-btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--fx-white);
}

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

.fx-page .fx-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fx-ink);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.35s var(--fx-ease), color var(--fx-dur);
}

.fx-page .fx-link:hover {
  color: var(--fx-sky-deep);
  background-size: 100% 1.5px;
}

.fx-page .fx-link i {
  transition: transform var(--fx-dur) var(--fx-ease);
}

.fx-page .fx-link:hover i {
  transform: translateX(4px);
}


/* ==========================================================================
   05. HEADER & NAVIGATION (surcouche du template, comportements JS conservés)
   ========================================================================== */
.fx-page #header.fx-header {
  height: var(--fx-header-h);
  background: rgba(246, 242, 236, 0.97);
  border-bottom: 1px solid var(--fx-line);
  transition: height 0.3s var(--fx-ease), box-shadow 0.3s var(--fx-ease), background-color 0.3s;
}

.fx-page #header.fx-header.header-scrolled {
  height: 68px;
  background: var(--fx-white);
  box-shadow: 0 8px 24px -18px rgba(6, 36, 59, 0.5);
}

.fx-page .fx-header__logo a {
  display: inline-flex;
  align-items: center;
}

.fx-page #header .fx-header__logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 52px;
  max-width: 220px;
  transition: max-height 0.3s var(--fx-ease);
}

.fx-page #header.header-scrolled .fx-header__logo-img {
  max-height: 44px;
}

.fx-page #navbar .dropdown ul {
  border: var(--fx-border);
  border-radius: var(--fx-radius);
  box-shadow: var(--fx-shadow);
  background: var(--fx-white);
}

.fx-page #navbar .dropdown ul a {
  font-family: var(--fx-font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fx-text);
}

.fx-page #navbar .dropdown ul a:hover {
  color: var(--fx-sky-deep);
  background: var(--fx-paper);
}

.fx-page #navbar .getstarted,
.fx-page #navbar .getstarted:focus {
  font-family: var(--fx-font-sans);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  border-radius: var(--fx-radius-sm);
  border: 1.5px solid var(--fx-ink);
  background: var(--fx-ink);
  color: var(--fx-white);
  padding: 11px 22px;
}

.fx-page #navbar .getstarted:hover {
  background: var(--fx-sky);
  border-color: var(--fx-sky);
  color: var(--fx-ink);
}

.fx-page .mobile-nav-toggle {
  color: var(--fx-ink);
}

.fx-page #navbar.navbar-mobile {
  background: rgba(4, 26, 43, 0.94);
}

.fx-page #navbar.navbar-mobile .mobile-nav-toggle {
  color: var(--fx-white);
}

.fx-page #navbar.navbar-mobile > ul {
  border-radius: var(--fx-radius-lg);
  padding: var(--fx-space-4) 0;
}

.fx-page #navbar.navbar-mobile a {
  font-family: var(--fx-font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fx-ink);
}

.fx-page #navbar.navbar-mobile .getstarted {
  justify-content: center;
  color: var(--fx-white);
}

@media (min-width: 992px) {
  .fx-page #navbar > ul > li > a,
  .fx-page #navbar > ul > li > a:focus {
    position: relative;
    padding: 10px 0 10px 26px;
    font-family: var(--fx-font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--fx-ink);
  }

  .fx-page #navbar > ul > li > a.nav-link::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: var(--fx-sky);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--fx-ease);
  }

  .fx-page #navbar > ul > li.dropdown > a.nav-link::after {
    right: 18px;
  }

  .fx-page #navbar > ul > li > a.nav-link:hover::after,
  .fx-page #navbar > ul > li > a.nav-link.active::after {
    transform: scaleX(1);
  }

  .fx-page #navbar > ul > li > a:hover,
  .fx-page #navbar > ul > li > a.active {
    color: var(--fx-ink);
  }

  .fx-page #navbar > ul > li > .getstarted {
    margin-left: 26px;
  }
}


/* ==========================================================================
   06. HERO ACCUEIL
   ========================================================================== */
.fx-page #hero.fx-hero {
  position: relative;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--fx-header-h) + clamp(2.5rem, 5vw, 5rem)) 0 clamp(3rem, 6vw, 6rem);
  background: var(--fx-ink);
  color: var(--fx-white);
  text-align: left;
  overflow: hidden;
  isolation: isolate;
}

.fx-hero__rise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.fx-hero__rise-line {
  fill: none;
  stroke: var(--fx-sky);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  opacity: 0.35;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: fx-draw 2.6s 0.3s var(--fx-ease) forwards;
}

.fx-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.fx-page #hero .fx-hero__title {
  margin: 0 0 var(--fx-space-5);
  font-family: var(--fx-font-display);
  font-size: var(--fx-fs-h1);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--fx-white);
  font-variation-settings: "opsz" 144;
}

.fx-hero__line {
  display: block;
}

.fx-page #hero .fx-hero__line--accent {
  font-style: italic;
  font-weight: 400;
  color: var(--fx-sky);
}

.fx-hero__lead {
  max-width: 34rem;
  margin: 0 0 var(--fx-space-6);
  font-size: var(--fx-fs-lead);
  line-height: 1.65;
  color: var(--fx-muted-light);
}

.fx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fx-space-3);
  margin-bottom: var(--fx-space-6);
}

/* Le template stylise .btn-get-started : on reprend la main dans le hero */
.fx-page #hero .btn-get-started.fx-btn {
  margin: 0;
  border-radius: var(--fx-radius-sm);
  font-family: var(--fx-font-sans);
  letter-spacing: 0.01em;
  text-transform: none;
  animation: none;
}

.fx-hero__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fx-space-3) var(--fx-space-5);
  margin: 0;
  padding: var(--fx-space-5) 0 0;
  list-style: none;
  border-top: 1px solid var(--fx-line-light);
}

.fx-hero__proofs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fx-fs-sm);
  font-weight: 600;
  color: var(--fx-white);
}

.fx-hero__proofs i {
  color: var(--fx-sky);
  font-size: 1.1rem;
}

.fx-hero__visual {
  position: relative;
  padding: 0 0 2.5rem 2.5rem;
}

.fx-hero__visual::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  border: 1.5px solid var(--fx-sky);
  border-radius: var(--fx-radius);
  opacity: 0.6;
}

.fx-hero__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 5 / 6;
  border-radius: var(--fx-radius);
  overflow: hidden;
  box-shadow: var(--fx-shadow-lg);
  background: var(--fx-ink-2);
}

.fx-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fx-hero__badge {
  position: absolute;
  left: 0;
  bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: var(--fx-space-4);
  max-width: 260px;
  padding: var(--fx-space-4) var(--fx-space-5);
  background: var(--fx-white);
  border-radius: var(--fx-radius);
  box-shadow: var(--fx-shadow);
  color: var(--fx-ink);
}

.fx-hero__badge-num {
  font-family: var(--fx-font-display);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--fx-ember);
}

.fx-hero__badge-txt {
  font-size: var(--fx-fs-sm);
  font-weight: 600;
  line-height: 1.35;
}


/* ==========================================================================
   06b. MOUVEMENT GLOBAL — hero cinétique, bandeaux défilants, progression
   ========================================================================== */

/* Titre du hero : chaque ligne surgit de derrière un masque */
.fx-page #hero .fx-hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.fx-page #hero .fx-hero__line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: fx-rise-in 1.1s var(--fx-ease) forwards;
}

.fx-page #hero .fx-hero__line:nth-child(2) > span {
  animation-delay: 0.12s;
}

.fx-page #hero .fx-hero__line:nth-child(3) > span {
  animation-delay: 0.24s;
}

.fx-hero__photo {
  will-change: transform;
}

/* Barre de progression de lecture (dans le header) */
.fx-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

.fx-progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--fx-sky), var(--fx-ember));
  transform: scaleX(0);
  transform-origin: left;
}

/* Bandeau défilant infini */
.fx-marquee {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 0;
  white-space: nowrap;
}

.fx-marquee__track {
  display: flex;
  width: max-content;
  animation: fx-marquee 38s linear infinite;
}

.fx-marquee:hover .fx-marquee__track {
  animation-play-state: paused;
}

.fx-marquee__group {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-marquee__group li {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fx-marquee__group li::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: 0 2rem;
  transform: rotate(45deg);
  background: currentColor;
  opacity: 0.6;
}

.fx-marquee--sky {
  background: var(--fx-sky);
  color: var(--fx-ink);
}

.fx-marquee--ink {
  background: var(--fx-ink);
  color: var(--fx-white);
}

.fx-marquee--big {
  padding: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

.fx-marquee--big .fx-marquee__track {
  animation-duration: 55s;
}

.fx-marquee--big .fx-marquee__group li {
  font-family: var(--fx-font-display);
  font-size: clamp(3rem, 2rem + 5vw, 7rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.03em;
  text-transform: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45);
}

.fx-marquee--big .fx-marquee__group li:nth-child(odd) {
  font-style: normal;
  color: rgba(255, 255, 255, 0.9);
  -webkit-text-stroke: 0;
}

.fx-marquee--big .fx-marquee__group li::after {
  width: 14px;
  height: 14px;
  margin: 0 3rem;
}

@keyframes fx-rise-in {
  to {
    transform: translateY(0);
  }
}

@keyframes fx-marquee {
  to {
    transform: translateX(-50%);
  }
}


/* ==========================================================================
   06c. ÉCRAN DE CHARGEMENT — lancement du site & changement de page
   ========================================================================== */
.fx-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: var(--fx-gutter);
  background: var(--fx-ink);
  color: var(--fx-white);
  transform: translateY(0);
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
  /* Secours sans JavaScript : disparaît seul après 6 s */
  animation: fx-loader-failsafe 0.4s 6s forwards;
}

.fx-loader.fx-loader--js {
  animation: none;
}

/* Bord bas lumineux : souligne la montée du rideau */
.fx-loader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fx-sky), var(--fx-ember));
}

html.fx-loaded .fx-loader {
  transform: translateY(-101%);
  pointer-events: none;
}

.fx-loader__inner {
  display: grid;
  justify-items: center;
  gap: var(--fx-space-4);
  width: min(100%, 360px);
  text-align: center;
  transition: opacity 0.4s var(--fx-ease), transform 0.6s var(--fx-ease);
}

html.fx-loaded .fx-loader__inner {
  opacity: 0;
  transform: translateY(-30px);
}

.fx-loader__logo {
  width: auto;
  height: auto;
  max-width: 190px;
  max-height: 52px;
  filter: brightness(0) invert(1);
}

.fx-loader__rise {
  width: 160px;
  height: 40px;
  overflow: visible;
}

.fx-loader__rise-line {
  fill: none;
  stroke: var(--fx-sky);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: fx-loader-draw 1.6s var(--fx-ease) infinite;
}

.fx-page .fx-loader__count {
  margin: 0;
  font-family: var(--fx-font-display);
  font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--fx-white);
}

.fx-loader__count sup {
  top: -1.2em;
  font-size: 0.35em;
  color: var(--fx-sky);
}

.fx-loader__bar {
  width: 100%;
  height: 2px;
  background: var(--fx-line-light);
  overflow: hidden;
}

.fx-loader__bar span {
  display: block;
  height: 100%;
  background: var(--fx-sky);
  transform: scaleX(0);
  transform-origin: left;
}

.fx-page .fx-loader__tagline {
  margin: var(--fx-space-2) 0 0;
  font-family: var(--fx-font-display);
  font-size: 1rem;
  color: var(--fx-muted-light);
}

.fx-loader__tagline em {
  color: var(--fx-sky);
}

/* Le titre du hero attend la levée du rideau pour s'animer */
html.fx-js:not(.fx-loaded) .fx-page #hero .fx-hero__line > span {
  animation-play-state: paused;
}

@keyframes fx-loader-draw {
  0% {
    stroke-dashoffset: 300;
  }
  60%,
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes fx-loader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-loader {
    transition: opacity 0.2s linear, visibility 0.2s;
  }

  html.fx-loaded .fx-loader {
    transform: none;
    opacity: 0;
    visibility: hidden;
  }
}


/* ==========================================================================
   07. HERO PAGES INTÉRIEURES & FIL D'ARIANE
   ========================================================================== */
.fx-pagehero {
  position: relative;
  padding: calc(var(--fx-header-h) + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(3rem, 5vw, 5rem);
  background: var(--fx-ink);
  color: var(--fx-white);
  overflow: hidden;
  isolation: isolate;
}

.fx-pagehero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -1px;
  width: 60%;
  height: 1px;
  background: var(--fx-sky);
  opacity: 0.5;
  transform: rotate(-8deg);
  transform-origin: right;
  z-index: -1;
}

.fx-pagehero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.fx-page .fx-pagehero__title {
  margin: 0 0 var(--fx-space-5);
  font-family: var(--fx-font-display);
  font-size: var(--fx-fs-h1-page);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fx-white);
  text-wrap: balance;
}

.fx-page .fx-pagehero__title em {
  color: var(--fx-sky);
}

.fx-pagehero__lead {
  max-width: 36rem;
  margin: 0 0 var(--fx-space-6);
  font-size: var(--fx-fs-lead);
  line-height: 1.65;
  color: var(--fx-muted-light);
}

.fx-pagehero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fx-space-3);
}

.fx-pagehero__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--fx-radius);
  overflow: hidden;
  box-shadow: var(--fx-shadow-lg);
  background: var(--fx-ink-2);
}

.fx-pagehero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fx-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 var(--fx-space-6);
  padding: 0;
  list-style: none;
  font-size: var(--fx-fs-sm);
  color: var(--fx-muted-light);
}

.fx-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  opacity: 0.5;
}

.fx-page .fx-breadcrumb a {
  color: var(--fx-muted-light);
  text-decoration: none;
}

.fx-page .fx-breadcrumb a:hover {
  color: var(--fx-sky);
}

.fx-breadcrumb [aria-current="page"] {
  color: var(--fx-white);
  font-weight: 600;
}


/* ==========================================================================
   08. SECTIONS & EN-TÊTES DE SECTION
   ========================================================================== */
.fx-page .fx-section {
  position: relative;
  padding: var(--fx-section-y) 0;
  overflow: visible;
  background: var(--fx-white);
}

.fx-page .fx-section--paper {
  background: var(--fx-paper);
}

.fx-page .fx-section--ink {
  background: var(--fx-ink);
  color: var(--fx-white);
}

.fx-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.fx-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--fx-space-6) clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.fx-head--split .fx-title {
  margin-bottom: 0;
}

.fx-head__aside,
.fx-head__intro {
  margin: 0;
  font-size: var(--fx-fs-md);
  line-height: 1.65;
  color: var(--fx-muted);
}

.fx-head__aside {
  padding-left: var(--fx-space-5);
  border-left: 2px solid var(--fx-sky);
}

.fx-head__aside--light {
  color: var(--fx-muted-light);
}


/* ==========================================================================
   09. ANNONCES — affiches inclinables, sans carte
   ========================================================================== */
.fx-annonces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  perspective: 1200px;
}

.fx-annonce {
  display: flex;
  flex-direction: column;
}

.fx-annonce:nth-child(2) {
  margin-top: clamp(0rem, 6vw, 5rem);
}

.fx-annonce__media {
  --fx-rx: 0deg;
  --fx-ry: 0deg;
  border-radius: var(--fx-radius);
  overflow: hidden;
  background: #e9edf2;
  box-shadow: var(--fx-shadow-lg);
  transform: rotateX(var(--fx-rx)) rotateY(var(--fx-ry));
  transform-style: preserve-3d;
  transition: transform 0.4s var(--fx-ease), box-shadow 0.4s var(--fx-ease);
  will-change: transform;
}

.fx-annonce__media:hover {
  box-shadow: 0 40px 70px -30px rgba(6, 36, 59, 0.55);
}

.fx-annonce__img {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 560px);
  object-fit: contain;
}

.fx-annonce__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fx-space-4);
  padding: var(--fx-space-5) 0 0;
  margin-top: var(--fx-space-5);
  border-top: 1px solid var(--fx-line-strong);
}

.fx-annonce__tag {
  display: block;
  margin-bottom: 0.2rem;
  font-size: var(--fx-fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fx-sky-deep);
}

.fx-page .fx-annonce__title {
  margin: 0;
  font-family: var(--fx-font-display);
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
  font-weight: 500;
  color: var(--fx-ink);
}

.fx-page .fx-annonce--sante .fx-annonce__btn {
  background: var(--fx-ember);
  border-color: var(--fx-ember);
  color: var(--fx-white);
}

.fx-page .fx-annonce--emprunteur .fx-annonce__btn {
  background: var(--fx-sky);
  border-color: var(--fx-sky);
  color: var(--fx-ink);
}

.fx-page .fx-annonce .fx-annonce__btn:hover {
  background: var(--fx-ink);
  border-color: var(--fx-ink);
  color: var(--fx-white);
}


/* ==========================================================================
   10. SPLIT (TEXTE + IMAGE)
   ========================================================================== */
.fx-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.fx-split--reverse .fx-split__media {
  order: 2;
}

.fx-split__media {
  position: relative;
  margin: 0;
  padding: 0 1.5rem 1.5rem 0;
}

.fx-split__media::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  height: 75%;
  background: var(--fx-paper-2);
  border-radius: var(--fx-radius);
  z-index: 0;
}

.fx-section--ink .fx-split__media::before {
  background: var(--fx-ink-2);
}

.fx-split__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--fx-radius);
}

.fx-split__note {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 1.5rem;
  display: grid;
  gap: 0.1rem;
  padding: var(--fx-space-4) var(--fx-space-5);
  background: var(--fx-white);
  border-radius: var(--fx-radius);
  box-shadow: var(--fx-shadow);
  font-size: var(--fx-fs-sm);
  color: var(--fx-muted);
}

.fx-split__note strong {
  font-family: var(--fx-font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--fx-ink);
}

.fx-split__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fx-space-5);
  margin-top: var(--fx-space-6);
}


/* ==========================================================================
   11. QUI SOMMES-NOUS : PILIERS & CARTES
   ========================================================================== */
.fx-about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.fx-about__text p {
  color: var(--fx-muted);
}

.fx-about__text .fx-lead {
  color: var(--fx-text);
}

.fx-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--fx-line-strong);
}

.fx-pillar {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--fx-space-4);
  padding: var(--fx-space-5) 0;
  border-bottom: 1px solid var(--fx-line);
}

.fx-pillar__num {
  font-family: var(--fx-font-display);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--fx-sky-deep);
}

.fx-page .fx-pillar__title {
  margin: 0 0 0.35rem;
  font-family: var(--fx-font-display);
  font-size: var(--fx-fs-h3);
  font-weight: 500;
  color: var(--fx-ink);
}

.fx-pillar p {
  margin: 0;
  color: var(--fx-muted);
}

.fx-maps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(3rem, 5vw, 5rem);
}

.fx-map {
  margin: 0;
  padding: var(--fx-space-5);
  background: var(--fx-paper);
  border-radius: var(--fx-radius);
  border: var(--fx-border);
}

.fx-map__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: var(--fx-space-4);
  padding-top: var(--fx-space-4);
  border-top: 1px solid var(--fx-line);
  font-size: var(--fx-fs-sm);
  color: var(--fx-muted);
}

.fx-map__caption span {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fx-ink);
}


/* ==========================================================================
   12. CHIFFRES
   ========================================================================== */
.fx-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--fx-line-light);
}

.fx-stat {
  position: relative;
  padding: var(--fx-space-6) var(--fx-space-5) 0;
  border-left: 1px solid var(--fx-line-light);
}

.fx-stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.fx-stat__icon {
  font-size: 1.4rem;
  color: var(--fx-sky);
}

.fx-page .fx-stat__num {
  margin: var(--fx-space-3) 0 0;
  font-family: var(--fx-font-display);
  font-size: clamp(3rem, 2.2rem + 3vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fx-white);
}

.fx-stat__num sup {
  font-size: 0.45em;
  top: -0.9em;
  color: var(--fx-sky);
}

.fx-page .fx-stat__label {
  margin: var(--fx-space-2) 0 var(--fx-space-2);
  font-weight: 800;
  font-size: var(--fx-fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fx-white);
}

.fx-page .fx-stat__desc {
  margin: 0;
  font-size: var(--fx-fs-sm);
  color: var(--fx-muted-light);
}


/* ==========================================================================
   13. AVANTAGES — « story » : image collante + chapitres au défilement
   ========================================================================== */
.fx-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.fx-story__media {
  position: sticky;
  top: calc(var(--fx-header-h) + 2rem);
}

.fx-story__frames {
  position: relative;
  aspect-ratio: 9 / 11;
  max-height: calc(100vh - var(--fx-header-h) - 8rem);
  border-radius: var(--fx-radius);
  overflow: hidden;
  background: var(--fx-ink);
}

.fx-story__frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transition: opacity 0.6s var(--fx-ease), clip-path 0.9s var(--fx-ease);
}

.fx-story__frame.is-active {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.fx-story__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  transition: transform 1.4s var(--fx-ease);
}

.fx-story__frame.is-active .fx-story__img {
  transform: scale(1);
}

.fx-story__meta {
  display: flex;
  align-items: center;
  gap: var(--fx-space-4);
  margin-top: var(--fx-space-4);
}

.fx-page .fx-story__counter {
  margin: 0;
  font-family: var(--fx-font-display);
  font-size: 1rem;
  color: var(--fx-muted);
  font-variant-numeric: tabular-nums;
}

.fx-story__counter span {
  font-size: 1.5rem;
  color: var(--fx-ink);
}

.fx-story__bar {
  flex: 1;
  height: 2px;
  background: var(--fx-line-strong);
  overflow: hidden;
}

.fx-story__bar span {
  display: block;
  height: 100%;
  background: var(--fx-ink);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.6s var(--fx-ease);
}

.fx-story__chapters {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-chapter {
  position: relative;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--fx-space-7) 0 var(--fx-space-7) clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--fx-line-strong);
  opacity: 0.28;
  transition: opacity 0.6s var(--fx-ease);
}

.fx-chapter::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--fx-ember);
  transform: translateY(-50%);
  transition: height 0.6s var(--fx-ease);
}

.fx-chapter.is-active {
  opacity: 1;
}

.fx-chapter.is-active::before {
  height: 60%;
}

.fx-chapter__num {
  font-family: var(--fx-font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--fx-sky-deep);
}

.fx-page .fx-chapter__kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: var(--fx-space-3) 0 var(--fx-space-2);
  font-size: var(--fx-fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fx-muted);
}

.fx-page .fx-chapter__title {
  margin: 0 0 var(--fx-space-4);
  font-family: var(--fx-font-display);
  font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--fx-ink);
  transform: translateY(16px);
  transition: transform 0.8s var(--fx-ease);
}

.fx-chapter.is-active .fx-chapter__title {
  transform: none;
}

.fx-page .fx-chapter__text {
  max-width: 30rem;
  margin: 0;
  font-size: var(--fx-fs-md);
  color: var(--fx-muted);
}

.fx-chapter__media {
  display: none;
}

/* « Et aussi » : registre éditorial, pas de cartes */
.fx-also {
  display: grid;
  grid-template-columns: minmax(0, 0.25fr) minmax(0, 1fr);
  gap: var(--fx-space-6);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: var(--fx-space-6);
  border-top: 1px solid var(--fx-line-strong);
}

.fx-page .fx-also__label {
  margin: 0;
  font-family: var(--fx-font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--fx-ink);
}

.fx-also__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--fx-space-6);
  margin: 0;
}

.fx-also__item {
  padding: var(--fx-space-4) 0;
  border-bottom: 1px solid var(--fx-line);
  transition: padding-left 0.35s var(--fx-ease);
}

.fx-also__item:hover {
  padding-left: var(--fx-space-3);
}

.fx-also__item dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  font-weight: 800;
  color: var(--fx-ink);
}

.fx-also__item dt i {
  color: var(--fx-sky-deep);
}

.fx-also__item dd {
  margin: 0;
  color: var(--fx-muted);
}

.fx-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--fx-space-4) var(--fx-space-6);
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: var(--fx-space-5) 0 0;
  border-top: 1px solid var(--fx-line-strong);
}

.fx-page .fx-inline-cta p {
  margin: 0;
  font-family: var(--fx-font-display);
  font-size: var(--fx-fs-h3);
  color: var(--fx-ink);
}

@media (max-width: 991.98px) {
  .fx-story {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-story__media {
    display: none;
  }

  .fx-chapter {
    min-height: 0;
    opacity: 1;
    padding: var(--fx-space-6) 0 var(--fx-space-6) var(--fx-space-5);
  }

  .fx-chapter::before {
    height: 40px;
    top: var(--fx-space-6);
    transform: none;
  }

  .fx-chapter__title {
    transform: none;
  }

  .fx-chapter__media {
    display: block;
    margin: var(--fx-space-5) 0 0;
    aspect-ratio: 16 / 10;
    border-radius: var(--fx-radius);
    overflow: hidden;
  }

  .fx-chapter__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .fx-also {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--fx-space-3);
  }
}

@media (max-width: 575.98px) {
  .fx-also__list {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ==========================================================================
   14. MÉTIERS
   ========================================================================== */
.fx-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fx-space-2);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.fx-page .fx-tabs a {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--fx-line-strong);
  border-radius: 999px;
  font-size: var(--fx-fs-sm);
  font-weight: 700;
  color: var(--fx-ink);
  text-decoration: none;
  transition: background-color var(--fx-dur), color var(--fx-dur), border-color var(--fx-dur);
}

.fx-page .fx-tabs a:hover {
  background: var(--fx-ink);
  border-color: var(--fx-ink);
  color: var(--fx-white);
}

.fx-service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  border-top: 1px solid var(--fx-line);
  scroll-margin-top: calc(var(--fx-header-h) + 1rem);
}

.fx-service-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.fx-service-row--reverse .fx-service-row__media {
  order: 2;
}

.fx-service-row__media {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--fx-radius);
  overflow: hidden;
  background: var(--fx-paper);
}

.fx-service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--fx-ease);
}

.fx-service-row:hover .fx-service-row__media img {
  transform: scale(1.03);
}

.fx-service-row__body > p {
  color: var(--fx-muted);
}

.fx-service-row__body > .fx-lead {
  color: var(--fx-text);
}

.fx-service__kicker {
  display: block;
  margin-bottom: var(--fx-space-3);
  font-size: var(--fx-fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fx-sky-deep);
}

.fx-page .fx-service__sub {
  margin: var(--fx-space-4) 0 0;
  font-weight: 700;
  color: var(--fx-ink);
}

.fx-note {
  margin: var(--fx-space-5) 0;
  padding: var(--fx-space-5);
  border-left: 3px solid var(--fx-ember);
  background: var(--fx-paper);
  border-radius: 0 var(--fx-radius) var(--fx-radius) 0;
}

.fx-page .fx-note p {
  margin: 0;
  color: var(--fx-muted);
}

.fx-page .fx-note .fx-note__title {
  margin-bottom: var(--fx-space-2);
  font-family: var(--fx-font-display);
  font-size: 1.15rem;
  color: var(--fx-ink);
}


/* ==========================================================================
   14b. FICHE DE POSTE — infos clés, descriptif éditorial, encart collant
   ========================================================================== */
.fx-page .fx-pagehero__img--contain {
  object-fit: contain;
  background: #e9edf2;
}

/* Infos clés : bande horizontale à filets */
.fx-facts {
  background: var(--fx-ink-2);
  color: var(--fx-white);
}

.fx-facts__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.fx-facts__item {
  padding: var(--fx-space-5) var(--fx-space-5) var(--fx-space-5) 0;
  border-left: 1px solid var(--fx-line-light);
  padding-left: var(--fx-space-5);
}

.fx-facts__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.fx-facts__item dt {
  margin-bottom: 0.3rem;
  font-size: var(--fx-fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fx-sky);
}

.fx-facts__item dd {
  margin: 0;
  font-family: var(--fx-font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  line-height: 1.25;
}

/* Descriptif + encart */
.fx-jobdoc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.fx-jobdoc__block {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--fx-line);
}

.fx-jobdoc__block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.fx-page .fx-jobdoc__lead {
  margin: 0 0 var(--fx-space-4);
  font-family: var(--fx-font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fx-ink);
}

.fx-page .fx-jobdoc__p {
  margin: 0;
  font-size: var(--fx-fs-md);
  color: var(--fx-muted);
}

/* Missions : numérotation géante */
.fx-missions {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: fx-mission;
}

.fx-missions li {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  align-items: baseline;
  padding: var(--fx-space-4) 0;
  border-top: 1px solid var(--fx-line);
  font-size: var(--fx-fs-md);
  line-height: 1.55;
  color: var(--fx-text);
  counter-increment: fx-mission;
  transition: padding-left 0.35s var(--fx-ease);
}

.fx-missions li::before {
  content: counter(fx-mission, decimal-leading-zero);
  font-family: var(--fx-font-display);
  font-size: 2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--fx-sky-deep);
  transition: color 0.35s;
}

.fx-missions li:hover {
  padding-left: var(--fx-space-3);
}

.fx-missions li:hover::before {
  color: var(--fx-sky-deep);
}

/* Profil : grandes lignes typographiques */
.fx-profile {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-profile li {
  position: relative;
  padding: var(--fx-space-3) 0 var(--fx-space-3) 2rem;
  font-family: var(--fx-font-display);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.35;
  color: var(--fx-ink);
}

.fx-profile li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 1.1rem;
  height: 2px;
  background: var(--fx-ember);
}

/* Avantages : liste cochée à deux colonnes */
.fx-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--fx-space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-offers li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: var(--fx-space-2);
  padding: var(--fx-space-4) 0;
  border-bottom: 1px solid var(--fx-line);
  color: var(--fx-text);
  line-height: 1.5;
}

.fx-offers i {
  color: var(--fx-sky-deep);
  font-size: 1.2rem;
  line-height: 1.3;
}

/* Encart « Postuler » collant */
.fx-jobdoc__aside {
  position: sticky;
  top: calc(var(--fx-header-h) + 1.5rem);
}

.fx-applybox {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--fx-ink);
  color: var(--fx-white);
  border-radius: var(--fx-radius-lg);
  box-shadow: var(--fx-shadow-lg);
}

.fx-page .fx-applybox__kicker {
  margin: 0 0 var(--fx-space-2);
  font-size: var(--fx-fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fx-sky);
}

.fx-page .fx-applybox__title {
  margin: 0 0 var(--fx-space-5);
  font-family: var(--fx-font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--fx-white);
}

.fx-page .fx-applybox__btn {
  width: 100%;
}

.fx-applybox__list {
  display: grid;
  gap: var(--fx-space-3);
  margin: var(--fx-space-5) 0 0;
  padding: var(--fx-space-5) 0 0;
  list-style: none;
  border-top: 1px solid var(--fx-line-light);
  font-size: var(--fx-fs-sm);
  color: var(--fx-muted-light);
}

.fx-applybox__list li {
  display: flex;
  gap: 0.6rem;
  overflow-wrap: anywhere;
}

.fx-applybox__list i {
  color: var(--fx-sky);
}

.fx-page .fx-applybox__list a {
  color: var(--fx-white);
  text-decoration: none;
}

.fx-page .fx-applybox__list a:hover {
  color: var(--fx-sky);
}

.fx-page .fx-applybox__note {
  margin: var(--fx-space-4) 0 0;
  font-size: var(--fx-fs-sm);
  color: var(--fx-muted-light);
}

/* Section candidature */
.fx-mini-steps {
  display: grid;
  gap: var(--fx-space-3);
  margin: var(--fx-space-5) 0;
  padding: 0;
  list-style: none;
}

.fx-mini-steps li {
  display: flex;
  align-items: center;
  gap: var(--fx-space-3);
  font-weight: 700;
  color: var(--fx-ink);
}

.fx-mini-steps span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid var(--fx-ink);
  font-family: var(--fx-font-display);
  font-size: 0.95rem;
}

.fx-page .fx-contact__alt {
  color: var(--fx-muted);
}

.fx-page .fx-contact__alt a {
  color: var(--fx-sky-deep);
  font-weight: 700;
}

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

.fx-form__field {
  display: block;
  margin: 0;
}

.fx-page .fx-form__file .fx-form__field {
  font-weight: 800;
  color: var(--fx-ink);
}

.fx-page .fx-form__file .fx-form__field input[type="file"] {
  display: block;
  margin-top: var(--fx-space-3);
}

@media (max-width: 991.98px) {
  .fx-jobdoc {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-jobdoc__aside {
    position: static;
    order: -1;
  }

  .fx-facts__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fx-facts__item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .fx-facts__item:nth-child(n + 3) {
    border-top: 1px solid var(--fx-line-light);
  }
}

@media (max-width: 575.98px) {
  .fx-offers {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-missions li {
    grid-template-columns: 3.2rem 1fr;
  }

  .fx-missions li::before {
    font-size: 1.6rem;
  }
}


/* ==========================================================================
   15. OFFRES D'EMPLOI — liste éditoriale + aperçu au curseur
   ========================================================================== */
.fx-joblist {
  position: relative;
  border-top: 1px solid var(--fx-ink);
}

.fx-jobrow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--fx-space-5);
  border-bottom: 1px solid var(--fx-line-strong);
}

.fx-jobrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fx-ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--fx-ease);
  z-index: 0;
}

.fx-jobrow:hover::before,
.fx-jobrow:focus-within::before {
  transform: scaleY(1);
  transform-origin: top;
}

.fx-page .fx-jobrow__link {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--fx-space-5);
  padding: clamp(1.4rem, 2.5vw, 2.2rem) 0 clamp(1.4rem, 2.5vw, 2.2rem) var(--fx-space-4);
  color: var(--fx-ink);
  text-decoration: none;
}

.fx-jobrow__num {
  font-family: var(--fx-font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--fx-sky-deep);
  transition: color 0.3s;
}

.fx-jobrow__main {
  display: grid;
  gap: 0.35rem;
}

.fx-page .fx-jobrow__title {
  margin: 0;
  font-family: var(--fx-font-display);
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: inherit;
  transition: transform 0.5s var(--fx-ease), color 0.3s;
}

.fx-jobrow__text {
  max-width: 40rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--fx-muted);
  transition: color 0.3s;
}

.fx-jobrow__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.fx-jobrow__tags span {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--fx-line-strong);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s;
}

.fx-jobrow__arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--fx-line-strong);
  font-size: 1.2rem;
  transition: transform 0.5s var(--fx-ease), background-color 0.3s, border-color 0.3s, color 0.3s;
}

.fx-page .fx-jobrow__apply {
  position: relative;
  z-index: 1;
  margin-right: var(--fx-space-4);
}

.fx-jobrow__thumb {
  display: none;
}

/* État survolé : la ligne devient un bandeau encre */
.fx-page .fx-jobrow:hover .fx-jobrow__link,
.fx-page .fx-jobrow:focus-within .fx-jobrow__link {
  color: var(--fx-white);
}

.fx-jobrow:hover .fx-jobrow__title {
  transform: translateX(12px);
}

.fx-jobrow:hover .fx-jobrow__text,
.fx-jobrow:focus-within .fx-jobrow__text {
  color: var(--fx-muted-light);
}

.fx-jobrow:hover .fx-jobrow__num,
.fx-jobrow:focus-within .fx-jobrow__num {
  color: var(--fx-sky);
}

.fx-jobrow:hover .fx-jobrow__tags span,
.fx-jobrow:focus-within .fx-jobrow__tags span {
  border-color: var(--fx-line-light);
}

.fx-jobrow:hover .fx-jobrow__arrow,
.fx-jobrow:focus-within .fx-jobrow__arrow {
  background: var(--fx-sky);
  border-color: var(--fx-sky);
  color: var(--fx-ink);
  transform: rotate(45deg);
}

.fx-page .fx-jobrow:hover .fx-jobrow__apply {
  background: var(--fx-sky);
  border-color: var(--fx-sky);
  color: var(--fx-ink);
}

.fx-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .fx-page .fx-jobrow__link {
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  }

  .fx-jobrow__tags {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .fx-jobrow {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas:
      "thumb link"
      "thumb apply";
    gap: 0 var(--fx-space-4);
    padding: var(--fx-space-5) 0;
  }

  .fx-jobrow::before {
    display: none;
  }

  .fx-jobrow__thumb {
    grid-area: thumb;
    display: block;
    width: 88px;
    height: 110px;
    object-fit: cover;
    border-radius: var(--fx-radius-sm);
    align-self: start;
  }

  .fx-page .fx-jobrow__link {
    grid-area: link;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    gap: var(--fx-space-2);
  }

  .fx-page .fx-jobrow:hover .fx-jobrow__link,
  .fx-page .fx-jobrow:focus-within .fx-jobrow__link {
    color: var(--fx-ink);
  }

  .fx-jobrow:hover .fx-jobrow__text {
    color: var(--fx-muted);
  }

  .fx-jobrow__num,
  .fx-jobrow__arrow {
    display: none;
  }

  .fx-jobrow:hover .fx-jobrow__title {
    transform: none;
  }

  .fx-page .fx-jobrow__apply {
    grid-area: apply;
    justify-self: start;
    margin: var(--fx-space-3) 0 0;
  }
}


/* ==========================================================================
   16. PROCESSUS DE RECRUTEMENT — défilement horizontal épinglé
   ========================================================================== */
.fx-page .fx-hscroll {
  padding: 0;
}

.fx-hscroll__pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: var(--fx-section-y) 0;
  overflow: hidden;
}

.fx-hscroll__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--fx-space-6) clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.fx-hscroll__head .fx-title {
  margin: 0;
}

/* Par défaut (mobile, mouvement réduit) : carrousel natif au doigt */
.fx-hscroll__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.fx-hscroll__viewport::-webkit-scrollbar {
  display: none;
}

.fx-hscroll__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0 max(var(--fx-gutter), calc((100vw - var(--fx-container)) / 2 + var(--fx-gutter)));
  list-style: none;
  will-change: transform;
}

.fx-panel {
  position: relative;
  flex: none;
  width: clamp(270px, 30vw, 420px);
  padding: 5.5rem clamp(1.25rem, 2.5vw, 2.5rem) var(--fx-space-5) 0;
  margin-right: clamp(1.25rem, 2.5vw, 2.5rem);
  scroll-snap-align: start;
}

/* Ligne de temps qui relie les étapes */
.fx-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: calc(-1 * clamp(1.25rem, 2.5vw, 2.5rem));
  top: 4.25rem;
  height: 1px;
  background: var(--fx-line-light);
}

.fx-panel__dot {
  position: absolute;
  left: 0;
  top: calc(4.25rem - 6px);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--fx-ink);
  border: 2px solid var(--fx-sky);
}

.fx-panel__num {
  position: absolute;
  left: -0.05em;
  top: -1.2rem;
  font-family: var(--fx-font-display);
  font-size: clamp(5rem, 4rem + 4vw, 8.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(71, 174, 255, 0.45);
  z-index: 0;
  pointer-events: none;
}

.fx-page .fx-panel__kicker {
  position: relative;
  margin: var(--fx-space-5) 0 var(--fx-space-2);
  font-size: var(--fx-fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fx-sky);
}

.fx-page .fx-panel__title {
  position: relative;
  margin: 0 0 var(--fx-space-3);
  font-family: var(--fx-font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--fx-white);
}

.fx-page .fx-panel__text {
  position: relative;
  margin: 0;
  color: var(--fx-muted-light);
}

.fx-panel--final {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: var(--fx-space-4);
  padding-top: 0;
}

.fx-panel--final::before {
  display: none;
}

.fx-panel__media {
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--fx-radius);
  overflow: hidden;
}

.fx-panel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fx-hscroll__progress {
  height: 2px;
  background: var(--fx-line-light);
  overflow: hidden;
}

.fx-hscroll__fill {
  display: block;
  height: 100%;
  background: var(--fx-sky);
  transform: scaleX(0);
  transform-origin: left;
}

/* Desktop + JS : la section s'épingle, la piste glisse au scroll */
.fx-hscroll.is-pinned .fx-hscroll__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: calc(var(--fx-header-h) + 1rem) 0 2rem;
}

.fx-hscroll.is-pinned .fx-hscroll__viewport {
  overflow: visible;
  scroll-snap-type: none;
}

@media (max-width: 991.98px) {
  .fx-hscroll__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-panel {
    width: min(80vw, 360px);
  }
}


/* ==========================================================================
   17. PLAN DE CARRIÈRE
   ========================================================================== */
.fx-career__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.fx-career__intro > p {
  color: var(--fx-muted);
}

.fx-career__intro > .fx-lead {
  color: var(--fx-text);
}

.fx-career__media {
  margin: var(--fx-space-6) 0 0;
  aspect-ratio: 3 / 2;
  border-radius: var(--fx-radius);
  overflow: hidden;
}

.fx-career__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Escalier ascendant : chaque marche se décale vers la droite */
.fx-ladder {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--fx-space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-ladder__step {
  position: relative;
  padding: var(--fx-space-5) var(--fx-space-5) var(--fx-space-5) var(--fx-space-6);
  background: var(--fx-paper);
  border-radius: var(--fx-radius);
  border-left: 3px solid var(--fx-sky);
  transition: transform 0.35s var(--fx-ease), background-color 0.35s;
}

.fx-ladder__step:nth-child(2) {
  margin-left: 2.5rem;
  border-left-color: var(--fx-sky-deep);
}

.fx-ladder__step:nth-child(3) {
  margin-left: 5rem;
  background: var(--fx-ink);
  border-left-color: var(--fx-ember);
}

.fx-ladder__step:hover {
  transform: translateX(6px);
}

.fx-ladder__level {
  display: block;
  margin-bottom: 0.3rem;
  font-size: var(--fx-fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fx-sky-deep);
}

.fx-page .fx-ladder__step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--fx-font-display);
  font-size: var(--fx-fs-h3);
  font-weight: 500;
  color: var(--fx-ink);
}

.fx-page .fx-ladder__step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--fx-muted);
}

.fx-page .fx-ladder__step:nth-child(3) h3 {
  color: var(--fx-white);
}

.fx-page .fx-ladder__step:nth-child(3) p {
  color: var(--fx-muted-light);
}

.fx-ladder__step:nth-child(3) .fx-ladder__level {
  color: var(--fx-sky);
}


/* ==========================================================================
   18. TÉMOIGNAGES — citations typographiques (Swiper conservé)
   ========================================================================== */
.fx-testimonials {
  padding-bottom: 3.5rem;
}

.fx-testimonials .swiper-slide {
  height: auto;
}

.fx-testimonials .testimonial-wrap {
  height: 100%;
}

.fx-page .fx-testimonials .testimonial-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin: 0;
  padding: 0 0 0 var(--fx-space-5);
  background: transparent;
  border: 0;
  border-left: 1px solid var(--fx-line-light);
  box-shadow: none;
  transition: border-color 0.4s var(--fx-ease);
}

.fx-page .fx-testimonials .testimonial-item:hover {
  border-left-color: var(--fx-sky);
}

.fx-testimonials blockquote {
  margin: 0 0 var(--fx-space-6);
  font-family: var(--fx-font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fx-white);
}

.fx-page .fx-testimonials .quote-icon-left {
  display: block;
  position: static;
  margin-bottom: var(--fx-space-4);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--fx-ember-2);
}

.fx-testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--fx-space-4);
}

.fx-page .fx-testimonials .testimonial-img {
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 50%;
  border: 0;
  object-fit: cover;
  position: static;
  float: none;
  filter: grayscale(1);
  transition: filter 0.4s;
}

.fx-page .fx-testimonials .testimonial-item:hover .testimonial-img {
  filter: none;
}

.fx-testimonial__author span {
  display: grid;
  font-size: var(--fx-fs-sm);
  color: var(--fx-muted-light);
}

.fx-testimonial__author strong {
  font-size: 1rem;
  color: var(--fx-white);
}

.fx-page .fx-testimonials .swiper-pagination {
  bottom: 0;
  text-align: left;
}

.fx-page .fx-testimonials .swiper-pagination-bullet {
  width: 28px;
  height: 3px;
  margin: 0 4px 0 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: background-color 0.3s, width 0.3s;
}

.fx-page .fx-testimonials .swiper-pagination-bullet-active {
  width: 56px;
  background: var(--fx-sky);
}


/* ==========================================================================
   19. VALEURS — mots géants qui se remplissent au défilement
   ========================================================================== */
.fx-words {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--fx-line-strong);
}

.fx-word {
  --fx-fill: 0;
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--fx-space-5);
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
  border-bottom: 1px solid var(--fx-line-strong);
}

.fx-word__num {
  font-family: var(--fx-font-display);
  font-style: italic;
  color: var(--fx-sky-deep);
}

.fx-page .fx-word__title {
  position: relative;
  margin: 0;
  font-family: var(--fx-font-display);
  font-size: clamp(2.4rem, 1.2rem + 5vw, 6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

/* Contour (base) + encre (remplissage piloté par --fx-fill) */
.fx-word__base {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--fx-line-strong);
}

.fx-word__fill {
  position: absolute;
  inset: 0;
  color: var(--fx-ink);
  clip-path: inset(0 calc(100% - var(--fx-fill) * 100%) 0 0);
}

.fx-page .fx-word__text {
  max-width: 26rem;
  margin: 0;
  color: var(--fx-muted);
  opacity: calc(0.25 + var(--fx-fill) * 0.75);
  transform: translateY(calc((1 - var(--fx-fill)) * 12px));
}

.fx-word:hover .fx-word__fill {
  color: var(--fx-ember);
}

/* Sans JavaScript : mots affichés pleins */
:root:not(.fx-js) .fx-word {
  --fx-fill: 1;
}

@media (max-width: 991.98px) {
  .fx-word {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: var(--fx-space-2) var(--fx-space-4);
  }

  .fx-page .fx-word__text {
    grid-column: 2;
  }
}


/* ==========================================================================
   20. GALERIE ÉVÈNEMENTS (Isotope + GLightbox conservés)
   ========================================================================== */
.fx-gallery #portfolio-flters {
  display: inline-flex;
  gap: var(--fx-space-2);
  margin: 0 auto var(--fx-space-6);
  padding: 0;
  list-style: none;
}

.fx-gallery #portfolio-flters li {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--fx-line-strong);
  font-size: var(--fx-fs-sm);
  font-weight: 700;
  color: var(--fx-ink);
  cursor: pointer;
  transition: background-color var(--fx-dur), color var(--fx-dur);
}

.fx-gallery #portfolio-flters li.filter-active,
.fx-gallery #portfolio-flters li:hover {
  background: var(--fx-ink);
  border-color: var(--fx-ink);
  color: var(--fx-white);
}

.fx-gallery .portfolio-item {
  margin-bottom: var(--fx-space-5);
}

.fx-gallery .portfolio-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--fx-radius);
  background: var(--fx-paper-2);
}

.fx-gallery .portfolio-wrap img {
  display: block;
  width: 100%;
  transition: transform 0.8s var(--fx-ease);
}

.fx-gallery .portfolio-info {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 36, 59, 0.55);
  opacity: 0;
  transition: opacity 0.35s var(--fx-ease);
}

.fx-gallery .portfolio-wrap:hover .portfolio-info,
.fx-gallery .portfolio-wrap:focus-within .portfolio-info {
  opacity: 1;
}

.fx-gallery .portfolio-wrap:hover img {
  transform: scale(1.05);
}

.fx-page .fx-gallery .portfolio-links a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--fx-white);
  color: var(--fx-ink);
  font-size: 1.6rem;
  text-decoration: none;
  transition: background-color var(--fx-dur), transform var(--fx-dur) var(--fx-ease);
}

.fx-page .fx-gallery .portfolio-links a:hover {
  background: var(--fx-sky);
  transform: rotate(90deg);
}


/* ==========================================================================
   21. FAQ (accordéon <details> natif)
   ========================================================================== */
.fx-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.fx-faq__head {
  position: sticky;
  top: calc(var(--fx-header-h) + 1.5rem);
}

.fx-faq__head > p:not(.fx-eyebrow) {
  margin: 0 0 var(--fx-space-5);
  color: var(--fx-muted);
}

.fx-faq__list {
  border-top: 1px solid var(--fx-line-strong);
}

.fx-faq__item {
  border-bottom: 1px solid var(--fx-line-strong);
}

.fx-faq__item summary {
  position: relative;
  display: block;
  padding: var(--fx-space-5) 3rem var(--fx-space-5) 0;
  font-family: var(--fx-font-display);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 500;
  color: var(--fx-ink);
  cursor: pointer;
  list-style: none;
  transition: color var(--fx-dur);
}

.fx-faq__item summary::-webkit-details-marker {
  display: none;
}

.fx-faq__item summary::before,
.fx-faq__item summary::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--fx-ease);
}

.fx-faq__item summary::after {
  transform: rotate(90deg);
}

.fx-faq__item[open] summary::after {
  transform: rotate(0deg);
}

.fx-faq__item summary:hover {
  color: var(--fx-sky-deep);
}

.fx-page .fx-faq__item p {
  margin: 0;
  padding: 0 3rem var(--fx-space-5) 0;
  color: var(--fx-muted);
  animation: fx-fade-down 0.35s var(--fx-ease);
}

.fx-page .fx-faq__item a {
  color: var(--fx-sky-deep);
  font-weight: 700;
}


/* ==========================================================================
   22. CTA FINAL
   ========================================================================== */
.fx-cta {
  position: relative;
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background: var(--fx-ember);
  color: var(--fx-white);
  overflow: hidden;
  isolation: isolate;
}

.fx-cta::before {
  content: "";
  position: absolute;
  right: -5%;
  top: -40%;
  width: 45%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  z-index: -1;
}

.fx-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--fx-space-6);
}

.fx-cta .fx-eyebrow--light {
  color: rgba(255, 255, 255, 0.8);
}

.fx-page .fx-cta__title {
  max-width: 38rem;
  margin: 0;
  font-family: var(--fx-font-display);
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fx-white);
}

.fx-page .fx-cta__title em {
  color: #ffd9e3;
}

.fx-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fx-space-3);
}

.fx-page .fx-cta .fx-btn--light {
  color: var(--fx-ember);
}

.fx-page .fx-cta .fx-btn--light:hover {
  background: var(--fx-ink);
  border-color: var(--fx-ink);
  color: var(--fx-white);
}


/* ==========================================================================
   23. CONTACT & FORMULAIRES
   ========================================================================== */
.fx-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.fx-page .fx-contact .contact-about p {
  color: var(--fx-muted);
}

.fx-page .fx-contact__brand {
  margin: 0 0 var(--fx-space-2);
  font-family: var(--fx-font-sans);
  font-size: var(--fx-fs-sm);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fx-ink);
}

.fx-page .fx-contact .fx-contact__list {
  margin: var(--fx-space-6) 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--fx-line);
}

.fx-page .fx-contact .fx-contact__list li {
  display: flex;
  align-items: center;
  gap: var(--fx-space-4);
  padding: var(--fx-space-4) 0;
  border-bottom: 1px solid var(--fx-line);
}

.fx-page .fx-contact .fx-contact__list i {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fx-paper);
  color: var(--fx-ink);
  font-size: 1.2rem;
  float: none;
}

.fx-page .fx-contact .fx-contact__list p {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  color: var(--fx-text);
}

.fx-page .fx-contact .fx-contact__list a {
  color: var(--fx-ink);
  font-weight: 700;
  text-decoration: none;
}

.fx-page .fx-contact .fx-contact__list a:hover {
  color: var(--fx-sky-deep);
}

.fx-page .fx-social {
  display: flex;
  gap: var(--fx-space-2);
}

.fx-page .fx-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 50%;
  border: 1px solid var(--fx-line-strong);
  background: transparent;
  color: var(--fx-ink);
  font-size: 1.05rem;
  transition: background-color var(--fx-dur), color var(--fx-dur), border-color var(--fx-dur);
}

.fx-page .fx-social a:hover {
  background: var(--fx-ink);
  border-color: var(--fx-ink);
  color: var(--fx-white);
}

.fx-page .fx-contact__form {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--fx-paper);
  border-radius: var(--fx-radius-lg);
}

/* Formulaires (contact + candidature) */
.fx-page .contact .fx-form,
.fx-page .fx-form {
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.fx-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--fx-space-4);
}

.fx-form__full {
  grid-column: 1 / -1;
}

.fx-page .fx-form .form-group {
  margin: 0;
  padding: 0;
}

.fx-form__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--fx-fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fx-ink);
}

.fx-page .contact .fx-form .form-control,
.fx-page .fx-form .form-control {
  width: 100%;
  height: auto;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--fx-line-strong);
  border-radius: var(--fx-radius-sm);
  background: var(--fx-white);
  font-family: var(--fx-font-sans);
  font-size: 1rem;
  color: var(--fx-text);
  box-shadow: none;
  transition: border-color var(--fx-dur), box-shadow var(--fx-dur);
}

.fx-page .fx-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.fx-page .fx-form .form-control::placeholder {
  color: #9aa7b3;
}

.fx-page .contact .fx-form .form-control:focus,
.fx-page .fx-form .form-control:focus {
  outline: none;
  border-color: var(--fx-sky-deep);
  box-shadow: 0 0 0 3px rgba(71, 174, 255, 0.25);
}

.fx-page .fx-form .form-control:user-invalid {
  border-color: var(--fx-ember);
}

.fx-form__fieldset {
  margin: 0 0 var(--fx-space-6);
  padding: 0;
  border: 0;
  min-width: 0;
}

.fx-page .fx-form__legend {
  float: none;
  width: auto;
  margin: 0 0 var(--fx-space-4);
  padding: 0;
  font-family: var(--fx-font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--fx-ink);
}

.fx-page .fx-form__file {
  padding: var(--fx-space-5);
  border: 1.5px dashed var(--fx-line-strong);
  border-radius: var(--fx-radius);
  background: var(--fx-paper);
}

.fx-page .fx-form__file label {
  display: block;
  margin-bottom: var(--fx-space-3);
  font-weight: 800;
  color: var(--fx-ink);
}

.fx-page .fx-form__file input[type="file"] {
  width: 100%;
  font-size: var(--fx-fs-sm);
  color: var(--fx-muted);
}

.fx-page .fx-form__file input[type="file"]::file-selector-button {
  margin-right: var(--fx-space-4);
  padding: 0.6rem 1.1rem;
  border: 0;
  border-radius: var(--fx-radius-sm);
  background: var(--fx-ink);
  color: var(--fx-white);
  font-family: var(--fx-font-sans);
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--fx-dur), color var(--fx-dur);
}

.fx-page .fx-form__file input[type="file"]::file-selector-button:hover {
  background: var(--fx-sky);
  color: var(--fx-ink);
}

.fx-form__submit {
  text-align: left;
}

/* Bouton d'envoi : priorité sur la règle du template (.contact .php-email-form button[type=submit]) */
.fx-page .contact .fx-form button.fx-btn[type="submit"] {
  padding: 0.85rem 1.6rem;
  border-radius: var(--fx-radius-sm);
}

.fx-page .contact .fx-form button.fx-btn--ink[type="submit"] {
  background: var(--fx-ink);
  border: 1.5px solid var(--fx-ink);
  color: var(--fx-white);
}

.fx-page .contact .fx-form button.fx-btn--ink[type="submit"]:hover {
  background: var(--fx-sky);
  border-color: var(--fx-sky);
  color: var(--fx-ink);
}

.fx-page .contact .fx-form button.fx-btn--sky[type="submit"] {
  background: var(--fx-sky);
  border: 1.5px solid var(--fx-sky);
  color: var(--fx-ink);
}

.fx-page .contact .fx-form button.fx-btn--sky[type="submit"]:hover {
  background: var(--fx-ink);
  border-color: var(--fx-ink);
  color: var(--fx-white);
}

/* États du script validate.js (affichés via la classe .d-block) */
.fx-form .loading,
.fx-form .error-message,
.fx-form .sent-message {
  display: none;
}

.fx-page .fx-form .loading {
  padding: 0.85rem 1rem;
  border-radius: var(--fx-radius-sm);
  background: var(--fx-white);
  text-align: center;
  color: var(--fx-muted);
}

.fx-page .fx-form .error-message {
  padding: 0.85rem 1rem;
  border-radius: var(--fx-radius-sm);
  background: var(--fx-ember);
  color: var(--fx-white);
  font-weight: 600;
}

.fx-page .fx-form .sent-message {
  padding: 0.85rem 1rem;
  border-radius: var(--fx-radius-sm);
  background: #1e8a5a;
  color: var(--fx-white);
  text-align: center;
  font-weight: 700;
}


/* ==========================================================================
   24. MODAL « POSTULER »
   ========================================================================== */
.fx-page .fx-modal__content {
  border: 0;
  border-radius: var(--fx-radius-lg);
  overflow: hidden;
  box-shadow: var(--fx-shadow-lg);
}

.fx-page .fx-modal__header {
  position: relative;
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--fx-ink);
  border-bottom: 0;
  color: var(--fx-white);
}

.fx-page .fx-modal__header .fx-eyebrow {
  margin-bottom: var(--fx-space-3);
  color: var(--fx-sky);
}

.fx-page .fx-modal__title {
  margin: 0 0 var(--fx-space-2);
  font-family: var(--fx-font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem);
  font-weight: 500;
  color: var(--fx-white);
}

.fx-page .fx-modal__intro {
  max-width: 34rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--fx-muted-light);
}

.fx-page .fx-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--fx-line-light);
  border-radius: 50%;
  background: transparent;
  color: var(--fx-white);
  font-size: 1.6rem;
  line-height: 1;
  opacity: 1;
  text-shadow: none;
  cursor: pointer;
  transition: background-color var(--fx-dur), transform var(--fx-dur) var(--fx-ease);
}

.fx-page .fx-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--fx-white);
  transform: rotate(90deg);
}

.fx-page .fx-modal__body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--fx-white);
}

.fx-page .fx-modal__body .contact {
  padding: 0;
  background: transparent;
}


/* ==========================================================================
   25. FOOTER & RETOUR EN HAUT
   ========================================================================== */
.fx-page #footer.fx-footer {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 var(--fx-space-6);
  background: var(--fx-ink-3);
  color: var(--fx-muted-light);
  font-size: 0.95rem;
}

.fx-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--fx-space-6);
  padding-bottom: var(--fx-space-7);
  border-bottom: 1px solid var(--fx-line-light);
}

.fx-footer__logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 48px;
  max-width: 200px;
  margin-bottom: var(--fx-space-4);
  filter: brightness(0) invert(1);
}

.fx-page .fx-footer__brand p {
  max-width: 22rem;
  margin: 0 0 var(--fx-space-5);
  line-height: 1.6;
}

.fx-footer__social {
  display: flex;
  gap: var(--fx-space-2);
}

.fx-page .fx-footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--fx-line-light);
  color: var(--fx-white);
  transition: background-color var(--fx-dur), color var(--fx-dur), border-color var(--fx-dur);
}

.fx-page .fx-footer__social a:hover {
  background: var(--fx-sky);
  border-color: var(--fx-sky);
  color: var(--fx-ink);
}

.fx-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.fx-page .fx-footer__heading {
  margin: 0 0 var(--fx-space-2);
  font-size: var(--fx-fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fx-sky);
}

.fx-page .fx-footer__col p {
  margin: 0;
}

.fx-page .fx-footer__col a:not(.fx-btn) {
  color: var(--fx-white);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity var(--fx-dur), color var(--fx-dur);
}

.fx-page .fx-footer__col a:not(.fx-btn):hover {
  opacity: 1;
  color: var(--fx-sky);
}

.fx-footer__cta {
  margin-top: var(--fx-space-3);
}

.fx-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--fx-space-3);
  padding-top: var(--fx-space-5);
  font-size: var(--fx-fs-sm);
}

.fx-page .fx-footer .copyright,
.fx-page .fx-footer .credits {
  color: var(--fx-muted-light);
}

.fx-page .fx-footer .copyright strong {
  color: var(--fx-white);
}

.fx-page .fx-footer .credits a {
  color: var(--fx-sky);
  text-decoration: none;
}

.fx-page .back-to-top {
  border-radius: var(--fx-radius-sm);
  background: var(--fx-ink);
  border: 1px solid var(--fx-line-light);
}

.fx-page .back-to-top:hover {
  background: var(--fx-sky);
}

.fx-page .back-to-top:hover i {
  color: var(--fx-ink);
}


/* ==========================================================================
   26. RESPONSIVE
   ========================================================================== */

/* Laptop */
@media (max-width: 1199.98px) {
  .fx-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablette */
@media (max-width: 991.98px) {
  :root {
    --fx-header-h: 72px;
  }

  .fx-page #hero.fx-hero {
    min-height: auto;
  }

  .fx-hero__grid,
  .fx-pagehero__grid,
  .fx-split,
  .fx-about,
  .fx-career__grid,
  .fx-faq,
  .fx-contact__grid,
  .fx-service-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-hero__visual {
    max-width: 520px;
  }

  .fx-hero__photo {
    aspect-ratio: 4 / 3;
  }

  .fx-pagehero__media {
    max-width: 640px;
    aspect-ratio: 16 / 9;
  }

  .fx-head--split {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .fx-split--reverse .fx-split__media,
  .fx-service-row--reverse .fx-service-row__media {
    order: 0;
  }

  .fx-faq__head {
    position: static;
  }

  .fx-annonce:nth-child(2) {
    margin-top: 0;
  }

  .fx-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fx-stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .fx-stat:nth-child(n + 3) {
    margin-top: var(--fx-space-6);
    border-top: 1px solid var(--fx-line-light);
  }

  .fx-maps {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-ladder__step:nth-child(2) {
    margin-left: 1.5rem;
  }

  .fx-ladder__step:nth-child(3) {
    margin-left: 3rem;
  }
}

/* Smartphone */
@media (max-width: 767.98px) {
  .fx-annonces {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-annonce__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .fx-page .fx-annonce__btn {
    width: 100%;
  }

  .fx-hero__actions,
  .fx-pagehero__actions,
  .fx-cta__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .fx-hero__actions .fx-btn,
  .fx-pagehero__actions .fx-btn,
  .fx-cta__actions .fx-btn {
    width: 100%;
  }

  .fx-hero__proofs {
    flex-direction: column;
    gap: var(--fx-space-3);
  }

  .fx-hero__visual {
    padding: 0 0 0 1.25rem;
  }

  .fx-hero__visual::before {
    display: none;
  }

  .fx-hero__badge {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin: -2.5rem 1.25rem 0 0;
  }

  .fx-split__media {
    padding: 0 1rem 1rem 0;
  }

  .fx-split__note {
    top: auto;
    bottom: 2rem;
    right: 2rem;
  }

  .fx-head__aside {
    padding-left: var(--fx-space-4);
  }

  .fx-inline-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .fx-inline-cta .fx-btn {
    width: 100%;
  }

  .fx-form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-page .contact .fx-form button.fx-btn[type="submit"] {
    width: 100%;
  }

  .fx-ladder__step:nth-child(2),
  .fx-ladder__step:nth-child(3) {
    margin-left: 0;
  }

  .fx-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .fx-page .fx-modal .modal-dialog {
    margin: 0.5rem;
  }
}

/* Petits écrans */
@media (max-width: 575.98px) {
  .fx-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-stat,
  .fx-stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .fx-stat:nth-child(n + 2) {
    margin-top: var(--fx-space-5);
    border-top: 1px solid var(--fx-line-light);
  }

  .fx-faq__item summary {
    padding-right: 2.25rem;
  }

  .fx-page .fx-faq__item p {
    padding-right: 0;
  }

  .fx-page .fx-btn {
    white-space: normal;
    text-align: center;
  }
}


/* ==========================================================================
   27. ACCESSIBILITÉ & MOUVEMENT RÉDUIT
   ========================================================================== */
.fx-page .fx-btn:focus-visible,
.fx-page .fx-link:focus-visible,
.fx-page .fx-tabs a:focus-visible,
.fx-page .fx-social a:focus-visible,
.fx-page .fx-faq__item summary:focus-visible,
.fx-page #navbar a:focus-visible,
.fx-page .fx-footer a:focus-visible {
  outline: 2px solid var(--fx-sky);
  outline-offset: 3px;
}

.fx-page [id] {
  scroll-margin-top: calc(var(--fx-header-h) + 1rem);
}

@keyframes fx-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fx-pulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes fx-fade-down {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-page *,
  .fx-page *::before,
  .fx-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fx-page [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

  .fx-hero__rise-line {
    stroke-dashoffset: 0;
  }
}
