/* ==========================================================================
   Telepac Technology — feuille de style unique
   Palette : encre nuit #0A0C18, ambre de balisage #E8A33D.
   ========================================================================== */

:root {
  --ink:      #0A0C18;
  --ink-2:    #0E1324;
  --ink-3:    #1B2440;
  --paper:    #F4F5F9;
  --white:    #FFFFFF;
  --steel:    #4A5068;
  --steel-2:  #9BA0B4;
  --rule:     #E7E8EF;
  --rule-2:   #D7DAE6;
  --signal:   #E8A33D;
  --signal-d: #C27E1F;
  --text:     #1C2030;

  --display: 'Space Grotesk', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --wrap-head: 1460px;
  --gutter: clamp(20px, 5vw, 56px);
  --head-h: 104px;
  --sec-y: clamp(2.5rem, 4.2vw, 4rem);
}

/* ------------------------------------------------------------------- reset */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; color: var(--ink); }
p { margin: 0; }
button { font: inherit; }

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.021em;
}
h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.005em;
}

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.skip {
  position: absolute; left: var(--gutter); top: 0;
  transform: translateY(-120%);
  background: var(--signal); color: var(--ink);
  padding: .7rem 1.1rem; font-weight: 700; z-index: 100;
}
.skip:focus { transform: translateY(0); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ boutons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.6rem;
  font-weight: 700; font-size: .95rem; line-height: 1;
  text-decoration: none; border: 1px solid transparent; border-radius: 3px;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-sm { padding: .68rem 1.1rem; font-size: .875rem; }
.btn-accent { background: var(--signal); color: var(--ink); }
.btn-accent:hover { background: var(--signal-d); }
.btn-ghost-light { border-color: rgba(255,255,255,.34); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.07); }

/* ------------------------------------------------------------------ marque */

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
/* Le logo est en bleu et gris foncés : sur fond sombre il lui faut du clair
   derrière. Plutôt qu'un cartouche blanc aux bords nets, un halo en dégradé
   qui s'éteint dans le fond — le logo se détache sans cadre visible. */
/* Deux versions du même logo, aucune n'a besoin de fond :
   sur bandeau sombre, le tracé est rempli d'un dégradé ambre-bleu ;
   sur bandeau clair (en-tête opaque au défilement), le logo d'origine. */
.brand-badge {
  position: relative; display: inline-flex; align-items: center;
  padding: 0; background: none;
  transition: transform .2s ease;
}
.brand:hover .brand-badge { transform: translateY(-1px); }
.brand-img { position: relative; height: 58px; width: auto; display: block; }
.brand-img-light { display: none; }
.is-solid .brand-img-dark { display: none; }
.is-solid .brand-img-light { display: block; }

/* ------------------------------------------------------------- en-tête standard */

.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--head-h);
  transition: background-color .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-head.is-solid {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--rule);
}
/* L'en-tête déborde la largeur de lecture : le menu tient ainsi sur une seule ligne. */
.site-head .wrap { max-width: var(--wrap-head); }
.head-inner { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); height: var(--head-h); }

.nav { margin-inline-start: auto; min-width: 0; }
.nav ul { display: flex; flex-wrap: nowrap; gap: clamp(.85rem, 1.6vw, 1.6rem); }
.nav a {
  display: block; white-space: nowrap;
  text-decoration: none; color: rgba(255,255,255,.86);
  font-size: .9rem; font-weight: 500;
  padding-block: .4rem; border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--white); border-bottom-color: var(--signal); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--signal); }
.is-solid .nav a { color: var(--ink-2); }
.is-solid .nav a:hover, .is-solid .nav a[aria-current="page"] { color: var(--ink); }

.head-actions { display: flex; align-items: center; gap: .75rem; flex: none; }
.lang {
  text-decoration: none; color: rgba(255,255,255,.8);
  font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  padding: .4rem .55rem; border: 1px solid rgba(255,255,255,.26); border-radius: 3px;
}
.lang:hover { color: var(--white); border-color: rgba(255,255,255,.6); }
.is-solid .lang { color: var(--ink-2); border-color: var(--rule-2); }
.is-solid .lang:hover { color: var(--ink); border-color: var(--ink-3); }

.burger { display: none; background: none; border: 0; padding: .6rem .2rem; cursor: pointer; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--white); }
.burger span + span { margin-top: 6px; }
.is-solid .burger span { background: var(--ink); }

