/* ================================================================
   STYLE.CSS — Solvana Digital
   Version : 1.0.0
   © 2026 Solvana Group Corporation
================================================================ */

/* ================================================================
   1. DESIGN TOKENS
================================================================ */
:root {
  /* Palette */
  --blue:        #004DF5;
  --blue-deep:   #0038B8;
  --blue-mid:    #4D82F8;
  --blue-light:  #EBF0FF;
  --blue-xlight: #F4F6FF;
  --black:       #0A0A0A;
  --charcoal:    #1C1C1E;
  --gray-800:    #2A2A2E;
  --gray-700:    #444444;
  --gray-500:    #6B6B6B;
  --gray-300:    #C4C4C4;
  --gray-100:    #EEEEEE;
  --gray-50:     #F7F7F7;
  --white:       #FFFFFF;

  /* Surfaces */
  --surface-0:   #0A0A0A;
  --surface-1:   #111114;
  --surface-2:   #18181C;
  --surface-3:   #222228;

  /* Typography */
  --f-display:   'Poppins', sans-serif;
  --f-body:      'Poppins', sans-serif;

  /* Sizes */
  --container:   1280px;
  --navbar-h:    72px;

  /* Radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:      150ms;
  --t-base:      250ms;
  --t-slow:      400ms;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --shadow-md:  0 4px 16px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.3);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.6), 0 4px 16px rgba(0,0,0,.4);
  --shadow-blue: 0 0 32px rgba(0, 77, 245, .25);
}


/* ================================================================
   2. RESET & BASE
================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  font-family: var(--f-body);
  font-weight: 400;
  background-color: var(--surface-0);
  color: var(--gray-100);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-base) var(--ease);
}

ul, ol { list-style: none; }

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 3px;
  border-radius: 3px;
}

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


/* ================================================================
   3. LAYOUT UTILITIES
================================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
}

.section__header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.03em;
}

.section__footer {
  margin-top: clamp(48px, 5vw, 72px);
  text-align: center;
}

.section-label {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 16px;
}


/* ================================================================
   4. BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border-radius: var(--r-xl);
  transition:
    background-color var(--t-base) var(--ease),
    color            var(--t-base) var(--ease),
    box-shadow       var(--t-base) var(--ease),
    transform        var(--t-fast) var(--ease-spring);
  white-space: nowrap;
  cursor: pointer;
}

.btn:active { transform: scale(.97); }

/* Primary */
.btn--primary {
  background: var(--blue);
  color: var(--white);
  border: 1.5px solid var(--blue);
}
.btn--primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  box-shadow: var(--shadow-blue);
  color: var(--white);
}

/* Ghost (transparent on dark) */
.btn--ghost {
  background: transparent;
  color: var(--gray-300);
  border: 1.5px solid var(--gray-800);
}
.btn--ghost:hover {
  background: var(--surface-3);
  color: var(--white);
  border-color: var(--gray-700);
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--blue-mid);
  border: 1.5px solid var(--blue);
}
.btn--outline:hover {
  background: rgba(0, 77, 245, .1);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

/* Large modifier */
.btn--large {
  font-size: 1rem;
  padding: 15px 32px;
}


/* ================================================================
   5. NAVIGATION
================================================================ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-h);
  z-index: 900;
  transition: background var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}

/* Transparent au sommet */
.main-header:not(.scrolled) {
  background: transparent;
}

/* Fond flouté au scroll */
.main-header.scrolled {
  background: rgba(10, 10, 10, .82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,.05), var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--t-base) var(--ease);
}
.logo:hover .logo-img { opacity: .75; }

/* Nav desktop */
.nav-links { display: flex; }
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--f-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-300);
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition:
    color     var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
}
.nav-link:hover  { color: var(--white); background: rgba(255,255,255,.06); }
.nav-link.active { color: var(--white); }

