/* ========================================================================
   DRAW — Socle graphique éditorial 2026
   Page d’accueil Joomla : contenus et modules préservés.
   ======================================================================== */

@import url('legacy_components.css');

:root {
  --black: #102235;
  --dark: #13263a;
  --dark-2: #1d354a;
  --gray-900: #203449;
  --gray-700: #4d5d69;
  --gray-500: #727d84;
  --gray-300: #b6bdbe;
  --gray-100: #dedfd8;
  --gray-50: #eeece5;
  --white: #f7f4ee;
  --white-pure: #fffdfa;
  --accent: #a5c63b;
  --accent-light: #bedc60;
  --accent-dark: #718e1d;
  --lime: #c8e96b;
  --lime-dark: #617d19;
  --lime-soft: #a5c63b;
  --red: #bf3344;
  --red-dark: #a42234;
  --paper-line: rgba(19, 38, 58, 0.12);
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --radius: 2px;
  --radius-lg: 4px;
  --container: 1240px;
  --section-py: 112px;
  --nav-h: 76px;
  --transition: 180ms ease;
}

html { background: var(--white); }
body { background: var(--white); color: var(--dark); line-height: 1.65; }
.container { max-width: var(--container); padding-right: 30px; padding-left: 30px; }

/* Fond global et titres --------------------------------------------------- */
.section { position: relative; padding: var(--section-py) 0; overflow: clip; }
.section--light { background: #eeece5; }
.section--dark { background: var(--dark); color: #d5dad5; }
.section__label,
.section__label--light,
.location__role,
.post-card__cat {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.section__title,
.cta-section__title,
.page-hero__title,
.prose h1,
.prose h2,
.location__country {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.055em;
}
.section__title { font-size: clamp(34px, 4.4vw, 59px); line-height: .99; max-width: 840px; }
.section__desc { color: var(--gray-700); font-size: 16px; max-width: 590px; }
.section__head { margin-bottom: 60px; }
.section__head--split { gap: 90px; }
.section__head--split .section__desc { padding-bottom: 5px; }

/* Boutons et navigation --------------------------------------------------- */
.btn { border-radius: 0; padding: 15px 23px; border-width: 1px; font-size: 12px; font-weight: 750; letter-spacing: .025em; }
.btn--primary { color: #fff; background: var(--red); border-color: var(--red); }
.btn--primary:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); box-shadow: none; transform: translateY(-2px); }
.btn--dark { color: #fff; background: var(--dark); border-color: var(--dark); }
.btn--dark:hover { color: #fff; background: var(--red); border-color: var(--red); box-shadow: none; }
.btn--outline { color: var(--dark); border-color: var(--dark); background: transparent; }
.btn--outline:hover { color: #fff; background: var(--dark); box-shadow: none; }
.btn--white { background: var(--white-pure); color: var(--dark); border-color: var(--white-pure); }
.btn--white:hover { background: var(--accent-light); border-color: var(--accent-light); box-shadow: none; }
.btn--ghost { border-color: rgba(255,255,255,.46); }
.btn--ghost:hover { color: #fff; background: rgba(255,255,255,.1); border-color: #fff; }

.nav-wrapper { background: rgba(247,244,238,.96); border-bottom: 1px solid var(--paper-line); backdrop-filter: blur(12px); }
.nav-wrapper.is-scrolled { box-shadow: 0 8px 22px rgba(19,38,58,.06); }
.nav { height: var(--nav-h); gap: 32px; }
.nav__logo { position: relative; padding-right: 19px; }
.nav__logo::after { content: ''; position: absolute; width: 7px; height: 7px; right: 0; top: 7px; background: var(--accent); border-radius: 50%; }
.logo-draw { color: var(--dark); font-size: 27px; }
.logo-tagline { color: var(--gray-700); font-size: 8px; letter-spacing: .12em; }
.nav__links { gap: 1px; }
.nav__item > a { color: var(--dark); padding: 10px 12px; border-radius: 0; font-size: 12px; font-weight: 600; }
.nav__item > a:hover,
.nav__item.active > a { color: var(--red); background: transparent; }
.nav__item.active > a::before { content: ''; position: absolute; right: 12px; bottom: 3px; left: 12px; height: 1px; background: var(--red); }
.nav__sub { border-color: var(--paper-line); border-radius: 0; box-shadow: 0 16px 32px rgba(19,38,58,.10); padding: 7px; }
.nav__sub a { border-radius: 0; color: var(--dark); }
.nav__sub a:hover { color: var(--red); background: #f5f1ea; }

/* Héro : composition graphique intégralement statique -------------------- */
.hero {
  padding-top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--paper-line);
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(48vw, 710px);
  height: 100%;
  background:
    linear-gradient(90deg, transparent 0 11%, rgba(191,51,68,.04) 11% 12%, transparent 12% 35%, rgba(165,198,59,.10) 35% 36%, transparent 36%),
    radial-gradient(circle at 69% 27%, rgba(165,198,59,.28) 0 2px, transparent 2.5px),
    radial-gradient(circle at 34% 77%, rgba(191,51,68,.18) 0 2px, transparent 2.5px);
  background-size: auto, 34px 34px, 51px 51px;
  border-left: 1px solid var(--paper-line);
}
.hero__bg-grid {
  opacity: 1;
  background-image:
    linear-gradient(rgba(19,38,58,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,38,58,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0 58%, transparent 100%);
}
.hero__inner { min-height: 590px; grid-template-columns: minmax(0, .91fr) minmax(390px, 1.09fr); gap: 36px; align-items: center; padding-top: 64px; padding-bottom: 62px; }
.hero__content { max-width: 650px; }
.hero__title {
  color: var(--dark);
  font-family: var(--font-display);
  font-size: clamp(54px, 6.35vw, 88px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.075em;
  margin-bottom: 26px;
}
.hero__title .hero__title-sub { color: var(--dark); font-family: var(--font); font-size: clamp(17px, 2vw, 24px); font-weight: 600; line-height: 1.32; letter-spacing: -.035em; margin-top: 22px; max-width: 515px; }
.hero__desc { color: var(--gray-700); font-size: 15px; line-height: 1.78; margin-bottom: 31px; max-width: 500px; }
.hero__ctas { gap: 12px; }
.hero__visual { height: 460px; justify-content: flex-end; }
.orbit-scene { width: 500px; height: 410px; overflow: hidden; }
.orbit-scene::before {
  content: 'TECHNICAL PARTNERSHIP';
  position: absolute;
  top: 36px;
  left: 29px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.orbit-scene::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: 8px;
  bottom: 0;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(19,38,58,.16);
  background: linear-gradient(135deg, rgba(19,38,58,.96) 0 52%, var(--red) 52% 53%, transparent 53%);
  clip-path: polygon(18% 0, 100% 0, 100% 81%, 77% 100%, 0 100%, 0 18%);
}
.orbit-ring { border-radius: 0; border: 0; transform: none; pointer-events: none; }
.orbit-ring--1 { top: 144px; left: 87px; width: 260px; height: 1px; background: var(--paper-line); }
.orbit-ring--2 { top: 210px; left: 145px; width: 270px; height: 1px; background: rgba(19,38,58,.2); }
.orbit-ring--3 { top: 280px; left: 74px; width: 315px; height: 1px; background: var(--paper-line); }
.orbit-core {
  z-index: 2;
  top: 53%; left: 68%;
  width: 124px; height: 124px;
  border-radius: 0;
  background: var(--accent);
  color: var(--dark);
  box-shadow: 10px 10px 0 var(--red);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -.07em;
}
.orbiter { width: auto; height: auto; animation: none !important; transform: none !important; }
.orbit-scene .orbiter:nth-of-type(5) { top: 78px; left: 92px; }
.orbit-scene .orbiter:nth-of-type(6) { top: 54px; right: 58px; left: auto; }
.orbit-scene .orbiter:nth-of-type(7) { top: 164px; left: 165px; }
.orbit-scene .orbiter:nth-of-type(8) { top: 237px; left: 65px; }
.orbit-scene .orbiter:nth-of-type(9) { top: 300px; left: 215px; }
.orbit-scene .orbiter:nth-of-type(10) { top: 312px; right: 15px; left: auto; }
.orbit-scene .orbiter:nth-of-type(11) { top: 13px; left: 235px; }
.orbit-scene .orbiter:nth-of-type(12) { top: 116px; right: 4px; left: auto; }
.orbit-scene .orbiter:nth-of-type(13) { top: 371px; left: 104px; }
.orbit-scene .orbiter:nth-of-type(14) { top: 188px; right: 1px; left: auto; }
.tech-ball {
  position: static;
  width: auto; height: auto;
  min-width: 72px;
  padding: 9px 12px;
  border: 1px solid rgba(19,38,58,.22);
  border-radius: 0;
  background: var(--white-pure);
  box-shadow: none;
  transform: none;
  gap: 0;
}
.tech-ball:hover { border-color: var(--red); box-shadow: none; transform: none; }
.tech-ball span { color: var(--dark); font-size: 9px; font-weight: 800; letter-spacing: .075em; }
.tech-ball svg { display: none; }
.hero__badges { background: rgba(255,253,250,.72); border-top-color: var(--paper-line); }
.badge { color: var(--dark); background: transparent; border-right-color: var(--paper-line); border-radius: 0; padding: 19px 17px; font-size: 11px; }
.badge:hover { background: rgba(165,198,59,.09); }
.badge__check { width: 18px; height: 18px; border-radius: 0; background: var(--accent); color: var(--dark); font-size: 9px; }

/* Sections et cartes ------------------------------------------------------ */
.cards { gap: 0; border-top: 1px solid var(--paper-line); border-left: 1px solid var(--paper-line); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  min-height: 264px;
  padding: 32px;
  border: 0;
  border-right: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.card::before { width: 22px; height: 3px; top: -1px; left: 32px; transform: scaleX(1); background: var(--accent); }
.card:hover { background: var(--white-pure); box-shadow: none; transform: none; }
.card__icon { width: 42px; height: 42px; border-radius: 0; margin-bottom: 36px; background: transparent; color: var(--red); border: 1px solid var(--paper-line); }
.card:hover .card__icon { color: var(--dark); background: var(--accent); }
.card__title { color: var(--dark); font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.card__text { color: var(--gray-700); }
.card__link { color: var(--red); }
.card__num { color: var(--accent); font-family: var(--font-display); font-size: 48px; font-weight: 600; }
.cards--minimal { gap: 24px; border: 0; }
.cards--minimal .card { min-height: 0; border: 0; border-left: 1px solid var(--paper-line); padding: 0 0 0 20px; }
.cards--minimal .card:hover { border-left-color: var(--red); background: none; }

/* Sections sombres et technologies --------------------------------------- */
.tech-band { background: var(--dark); padding-top: var(--section-py); }
.tech-band::before {
  content: '';
  position: absolute;
  top: 0; right: 5vw;
  width: 33vw; height: 100%;
  background: repeating-linear-gradient(90deg, transparent 0 57px, rgba(255,255,255,.055) 57px 58px);
  pointer-events: none;
}
.tech-band .container { position: relative; z-index: 1; }
.tech-band .section__title { color: #fffdfa; }
.tech-band .section__desc { color: #d6ddd7; }
.tech-band__marquee { padding: 0; border-top-color: rgba(255,255,255,.18); background: transparent; }
.marquee__track { width: 100%; min-height: 76px; animation: none !important; display: flex; flex-wrap: wrap; }
.tech-item { color: #fffdfa; border-right-color: rgba(255,255,255,.14); padding: 16px 24px; font-size: 12px; }
.tech-item svg { color: var(--accent); }
.tech-grid { gap: 0; border-top: 1px solid var(--paper-line); border-left: 1px solid var(--paper-line); }
.tech-tile { border: 0; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); border-radius: 0; background: transparent; padding: 24px; }
.tech-tile:hover { border-color: var(--accent); box-shadow: none; transform: none; background: rgba(255,255,255,.035); }
.section--dark .tech-tile { border-color: rgba(255,255,255,.16); background: transparent; }
.section--dark .tech-tile__logo { color: var(--accent); }
.section--dark .tech-tile__name { color: #fffdfa; }
.section--dark .tech-tile__desc { color: #d6ddd7; }

/* Chiffres et parcours ---------------------------------------------------- */
.stats__grid { gap: 80px; }
.stats__aside { color: var(--gray-700); border-top: 2px solid var(--red); padding-top: 19px; }
.stats__numbers { gap: 0; border: 0; border-radius: 0; background: transparent; border-top: 1px solid var(--paper-line); border-left: 1px solid var(--paper-line); }
.stat { padding: 35px 26px; background: transparent; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.stat:hover { background: var(--white-pure); }
.stat__num { color: var(--red); font-family: var(--font-display); font-size: clamp(39px,4.5vw,59px); font-weight: 600; letter-spacing: -.06em; }
.stat__label { color: var(--dark); font-size: 12px; }
.stat__sub { color: var(--gray-700); }
.timeline { border-top: 1px solid var(--paper-line); padding-top: 28px; }
.timeline__dot { width: 14px; height: 14px; border: 0; border-radius: 0; background: var(--red); }
.timeline__line { height: 1px; background: var(--paper-line); }
.timeline__step:hover .timeline__dot { transform: none; box-shadow: 4px 4px 0 var(--accent); }
.timeline__when { border-radius: 0; background: rgba(165,198,59,.22); color: var(--dark); font-size: 10px; }
.timeline__title { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.035em; }
.timeline__text { color: var(--gray-700); }

/* Témoignages et FAQ ------------------------------------------------------ */
.testimonials__grid { gap: 0; border-top: 1px solid var(--paper-line); border-left: 1px solid var(--paper-line); }
.testi-card { min-height: 296px; padding: 31px; border: 0; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); border-radius: 0; background: transparent; }
.testi-card:hover { border-color: var(--paper-line); box-shadow: none; transform: none; background: var(--white-pure); }
.testi-card__stars { color: var(--red); letter-spacing: 2px; }
.testi-card__quote { color: var(--dark); font-family: var(--font-display); font-size: 20px; line-height: 1.4; letter-spacing: -.025em; }
.testi-card__footer { border-top-color: var(--paper-line); }
.testi-card__avatar { border-radius: 0; background: var(--dark); }
.testi-card__avatar--accent { background: var(--accent); color: var(--dark); }
.testi-card__name { color: var(--dark); }
.faq__inner { gap: 104px; }
.faq__aside { border-top: 2px solid var(--red); padding-top: 18px; }
.faq-item { border: 0; border-bottom: 1px solid var(--paper-line); border-radius: 0; background: transparent; }
.faq-item[open] { border-color: var(--dark); box-shadow: none; }
.faq-item summary { padding: 21px 1px; border-radius: 0; color: var(--dark); font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.faq-item summary:hover { background: transparent; color: var(--red); }
.faq-item summary::after { color: var(--red); font-family: var(--font); font-weight: 400; }
.faq-item__body { color: var(--gray-700); padding: 0 38px 24px 1px; }

/* Appel à l’action, footer et pages internes ----------------------------- */
.cta-section { background: var(--dark); padding: 112px 0; text-align: left; }
.cta-section::before { top: auto; right: 8%; bottom: -165px; left: auto; transform: none; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.25); border-radius: 0; background: transparent; transform: rotate(45deg); }
.cta-section::after { content: ''; position: absolute; top: 24px; right: 13%; width: 45px; height: 45px; background: var(--red); }
.cta-section__inner { max-width: 800px; }
.cta-section__title { color: #fffdfa; font-size: clamp(40px,5vw,68px); line-height: .98; }
.cta-section__desc { max-width: 610px; margin: 0 0 36px; color: #d6ddd7; }
.cta-section__buttons { justify-content: flex-start; }
.cta-section--light { background: #eeece5; }
.cta-section--light .cta-section__title { color: var(--dark); }
.cta-section--light .cta-section__desc { color: var(--gray-700); }
.page-hero { background: var(--dark); padding: 96px 0 88px; }
.page-hero::after { border-radius: 0; border-color: rgba(255,255,255,.18); }
.page-hero__title { font-family: var(--font-display); font-weight: 600; }
.main-content { padding: 92px 0; }
.prose { color: var(--gray-700); }
.prose h1 { font-size: clamp(40px, 5vw, 62px); }
.prose h2 { font-size: 34px; }
.prose a:not(.btn), .split__body a:not(.btn) { color: var(--red); }
.prose blockquote { border-left-color: var(--red); }

.footer { background: #0d1b2b; padding-top: 76px; }
.footer__inner { border-bottom-color: rgba(255,255,255,.14); }
.footer__brand p, .footer__col a, .footer__bottom p, .footer__bottom a { color: #b9c3c5; }
.footer__brand a:hover, .footer__col a:hover { color: var(--accent-light); }
.footer__col h4, .footer__col .footer__title { color: #fffdfa; }
.footer__bottom { padding-top: 23px; padding-bottom: 23px; }
.logo-draw--white { color: #fffdfa; }

/* Responsif --------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner { min-height: 0; grid-template-columns: 1fr; padding-top: 70px; }
  .hero__content { max-width: 720px; }
  .hero__visual { height: 400px; justify-content: center; }
  .hero::before { width: 55vw; }
  .section__head--split, .stats__grid, .faq__inner { gap: 46px; }
  .tech-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 980px) {
  .nav__menu { background: var(--white); }
  .nav__item > a:hover, .nav__item.active > a { color: var(--red); }
  .nav__item.active > a::before { display: none; }
  .nav__sub a:hover { color: var(--red); }
}
@media (max-width: 768px) {
  :root { --section-py: 78px; }
  .container { padding-right: 20px; padding-left: 20px; }
  .nav { height: 68px; }
  .hero__inner { padding-top: 54px; padding-bottom: 50px; }
  .hero__title { font-size: clamp(48px, 15vw, 68px); }
  .hero__visual { height: 332px; transform: scale(.74); transform-origin: center; margin: -40px 0; }
  .hero::before { width: 100%; height: 38%; top: auto; bottom: 0; border-left: 0; border-top: 1px solid var(--paper-line); }
  .hero__bg-grid { mask-image: none; opacity: .55; }
  .hero__badges { margin-top: 36px; }
  .badge { min-width: 50%; padding: 17px 12px; }
  .cards, .testimonials__grid { display: grid; grid-template-columns: 1fr; }
  .card, .testi-card { min-height: 0; }
  .tech-grid { grid-template-columns: repeat(2,1fr); }
  .marquee__track { display: grid; grid-template-columns: repeat(2,1fr); }
  .tech-item { padding: 15px; }
  .timeline { border-top: 0; }
  .timeline__line { background: var(--paper-line); }
  .timeline__when { margin-top: 0; }
  .cta-section { padding: 82px 0; }
}
@media (max-width: 480px) {
  .hero__visual { transform: scale(.59); margin: -78px 0; }
  .badge { min-width: 100%; }
  .tech-grid, .marquee__track { grid-template-columns: 1fr; }
  .section__title { font-size: 37px; }
  .faq-item summary { font-size: 19px; }
}

/* L’illustration de technologies et le bandeau sont figés volontairement. */
.orbiter, .marquee__track { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .hero__content { opacity: 1; transform: none; }
}


/* ========================================================================
   Ajustement minimaliste — header et héro sans grille ni accents colorés
   ======================================================================== */
:root {
  --accent: #2d3f4e;
  --accent-light: #4e606c;
  --accent-dark: #20323f;
  --lime: #d9dedc;
  --lime-dark: #364854;
  --lime-soft: #2d3f4e;
  --red: #2a3c49;
  --red-dark: #1a2b37;
}

/* Header monochrome, sans repère décoratif. */
.nav-wrapper { background: rgba(247,244,238,.98); border-bottom-color: #d8d3ca; }
.nav-wrapper.is-scrolled { box-shadow: 0 4px 18px rgba(19,38,58,.06); }
.nav__logo::after { display: none; }
.logo-tagline { color: var(--gray-500); }
.nav__item > a,
.nav__item > a:hover,
.nav__item.active > a { color: var(--dark); }
.nav__item > a:hover { opacity: .64; }
.nav__item.active > a::before { background: var(--dark); }
.nav__cta { background: var(--dark); border-color: var(--dark); color: #fffdfa; }
.nav__cta:hover { background: var(--dark-2); border-color: var(--dark-2); }
.nav__sub a:hover { color: var(--dark); background: #f0ede7; }

/* Héro volontairement calme : fond uni, contenu à gauche, aucun motif. */
.hero { background: #f7f4ee; border-bottom-color: #d8d3ca; }
.hero::before { display: none; }
.hero__bg-grid { display: none; }
.hero__inner {
  min-height: 510px;
  grid-template-columns: 1fr;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 78px;
}
.hero__content { max-width: 760px; }
.hero__title { max-width: 720px; font-size: clamp(54px, 7vw, 96px); }
.hero__title .hero__title-sub { color: var(--gray-700); max-width: 500px; }
.hero__desc { color: var(--gray-700); }
.hero__visual { display: none; }
.hero__badges { background: transparent; border-top-color: #d8d3ca; }
.badge { border-right-color: #d8d3ca; color: var(--dark); }
.badge__check { background: var(--dark); color: #fffdfa; }

/* Les appels et repères utilisent exclusivement le bleu nuit. */
.section__label,
.section__label--light,
.location__role,
.post-card__cat,
.card__link,
.prose a:not(.btn),
.split__body a:not(.btn),
.testi-card__stars { color: var(--dark); }
.card__icon { color: var(--dark); }
.card:hover .card__icon { background: #e6e2da; color: var(--dark); }
.card::before { background: var(--dark); }
.stat__num { color: var(--dark); }
.timeline__dot { background: var(--dark); }
.timeline__when { background: #e6e2da; color: var(--dark); }
.faq__aside, .stats__aside { border-top-color: var(--dark); }
.faq-item summary:hover { color: var(--dark); opacity: .7; }
.faq-item summary::after { color: var(--dark); }

/* Aucune forme ou couleur d’accent dans l’appel à l’action. */
.cta-section::before,
.cta-section::after { display: none; }
.cta-section { background: var(--dark); }
.cta-section .btn--primary { background: #fffdfa; border-color: #fffdfa; color: var(--dark); }
.cta-section .btn--primary:hover { background: #e6e2da; border-color: #e6e2da; }

@media (max-width: 768px) {
  .hero__inner { min-height: 0; padding-top: 62px; padding-bottom: 58px; }
  .hero__title { font-size: clamp(48px, 15vw, 72px); }
  .hero__badges { margin-top: 0; }
}

/* ========================================================================
   Candidate n° 2 validée — héro à dégradé doux et constellation bleu brume
   ======================================================================== */
.hero {
  background-color: #f7f4ee;
  background-image: url('../images/hero-gradient.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

@media (min-width: 981px) {
  .hero__inner {
    grid-template-columns: minmax(0, .94fr) minmax(320px, .56fr);
    gap: 38px;
  }
  .hero__content { position: relative; z-index: 2; }
  .hero__visual {
    display: flex;
    position: relative;
    z-index: 1;
    height: 410px;
    justify-content: stretch;
  }
  .orbit-scene {
    width: 100%;
    height: 100%;
    overflow: visible;
  }
  .orbit-scene::before,
  .orbit-ring,
  .orbit-core { display: none; }
  .orbit-scene::after {
    display: block;
    content: '';
    position: absolute;
    inset: -30px -38px -26px -26px;
    z-index: 0;
    width: auto;
    height: auto;
    border: 0;
    clip-path: none;
    transform: none;
    background: url('../images/tech-constellation.svg') center / contain no-repeat;
    opacity: .58;
    pointer-events: none;
  }
  .orbiter {
    display: block;
    width: auto;
    height: auto;
    z-index: 1;
    opacity: .50;
    animation: none !important;
  }
  .tech-ball {
    min-width: 0;
    padding: 9px 12px;
    background: rgba(248, 251, 252, .28);
    border-color: rgba(117, 151, 170, .20);
    box-shadow: none;
    backdrop-filter: blur(3px);
  }
  .tech-ball span {
    color: #496271;
    font-size: 9px;
    letter-spacing: .10em;
  }
  .orbit-scene .orbiter:nth-of-type(5)  { top: 76px;  left: 12%; transform: rotate(-3deg) !important; }
  .orbit-scene .orbiter:nth-of-type(6)  { top: 164px; left: 48%; transform: rotate(2deg) !important; }
  .orbit-scene .orbiter:nth-of-type(7)  { top: 56px;  left: 67%; transform: rotate(-2deg) !important; }
  .orbit-scene .orbiter:nth-of-type(8)  { top: 255px; left: 8%;  transform: rotate(2deg) !important; }
  .orbit-scene .orbiter:nth-of-type(9)  { top: 303px; left: 37%; transform: rotate(-2deg) !important; }
  .orbit-scene .orbiter:nth-of-type(10) { top: 332px; left: 72%; transform: rotate(2deg) !important; }
  .orbit-scene .orbiter:nth-of-type(11) { top: 21px;  left: 43%; transform: rotate(2deg) !important; }
  .orbit-scene .orbiter:nth-of-type(12) { top: 241px; left: 69%; transform: rotate(-3deg) !important; }
  .orbit-scene .orbiter:nth-of-type(13) { top: 365px; left: 12%; transform: rotate(1deg) !important; }
  .orbit-scene .orbiter:nth-of-type(14) { top: 116px; left: 78%; transform: rotate(-2deg) !important; }
}
@media (max-width: 980px) {
  .hero { background-position: 28% center; }
  .hero__visual { display: none; }
}


/* ========================================================================
   CORRECTIFS — v1.2.1
   Trois défauts constatés sur la v1.2.0. Bloc isolé pour être relu
   ou retiré d'un seul tenant.
   ======================================================================== */

/* 1. Bandeau technologies : défilement rétabli.
   La v1.2.0 le figeait en grille (« animation: none » + « flex-wrap: wrap »).
   Deux conséquences : sur petit écran la liste s'étalait sur deux ou trois
   lignes, et comme le module écrit volontairement la liste DEUX fois — la
   seconde copie rend la boucle continue — chaque technologie apparaissait
   en double.
   Le défilement résout les deux : une seule ligne quelle que soit la
   largeur, et la copie de doublure redevient utile.
   Le déplacement de -50 % correspond exactement à une copie de la liste,
   d'où une boucle sans saut. */
.tech-band__marquee { overflow: hidden; }

.marquee__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  min-height: 0;
  animation: marquee 45s linear infinite;
}
.marquee__track:hover { animation-play-state: paused; }

.tech-item { flex-shrink: 0; white-space: nowrap; }

/* Sur petit écran, la bande défile plus vite : les éléments défilent sur une
   largeur de fenêtre réduite, une durée identique paraîtrait ralentie. */
@media (max-width: 768px) {
  .marquee__track { display: flex; grid-template-columns: none; animation-duration: 28s; }
}

/* Le défilement reste une animation décorative : on le coupe si le visiteur
   a demandé à réduire les animations. La liste dupliquée est alors masquée
   pour ne pas afficher deux fois chaque technologie. */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: 100%; }
  .marquee__track .tech-item[aria-hidden="true"] { display: none; }
}

/* 2. Sur-titres invisibles sur fond sombre.
   .section__label et .section__label--light recevaient tous deux la même
   couleur bleu ardoise (var(--red)). Sur la bande « Stack technique »
   (#13263a) cela donnait 1,35:1 — illisible. On rétablit une teinte claire
   dans les contextes sombres : 11,3:1. */
.section--dark .section__label,
.section--dark .section__label--light,
.tech-band .section__label,
.tech-band .section__label--light,
.page-hero .section__label,
.cta-section .section__label { color: var(--lime); }

.section--dark .section__label::before,
.tech-band .section__label::before,
.page-hero .section__label::before,
.cta-section .section__label::before { background: var(--lime); }

/* 3. Texte secondaire sous le seuil WCAG AA.
   --gray-500 (#727d84) tombait à 3,57:1 sur le gris clair et 4,15:1 sur le
   blanc. Assombri d'un cran : 4,75 à 5,53 selon le fond, sans changer la
   perception de gris secondaire. */
:root { --gray-500: #5f6970; }

/* 4. Titre de CTA illisible sur la variante claire.
   .cta-section__title est passé en blanc sans condition plus haut, ce qui
   écrase la règle .cta-section--light .cta-section__title { color: var(--dark) }
   de legacy_components.css. Un CTA sur fond clair affichait donc un titre
   blanc sur crème — invisible. On rétablit la teinte foncée dans ce cas. */
.cta-section--light .cta-section__title { color: var(--dark); }
.cta-section--light .cta-section__desc { color: var(--gray-700); }

/* ── Coordonnées communes aux implantations ── */
.locations__contact { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--hairline, rgba(13,27,42,.10)); }
.locations__contact-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: 22px;
}
.contact-lines { display: flex; flex-wrap: wrap; gap: 14px 48px; }
.contact-line { display: flex; align-items: flex-start; gap: 12px; }
.contact-line__icon { display: flex; color: var(--lime-dark); flex-shrink: 0; margin-top: 1px; }
.contact-line__body { display: flex; flex-direction: column; gap: 2px; }
.contact-line__label { font-size: 12px; color: var(--gray-500); }
.contact-line__value { font-size: 15.5px; font-weight: 600; color: var(--ink, #0d1b2a); }
a.contact-line__value:hover { color: var(--lime-dark); text-decoration: underline; text-underline-offset: 3px; }
.section--dark .locations__contact { border-top-color: rgba(255,255,255,.14); }
.section--dark .locations__contact-title { color: var(--gray-300); }
.section--dark .contact-line__icon { color: var(--lime); }
.section--dark .contact-line__label { color: var(--gray-300); }
.section--dark .contact-line__value { color: #fff; }
@media (max-width: 560px) { .contact-lines { gap: 16px; flex-direction: column; } }