.m-nav { position: fixed; inset: var(--head-h) 0 auto 0; background: var(--ink); z-index: 59; padding: 1rem var(--gutter) 2rem; }
.m-nav[hidden] { display: none; }
.m-nav a { color: var(--white); text-decoration: none; }
.m-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.1); }
.m-nav > ul > li > a {
  display: block; padding: 1rem 0;
  font-family: var(--display); font-size: 1.25rem; font-weight: 600;
}
.m-nav-foot { display: flex; gap: 1.5rem; padding-top: 1.4rem; color: var(--steel-2); font-size: .95rem; }

/* --------------------------------------------------------------------- hero (pages intérieures) */

.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  padding-top: var(--head-h);
  color: var(--white);
}
/* Le voile s'ouvre vers la droite : le texte reste lisible à gauche,
   la photo reste visible à droite au lieu de virer au noir. */
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(96deg,
      rgba(10,12,24,.95) 0%,
      rgba(10,12,24,.90) 42%,
      rgba(10,12,24,.62) 66%,
      rgba(10,12,24,.27) 86%,
      rgba(10,12,24,.13) 100%),
    linear-gradient(180deg, rgba(10,12,24,.45) 0%, transparent 28%),
    radial-gradient(90% 70% at 18% 8%, rgba(232,163,61,.13), transparent 62%);
}
.hero-ph { position: absolute; inset: 0; }
.hero-ph img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  filter: brightness(1.22) contrast(1.04) saturate(1.06);
}
.plot-wrap { position: absolute; inset: 0; z-index: 1; color: #3A4468; opacity: .4; }
.plot { width: 100%; height: 100%; }
.plot-arcs { opacity: .85; }

.hero-inner {
  position: relative; z-index: 2;
  padding-top: clamp(2.75rem, 5.5vw, 5rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 4rem);
  max-width: var(--wrap);
}
.kicker {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.02rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1.1rem;
}
.ico-k { width: 21px; height: 21px; color: var(--signal); flex: none; }
.hero h1 { color: var(--white); max-width: 18ch; text-shadow: 0 2px 18px rgba(8,10,20,.45); }
.hero .lead {
  margin-top: 1.25rem; max-width: 54ch;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.58; color: #C7CBDC;
}
.hero-acts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

.hero-sub .hero-inner {
  padding-top: clamp(2.5rem, 4.5vw, 4rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.hero-sub h1 { max-width: 22ch; font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.hero-sub .lead { max-width: 60ch; }

.hero-tabs { display: flex; gap: .6rem; margin-top: 1.8rem; flex-wrap: wrap; }
.hero-tabs a {
  font-family: var(--display); font-weight: 600; font-size: .92rem;
  padding: .55rem 1.1rem; border-radius: 999px; text-decoration: none;
  border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85);
}
.hero-tabs a:hover { border-color: var(--white); color: var(--white); }
.hero-tabs a.is-signal { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.hero-tabs a.is-signal:hover { background: var(--signal-d); border-color: var(--signal-d); color: var(--ink); }

/* ----------------------------------------------------------------- sections */

.sec { padding-block: var(--sec-y); }
.sec-values, .sec-sectors, .sec-bens { background: var(--paper); }
.sec-figures, .sec-sols { background: var(--white); }

/* Deux sections de même fond qui se suivent : une seule respiration entre
   elles, et non la somme de leurs deux marges. */
.sec-about + .sec-sols,
.sec-sols + .sec-sols,
.sec-bens + .sec-bens { padding-top: 0; }

/* Titre de section : seul il occupe la colonne de lecture ; accompagné d'un
   chapô il passe en deux colonnes, pour ne pas laisser la moitié droite vide. */
.sec-head { max-width: 56ch; margin-bottom: clamp(1.75rem, 2.6vw, 2.5rem); }
.sec-head:has(.sec-lead) {
  max-width: none;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: .6rem clamp(2rem, 4vw, 3.5rem); align-items: end;
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule);
}
.sec-head:has(.sec-lead) h2 { max-width: 20ch; }
.sec-lead { margin-top: .85rem; color: var(--steel); font-size: 1.05rem; }
.sec-head:has(.sec-lead) .sec-lead { margin-top: 0; max-width: 54ch; }

@media (max-width: 900px) {
  .sec-head:has(.sec-lead) { grid-template-columns: 1fr; align-items: start; }
  .sec-head:has(.sec-lead) h2 { max-width: none; }
}

.split {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(0, 1.45fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.split-head h2 { max-width: 15ch; }
.prose p { max-width: 62ch; }
.prose p + p { margin-top: 1rem; }
.prose .checks { margin: 1.25rem 0; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.6rem 2rem; }
.value { border-top: 1px solid var(--rule-2); padding-top: .95rem; }
.value p { margin-top: .5rem; color: var(--steel); font-size: .95rem; line-height: 1.58; }

.domain {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 3vw, 2.75rem); align-items: center;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--rule);
}
.domains .domain:last-child { border-bottom: 1px solid var(--rule); }
.domain-media { display: block; border-radius: 3px; overflow: hidden; background: var(--paper); }
.domain-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ico { width: 26px; height: 26px; color: var(--ink-3); flex: none; }
.domain-body h3 {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.45rem; letter-spacing: -0.012em; margin-bottom: .7rem;
}
.domain-body h3 .ico-k { color: var(--signal-d); width: 20px; height: 20px; }
.domain-body h3 a { text-decoration: none; }
.domain-body h3 a:hover { color: var(--ink-3); }
.domain-body p { max-width: 58ch; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.tags li {
  font-size: .85rem; color: var(--steel);
  border: 1px solid var(--rule-2); border-radius: 3px; padding: .32rem .66rem;
}
.arrow {
  display: inline-block; margin-top: 1.2rem;
  font-weight: 700; font-size: .95rem; color: var(--ink);
  text-decoration: none; border-bottom: 2px solid var(--signal); padding-bottom: 2px;
}
.arrow:hover { color: var(--signal-d); }

.sec-figures { background: var(--ink); color: var(--white); }
.figures-title { color: var(--white); margin-bottom: 2rem; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.figure { border-inline-start: 1px solid rgba(255,255,255,.16); padding-inline-start: 1.4rem; }
.figure-val {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; color: var(--white);
  letter-spacing: -0.02em;
}
.figure-lab { display: block; margin-top: .7rem; color: var(--steel-2); font-size: .97rem; }
.figure-todo { display: block; margin-top: .3rem; color: var(--signal); font-size: .78rem; }

.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.sector {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden;
}
.sector-body { padding: 1.15rem 1.25rem 1.4rem; }
.sector h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.sector h3 .ico-k { color: var(--signal-d); }
.sector p { color: var(--steel); font-size: .91rem; line-height: 1.58; }

.refs-title { margin-bottom: 1.6rem; }
.refs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.refs li {
  border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.refs img {
  max-height: 46px; width: auto; mix-blend-mode: multiply;
  filter: grayscale(1); opacity: .72; transition: filter .2s ease, opacity .2s ease;
}
.refs li:hover img { filter: none; opacity: 1; }

/* --------------------------------------------- solutions : icône + texte */

.sols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 4vw, 3.25rem); }
.sol {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem;
  border-top: 1px solid var(--rule); padding: 1.15rem .6rem 1.15rem 0;
  transition: border-color .2s ease;
}
.sol:hover { border-top-color: var(--signal); }
.sol p { margin-top: .35rem; color: var(--steel); font-size: .93rem; line-height: 1.58; max-width: 46ch; }

.sol-ico, .cap-ico, .ben-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: none; border-radius: 7px;
  background: rgba(232,163,61,.17); color: #A4680F;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.sol-ico .ico, .cap-ico .ico, .ben-ico .ico { width: 20px; height: 20px; }
.sol:hover .sol-ico, .cap:hover .cap-ico, .ben:hover .ben-ico {
  background: var(--signal); color: var(--ink); transform: translateY(-1px);
}

/* grille de capacités (page Solutions informatiques) */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1.4rem; }
.cap {
  border-top: 2px solid var(--rule-2); padding-top: 1rem;
  transition: border-color .2s ease, transform .2s ease;
}
.cap:hover { border-top-color: var(--signal); transform: translateY(-2px); }
.cap-ico { margin-bottom: .7rem; }
.cap h3 { font-size: 1.08rem; }
.cap p { margin-top: .45rem; color: var(--steel); font-size: .94rem; line-height: 1.58; }

.bens { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem 2rem; }
.ben {
  border-top: 2px solid var(--rule-2); padding-top: .95rem;
  transition: border-color .2s ease, transform .2s ease;
}
.ben:hover { border-top-color: var(--signal); transform: translateY(-2px); }
.ben-ico { width: 32px; height: 32px; margin-bottom: .6rem; }
.ben-ico .ico { width: 17px; height: 17px; }
.ben p { margin-top: .4rem; color: var(--steel); font-size: .94rem; line-height: 1.58; }

/* ------------------------------------- introduction : texte + photo d'appui */

.about-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center;
}
.sec-about h2 {
  font-size: clamp(1.5rem, 2.3vw, 2rem); max-width: 22ch; margin-bottom: 1.1rem;
  line-height: 1.16;
}
.about-copy .prose p { max-width: 58ch; }
.about-media { margin: 0; position: relative; }
/* 3:2 — le format natif de la plupart des photos : aucun recadrage inutile. */
.about-media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 5px; display: block;
}
/* Filet d'accent discret, pour ancrer la photo dans la charte. */
.about-media::after {
  content: ''; position: absolute; left: 0; bottom: -1px; width: 38%; height: 3px;
  background: var(--signal); border-radius: 0 3px 0 5px;
}

/* -------------------------------------------- formulaire : état d'envoi */

/* Pot de miel anti-robots : hors écran, jamais vu ni tabulé par un humain. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin-bottom: 1.25rem; padding: .9rem 1.1rem; border-radius: 4px;
  font-size: .95rem; line-height: 1.5; border-left: 3px solid;
}
.form-status[hidden] { display: none; }
.form-status.is-ok { background: #EAF6EF; border-color: #2E8B57; color: #1C5436; }
.form-status.is-ko { background: #FDF0EA; border-color: #C0552A; color: #7A3417; }

/* ---------------------------------------------- apparition au défilement */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(34px); }
  [data-reveal].is-in {
    opacity: 1; transform: none;
    transition: opacity .9s ease, transform .9s cubic-bezier(.16, .84, .32, 1);
  }
  /* Les cartes d'une même section entrent l'une après l'autre : le mouvement
     se remarque, au lieu de passer d'un bloc en une fraction de seconde. */
  [data-reveal] .sol, [data-reveal] .cap, [data-reveal] .ben,
  [data-reveal] .about-media, [data-reveal] .checks li {
    opacity: 0; transform: translateY(22px);
  }
  [data-reveal].is-in .sol, [data-reveal].is-in .cap, [data-reveal].is-in .ben,
  [data-reveal].is-in .about-media, [data-reveal].is-in .checks li {
    opacity: 1; transform: none;
    transition: opacity .75s ease, transform .75s cubic-bezier(.16, .84, .32, 1);
  }
  [data-reveal].is-in .sol:nth-child(n+2),
  [data-reveal].is-in .cap:nth-child(n+2),
  [data-reveal].is-in .ben:nth-child(n+2),
  [data-reveal].is-in .checks li:nth-child(n+2) { transition-delay: .09s; }
  [data-reveal].is-in .sol:nth-child(n+3),
  [data-reveal].is-in .cap:nth-child(n+3),
  [data-reveal].is-in .ben:nth-child(n+3),
  [data-reveal].is-in .checks li:nth-child(n+3) { transition-delay: .18s; }
  [data-reveal].is-in .sol:nth-child(n+5),
  [data-reveal].is-in .cap:nth-child(n+5),
  [data-reveal].is-in .checks li:nth-child(n+5) { transition-delay: .27s; }
  [data-reveal].is-in .sol:nth-child(n+7),
  [data-reveal].is-in .checks li:nth-child(n+7) { transition-delay: .36s; }
  [data-reveal].is-in .about-media { transition-delay: .14s; }
}