/* Nav CTA */
.nav-cta {
  color: var(--white);
  background: var(--blue);
  padding: 7px 18px;
  border-radius: var(--r-xl);
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--blue-deep);
  box-shadow: var(--shadow-blue);
}
.nav-cta.active {
  background: var(--blue-deep);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background var(--t-base) var(--ease);
}
.nav-burger:hover { background: rgba(255,255,255,.06); }
.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-300);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform  var(--t-base) var(--ease),
    opacity    var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
}
.nav-burger.open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--navbar-h) 0 0 0;
  background: rgba(10, 10, 10, .97);
  backdrop-filter: blur(24px);
  z-index: 800;
  padding: clamp(32px, 6vw, 56px) clamp(20px, 6vw, 48px);
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease-out), opacity var(--t-slow) var(--ease);
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-link {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  color: var(--gray-500);
  padding: 12px 0;
  border-bottom: 1px solid var(--surface-3);
  letter-spacing: -0.02em;
  transition: color var(--t-base) var(--ease), padding-left var(--t-base) var(--ease);
}
.mobile-link:hover, .mobile-link.active {
  color: var(--white);
  padding-left: 12px;
}

body.menu-open { overflow: hidden; }


/* ================================================================
   6. HERO
================================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  /* Fallback permanent — visible si vidéo absente ou en transition */
  background-image: url('/img/background/bg-1.jpg');
  background-size: cover;
  background-position: center;
}

.hero__videos {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero__video.active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(0, 77, 245, .18) 0%, transparent 70%),
    linear-gradient(180deg,
      rgba(10,10,10,.3)  0%,
      rgba(10,10,10,.55) 50%,
      rgba(10,10,10,.92) 100%
    );
}

/* Grain overlay subtil */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  padding: clamp(100px, 12vw, 160px) clamp(20px, 6vw, 80px) clamp(80px, 10vw, 120px);
  max-width: 900px;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(77, 130, 248, .3);
  border-radius: var(--r-xl);
  background: rgba(0, 77, 245, .08);
}

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero__title--accent {
  color: var(--blue-mid);
  /* Glow subtil */
  text-shadow: 0 0 60px rgba(0, 77, 245, .4);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
  opacity: .6;
  transition: opacity var(--t-base) var(--ease);
}
.hero__scroll:hover { opacity: 1; }
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gray-300));
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero__scroll-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .5; }
  50%       { transform: scaleY(1.3); opacity: 1; }
}


/* ================================================================
   7. VISION
================================================================ */
.section--vision {
  background: var(--surface-0);
  border-top: 1px solid var(--surface-3);
}

.vision__grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  grid-template-rows: auto auto;
  gap: 0 clamp(40px, 6vw, 96px);
  align-items: start;
}

.vision__label {
  grid-column: 1;
  grid-row: 1;
  padding-top: 6px;
}

.vision__body {
  grid-column: 2;
  grid-row: 1;
}

.vision__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}
.vision__title em {
  font-style: normal;
  color: var(--blue-mid);
}

.vision__text {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--gray-500);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 20px;
}
.vision__text:last-child { margin-bottom: 0; }

.vision__stats {
  grid-column: 1 / -1;
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--surface-3);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat__number {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}
.stat__unit {
  font-size: 0.6em;
  color: var(--blue-mid);
}
.stat__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ================================================================
   8. SERVICES
================================================================ */
.section--services {
  background: var(--surface-1);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.service-card {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: var(--r-lg);
  transition:
    border-color var(--t-base) var(--ease),
    box-shadow   var(--t-base) var(--ease),
    transform    var(--t-base) var(--ease-spring);
  overflow: hidden;
}

/* Ligne bleue au survol */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}

.service-card:hover {
  border-color: rgba(0, 77, 245, .3);
  box-shadow: var(--shadow-blue), var(--shadow-md);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--blue-mid);
  opacity: .9;
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-mid);
  letter-spacing: 0.01em;
  transition: color var(--t-base) var(--ease), gap var(--t-base) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card__link:hover { color: var(--white); gap: 8px; }


