/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Pill Gothic';
  src: url('assets/fonts/PillGothic-Light.woff2') format('woff2'),
       url('assets/fonts/PillGothic-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --bg:         #0d1b2a;
  --bg-alt:     #0a1520;
  --blue:       #104766;
  --blue-light: #4183a9;
  --accent:     #cc3517;
  --accent-dim: rgba(204, 53, 23, 0.15);
  --white:      #ffffff;
  --muted:      #a0aec0;
  --border:     rgba(255,255,255,0.08);

  --font-title: 'Pill Gothic', 'Exo 2', sans-serif;
  --font-body:  'Inter', sans-serif;

  --radius:     6px;
  --transition: 0.25s ease;
  --reveal-dur: 0.65s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 112.5%; /* 18px base — tous les rem s'adaptent */
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--reveal-dur) ease-out,
              transform var(--reveal-dur) ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 300; line-height: 1.15; }

.section__label {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section__label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.5rem;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  min-height: 100vh;
  padding: 6rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(rgba(65, 131, 169, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 131, 169, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
}

.section .container {
  width: 100%;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-title);
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn--primary:hover {
  background: #e03d1e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 53, 23, 0.4);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo img {
  height: 36px;
  width: auto;
}
.nav__links {
  display: flex;
  gap: 0.25rem;
}
.nav__links a {
  padding: 0.4rem 0.75rem;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__links a.active::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 0.75rem; }

.lang-switch {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.lang-switch:hover { color: var(--white); border-color: var(--accent); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  animation: heroZoomOut 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@keyframes heroZoomOut {
  from { transform: scale(1.5); }
  to   { transform: scale(1.04); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.88) 0%,
    rgba(16, 71, 102, 0.5) 60%,
    rgba(13, 27, 42, 0.75) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.hero__logo {
  height: 440px;
  width: auto;
}
.hero__tagline {
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
.hero__tagline--accent { color: var(--accent); }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-icon {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-icon::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { opacity: 1; top: 6px; }
  50% { opacity: 0; top: 18px; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: stretch;
  margin-top: 2.5rem;
}
.about__lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.65;
}
.about__body {
  color: var(--muted);
  line-height: 1.7;
}
.about__gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 320px;
}
.about__photos {
  position: relative;
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.about__photo.is-active {
  opacity: 1;
}
.about__caption {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

/* ============================================================
   HISTOIRE — frise verticale alternée
   ============================================================ */
.history__subtitle {
  color: var(--muted);
  max-width: 680px;
  line-height: 1.7;
  margin: 0.5rem 0 4rem;
}

.timeline {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}
/* Ligne centrale verticale */
.timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(65,131,169,0.45) 8%,
    rgba(65,131,169,0.45) 92%,
    transparent 100%
  );
}

.timeline__item {
  position: relative;
  width: 50%;
  padding: 0 2.75rem;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
}
.timeline__item:last-child { margin-bottom: 0; }
.timeline__item--left  { left: 0;   align-items: flex-end;  text-align: right; }
.timeline__item--right { left: 50%; align-items: flex-start; text-align: left; }

/* Nœud sur la ligne centrale */
.timeline__node {
  position: absolute;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px rgba(65,131,169,0.45);
  z-index: 1;
}
.timeline__item--left  .timeline__node { right: -7px; }
.timeline__item--right .timeline__node { left:  -7px; }

.timeline__year {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 300;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.timeline__card {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid rgba(65,131,169,0.18);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  transition: transform var(--transition), box-shadow 0.4s ease, border-color 0.4s ease;
}
.timeline__card:hover {
  transform: translateY(-6px);
  border-bottom-color: var(--accent);
  box-shadow: 0 8px 36px rgba(0,0,0,0.5);
}

.timeline__events {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.timeline__events li {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  padding-left: 1.1rem;
}
.timeline__events li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
/* Sur la colonne gauche, la puce reste lisible à droite du texte */
.timeline__item--left .timeline__events li {
  padding-left: 0;
  padding-right: 1.1rem;
}
.timeline__item--left .timeline__events li::before {
  left: auto;
  right: 0;
}

/* ============================================================
   TECHNOLOGIE
   ============================================================ */
.tech {
  position: relative;
}

.tech__intro {
  color: var(--muted);
  max-width: 680px;
  line-height: 1.7;
  margin-top: 0.5rem;
}

.tech__compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}
.tech__compare-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(13,27,42,0.82);
}
.tech__compare-frame img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.tech__compare-frame figcaption {
  padding: 0.75rem 1.1rem;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--white);
  border-top: 1px solid var(--border);
}


.tech__advantages-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.tech__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.tech__card {
  background: rgba(13,27,42,0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.tech__card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.tech__card-value {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.tech__card-label {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.tech__card-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__subtitle {
  color: var(--muted);
  margin-bottom: 3rem;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.service-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--blue);
}
.service-card__body { padding: 1.5rem; }
.service-card__title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 0.6rem;
  color: var(--white);
}
.service-card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.services__extra {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}
.services__extra-title {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.services__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
}
.services__list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--white);
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  line-height: 1.5;
}
.services__list li::before {
  content: '✓';
  color: var(--accent);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 300;
  flex-shrink: 0;
}

/* ============================================================
   MARCHÉS
   ============================================================ */

.markets {
  align-items: stretch;
  padding: 0;
}
.markets > .container {
  display: flex;
  flex-direction: column;
  padding: 6rem 0;
}
.markets__subtitle {
  color: var(--muted);
  margin-bottom: 2rem;
}
.markets__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-height: 520px;
}
.market-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(65,131,169,0.18);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  background: var(--bg);
  transition: box-shadow 0.4s ease;
  perspective: 1600px;
}
.market-card:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.5), 0 0 0 1px rgba(65,131,169,0.35);
}
.market-card__flip-trigger {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.market-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.market-card.is-flipped .market-card__inner {
  transform: rotateY(180deg);
}
.market-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
}
.market-card__face--back {
  transform: rotateY(180deg);
}
.market-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.7s ease;
}
.market-card:hover .market-card__face--front .market-card__bg {
  transform: scale(1.05);
}
.market-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,27,42,0)    0%,
    rgba(13,27,42,0)    38%,
    rgba(13,27,42,0.65) 60%,
    rgba(13,27,42,0.94) 100%
  );
}
.market-card__content {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.75rem 2.25rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
.market-card__label {
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  z-index: 1;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}
.market-card__metric {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.65rem;
}
.market-card__desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
}
.market-card__desc--product {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.market-card__flip-hint {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.market-card:hover .market-card__flip-hint {
  opacity: 0.7;
}

/* ============================================================
   ILS NOUS FONT CONFIANCE + ILS NOUS SOUTIENNENT
   ============================================================ */

.trust__subtitle {
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 600px;
}

.trust__grid {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.trust__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: trust-scroll 50s linear infinite;
}
@keyframes trust-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-card img {
  max-height: 104px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.85;
}
.trust-card--color img {
  filter: none;
  opacity: 1;
}

.trust-divider {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 3.5rem 0 2.5rem;
}

.section__title--sub {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.supporters__subtitle {
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 600px;
}

.supporters__grid {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* ============================================================
   VIDÉO
   ============================================================ */
.video-section__subtitle {
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.video-section__player {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-section__player video {
  width: 100%;
  display: block;
  max-height: 540px;
  background: #000;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact__subtitle {
  color: var(--muted);
  margin-bottom: 3rem;
}

.contact-panel {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 3rem;
  max-width: 780px;
  padding: 3rem 3.5rem;
  background:
    radial-gradient(circle at 15% 20%, var(--accent-dim), transparent 55%),
    rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-panel:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}
.contact-panel__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent);
  opacity: 0.6;
}
.contact-panel__corner--tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.contact-panel__corner--br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.contact-panel__block {
  flex: 1;
  min-width: 0;
}
.contact-panel__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 50%;
}
.contact-panel__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.contact-panel__email {
  display: inline-block;
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--white);
  word-break: break-word;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.contact-panel__email:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.contact-panel__text {
  font-size: 0.95rem;
  color: var(--muted);
  white-space: pre-line;
  line-height: 1.6;
}
.contact-panel__divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   CARRIÈRES
   ============================================================ */
.careers {
  min-height: auto;
  padding-top: 8rem;
}
.careers__preview-banner {
  background: rgba(204, 53, 23, 0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 2rem;
}
.careers__back {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.careers__back:hover { color: var(--accent); }
.careers__subtitle {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 3rem;
}
.careers__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.careers__intro-col:only-child {
  grid-column: 1 / -1;
  max-width: 720px;
}
.careers__intro-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}
.careers__intro-text {
  color: var(--muted);
  line-height: 1.65;
}
.careers__intro-text p { margin-bottom: 0.75em; }
.careers__intro-text p:last-child { margin-bottom: 0; }
.careers__intro-img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.careers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.careers__empty {
  color: var(--muted);
  padding: 2rem 0;
}
.career-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.career-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.career-card__title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--white);
}
.career-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.career-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  white-space: nowrap;
}

/* ============================================================
   FENÊTRE DE DÉTAIL D'UNE OFFRE
   ============================================================ */
body.modal-open {
  overflow: hidden;
}
.offer-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition);
}
.offer-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.offer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,10,16,0.8);
  backdrop-filter: blur(3px);
}
.offer-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  padding: 2.5rem;
  transform: translateY(16px);
  transition: transform var(--transition);
}
.offer-modal.is-open .offer-modal__dialog {
  transform: translateY(0);
}
.offer-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: none;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.offer-modal__close:hover {
  color: var(--white);
  border-color: var(--accent);
}
.offer-modal__title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.85rem;
  padding-right: 2.5rem;
}
.offer-modal__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 1.5rem 0;
}
.offer-modal__desc p { margin-bottom: 0.5em; }
.offer-modal__desc p:last-child { margin-bottom: 0; }
.offer-modal__desc ul,
.offer-modal__desc ol { padding-left: 1.25em; margin: 0.25em 0 0.5em; }
.offer-modal__desc li { margin-bottom: 0.2em; }
.offer-modal__desc li::marker { color: var(--accent); }
.offer-modal__desc b,
.offer-modal__desc strong { color: var(--white); font-weight: 600; }
.offer-modal__apply { font-size: 0.85rem; padding: 0.65rem 1.75rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__logo { height: 28px; width: auto; opacity: 0.7; }
.footer__tagline {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__legal { font-size: 0.75rem; color: var(--muted); opacity: 0.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tech__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .tech__compare { grid-template-columns: 1fr; }

  /* Frise : colonne unique, ligne à gauche */
  .history__subtitle { margin-bottom: 2.5rem; }
  .timeline::before { left: 7px; }
  .timeline__item,
  .timeline__item--left,
  .timeline__item--right {
    width: 100%;
    left: 0;
    padding: 0 0 0 2.25rem;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 2rem;
  }
  .timeline__item--left .timeline__node,
  .timeline__item--right .timeline__node { left: 1px; right: auto; }
  .timeline__item--left .timeline__events li {
    padding-left: 1.1rem;
    padding-right: 0;
  }
  .timeline__item--left .timeline__events li::before {
    left: 0;
    right: auto;
  }

  .section { padding: 4rem 0; }

  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    z-index: 99;
  }
  .nav__links.open a {
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
  }
  .nav__burger { display: flex; }

  .hero__logo { height: 190px; }

  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__photos { min-height: 280px; }

  .careers__intro { grid-template-columns: 1fr; gap: 2rem; }
  .careers__intro-img { order: -1; max-height: 240px; }

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

  .services__grid { grid-template-columns: 1fr; }
  .markets__grid { grid-template-columns: 1fr; min-height: unset; }
  .market-card { min-height: 320px; }

  .contact-panel { flex-direction: column; gap: 2rem; padding: 2.25rem 1.75rem; }
  .contact-panel__divider { width: 100%; height: 1px; }

  .offer-modal { padding: 1rem; }
  .offer-modal__dialog { padding: 1.75rem; }
  .offer-modal__title { font-size: 1.35rem; }

  .footer__inner { flex-direction: column; text-align: center; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .tech__grid { grid-template-columns: 1fr; }
  .about__photos { min-height: 220px; }
}