.checks { columns: 2; column-gap: clamp(2rem, 4vw, 3.25rem); }
.checks li {
  break-inside: avoid; border-top: 1px solid var(--rule);
  padding: .72rem 0 .72rem 1.5rem; position: relative;
  font-size: .96rem; color: var(--text);
}
.checks li::before {
  content: ''; position: absolute; left: 0; top: 1.22rem;
  width: 8px; height: 8px; border: 1px solid var(--signal-d); border-radius: 50%;
}

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center; }
.feature-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; }
.feature-body p { margin-top: .9rem; color: var(--steel); max-width: 52ch; }
.spot-badge {
  display: inline-block; background: var(--signal); color: var(--ink);
  font-family: var(--display); font-weight: 700;
  font-size: .78rem; letter-spacing: .02em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 3px; margin-bottom: .9rem;
}
.spot-list.checks { columns: 1; margin: 1.1rem 0 .2rem; }
.spot-list.checks li { border-top: 0; padding: .35rem 0 .35rem 1.3rem; }
.spot-list.checks li::before { top: .95rem; width: 6px; height: 6px; }
.feature-body .btn { margin-top: 1.35rem; }

.towers-inline { background: var(--paper); }
.towers-inline-inner > div + div { margin-top: clamp(2rem, 4vw, 3rem); }
.towers-inline-back {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1rem; padding-top: 1.75rem; border-top: 1px solid var(--rule-2);
}