/* ================================================================
   9. PORTFOLIO PREVIEW
================================================================ */
.section--portfolio {
  background: var(--surface-0);
  border-top: 1px solid var(--surface-3);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

/* Première carte = grande */
.portfolio-card:first-child {
  grid-column: 1 / -1;
}

.portfolio-card__inner {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  transition:
    border-color var(--t-base) var(--ease),
    box-shadow   var(--t-base) var(--ease);
}
.portfolio-card__inner:hover {
  border-color: rgba(0, 77, 245, .3);
  box-shadow: var(--shadow-blue), var(--shadow-md);
}

.portfolio-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.portfolio-card:first-child .portfolio-card__img-wrap {
  aspect-ratio: 21 / 9;
}

.portfolio-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.portfolio-card__inner:hover .portfolio-card__img {
  transform: scale(1.04);
}

.portfolio-card__img--placeholder {
  background: linear-gradient(135deg, var(--surface-3) 0%, var(--surface-2) 100%);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 77, 245, .75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.portfolio-card__inner:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__see {
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.portfolio-card__meta {
  padding: clamp(20px, 2.5vw, 28px);
}

.portfolio-card__cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 8px;
}

.portfolio-card__title {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.portfolio-card__desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}


/* ================================================================
   10. ENGAGEMENT / ÉTHIQUE
================================================================ */
.section--ethics {
  background-image: url('/img/background/bg-5.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--surface-3);
  position: relative;
}
.section--ethics::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .82);
  z-index: 0;
}
.section--ethics .container { position: relative; z-index: 1; }

.ethics__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.ethics__title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
  margin: 12px 0 20px;
}

.ethics__sub {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.ethics__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ethics__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(18px, 2vw, 24px) 0;
  border-bottom: 1px solid var(--surface-3);
  transition: background var(--t-base) var(--ease);
}
.ethics__item:first-child { border-top: 1px solid var(--surface-3); }

.ethics__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(0, 77, 245, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.ethics__icon svg {
  width: 12px;
  height: 12px;
  color: var(--blue-mid);
}

.ethics__item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ethics__item strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.ethics__item span {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}


/* ================================================================
   11. CTA FINAL
================================================================ */
.section--cta {
  background: var(--surface-0);
  border-top: 1px solid var(--surface-3);
  overflow: hidden;
  position: relative;
  background-image: url('/img/background/bg-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Overlay sombre pour garder le texte lisible */
.section--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .78);
  z-index: 0;
}

/* Halo de fond */
.section--cta .container { position: relative; z-index: 1; }
.section--cta .container::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 77, 245, .2) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.cta__title--accent {
  color: var(--blue-mid);
  text-shadow: 0 0 60px rgba(0, 77, 245, .4);
}

.cta__sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--gray-500);
  margin-bottom: 36px;
  line-height: 1.6;
}


/* ================================================================
   12. FOOTER
================================================================ */
footer, .main-footer {
  background: var(--surface-1);
  border-top: 1px solid var(--surface-3);
  color: var(--gray-500);
  padding: clamp(32px, 4vw, 48px) 0;
  font-size: 0.85rem;
  text-align: center;
  margin-top: auto;
}
footer a, .main-footer a {
  color: var(--gray-300);
  transition: color var(--t-base) var(--ease);
}
footer a:hover, .main-footer a:hover { color: var(--white); }


/* ================================================================
   13. AOS — ANIMATIONS AU SCROLL
================================================================ */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
  transition-timing-function: var(--ease-out);
}
[data-aos="fade-up"] {
  transform: translateY(28px);
}
[data-aos="fade-right"] {
  transform: translateX(-28px);
}
[data-aos="fade-left"] {
  transform: translateX(28px);
}
[data-aos="zoom-in"] {
  transform: scale(.96);
}
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}


/* ================================================================
   14. RESPONSIVE
================================================================ */

/* ── Tablette : ≤ 1024px */
@media (max-width: 1024px) {
  .vision__grid {
    grid-template-columns: 1fr;
  }
  .vision__label { display: none; }
  .vision__body  { grid-column: 1; grid-row: 1; }
  .vision__stats { grid-column: 1; }

  .ethics__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ── Mobile nav : ≤ 768px */
@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: block; }

  .portfolio__grid {
    grid-template-columns: 1fr;
  }
  .portfolio-card:first-child {
    grid-column: auto;
  }
  .portfolio-card:first-child .portfolio-card__img-wrap {
    aspect-ratio: 16 / 9;
  }
}

