/* =========================================================
   PLT PROCUREMENT — styles.css (audit + nettoyage)
   Objectif : design moderne + institutionnel, desktop-first
   Règles : fond clair => texte foncé | fond foncé => texte clair | CTA => bleu
========================================================= */

/* =========================================================
   1) DESIGN TOKENS (source de vérité)
   - Modifie ici les couleurs / tailles (le reste s’adapte)
========================================================= */
:root {
  /* ---------- Couleurs (thème clair) ---------- */
  --bg: #f6f8fb;                 /* #couleur fond global */
  --panel: #ffffff;              /* #couleur surfaces (cartes, blocs) */
  --panel-hover: #f3f6fb;        /* #couleur hover surfaces */
  --border: rgba(15, 23, 42, 0.12); /* #couleur bordures */

  /* ---------- Texte (thème clair) ---------- */
  --text: rgba(15, 23, 42, 0.92);       /* #couleur texte principal */
  --text-muted: rgba(15, 23, 42, 0.70); /* #couleur texte secondaire */
  --text-soft: rgba(15, 23, 42, 0.55);  /* #couleur texte tertiaire */

  /* ---------- Accent (liens / CTA) ---------- */
  --accent: #1f5eff;            /* #couleur bouton principal / liens */
  --accent-2: #6aa6ff;          /* #couleur gradient / highlight */

  /* ---------- Sections sombres (hero, secteurs, CTA, footer) ---------- */
  --dark-bg: #0b1f4a;                       /* #couleur fond sombre principal */
  --dark-bg-2: rgba(11, 15, 22, 0.96);      /* #couleur fond sombre mobile menu */
  --dark-border: rgba(255, 255, 255, 0.18); /* #couleur bordures sur fond sombre */
  --dark-text: rgba(255, 255, 255, 0.92);   /* #couleur texte principal sombre */
  --dark-text-muted: rgba(255, 255, 255, 0.72); /* #couleur texte secondaire sombre */

  /* ---------- Layout ---------- */
  --container: 1120px;          /* largeur max du contenu */
  --radius: 16px;               /* arrondi standard */
  --radius-sm: 12px;            /* arrondi boutons/chips */
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10); /* ombre standard */

  /* ---------- Typo ---------- */
  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-28: 28px;

  /* ---------- Espacements ---------- */
  --s-10: 10px;
  --s-12: 12px;
  --s-14: 14px;
  --s-16: 16px;
  --s-18: 18px;
  --s-24: 24px;
  --s-28: 28px;
  --s-56: 56px;
  --s-72: 72px;
}

/* =========================================================
   2) RESET & BASE
   - Base stable, responsive, accessibilité
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 700px at 25% -10%, rgba(31, 94, 255, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(106, 166, 255, 0.45); /* #couleur focus */
  outline-offset: 2px;
  border-radius: 10px;
}

::selection {
  background: rgba(31, 94, 255, 0.22); /* #couleur sélection */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   3) LAYOUT UTILITIES
   - Container + sections + titres
========================================================= */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: var(--s-72) 0;
}

.section--tight {
  padding: var(--s-56) 0;
}

.section--alt {
  background: rgba(15, 23, 42, 0.02); /* fond doux section (thème clair) */
}

.section__header {
  margin-bottom: 20px;
}

.section__title {
  margin: 0 0 var(--s-10);
  font-size: var(--fs-28);
  letter-spacing: -0.02em;
  color: var(--text);
}

.section__subtitle {
  margin: 0;
  max-width: 72ch;
  color: var(--text-muted);
  font-size: var(--fs-16);
}

/* =========================================================
   4) BUTTONS
   - Base commune + variantes
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 var(--s-16);
  border-radius: var(--radius-sm);
  font-weight: 650;
  font-size: var(--fs-14);
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: transform 160ms ease, filter 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: rgba(15, 23, 42, 0.10);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.18);
}

.btn--ghost:hover {
  background: rgba(15, 23, 42, 0.05);
}

.btn--full {
  width: 100%;
}

/* =========================================================
   5) NAVBAR
   - Sticky + desktop nav + mobile menu
========================================================= */
.topnav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.topnav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-16);
  min-height: 72px;
}