.sec-partners { padding-block: clamp(2.5rem, 4vw, 3.5rem); }
/* Encadré partenaires : titre à gauche, texte à droite — l'encadré est rempli
   sur toute sa largeur au lieu de laisser une moitié vide. */
.partners {
  border: 1px solid var(--rule-2); border-radius: 3px;
  padding: clamp(1.35rem, 2.2vw, 1.9rem) clamp(1.5rem, 2.6vw, 2.2rem);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center; gap: 1rem 2.5rem;
}
.partners h2 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); max-width: 18ch; }
.partners p { margin-top: 0; color: var(--steel); font-size: .97rem; }

@media (max-width: 900px) {
  .partners { grid-template-columns: 1fr; gap: .6rem; }
  .partners h2 { max-width: none; }
}

/* ------------------------------------------------------------------ contact */

.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem 2.5rem; }
.contact-form { grid-column: 1 / span 7; }
.contact-info { grid-column: 9 / span 4; }
.contact-form h2, .contact-info h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 1.8rem; }

.field { margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--white); border: 1px solid var(--rule-2); border-radius: 3px;
  padding: .78rem .9rem;
}
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--ink-3); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3261E; }
.form-note { margin-top: 1rem; font-size: .85rem; color: var(--steel); max-width: 52ch; }
.form-note-dev { color: var(--steel-2); }