/* ── Petit mobile : ≤ 480px */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }
  .vision__stats {
    flex-direction: column;
    gap: 24px;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
}


/* ================================================================
   15. ACCESSIBILITÉ & PRÉFÉRENCES
================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
/* ================================================================
   FOOTER — À ajouter à la fin de style.css (remplace l'ancien footer)
================================================================ */

.main-footer {
  background: var(--surface-1);
  border-top: 1px solid var(--surface-3);
  padding: clamp(56px, 7vw, 96px) 0 0;
  margin-top: auto;
  font-size: 0.875rem;
}

/* Grille 3 colonnes */
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--surface-3);
}

/* Colonnes liens */
.footer__col-title {
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  color: var(--gray-500);
  font-size: 0.875rem;
  transition: color var(--t-base) var(--ease), padding-left var(--t-base) var(--ease);
  display: inline-block;
}
.footer__links a:hover {
  color: var(--white);
  padding-left: 6px;
}

/* Barre du bas */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0 24px;
  color: var(--gray-700);
  font-size: 0.78rem;
}

.footer__made {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(0, 77, 245, .6);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(0,77,245,.6); }
  50%       { opacity: .6; box-shadow: 0 0 16px rgba(0,77,245,.9); }
}

/* Responsive */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ================================================================
   SERVICES PAGE — À ajouter à la fin de style.css
================================================================ */

/* ── Hero générique (pages internes) */
.page-hero {
  position: relative;
  padding: clamp(140px, 16vw, 200px) 0 clamp(80px, 10vw, 120px);
  background: var(--surface-0);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 80% at 10% 50%, rgba(0, 77, 245, .10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(77, 130, 248, .06) 0%, transparent 60%);
}
.page-hero__content { max-width: 720px; }
.page-hero__title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--white);
  margin: 16px 0 20px;
}
.page-hero__title--accent { color: var(--blue-mid); }
.page-hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 520px;
}

/* ── Grille services complète */
.section--services-full { background: var(--surface-0); }

.services-full__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--surface-3);
  border: 1px solid var(--surface-3);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 20px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--surface-1);
  transition: background var(--t-base) var(--ease);
}
.service-item:hover { background: var(--surface-2); }

/* Numéro en filigrane */
.service-item__num {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-700);
  padding-top: 4px;
}

/* Icône */
.service-item__icon {
  grid-column: 1;
  grid-row: 2;
  width: 32px;
  height: 32px;
  color: var(--blue-mid);
  margin-top: 16px;
  align-self: start;
}
.service-item__icon svg { width: 100%; height: 100%; }

/* Corps */
.service-item__body {
  grid-column: 2;
  grid-row: 1 / 3;
}

.service-item__title {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.service-item__text {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-item__tags li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-mid);
  background: rgba(0, 77, 245, .1);
  border: 1px solid rgba(0, 77, 245, .2);
  padding: 3px 10px;
  border-radius: var(--r-xl);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.service-item:hover .service-item__tags li {
  background: rgba(0, 77, 245, .18);
  color: var(--white);
}

/* ── Pourquoi nous */
.section--why {
  background: var(--surface-1);
  border-top: 1px solid var(--surface-3);
}
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.why__title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
  margin: 12px 0 20px;
}
.why__body {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
}
.why__list {
  display: flex;
  flex-direction: column;
}
.why__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(16px, 2vw, 22px) 0;
  border-bottom: 1px solid var(--surface-3);
}
.why__item:first-child { border-top: 1px solid var(--surface-3); }
.why__num {
  flex-shrink: 0;
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-mid);
  margin-top: 2px;
  min-width: 24px;
}
.why__item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.why__item strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.why__item span {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Responsive services */
@media (max-width: 900px) {
  .services-full__grid { grid-template-columns: 1fr; }
  .why__inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .service-item {
    grid-template-columns: 1fr;
  }
  .service-item__num  { display: none; }
  .service-item__icon { grid-row: 1; margin-bottom: 12px; margin-top: 0; }
  .service-item__body { grid-column: 1; grid-row: 2; }
}
/* ================================================================
   PORTFOLIO PAGE — À ajouter à la fin de style.css
================================================================ */

/* ── Filtres */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.filter-btn {
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gray-500);
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  padding: 7px 18px;
  border-radius: var(--r-xl);
  cursor: pointer;
  transition:
    color            var(--t-base) var(--ease),
    background       var(--t-base) var(--ease),
    border-color     var(--t-base) var(--ease);
}
.filter-btn:hover {
  color: var(--white);
  border-color: var(--gray-700);
}
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

