@charset "UTF-8";
/* FDM — Refonte */
/* Fonts chargées via <link> dans le HTML (meilleure perf SEO/LCP) */

:root {
  --navy: #0a2540;
  --navy-deep: #061828;
  --navy-mid: #143555;
  --blue: #4a9fd8;
  --blue-soft: #7eb8e0;
  --blue-mist: #e8f3fa;
  --orange: #e85d04;
  --orange-hot: #ff6b1a;
  --orange-soft: #fff0e6;
  --ink: #12263a;
  --muted: #5a6f82;
  --line: rgba(10, 37, 64, 0.1);
  --surface: #f5f8fb;
  --white: #ffffff;
  --radius: 4px;
  --nav-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 80rem;      /* ~1280px : contenu + compositions */
  --shell: 80rem;    /* aligné sur --max pour coller nav / hero / sections */
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--navy-deep);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* —— Typography —— */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--navy);
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.65;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

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

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-hot);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

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

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

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

.btn-arrow::after {
  content: "\2192";
  transition: transform 0.3s var(--ease);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s, backdrop-filter 0.4s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .nav-brand,
.site-header.is-scrolled .nav-links a,
.site-header.is-scrolled .nav-toggle {
  color: var(--navy);
}

.site-header.is-scrolled .nav-cta {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  z-index: 101;
}

.nav-brand img {
  height: 2.35rem;
  width: 2.35rem;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.nav-brand .brand-text {
  display: flex;
  gap: 0;
  line-height: 1;
}

.nav-brand .brand-text .f { color: var(--orange); }
.nav-brand .brand-text .d { color: var(--blue-soft); }
.nav-brand .brand-text .m { color: inherit; }

.site-header.is-scrolled .nav-brand .brand-text .m {
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--white);
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a[aria-current='page'] {
  color: var(--orange);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  font-size: 0.85rem !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
  transition: 0.3s var(--ease);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual canvas,
.hero-visual .hero-bg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(74, 159, 216, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(232, 93, 4, 0.22), transparent 50%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 45%, #0d3a5c 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 65% 45%, black, transparent);
  animation: gridDrift 40s linear infinite;
}

@keyframes gridDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(-64px, -64px); }
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--shell));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(16rem, 1.05fr);
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
  padding: calc(var(--nav-h) + 2.5rem) 0 4.5rem;
  min-height: inherit;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.hero-media {
  position: relative;
  width: 100%;
  justify-self: end;
  pointer-events: none;
  animation: heroFloat 7s ease-in-out infinite;
}

.hero-media img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 100%);
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.hero-brand .f { color: var(--orange); }
.hero-brand .d { color: var(--blue-soft); }
.hero-brand .m { color: var(--white); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 28ch;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero .support {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  writing-mode: vertical-rl;
  transform: translateX(-50%);
  animation: floatY 2.8s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(74, 159, 216, 0.3), transparent),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(232, 93, 4, 0.18), transparent),
    linear-gradient(145deg, var(--navy-deep), var(--navy));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

/* —— Sections —— */
section {
  padding: 5.5rem 0;
}

.section-head {
  margin-bottom: 3rem;
  max-width: 40rem;
}

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

.section-head.center .lede {
  margin-inline: auto;
}

.section-muted {
  background: var(--surface);
}

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

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

.section-navy .lede {
  color: rgba(255, 255, 255, 0.65);
}

/* —— Clients strip —— */
.clients {
  padding: 2.75rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.clients-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.5rem;
  text-align: center;
}

.clients-track {
  overflow: visible;
}

.clients-marquee {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  align-items: center;
}

.clients-group {
  display: contents;
}

.clients-group--clone {
  display: none;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  min-width: 7.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: opacity 0.3s, transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  opacity: 1;
}

.client-logo img {
  max-height: 2.5rem;
  max-width: 6.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 37, 64, 0.2);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.06);
}

@keyframes clientsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* —— Ambitions —— */
.ambitions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.ambition {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--navy);
}

.ambition:nth-child(2) { border-color: var(--blue); }
.ambition:nth-child(3) { border-color: var(--orange); }

.ambition-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--blue-mist);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.ambition h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.ambition p {
  color: var(--muted);
  font-size: 0.975rem;
}

/* —— Métiers —— */
.metiers-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.metiers-list {
  display: grid;
  gap: 0;
}

.metier {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 2rem;
  padding: 2.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.35s;
}

.metier:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.metier-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--orange);
}

.metier:nth-child(2) .metier-label { color: var(--blue-soft); }
.metier:nth-child(3) .metier-label { color: var(--white); }