.topnav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-10);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: var(--fs-14);
  white-space: nowrap;
  color: var(--text);
}

.topnav__brandMark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(31, 94, 255, 0.18);
}

.topnav__nav {
  display: flex;
  justify-content: center;
  gap: var(--s-18);
}

.topnav__link {
  color: var(--text-muted);
  font-weight: 560;
  font-size: var(--fs-14);
  padding: 10px 8px;
  border-radius: 10px;
}

.topnav__link:hover,
.topnav__link.is-active {
  color: var(--text);
  background: rgba(15, 23, 42, 0.05);
}

.topnav__actions {
  display: inline-flex;
  align-items: center;
  gap: var(--s-10);
  justify-self: end;
}

.topnav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.topnav__burger {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(15, 23, 42, 0.72);
  position: relative;
  margin: 0 auto;
}

.topnav__burger::before,
.topnav__burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(15, 23, 42, 0.72);
}

.topnav__burger::before { top: -6px; }
.topnav__burger::after  { top:  6px; }

.topnav__mobile {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: var(--dark-bg-2); /* fond sombre mobile */
}

.topnav__mobileNav {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: var(--s-14) 0 var(--s-18);
  display: grid;
  gap: 6px;
}

.topnav__mobileLink {
  color: rgba(255, 255, 255, 0.78);
  padding: 12px 10px;
  border-radius: 12px;
  font-weight: 650;
}

.topnav__mobileLink:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.topnav__mobileLink.is-active {
  color: #fff;
}

.topnav__mobileCta {
  margin-top: var(--s-10);
}

@media (max-width: 980px) {
  .topnav__nav { display: none; }
  .topnav__toggle {
    display: inline-grid;
    place-items: center;
    cursor: pointer;
  }
}

/* =========================================================
   6) HERO
   - Image + overlay + carte de contenu
========================================================= */
.hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #070a10; /* fond de secours si image absente */
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/Hero.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1.04) contrast(1.04);
  animation: heroLive 20s ease-in-out infinite;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 15, 22, 0.88) 0%,
    rgba(11, 15, 22, 0.55) 55%,
    rgba(11, 15, 22, 0.20) 100%
  );
}

.hero__content {
  position: relative;
  padding: var(--s-56) 0;
}

.hero__card {
  width: min(640px, 100%);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero__eyebrow {
  margin: 0 0 10px;
  color: rgba(106, 166, 255, 0.95); /* #couleur label hero */
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: var(--fs-12);
}

.hero__title {
  margin: 0 0 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.06;
}

.hero__text {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-16);
  line-height: 1.6;
  max-width: 62ch;
}

.hero__cta {
  display: flex;
  gap: var(--s-12);
  flex-wrap: wrap;
  margin-bottom: var(--s-16);
}

.hero__bullets {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-14);
  line-height: 1.7;
}

@keyframes heroLive {
  0%   { transform: scale(1.06) translateY(0); }
  50%  { transform: scale(1.10) translateY(-12px); }
  100% { transform: scale(1.06) translateY(0); }
}

/* =========================================================
   7) GRIDS & COMPONENTS (cards, tech, pills)
   - Contenu “thème clair”
========================================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-18);
}

/* Card minimaliste (image + texte) */
.card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: transform 160ms ease;
}

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

.card__image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10); /* FIX: 0,10 -> 0.10 */
}

.card__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.card__text {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.card__link {
  color: var(--accent);
  font-weight: 750;
  font-size: 14px;
}

.card__link:hover {
  text-decoration: underline;
}

/* Tech grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-14);
}

.tech {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-18);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tech:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 94, 255, 0.22);
  background: var(--panel-hover);
}

.tech__title {
  margin: 0 0 var(--s-10);
  font-size: var(--fs-16);
  font-weight: 750;
  color: var(--text);
}

.tech__text {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-14);
  line-height: 1.6;
}

/* Pills */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-10);
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.10);
  color: var(--text-muted);
  font-weight: 650;
  font-size: var(--fs-14);
}