/* ── Grille projets */
.section--portfolio-full { background: var(--surface-0); }

.portfolio-full__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

/* ── Carte projet */
.pf-card {
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    border-color var(--t-base) var(--ease),
    box-shadow   var(--t-base) var(--ease),
    opacity      .2s var(--ease),
    transform    .2s var(--ease);
}
.pf-card:hover {
  border-color: rgba(0, 77, 245, .3);
  box-shadow: var(--shadow-blue), var(--shadow-md);
}

/* Image */
.pf-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.pf-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.pf-card:hover .pf-card__img { transform: scale(1.04); }

.pf-card__img--placeholder {
  background: linear-gradient(135deg, var(--surface-3) 0%, var(--surface-2) 100%);
}

/* Badge catégorie */
.pf-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(10, 10, 10, .7);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,.1);
}

/* Overlay */
.pf-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 77, 245, .82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  text-decoration: none;
}
.pf-card:hover .pf-card__overlay { opacity: 1; }
.pf-card__overlay--soon { background: rgba(30, 30, 36, .85); cursor: default; }

.pf-card__overlay-label {
  font-family: var(--f-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

/* Corps carte */
.pf-card__body {
  padding: clamp(18px, 2vw, 24px);
}
.pf-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.pf-card__title {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.pf-card__year {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.04em;
}
.pf-card__desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 16px;
}
.pf-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.pf-card__tags li {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-mid);
  background: rgba(0, 77, 245, .1);
  border: 1px solid rgba(0, 77, 245, .2);
  padding: 2px 9px;
  border-radius: var(--r-xl);
}

/* ── Section clients */
.section--clients {
  background-image: url('/img/background/bg-7.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--surface-3);
  position: relative;
}
.section--clients::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .82);
  z-index: 0;
}
.section--clients .container { position: relative; z-index: 1; }
.clients__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(24px, 3vw, 40px) 0;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 56px;
  opacity: .45;
  filter: brightness(0) invert(1);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease-spring);
}
.client-logo:hover {
  opacity: 1;
  transform: scale(1.06);
}
.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Responsive */
@media (max-width: 1024px) {
  .portfolio-full__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .portfolio-full__grid { grid-template-columns: 1fr; }
  .clients__grid { gap: 24px 32px; }
}

/* Placeholder portfolio — lettre initiale */
.pf-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-3) 0%, var(--surface-2) 100%);
}
.pf-card__placeholder-initial {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--surface-3);
  letter-spacing: -0.04em;
  user-select: none;
}

/* Footer — lien admin discret */
.footer__admin-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--t-base) var(--ease);
}
.footer__admin-link:hover { color: var(--gray-300); }

/* ================================================================
   HERO LOGO — Remplacement du titre texte par le SVG
================================================================ */
.hero__logo-wrap {
  margin-bottom: 28px;
}
.hero__logo-img {
  height: clamp(48px, 8vw, 96px);
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
  margin: 0 auto;
}

/* ================================================================
   SERVICES — Grille 5 cartes (2+3 ou auto-fit)
================================================================ */
.section--services .services__grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ================================================================
   INDEX — CORRECTIONS & DÉCORATIONS
================================================================ */

/* ── Logo hero */
.hero__logo-wrap {
  margin: 0 auto 28px;
  display: flex;
  justify-content: center;
}
.hero__logo-img {
  width: clamp(240px, 50vw, 460px);
  height: auto;
  filter: brightness(0) invert(1);
}