.metier h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.metier p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  max-width: 36rem;
}

.metier ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
}

.metier li {
  font-size: 0.8rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.8);
}

/* —— Parcours —— */
.parcours {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.parcours::before {
  content: '';
  position: absolute;
  top: 1.35rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue), var(--navy));
  opacity: 0.35;
}

.etape {
  position: relative;
}

.etape-num {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.etape:nth-child(2) .etape-num { background: var(--blue); }
.etape:nth-child(3) .etape-num { background: var(--orange); }
.etape:nth-child(4) .etape-num { background: var(--navy-mid); }

.etape h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.etape p {
  color: var(--muted);
  font-size: 0.925rem;
}

/* —— Process compact —— */
.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.process-item {
  counter-increment: step;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

.process-item::before {
  content: '0' counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--orange);
  display: block;
  margin-bottom: 0.75rem;
}

.process-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.process-item p {
  color: var(--muted);
  font-size: 0.925rem;
}

/* —— Testimonials —— */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.quote {
  padding: 0;
}

.quote blockquote {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 1.25rem;
  quotes: '«\00a0' '\00a0»';
}

.quote blockquote::before {
  content: open-quote;
}

.quote blockquote::after {
  content: close-quote;
}

.quote cite {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-logo {
  height: 3rem;
  width: auto;
  max-width: 10rem;
  object-fit: contain;
  padding: 0;
  background: none;
  border-radius: 0;
}

/* —— Ambient visual —— */
.visual-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 26rem;
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-block: 0;
}

.visual-split-media {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  background: var(--navy-deep);
  padding: 0;
}

.visual-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 3rem;
  background: var(--navy);
  color: var(--white);
}

.visual-split-copy .h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.visual-split-copy p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

/* —— Trust / EcoVadis —— */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
}

.trust-copy {
  max-width: 36rem;
}

.ecovadis {
  width: 8.5rem;
  height: auto;
  flex-shrink: 0;
}

.cta-panel.has-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.cta-panel.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.cta-panel.talent.has-photo::before {
  background-image: url('../assets/commencer-terminer-fulldatamanagement.jpg');
}

.cta-panel.has-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 248, 251, 0.94), rgba(245, 248, 251, 0.88));
  z-index: -1;
}

.footer-brand-logo {
  height: 2.5rem;
  width: 2.5rem;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}

.footer-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.footer-trust img {
  width: 4.5rem;
  height: auto;
}

/* —— CTA band —— */
.cta-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 18rem;
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-block: 0;
}

.cta-panel {
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.cta-panel.entreprise {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(74, 159, 216, 0.25), transparent 50%),
    var(--navy);
  color: var(--white);
}

.cta-panel.talent {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(232, 93, 4, 0.15), transparent 50%),
    var(--surface);
  color: var(--navy);
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.cta-panel p {
  opacity: 0.75;
  max-width: 28ch;
  margin-bottom: 0.5rem;
}

/* —— Values (ADN) —— */
.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.value {
  padding: 1.5rem 0;
  border-top: 2px solid var(--navy);
}

.value:nth-child(2) { border-color: var(--blue); }
.value:nth-child(3) { border-color: var(--orange); }
.value:nth-child(4) { border-color: var(--blue-soft); }
.value:nth-child(5) { border-color: var(--navy-mid); }

.value-icon {
  width: 4.75rem;
  height: 4.75rem;
  object-fit: contain;
  margin-bottom: 1rem;
  padding: 0.65rem;
  border-radius: 10px;
  background: var(--navy-deep);
  display: block;
  box-sizing: border-box;
}

.value h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* —— Stats —— */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
  white-space: nowrap;
}

.stat span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* —— Story / founder —— */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.story-grid p + p {
  margin-top: 1rem;
}

.founder {
  background: var(--surface);
  padding: 0;
  border-left: 3px solid var(--orange);
  overflow: hidden;
}

.founder-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: contrast(1.05);
}

.founder-body {
  padding: 2rem 2.25rem 2.25rem;
}

.founder h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
}

.founder .role {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.35rem 0 1.25rem;
}

.founder ul {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.65rem;
}

.founder li {
  padding-left: 1.1rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
}

.founder li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

/* —— Why FDM —— */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
}

.why-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.why-item h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--orange);
  flex-shrink: 0;
}

.why-item:nth-child(even) h3::before {
  background: var(--blue);
}

.why-item p {
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 1.15rem;
}

/* —— Skills cloud —— */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--line);
  color: var(--navy);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.skill:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* —— Formations —— */
.formation-domain {
  padding: 2.5rem 0 0.5rem;
  border-top: 1px solid var(--line);
}