/* =========================================================
   8) HIGHLIGHTS & INTRO (optionnels)
========================================================= */
.highlights {
  padding: var(--s-72) 0;
  border-top: 1px solid var(--border);
}

.highlights__title {
  margin: 0 0 var(--s-10);
  font-size: var(--fs-28);
  font-weight: 800;
  color: var(--text);
}

.highlights__subtitle {
  margin: 0 0 var(--s-24);
  color: var(--text-muted);
  font-size: var(--fs-16);
  max-width: 78ch;
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-18);
}

.highlight-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.highlight-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 94, 255, 0.22);
  background: var(--panel-hover);
}

.highlight-card__image-wrapper {
  position: relative;
  padding-top: 58%;
}

.highlight-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-card__title {
  margin: var(--s-16) var(--s-16) var(--s-10);
  font-size: var(--fs-16);
  font-weight: 780;
  color: var(--text);
}

.highlight-card__text {
  margin: 0 var(--s-16) var(--s-18);
  color: var(--text-muted);
  font-size: var(--fs-14);
  line-height: 1.65;
}

.intro {
  padding: var(--s-72) 0;
  border-top: 1px solid var(--border);
}

.intro__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.intro__title {
  margin: 0 0 var(--s-16);
  font-size: var(--fs-28);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.intro__text p {
  margin: 0 0 var(--s-16);
  color: var(--text);
  font-size: var(--fs-16);
  line-height: 1.75;
}

.intro__note {
  margin-top: var(--s-16);
  color: var(--text-soft);
  font-size: var(--fs-14);
}

/* =========================================================
   9) SECTEURS — bandeau split (fond sombre)
   - Harmonisé avec le Hero
========================================================= */
.sectors-band {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  width: 90%;
  margin-left: 0;
  margin-right: auto;
  min-height: 420px;

  background: var(--dark-bg); /* #couleur fond secteurs */

  border-left: 4px solid rgba(255, 255, 255, 0.25); /* accent discret */
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);

  overflow: hidden;
}

.sectors-band:hover {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.sectors-band__left {
  padding: 48px 56px;
  color: var(--dark-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.sectors-band__kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(102, 163, 255, 0.95);
}

.sectors-band__title {
  margin: 0;
  color: #fff;
  font-weight: 850;
  letter-spacing: -0.02em;
  font-size: clamp(30px, 2.4vw, 40px);
  line-height: 1.08;
}

.sectors-band__text {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-text-muted); /* FIX: --footer-muted inexistant */
}

.sectors-band__right {
  position: relative;
  min-height: 420px;
}

.sectors-band__imgs {
  position: absolute;
  inset: 0;
}

.sectors-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.0s ease, transform 6s ease;
  filter: saturate(1.05) contrast(1.05);
}

.sectors-band__img.is-active {
  opacity: 1;
  transform: scale(1);
}

.sectors-band__right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 29, 68, 0.35) 0%,
    rgba(11, 29, 68, 0.10) 55%,
    rgba(11, 29, 68, 0.00) 100%
  );
}

@media (max-width: 1100px) {
  .sectors-band { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .sectors-band {
    width: 100%;
    grid-template-columns: 1fr;
    min-height: 520px;
    border-radius: 0;
  }
  .sectors-band__left { padding: 40px 24px; }
  .sectors-band__right { min-height: 320px; }
}

/* =========================================================
   10) FINAL CTA (fond sombre) + trust icons
   - Objectif : rendu identique sur toutes les pages
   - FIX : variables dark garanties + aucun masquage + grille stable
========================================================= */

/* (À placer UNE SEULE FOIS dans ton :root global, en haut du fichier)
:root{
  --dark-bg: #0b1f4a;                 #couleur fond sombre CTA/footer
  --dark-border: rgba(255,255,255,0.18); #couleur bordure sur sombre
  --dark-text-muted: rgba(255,255,255,0.80); #texte secondaire sur sombre
}
*/

.final-cta {
  margin-top: 72px;
  padding: 52px 0 0;
  background: var(--dark-bg);                 /* #couleur fond CTA final */
  border-top: 1px solid var(--dark-border);   /* #couleur bordure */
  overflow: visible;                          /* FIX: évite masquage */
}

.final-cta__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  overflow: visible;                          /* FIX: évite masquage */
}