/* ── Grille services : 5 cards → 3+2 */
.services__grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Sections alternées pour casser le tout-noir */
.section--vision {
  background-image: url('/img/background/bg-6.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--surface-3);
  position: relative;
}
.section--vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .82);
  z-index: 0;
}
.section--vision .container { position: relative; z-index: 1; }
.section--portfolio { background: var(--surface-0); }
.section--ethics  { border-top: 1px solid var(--surface-3); }

/* ── Décoration : bandes lumineuses en séparation de sections */
.section--services {
  position: relative;
}
.section--services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,77,245,.4), transparent);
}

.section--portfolio::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(77,130,248,.3), transparent);
}

/* ── Décoration : motif de points sur la section vision */
.section--vision::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(0,77,245,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to left, rgba(0,0,0,.6), transparent);
}
.section--vision .container { position: relative; z-index: 1; }

/* ── Image décorative portfolio (quand disponible) */
.portfolio-card__img--placeholder {
  background: linear-gradient(135deg, var(--surface-3) 0%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}
.portfolio-card__img--placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 40%, rgba(0,77,245,.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 70%, rgba(77,130,248,.1) 0%, transparent 60%);
}

/* ── Décoration : fond section services avec légère texture */
.section--services {
  background-image:
    radial-gradient(ellipse 80% 40% at 90% 50%, rgba(0,77,245,.05) 0%, transparent 70%);
}

/* ================================================================
   PAGE HERO — VERSION VIDÉO (pages internes)
================================================================ */
.page-hero--video {
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}

/* Fallback par page */
.page-services  .page-hero--video { background-image: url('/img/background/bg-2.jpg'); }
.page-portfolio .page-hero--video { background-image: url('/img/background/bg-3.jpg'); }

.page-hero__videos {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.page-hero__video.active {
  opacity: 1;
}
/* ================================================================
   ABOUT PAGE — À ajouter à la fin de style.css
================================================================ */

/* ── Hero avec image fixe (pages sans vidéo) */
.page-hero--bg {
  background-image: url('/img/background/bg-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  isolation: isolate;
}

/* ── Histoire */
.section--history {
  background: var(--surface-0);
  border-top: 1px solid var(--surface-3);
}
.history__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.history__title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
  margin: 12px 0 24px;
}
.history__title em { font-style: normal; color: var(--blue-mid); }
.history__body {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 18px;
}
.history__body:last-child { margin-bottom: 0; }

/* Timeline */
.history__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 6px;
}
.timeline-item {
  display: flex;
  gap: 20px;
  padding: clamp(16px, 2vw, 22px) 0;
  border-bottom: 1px solid var(--surface-3);
}
.timeline-item:first-child { border-top: 1px solid var(--surface-3); }
.timeline-item__year {
  flex-shrink: 0;
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue-mid);
  min-width: 40px;
  padding-top: 2px;
}
.timeline-item__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline-item__content strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.timeline-item__content span {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── Chiffres clés */
.section--figures {
  background: var(--surface-1);
  border-top: 1px solid var(--surface-3);
}
.figures__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--surface-3);
  border: 1px solid var(--surface-3);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.figure-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(32px, 4vw, 48px) clamp(20px, 2vw, 32px);
  background: var(--surface-2);
  text-align: center;
  transition: background var(--t-base) var(--ease);
}
.figure-card:hover { background: var(--surface-3); }
.figure-card__num {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}
.figure-card__unit {
  font-size: 0.6em;
  color: var(--blue-mid);
}
.figure-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ── Équipe */
.section--team {
  background: var(--surface-0);
  border-top: 1px solid var(--surface-3);
}
.team__grid { max-width: 800px; }
.team-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
  padding: clamp(28px, 3vw, 40px);
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  border-radius: var(--r-lg);
}
.team-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 32px rgba(0,77,245,.25);
}
.team-card__initials {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.team-card__name {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.team-card__role {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 16px;
}
.team-card__bio {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 20px;
}
.team-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.team-card__skills li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-mid);
  background: rgba(0,77,245,.1);
  border: 1px solid rgba(0,77,245,.2);
  padding: 3px 10px;
  border-radius: var(--r-xl);
}