.formation-domain + .formation-domain {
  margin-top: 1.5rem;
}

.section-head + .formation-domain {
  border-top: none;
  padding-top: 0.5rem;
}

.formation-domain-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.formation-domain--data .formation-domain-title { color: var(--orange); }
.formation-domain--projet .formation-domain-title { color: var(--navy); }
.formation-domain--devops .formation-domain-title { color: var(--blue); }

.formation-domain-lede {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

.formations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.75rem;
}

.formation-item {
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  border-top: 3px solid var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s;
}

.formation-item:nth-child(3n+2) { border-color: var(--blue); }
.formation-item:nth-child(3n) { border-color: var(--orange); }
.formation-item:hover {
  transform: translateY(-4px);
  background: var(--navy);
  color: var(--white);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.audience {
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.audience h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.audience p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* —— Contact —— */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.75rem;
}

.contact-block h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.contact-block p,
.contact-block a {
  color: var(--navy);
  font-weight: 500;
  font-size: 1.05rem;
}

.contact-block a:hover {
  color: var(--orange);
}

.contact-form {
  display: grid;
  gap: 1.15rem;
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--muted);
}

.form-check input {
  margin-top: 0.25rem;
  accent-color: var(--orange);
}

.form-success {
  display: none;
  padding: 1rem;
  background: var(--blue-mist);
  color: var(--navy);
  font-weight: 500;
  border-left: 3px solid var(--blue);
}

.form-success.is-visible {
  display: block;
}

/* —— Footer —— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top > div:first-child {
  flex: 1 1 16rem;
  max-width: 18rem;
}

.footer-col {
  flex: 1 1 12rem;
  min-width: 12rem;
}

.footer-col a {
  display: block;
  font-size: 0.925rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
  max-width: 100%;
}

.footer-col a[href^="mailto:"] {
  white-space: nowrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand .f { color: var(--orange); }
.footer-brand .d { color: var(--blue-soft); }

.footer-tagline {
  font-size: 0.925rem;
  max-width: 22ch;
  line-height: 1.55;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col a:hover {
  color: var(--orange);
}

.legal {
  max-width: 48rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}

.legal h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 1.75rem 0 0.65rem;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.7;
}

.legal p + p {
  margin-top: 0.85rem;
}

.legal ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal li + li {
  margin-top: 0.4rem;
}

.legal a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal strong {
  color: var(--navy);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  opacity: 0.6;
  align-items: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-legal a:hover {
  color: var(--orange);
  opacity: 1;
}

/* —— Reveal animations —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Grands écrans : composition plus dense, sans étirement */
@media (min-width: 1400px) {
  .hero-layout {
    gap: 4rem;
  }

  .hero-content {
    max-width: 36rem;
  }

  .cta-panel {
    padding: 3.5rem clamp(2.5rem, 4vw, 4.5rem);
  }

  .visual-split-copy {
    padding: 3.5rem clamp(2.5rem, 4vw, 4rem);
  }
}