.final-cta__left,
.final-cta__right {
  overflow: visible;                          /* FIX: évite masquage */
}

.final-cta__title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;                                /* texte clair sur fond sombre */
}

.final-cta__text {
  margin: 0 0 14px;
  color: var(--dark-text-muted);              /* texte secondaire clair */
  font-size: 15px;
  line-height: 1.7;
}

.final-cta__email {
  display: inline-block;
  font-weight: 800;
  color: var(--accent-2);                     /* #couleur lien sur sombre */
}

.final-cta__email:hover {
  text-decoration: underline;
}

/* Trust row : grille stable (évite l’écrasement / disparition) */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)); /* FIX: min width */
  gap: 14px;
  align-items: start;
}

.trust {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.trust__icon {
  width: 34px;
  height: 34px;
  stroke: var(--accent-2);                    /* #couleur icônes sur sombre */
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
}

.trust__label {
  font-size: 13px;
  font-weight: 750;
  color: rgba(255, 255, 255, 0.86);           /* texte label clair */
}

.final-cta__meta {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);           /* texte meta clair */
}


/* =========================================================
   11) FOOTER (dans le CTA, même fond sombre)
   - IMPORTANT : dans ton HTML, utilise UNIQUEMENT class="footer--in-cta"
========================================================= */
.footer--in-cta {
  margin-top: 24px;
  padding: 12px 0;
  background: var(--dark-bg);                 /* #couleur fond footer */
  border-top: 1px solid var(--dark-border);   /* #couleur bordure */
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);           /* texte footer clair */
}


/* =========================================================
   12) RESPONSIVE
   - Ajustements colonnes + container mobile
========================================================= */
@media (max-width: 1100px) {
  .tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .trust-row {
    grid-template-columns: repeat(2, minmax(140px, 1fr)); /* stable mobile */
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .cards-grid,
  .highlights__grid {
    grid-template-columns: 1fr;
  }

  .hero__card {
    padding: 20px 18px;
  }

  .trust-row {
    grid-template-columns: 1fr;               /* ultra lisible petit mobile */
  }
}


/* =====================================================
   WHY PLT — cohérence texte + cartes cliquables
===================================================== */

/* Les 2 paragraphes partagent exactement la même largeur */
.why-copy{
  max-width: 92ch;      /* harmonise la “fin” visuelle */
  margin: 0 0 22px;
}

.why-copy p{
  margin: 0 0 12px;
  color: var(--text);
  font-size: var(--fs-16);
  line-height: 1.65;
}

.why-copy p:last-child{
  margin-bottom: 0;
}

/* Grille des cartes (3 colonnes desktop) */
.why-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-18);
  align-items: stretch;
}

/* Carte cliquable */
.why-point--link{
  display: block;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.02);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

/* Animation / hover (sobre) */
.why-point--link:hover{
  transform: translateY(-2px);
  border-color: rgba(31, 94, 255, 0.22);
  background: rgba(31, 94, 255, 0.05);
}