/* ── Valeurs */
.section--values {
  background: var(--surface-1);
  border-top: 1px solid var(--surface-3);
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.value-card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: var(--r-lg);
  position: relative;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}
.value-card:hover {
  border-color: rgba(0,77,245,.3);
  box-shadow: var(--shadow-blue);
}
.value-card:hover::before { transform: scaleX(1); }
.value-card__num {
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-mid);
  margin-bottom: 14px;
  display: block;
}
.value-card__title {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.value-card__text {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── Responsive */
@media (max-width: 900px) {
  .history__grid { grid-template-columns: 1fr; }
  .figures__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid  { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .team-card { grid-template-columns: 1fr; }
  .figures__grid { grid-template-columns: repeat(2, 1fr); }
}
/* ================================================================
   RECRUITS PAGE — À ajouter à la fin de style.css
================================================================ */

/* ── Hero bg pour pages sans vidéo */
.page-about .page-hero--bg,
.page-recruits .page-hero--bg {
  background-image: url('/img/background/bg-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ── Pourquoi nous rejoindre */
.section--why-join {
  background: var(--surface-0);
  border-top: 1px solid var(--surface-3);
}
.why-join__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.wj-card {
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  border-radius: var(--r-lg);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.wj-card:hover {
  border-color: rgba(0,77,245,.3);
  box-shadow: var(--shadow-blue);
}
.wj-card__icon {
  width: 36px; height: 36px;
  color: var(--blue-mid);
  margin-bottom: 16px;
}
.wj-card__icon svg { width: 100%; height: 100%; }
.wj-card__title {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.wj-card__text {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── Profils */
.section--profiles {
  background: var(--surface-1);
  border-top: 1px solid var(--surface-3);
}
.profiles__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.profile-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-300);
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  padding: 10px 18px;
  border-radius: var(--r-xl);
  transition: color var(--t-base) var(--ease), border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.profile-tag svg {
  width: 16px; height: 16px;
  color: var(--blue-mid);
  flex-shrink: 0;
}
.profile-tag:hover {
  color: var(--white);
  background: var(--surface-3);
  border-color: rgba(0,77,245,.3);
}

/* ── Formulaire */
.section--apply {
  background: var(--surface-0);
  border-top: 1px solid var(--surface-3);
}
.apply__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.apply__title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
  margin: 12px 0 20px;
}
.apply__sub {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 24px;
}
.apply__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--blue-mid);
}
.apply__contact svg { width: 16px; height: 16px; flex-shrink: 0; }
.apply__contact a { transition: color var(--t-base) var(--ease); }
.apply__contact a:hover { color: var(--white); }

/* Form */
.apply__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.apply__field { margin-bottom: 18px; }
.apply__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-300);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.apply__optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gray-500);
}
.apply__input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: var(--r-md);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 0.9rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  appearance: none;
}
.apply__input:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(0,77,245,.15);
}
.apply__input::placeholder { color: var(--gray-700); }
.apply__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236B6B6B'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 38px;
  cursor: pointer;
}
.apply__textarea { resize: vertical; min-height: 120px; }

/* File upload */
.apply__file { display: none; }
.apply__file-wrap { position: relative; }
.apply__file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-300);
  background: var(--surface-2);
  border: 1px dashed var(--surface-3);
  border-radius: var(--r-md);
  padding: 11px 16px;
  cursor: pointer;
  width: 100%;
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.apply__file-label:hover {
  border-color: var(--blue-mid);
  color: var(--white);
}
.apply__file-label svg { width: 18px; height: 18px; color: var(--blue-mid); flex-shrink: 0; }

.apply__submit { width: 100%; justify-content: center; margin-top: 8px; }