@media (min-width: 1800px) {
  :root {
    --gutter: clamp(2rem, 5vw, 4rem);
  }
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: minmax(16rem, 1fr) minmax(14rem, 0.9fr);
    gap: 1.25rem;
  }

  .hero-media {
    opacity: 0.7;
  }

  .parcours {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .parcours::before {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 960px) {
  .container,
  .nav-inner {
    width: min(100% - 2 * var(--gutter), var(--max));
  }

  section {
    padding: 4rem 0;
  }

  .page-hero {
    padding: calc(var(--nav-h) + 3rem) 0 3rem;
  }

  .page-hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 7vw, 2.75rem);
  }

  .ambitions-grid,
  .process-row,
  .quotes,
  .cta-band,
  .story-grid,
  .why-grid,
  .audience-grid,
  .contact-layout,
  .metiers-intro,
  .visual-split,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .values {
    grid-template-columns: 1fr 1fr;
  }

  /* Hero: pas d'image derrière le texte */
  .hero {
    align-items: center;
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: calc(var(--nav-h) + 2.5rem) 0 3.5rem;
    width: min(100% - 2 * var(--gutter), var(--max));
  }

  .hero-media {
    display: none !important;
  }

  .hero-content {
    max-width: none;
  }

  .hero-brand {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
    margin-bottom: 1.1rem;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
    max-width: none;
  }

  .hero .support {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-scroll {
    display: none;
  }

  .hero-canvas,
  #hero-canvas {
    opacity: 0.25 !important;
  }

  .metier {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.75rem 0;
  }

  .metier-label {
    font-size: 1.15rem;
  }

  .visual-split-media {
    min-height: 14rem;
    max-height: 18rem;
  }

  .visual-split-copy {
    padding: 2.5rem 1.5rem;
  }

  .visual-split-copy .process-row {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 2.5rem 1.5rem;
  }

  .cta-panel h2 {
    max-width: none;
  }

  .founder-body {
    padding: 1.75rem 1.5rem 2rem;
  }

  .trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .ecovadis {
    width: 7rem;
  }

  .contact-form,
  .contact-info {
    width: 100%;
  }

  .footer-top {
    display: flex;
  }

  .footer-top > div:first-child,
  .footer-col {
    flex: 1 1 calc(50% - 1rem);
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .clients .container {
    padding-inline: 0;
    width: 100%;
    max-width: none;
  }

  .clients-label {
    width: min(100% - 2 * var(--gutter), var(--max));
    margin-inline: auto;
    padding-inline: 0.5rem;
  }

  .clients-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .clients-marquee {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: 0;
    justify-content: flex-start;
    animation: clientsMarquee 28s linear infinite;
  }

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

  .clients-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem;
    padding-inline: 0.35rem;
  }

  .clients-group--clone {
    display: flex;
  }

  .client-logo {
    flex: 0 0 auto;
    min-width: 7rem;
    height: 3.5rem;
  }

  .clients-track {
    gap: 0.5rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    color: var(--white) !important;
    font-size: 1.35rem;
    font-family: var(--font-display);
    font-weight: 700;
  }

  .nav-cta {
    border-color: var(--orange) !important;
    background: var(--orange) !important;
    color: var(--white) !important;
  }

  .site-header.menu-open {
    height: 100dvh;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }

  .site-header.menu-open .nav-inner {
    position: relative;
    z-index: 102;
  }

  .site-header.menu-open .nav-brand,
  .site-header.menu-open .nav-toggle {
    color: var(--white) !important;
  }

  .site-header.menu-open .nav-brand .brand-text .m {
    color: var(--white) !important;
  }

  .site-header.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .cookie-panel {
    width: 100%;
    margin-right: 0;
  }
}

body.nav-locked {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 600px) {
  section {
    padding: 3.25rem 0;
  }

  .h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .values,
  .ambitions-grid,
  .parcours,
  .stats,
  .formations-grid {
    grid-template-columns: 1fr;
  }

  .footer-top > div:first-child,
  .footer-col {
    flex: 1 1 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .clients-label {
    padding-inline: 0.5rem;
  }

  .client-logo {
    min-width: 6.5rem;
    height: 3.25rem;
    padding: 0.4rem 0.7rem;
  }

  .client-logo img {
    max-height: 2.1rem;
    max-width: 5.5rem;
  }

  .clients-marquee {
    animation-duration: 22s;
  }

  .quote blockquote {
    font-size: 1.05rem;
  }

  .skills {
    gap: 0.4rem;
  }

  .skill {
    font-size: 0.8rem;
    padding: 0.45rem 0.75rem;
  }

  .legal {
    max-width: none;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-marquee {
    animation: none !important;
  }
}

/* —— Page transitions (voile navy, sans flash blanc) —— */
html.has-veil::before,
#page-veil {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-deep);
  pointer-events: none;
}

html.has-veil::before {
  content: '';
}

#page-veil {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s var(--ease), visibility 0.32s var(--ease);
}

#page-veil.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#page-veil.no-anim {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  html.has-veil::before,
  #page-veil {
    display: none !important;
  }
}

/* —— Cookie banner —— */
.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 300;
  padding: 0.75rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.cookie-banner.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

.cookie-panel {
  width: min(100%, 28rem);
  margin-inline: auto 0;
  margin-right: max(0.75rem, calc((100% - var(--max)) / 2));
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(10, 37, 64, 0.14);
  padding: 0.9rem 1rem;
}

.cookie-panel h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.cookie-panel p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.cookie-panel p a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 0.35rem;
}

.cookie-actions .btn {
  flex: 1;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
}

.cookie-link {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  text-align: center;
}

.cookie-link:hover {
  color: var(--orange);
}

.cookie-prefs {
  display: none;
  gap: 0.35rem;
}

.cookie-prefs.is-open {
  display: grid;
}

.cookie-main[hidden] {
  display: none !important;
}

.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.cookie-row strong {
  display: block;
  color: var(--navy);
  font-size: 0.8rem;
}

.cookie-row small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  margin-top: 0.1rem;
}

.cookie-row input[type='checkbox'] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--orange);
  flex-shrink: 0;
}