.contact-info dl { margin: 0; }
.contact-info dt {
  font-family: var(--display); font-weight: 700;
  font-size: .95rem; color: var(--ink);
  border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 1rem;
}
.contact-info dd { margin: .35rem 0 1rem; color: var(--steel); }
.contact-info address { font-style: normal; }
.contact-info a { color: var(--ink-2); text-decoration-color: var(--rule-2); }
.contact-info a:hover { color: var(--signal-d); }

/* ----------------------------------------------------------------- CTA, pied */

/* Bande d'appel à l'action : le texte tient la largeur, les boutons se calent à droite —
   plus de moitié droite vide. */
.cta { background: var(--ink-2); color: var(--white); padding-block: clamp(2.25rem, 4vw, 3.25rem); }
.cta-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 2rem 3rem;
}
.cta h2 { color: var(--white); max-width: 24ch; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cta p { margin-top: .6rem; color: #C7CBDC; max-width: 62ch; font-size: .97rem; }
.cta-acts { display: flex; flex-wrap: wrap; gap: .75rem; justify-self: end; }

/* Pied de page : un bloc de marque large qui absorbe la largeur, puis trois colonnes
   serrées. Densité plutôt que remplissage par le vide. */
.site-foot { background: var(--ink); color: var(--steel-2); padding-top: clamp(2.5rem, 4vw, 3.25rem); }
.foot-grid { display: grid; grid-template-columns: 1.75fr repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.foot-brand .brand-img { height: 38px; }
.foot-tag { margin-top: .9rem; max-width: 38ch; font-size: .9rem; line-height: 1.6; }
.foot-legal { margin-top: .8rem; font-size: .82rem; color: var(--steel); }
.social { display: flex; gap: 1.2rem; margin-top: 1.3rem; }
.social a, .foot-list a, .foot-addr a { color: var(--steel-2); text-decoration: none; }
.social a:hover, .foot-list a:hover, .foot-addr a:hover { color: var(--white); }
.site-foot h3 {
  color: var(--white); font-family: var(--sans);
  font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: .85rem;
}
.foot-list li + li { margin-top: .4rem; }
.foot-list, .foot-addr { font-size: .9rem; line-height: 1.6; }
.foot-addr { font-style: normal; line-height: 1.7; }
.foot-hours { margin-top: .7rem; font-size: .82rem; color: var(--steel); }
.foot-base {
  margin-top: clamp(1.75rem, 3vw, 2.5rem); padding-block: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: var(--steel);
}

/* ===================================================================
   Page d'accueil — Concept A : couverture plein écran, sans défilement
   =================================================================== */

.tp-home {
  position: relative; width: 100%; min-height: 100vh; height: 100vh;
  overflow: hidden; box-sizing: border-box; color: #F3F4F8;
  display: flex; flex-direction: column; background: var(--ink);
}

.tp-home-head {
  position: relative; z-index: 20;
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1rem, 2vw, 1.75rem);
  padding: 16px clamp(24px, 4vw, 64px); border-bottom: 1px solid rgba(255,255,255,.12);
}
.tp-home-nav {
  display: flex; flex-wrap: nowrap; gap: clamp(14px, 1.9vw, 28px);
  font-size: 13.5px; font-weight: 500; color: #CBD1E0; min-width: 0;
}
.tp-home-nav a { text-decoration: none; white-space: nowrap; }
.tp-home-nav a:hover { color: var(--signal); }
.tp-home-nav a[aria-current="page"] { color: var(--white); }
.tp-phone-badge {
  font-size: 12.5px; font-weight: 600; color: #CBD1E0; text-decoration: none;
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 16px;
}
.tp-phone-badge:hover { border-color: rgba(255,255,255,.6); color: var(--white); }
.tp-home-burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.tp-home-burger span { display: block; width: 22px; height: 1.5px; background: var(--white); }
.tp-home-burger span + span { margin-top: 5px; }

/* Deux colonnes fixes plutôt qu'un flex qui passe à la ligne : en mode
   « un seul écran », le bloc de droite ne doit jamais retomber sous le titre
   et laisser un vide noir en haut à droite. */
.tp-herobar {
  flex: 0 0 auto; padding: clamp(12px, 2.2vh, 22px) clamp(24px, 4vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end; gap: clamp(16px, 2.5vw, 40px);
}
.tp-herobar-copy { min-width: 0; }
.tp-eyebrow {
  margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--signal);
}
.tp-h1 {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.08; letter-spacing: -.01em; color: var(--white);
  max-width: none;
}
.tp-herobar-cta { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.tp-lead {
  margin: 0; max-width: 34ch; font-size: 13.5px; line-height: 1.5; color: #B7BCCE;
}

.tp-mosaic {
  flex: 1 1 auto; min-height: 0;
  padding: 0 clamp(24px, 4vw, 64px) clamp(10px, 2vh, 18px);
  /* Mosaïque à formats mélangés : une verticale dominante pour l'aéronautique,
     un bandeau horizontal, puis deux carrés. */
  display: grid;
  grid-template-columns: 1.68fr 1fr 1fr;
  grid-template-rows: 1.18fr 1fr;
  gap: 11px;
}
.tp-tile-1 { grid-column: 1; grid-row: 1 / span 2; }
.tp-tile-2 { grid-column: 2 / span 2; grid-row: 1; }
.tp-tile-3 { grid-column: 2; grid-row: 2; }
.tp-tile-4 { grid-column: 3; grid-row: 2; }
.tp-tile {
  position: relative; overflow: hidden; display: block; isolation: isolate;
  border-radius: 5px; text-decoration: none;
}
.tp-tile img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  filter: brightness(1.12) saturate(1.04);
  transition: transform .35s ease, filter .35s ease;
}
.tp-tile:hover img { filter: brightness(1.22) saturate(1.1); transform: scale(1.06); }
.tp-tile-shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,10,22,.92) 0%, rgba(8,10,22,.12) 50%, rgba(8,10,22,.05) 100%);
}
.tp-tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(10px, 1.8vw, 22px); color: var(--white); }
.tp-tile-label { font-family: var(--display); font-weight: 600; }
.tp-tile-1 .tp-tile-label { font-size: clamp(18px, 1.8vw, 24px); }
.tp-tile-2 .tp-tile-label { font-size: clamp(15px, 1.4vw, 19px); }
.tp-tile-3 .tp-tile-label, .tp-tile-4 .tp-tile-label { font-size: clamp(13px, 1.2vw, 16px); }
.tp-tile-text { margin-top: 5px; font-size: 12.5px; line-height: 1.5; color: #D7DAE6; max-width: 34ch; }
.tp-tile-2 .tp-tile-text, .tp-tile-3 .tp-tile-text, .tp-tile-4 .tp-tile-text { font-size: 11.5px; }
.tp-tile-play {
  position: absolute; top: 14px; right: 14px; width: 60px; height: 60px; border-radius: 10px;
  overflow: hidden; background: var(--ink-2); border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 18px rgba(0,0,0,.4); opacity: 0; transition: opacity .2s ease;
}
.tp-tile:hover .tp-tile-play { opacity: 1; }
.tp-tile-play video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-tile-hint {
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 8px;
  font-size: 12px; font-weight: 600; color: var(--signal);
  transition: max-height .25s ease, opacity .25s ease;
}
.tp-tile:hover .tp-tile-hint { max-height: 40px; opacity: 1; }

.tp-strip {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: 10px clamp(24px, 4vw, 64px); border-top: 1px solid rgba(255,255,255,.1);
  font-size: 11.5px; color: #8A90A6;
}
.tp-strip span:nth-child(2) { text-align: center; flex: 1; }

/* ------------------------------------------------- mise en scène, chargement */

@media (prefers-reduced-motion: no-preference) {
  .plot-arcs path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.4s .25s ease-out forwards; }
  .plot-arcs circle { opacity: 0; animation: pop .6s 1.5s ease-out forwards; }
  [data-hero] .hero-inner > * { opacity: 0; animation: rise .7s cubic-bezier(.22,.7,.3,1) forwards; }
  [data-hero] .kicker    { animation-delay: .05s; }
  [data-hero] h1         { animation-delay: .16s; }
  [data-hero] .lead      { animation-delay: .3s; }
  [data-hero] .hero-acts { animation-delay: .42s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes pop  { to { opacity: 1; } }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem 1.75rem; }
  .foot-brand { grid-column: 1 / -1; }
}