/* Erreurs */
.apply__errors {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.apply__errors p {
  font-size: 0.85rem;
  color: #fca5a5;
  margin: 0;
  line-height: 1.6;
}

/* Succès */
.apply__success {
  text-align: center;
  padding: clamp(40px, 5vw, 64px) 24px;
  background: var(--surface-1);
  border: 1px solid rgba(0,77,245,.2);
  border-radius: var(--r-lg);
}
.apply__success svg {
  width: 48px; height: 48px;
  color: var(--blue-mid);
  margin: 0 auto 16px;
}
.apply__success h3 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.apply__success p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
}

/* ── Responsive */
@media (max-width: 1024px) {
  .why-join__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .apply__inner { grid-template-columns: 1fr; }
  .apply__row   { grid-template-columns: 1fr; }
  .why-join__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .why-join__grid { grid-template-columns: 1fr; }
}
/* ================================================================
   LEGAL / PRIVACY PAGES — À ajouter à la fin de style.css
================================================================ */

/* ── Hero minimal (pages légales sans média) */
.page-hero--minimal {
  padding: clamp(120px, 14vw, 180px) 0 clamp(48px, 6vw, 72px);
  background: var(--surface-0);
  border-bottom: 1px solid var(--surface-3);
}
.page-hero--minimal .page-hero__sub {
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-top: 8px;
}

/* ── Layout légal */
.section--legal {
  background: var(--surface-0);
}
.legal__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

/* Navigation ancres */
.legal__nav {
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
}
.legal__nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px;
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  border-radius: var(--r-md);
}
.legal__nav a {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
  padding: 7px 12px;
  border-radius: var(--r-sm);
  transition: color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.legal__nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,.05);
}

/* Contenu légal */
.legal__content { max-width: 720px; }

.legal__section {
  padding-bottom: clamp(32px, 4vw, 48px);
  margin-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--surface-3);
}
.legal__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal__h2 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  padding-top: 4px;
}

.legal__content p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal__content p:last-child { margin-bottom: 0; }

.legal__content strong { color: var(--gray-300); font-weight: 600; }

.legal__content a {
  color: var(--blue-mid);
  text-decoration: underline;
  text-decoration-color: rgba(77,130,248,.3);
  transition: color var(--t-base) var(--ease), text-decoration-color var(--t-base) var(--ease);
}
.legal__content a:hover {
  color: var(--white);
  text-decoration-color: rgba(255,255,255,.4);
}

.legal__block {
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  margin: 16px 0;
}
.legal__block p {
  margin-bottom: 4px !important;
  font-size: 0.875rem;
}
.legal__block p:last-child { margin-bottom: 0 !important; }

.legal__note {
  font-size: 0.82rem !important;
  color: var(--gray-700) !important;
  font-style: italic;
  margin-top: 20px !important;
}

/* ── Responsive */
@media (max-width: 900px) {
  .legal__layout {
    grid-template-columns: 1fr;
  }
  .legal__nav {
    position: static;
  }
}

/* ── Éléments supplémentaires pages légales */
.legal__intro {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
  padding: 20px 24px;
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  border-left: 3px solid var(--blue-mid);
  border-radius: var(--r-sm);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.legal__h3 {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-300);
  margin: 20px 0 8px;
}
.legal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 16px;
}
.legal__list li {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}
.legal__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-mid);
}

/* ================================================================
   CONTACT PAGE
================================================================ */
.section--contact {
  background: var(--surface-0);
  border-top: 1px solid var(--surface-3);
}
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

/* Infos */
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(18px, 2vw, 24px) 0;
  border-bottom: 1px solid var(--surface-3);
}
.contact__item:first-child { border-top: 1px solid var(--surface-3); }
.contact__item-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(0,77,245,.1);
  border: 1px solid rgba(0,77,245,.2);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-mid);
}
.contact__item-icon svg { width: 18px; height: 18px; }
.contact__item-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 4px;
}
.contact__item-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--t-base) var(--ease);
}
a.contact__item-value:hover { color: var(--blue-mid); }

.contact__note {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(0,77,245,.07);
  border: 1px solid rgba(0,77,245,.15);
  border-radius: var(--r-md);
}
.contact__note svg {
  width: 18px; height: 18px;
  color: var(--blue-mid);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact__note p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .contact__layout { grid-template-columns: 1fr; }
}