.why-point__title{
  margin: 0 0 8px;
  font-size: var(--fs-16);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.why-point__text{
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Indication discrète cliquable */
.why-point__hint{
  display: inline-block;
  color: var(--accent);
  font-weight: 750;
  font-size: 14px;
}

/* Accessibilité clavier */
.why-point--link:focus-visible{
  outline: 3px solid rgba(106, 166, 255, 0.45);
  outline-offset: 2px;
}

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



/* =====================================================
   FIX ROBUSTE — CTA FINAL : trust-row toujours visible
===================================================== */

/* Empêche toute découpe du contenu (si un parent a overflow:hidden ailleurs) */
.final-cta,
.final-cta__inner,
.final-cta__right {
  overflow: visible;
}

/* Grille stable des 4 éléments */
.trust-row{
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 14px;
  align-items: start;
}

/* Chaque item reste visible et centré */
.trust{
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

/* Responsive */
@media (max-width: 980px){
  .trust-row{ grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}
@media (max-width: 520px){
  .trust-row{ grid-template-columns: 1fr; }
}





/* =========================================================
   SERVICES — 3 encadrés + fond bleu (CTA-like) + alignements
   Objectif :
   - 3 sections en encadrés identiques (premium)
   - fond bleu institutionnel (comme CTA)
   - H1 plus imposant
   - chips centrées
   - texte justifié (style Word)
========================================================= */

/* =========================
   0) Variables (si pas déjà)
========================= */
/* Mets ceci dans :root global (UNE fois) */
:root{
  --services-blue: var(--accent);                 /* #couleur bleu services (CTA-like) */
  --services-blue-2: var(--accent-2);             /* #bleu secondaire */
  --services-blue-ink: rgba(255,255,255,0.92);    /* #texte principal sur bleu */
  --services-blue-muted: rgba(255,255,255,0.74);  /* #texte secondaire sur bleu */
  --services-blue-border: rgba(255,255,255,0.16); /* #bordure sur bleu */
}

/* =========================================================
   PAGE HERO IMAGE + ENCART FLOTTANT (transparent)
   Objectif :
   - une grande image en fond
   - un rectangle semi-transparent qui "flotte" dessus
   - titre blanc dans l'encart
   - même bleu que le CTA (var(--accent))
========================================================= */

/* =========================================================
   PAGE HERO IMAGE + ENCART FLOTTANT (fond uni, débordement)
========================================================= */

.page-hero-overlay{
  position: relative;
  height: 420px; /* hauteur image */
  overflow: visible; /* IMPORTANT pour laisser dépasser le panel */
  background: #0b0f16;
}

/* Image de fond */
.page-hero-overlay__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.03) contrast(1.03);
}

/* Léger voile global */
.page-hero-overlay::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(7,10,16,0.22);
  z-index: 1;
}

/* Wrapper contenu */
.page-hero-overlay__content{
  position: relative;
  z-index: 2;
  height: 100%;
}

/* Positionnement du panel */
.page-hero-overlay__panel-wrap{
  position: absolute;
  left: max(24px, calc((100% - var(--container)) / 2));
  bottom: -80px; /* 20 % sous l’image */
}

/* Rectangle flottant */
.page-hero-overlay__panel{
  width: 560px;
  min-height: 220px;
  padding: 36px 38px;

  background: rgba(31,94,255,0.38); /* bleu CTA semi-transparent */
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);

  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(15,23,42,0.30);
}

/* Titre */
.page-hero-overlay__title{
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(42px, 4.5vw, 60px);
}

/* Espace après le hero pour absorber le débordement */
.page-hero-spacer{
  height: 100px;
}

/* Responsive */
@media (max-width: 980px){
  .page-hero-overlay{
    height: 360px;
  }

  .page-hero-overlay__panel-wrap{
    left: 24px;
    right: 24px;
  }

  .page-hero-overlay__panel{
    width: auto;
  }
}

@media (max-width: 640px){
  .page-hero-overlay{
    height: 300px;
  }

  .page-hero-overlay__panel-wrap{
    bottom: -70px;
  }

  .page-hero-overlay__panel{
    min-height: 180px;
    padding: 26px 22px;
  }
}



/* =========================================================
   SERVICES — aligné, justifié, largeur “site pro”
========================================================= */

/* Largeur de lecture : plus large que 72ch, mais reste propre */
:root{
  --read-max: 1080px; /* #largeur lecture services */
  --read-conclusion: 1080px;
}

/* Phrase sous le titre (lead) */
.services-lead{
  max-width: var(--read-max);
  margin: 0 auto 36px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  text-align: justify;
  text-justify: inter-word;
}