/* Le menu bascule en tiroir avant d'être à l'étroit : il ne passe jamais sur deux lignes. */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; margin-inline-start: auto; }
  .head-actions { margin-inline-start: auto; gap: .6rem; }
}

/* Accueil : même principe — tiroir déroulant plutôt qu'un menu qui se casse. */
@media (max-width: 1040px) {
  .tp-home-nav { display: none; }
  .tp-home-nav:not([hidden]) {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
    background: var(--ink-2); border-bottom: 1px solid rgba(255,255,255,.12);
    padding: .5rem clamp(24px, 4vw, 64px) 1.25rem;
  }
  .tp-home-nav a {
    padding: .9rem 0; font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .tp-home-burger { display: block; }
}

@media (max-width: 900px) {
  .head-actions .btn { display: none; }
  .contact-form, .contact-info { grid-column: 1 / -1; }
  .split, .domain, .feature { grid-template-columns: 1fr; gap: 1.1rem; }
  .split-head h2 { max-width: none; }
  .domain-media { order: -1; }
  .checks { columns: 1; }
  .figures { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .sols { grid-template-columns: 1fr; gap: 0; }
  .caps { grid-template-columns: 1fr; }
  .cta-inner { display: block; }
  .cta-acts { margin-top: 1.4rem; justify-self: start; }

  /* Accueil : défilement normal, mosaïque empilée */
  .tp-home { height: auto; min-height: 0; overflow: visible; }
  .tp-herobar { grid-template-columns: 1fr; align-items: start; }
  .tp-herobar-cta { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .tp-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 200px; padding-bottom: 20px; }
  .tp-tile-1 { grid-column: 1 / -1; grid-row: auto; height: 260px; }
  .tp-tile-2 { grid-column: 1 / -1; grid-row: auto; }
  .tp-tile-3, .tp-tile-4 { grid-column: auto; grid-row: auto; }
  .tp-strip { flex-wrap: wrap; gap: 6px; text-align: center; justify-content: center; }
  .tp-strip span:nth-child(2) { order: 3; width: 100%; }
}

@media (max-width: 560px) {
  :root { --head-h: 72px; }
  .brand-img { height: 34px; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .values, .sectors { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .refs { grid-template-columns: 1fr 1fr; }
  .tp-mosaic { grid-template-columns: 1fr; }
  .tp-tile-1, .tp-tile-2, .tp-tile-3, .tp-tile-4 { grid-column: 1; height: 220px; }
}