/* Rythme vertical */
.services-blocks{
  max-width: var(--read-max);
  margin: 0 auto;
  display: grid;
  gap: 56px;
}

/* Bloc service : simple + séparation fine */
.service-block{
  padding-top: 18px;
  border-top: 1px solid rgba(15,23,42,0.10);
}

/* Titres */
.service-block__title{
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Paragraphes : prennent la largeur (comme sites pro) */
.service-block__text{
  margin: 0 0 22px;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
}

/* Highlights centrés */
.service-block__highlights{
  margin-top: 28px;
  display: flex;
  justify-content: center;  /* CENTRÉ */
  flex-wrap: wrap;
  gap: 14px;
}

/* Style des tags */
.hl{
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.10);
  color: var(--text);
  font-weight: 750;
  font-size: 13px;
  white-space: nowrap;
}

/* Lien */
.service-block__link{
  margin-top: 18px;
  display: flex;
  justify-content: center; /* cohérence avec highlights */
}

/* Mobile : éviter le justifié (espaces moches) */
@media (max-width: 640px){
  .services-lead,
  .service-block__text{
    text-align: left;
  }

  .service-block__title{
    font-size: 24px;
  }

  .hl{
    white-space: normal;
    text-align: center;
  }
}
/* =========================================================
   SERVICES — conclusion (titre différenciant, largeur maîtrisée)
========================================================= */

.services-conclusion{
  max-width: var(--read-conclusion); /* PLUS ÉTROIT que le reste */
  margin: 72px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(15,23,42,0.14);
}

.services-conclusion__title{
  max-width: var(--read-conclusion);
  margin: 0 0 22px;
  font-size: 30px;           /* un peu plus petit que ton screenshot actuel */
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.services-conclusion__content p{
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
}




/* assets/css/technologies.css */

/* =========================================================
   TECHNOLOGIES — Page styles
   Objectif :
   - Hero identique à Services (image + panneau transparent)
   - Intro compact, même dimension que Services
   - 1 techno par ligne : texte à gauche, image à droite
========================================================= */

/* =========================================================
   1) HERO PAGE (image + panneau)
========================================================= */
/* =====================================================
   PAGE HERO — commun Services / Technologies / Secteurs
   Objectif : image plein large + cartouche titre lisible
===================================================== */


/* =========================================================
   TECHNOLOGIES — lead identique à Services
========================================================= */

.technologies-lead{
  max-width: var(--read-max);     /* même largeur que services */
  margin: 0 auto 28px;            /* espace AVANT les technos (ajuste ici) */
  font-size: 18px;                /* même taille que services */
  line-height: 1.8;
  color: var(--text);
  text-align: justify;
  text-justify: inter-word;
}

/* Mobile : pas de justifié */
@media (max-width: 640px){
  .technologies-lead{ text-align: left; }
}




.page-hero{
  position: relative;
  width: 100%;
  min-height: 340px;
  background: #0b1f4a; /* fallback */
  overflow: hidden;
}

/* Image de fond */
.page-hero__media{
  position: absolute;
  inset: 0;
}

.page-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay léger pour lisibilité */
.page-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 31, 74, 0.75) 0%,
    rgba(11, 31, 74, 0.55) 40%,
    rgba(11, 31, 74, 0.15) 70%,
    rgba(11, 31, 74, 0.0) 100%
  );
}

/* Container interne */
.page-hero__inner{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Cartouche titre */
.page-hero__panel{
  background: rgba(11, 31, 74, 0.85);
  padding: 32px 40px;
  border-radius: 10px;
  max-width: 520px;
}

/* Titre page */
.page-hero__title{
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Sous-titre optionnel */
.page-hero__subtitle{
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* =====================================================
   Responsive
===================================================== */
@media (max-width: 980px){
  .page-hero{
    min-height: 280px;
  }

  .page-hero__panel{
    padding: 26px 28px;
    max-width: 100%;
  }

  .page-hero__title{
    font-size: 32px;
  }
}

/* =========================================================
   2) INTRO — compact comme Services
========================================================= */
.section__header--compact{
  margin-bottom: 18px; /* évite l’espace inutile */
}

/* =========================================================
   3) TECHNO ROWS — 1 techno par ligne
========================================================= */
.tech-rows{
  display: grid;
  gap: 22px;
}

/* Bande complète cliquable */
.tech-row{
  display: grid;
  grid-template-columns: 1.9fr 1.55fr; /* texte | image (image à droite) */
  min-height: 320x;

  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15,23,42,0.10);

  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.tech-row:hover{
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(15,23,42,0.14);
  border-color: rgba(31,94,255,0.22);
}

/* Image à droite */
.tech-row__media{
  order: 2;
  position: relative;
  background: #0b1f4a;
}
.tech-row__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Panneau infos à gauche */
.tech-row__panel{
  order: 1;
  padding: 26px 28px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.tech-row__title{
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.tech-row__subtitle{
  font-size: 15px;
  font-weight: 750;
  color: var(--text-muted);
}

/* Facts = plus pro que des puces */
.tech-row__facts{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 6px;
}

.tech-fact{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: baseline;

  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15,23,42,0.03);
  border: 1px solid rgba(15,23,42,0.08);
}

.tech-fact span{
  font-size: 13px;
  font-weight: 800;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tech-fact strong{
  font-size: 15px;
  font-weight: 750;
  color: var(--text);
}

.tech-row__note{
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: justify;
}

/* Responsive */
@media (max-width: 980px){
  .tech-row{
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .tech-row__media{
    order: 1; /* sur mobile : image au-dessus */
    height: 260px;
  }

  .tech-row__panel{
    order: 2;
  }

  .tech-fact{
    grid-template-columns: 110px 1fr;
  }
}

@media (max-width: 640px){
  .tech-row__panel{
    padding: 18px 18px;
  }

  .tech-row__title{
    font-size: 22px;
  }

  .tech-row__media{
    height: 220px;
  }

  .page-hero__lead,
  .tech-row__note{
    text-align: left;
  }
}

/* =========================================================
   TECHNOLOGIES — conclusion (alignée style Services)
========================================================= */

.tech-conclusion{
  margin-top: 64px;
}

.tech-conclusion .container{
  max-width: var(--read-conclusion, 980px); /* même logique que tes pages */
}

.tech-conclusion__title{
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.tech-conclusion__content p{
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
}

@media (max-width: 640px){
  .tech-conclusion__content p{
    text-align: left;
  }
}


/* =========================================================
   SECTEURS — styles (alignés Services/Technologies)
   Objectif :
   - Intro typée "lead" (même largeur/typo)
   - Grille propre et lisible
   - Conclusion comme sur Services
========================================================= */

/* Lead (identique logique services-lead) */
.sectors-lead{
  max-width: var(--read-max);
  margin: 0 auto 28px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  text-align: justify;
  text-justify: inter-word;
}

/* Grille secteurs */
.sectors-grid{
  max-width: var(--read-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* Cartes secteurs */
.sector-card{
  padding: 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.02);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.sector-card:hover{
  transform: translateY(-2px);
  border-color: rgba(31,94,255,0.22);
  background: var(--panel-hover);
}

.sector-card__title{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.sector-card__text{
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
}

/* Conclusion */
.sectors-conclusion{
  max-width: var(--read-conclusion);
  margin: 64px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(15,23,42,0.14);
}

.sectors-conclusion__title{
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.sectors-conclusion__content p{
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
}

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

@media (max-width: 640px){
  .sectors-lead,
  .sector-card__text,
  .sectors-conclusion__content p{
    text-align: left;
  }
}


/* =========================================================
   METHODE — styles éditoriaux (pro, sans “cases”)
   Objectif :
   - lecture fluide (comme Services)
   - étapes scannables sans cartes
   - largeur maîtrisée + texte justifié
========================================================= */

/* Lead (même logique services-lead) */
.method-lead{
  max-width: var(--read-max);
  margin: 0 auto 34px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  text-align: justify;
  text-justify: inter-word;
}

/* Flow des étapes : vertical, séparations fines */
.method-flow{
  max-width: var(--read-max);
  margin: 0 auto;
  display: grid;
  gap: 30px;
}

.method-step{
  padding-top: 18px;
  border-top: 1px solid rgba(15,23,42,0.10);
}

.method-step__kicker{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.method-step__title{
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.method-step__text{
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
}

/* Éléments à fournir */
.method-requirements{
  max-width: var(--read-max);
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(15,23,42,0.12);
}

.method-requirements__title{
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.method-requirements__text{
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
}

.method-list{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.method-list li{
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-muted);
}

/* Conclusion */
.method-conclusion{
  max-width: var(--read-conclusion);
  margin: 64px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(15,23,42,0.14);
}

.method-conclusion__title{
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.method-conclusion__content p{
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
}

/* Mobile : pas de justifié */
@media (max-width: 640px){
  .method-lead,
  .method-step__text,
  .method-requirements__text,
  .method-conclusion__content p{
    text-align: left;
  }

  .method-step__title{
    font-size: 24px;
  }
}




/* =========================================================
   A PROPOS — éditorial pro (aligné Services)
========================================================= */

.about-lead{
  max-width: var(--read-max);
  margin: 0 auto 36px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  text-align: justify;
  text-justify: inter-word;
}

.about-blocks{
  max-width: var(--read-max);
  margin: 0 auto;
  display: grid;
  gap: 56px;
}

.about-block{
  padding-top: 18px;
  border-top: 1px solid rgba(15,23,42,0.10);
}

.about-block__title{
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-block__text{
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
}

/* Conclusion */
.about-conclusion{
  max-width: var(--read-conclusion);
  margin: 72px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(15,23,42,0.14);
}

.about-conclusion__title{
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-conclusion__content p{
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
}

/* Mobile : pas de justifié */
@media (max-width: 640px){
  .about-lead,
  .about-block__text,
  .about-conclusion__content p{
    text-align: left;
  }

  .about-block__title{
    font-size: 24px;
  }
}


/* =========================================================
   CONTACT — simple, pro, cohérent site
   Objectif :
   - 2 colonnes (email + checklist) / (formulaire)
   - texte justifié + largeur maîtrisée
========================================================= */

.contact-lead{
  max-width: var(--read-max);
  margin: 0 auto 28px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  text-align: justify;
  text-justify: inter-word;
}

.contact-grid{
  max-width: var(--read-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-panel{
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.02);
}

.contact-title{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.contact-text{
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-email{
  font-weight: 900;
  color: var(--accent);
  text-decoration: none;
}

.contact-email:hover{
  text-decoration: underline;
}

.contact-list{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
}

.contact-note{
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* Form */
.contact-form{
  display: grid;
  gap: 12px;
}

.field{
  display: grid;
  gap: 6px;
}

.field__label{
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.field__input{
  width: 100%;
  border: 1px solid rgba(15,23,42,0.14);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.field__input:focus{
  border-color: rgba(31,94,255,0.35);
  box-shadow: 0 0 0 4px rgba(31,94,255,0.12);
}

.field__textarea{
  resize: vertical;
  min-height: 140px;
}

.contact-disclaimer{
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
  text-align: left;
}

/* Mobile */
@media (max-width: 980px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .contact-lead{
    text-align: left;
  }
}






/* =========================================================
   PAGE HERO (pages internes) — animation douce type Home
   Objectif : léger mouvement premium, discret
========================================================= */

.page-hero-overlay__img{
  animation: pageHeroLive 18s ease-in-out infinite;
  will-change: transform;
  transform-origin: center;
}

/* Même logique que le hero home, un peu plus discret */
@keyframes pageHeroLive{
  0%   { transform: scale(1.06) translateY(0); }
  50%  { transform: scale(1.10) translateY(-10px); }
  100% { transform: scale(1.06) translateY(0); }
}

/* Respect préférences utilisateur */
@media (prefers-reduced-motion: reduce){
  .page-hero-overlay__img{
    animation: none !important;
  }
}
