/* CYBERLOGIC — contact@cyberlogic.fr — www.cyberlogic.fr
   Tous droits réservés. */

/* ==========================================================================
   Evolved Digital Consulting — feuille de style principale
   Charte : orange EDC / noir encre / blanc papier
   ========================================================================== */

/* Polices hébergées localement (SIL Open Font License 1.1 — voir fonts/LICENCES.md) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}

:root {
  --orange: #EA5B0C;
  --orange-hot: #FF7A2E;
  --orange-deep: #B9460A;
  --orange-soft: #FFE6D5;
  --orange-tint: #FFF5EE;

  --ink: #0E0F11;
  --ink-2: #16181B;
  --ink-3: #23262B;
  --paper: #FFFFFF;
  --paper-2: #F7F4F0;

  --text: #16181B;
  --muted: #5E636B;
  --line: #E7E2DB;

  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 18px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -.015em;
  overflow-wrap: break-word; /* mot trop long saisi dans le back-office : passe à la ligne au lieu de déborder */
}
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: #fff; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* Sections sombres */
.is-dark {
  --text: #F3F1EE;
  --muted: #A3A8AF;
  --line: rgba(255, 255, 255, .12);
  background: var(--ink);
  color: var(--text);
}

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--f-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }

.section { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--paper { background: var(--paper-2); }
.section-head { display: grid; gap: 1.1rem; max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-title {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-stretch: 118%;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.section-title .accent, .accent { color: var(--orange); }
.section-lead { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 62ch; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--orange); --fg: #fff; --bd: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  padding: 1rem 1.4rem;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-weight: 700; font-stretch: 104%;
  font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { --bg: var(--orange-deep); --bd: var(--orange-deep); }
.btn:active { transform: scale(.98); }
.btn--ghost { --bg: transparent; --fg: var(--text); --bd: currentColor; }
.btn--ghost:hover { --bg: var(--text); --fg: var(--paper); --bd: var(--text); }
.is-dark .btn--ghost:hover { --fg: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--light:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: #fff; }
.btn--outline-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; color: var(--orange);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: border-color .3s, gap .3s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { border-color: currentColor; gap: .8rem; }

/* ---------- Logo ---------- */
.edc-mark { width: 44px; height: 44px; flex: none; overflow: visible; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-name {
  font-family: var(--f-display); font-weight: 800; font-stretch: 100%;
  font-size: .78rem; line-height: 1.04; letter-spacing: .035em; text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled::before { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }

.nav ul { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.2rem); }
.nav a { position: relative; font-weight: 600; font-size: .95rem; padding-block: .4rem; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:not(.nav-cta):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--orange); }
.nav .nav-cta {
  display: inline-flex; padding: .65rem 1.2rem; border-radius: 999px;
  background: var(--ink); color: #fff; transition: background-color .3s;
}
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: var(--orange); color: #fff; }

.nav-toggle {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line); background: transparent; cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Header sur page sombre */
.theme-dark { background: var(--ink); }
.theme-dark .site-header { color: #fff; }
.theme-dark .site-header::before { background: rgba(14, 15, 17, .82); }
.theme-dark .site-header.is-scrolled::before { border-bottom-color: rgba(255, 255, 255, .1); }
.theme-dark .nav .nav-cta { background: var(--orange); }
.theme-dark .nav .nav-cta:hover { background: #fff; color: var(--ink); }
.theme-dark .nav-toggle { border-color: rgba(255, 255, 255, .2); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
    background: var(--paper); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .theme-dark .nav { background: var(--ink); }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 1.5rem var(--gutter) 3rem; }
  .nav li { border-bottom: 1px solid var(--line); }
  .theme-dark .nav li { border-color: rgba(255, 255, 255, .12); }
  .nav a, .nav .nav-cta {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.15rem 0; background: none; border-radius: 0; color: inherit;
    font-family: var(--f-display); font-weight: 800; font-stretch: 115%;
    font-size: 1.55rem; text-transform: uppercase;
  }
  .nav .nav-cta, .theme-dark .nav .nav-cta { color: var(--orange); background: none; }
  .nav .nav-cta:hover, .theme-dark .nav .nav-cta:hover { background: none; color: var(--orange); }
  .nav a:not(.nav-cta)::after { display: none; }
}

/* ---------- Lignes géométriques de fond ---------- */
.bg-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.bg-lines path {
  fill: none; stroke: var(--orange); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 2.6s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * .18s + .25s);
}
.bg-lines--light path { stroke: #fff; opacity: .28; }
.js [data-draw] path { animation-play-state: paused; }
.js [data-draw].is-visible path { animation-play-state: running; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Animations d'entrée ---------- */
[data-anim] { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   HERO — Accueil
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem); }
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.hero-title {
  font-size: clamp(2.4rem, 4.9vw, 4.4rem);
  font-stretch: 102%;
  letter-spacing: -.03em;
  line-height: .98;
  margin-top: 1.4rem;
  text-wrap: balance;
}
.hero-title em {
  font-style: normal; color: var(--orange);
  background: linear-gradient(currentColor, currentColor) left 94% / 0% .075em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: underline 1.1s 1s var(--ease) forwards;
}
@keyframes underline { to { background-size: 100% .075em; } }
.hero-lead { margin-top: 1.6rem; max-width: 50ch; font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--muted); }
.hero-lead strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

.hero-sectors {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.hero-sectors a {
  display: grid; gap: .25rem; padding: 1.1rem 1rem 0 0;
  font-weight: 700; font-size: .95rem; line-height: 1.25;
  transition: color .3s;
}
.hero-sectors a + a { padding-left: 1rem; border-left: 1px solid var(--line); }
.hero-sectors a span { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; color: var(--orange); letter-spacing: .12em; }
.hero-sectors a:hover { color: var(--orange); }

/* Cube éclaté (logo EDC en vue technique) */
.hero-visual { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero-cube { width: 100%; max-width: 620px; margin-inline: auto; overflow: visible; }
.hero-cube .float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-4px); } }
.hero-cube .intro { animation: introFace 1.3s var(--ease) both; }
.hero-cube .intro-top { --fx: 0px; --fy: -60px; animation-delay: .35s; }
.hero-cube .intro-left { --fx: -60px; --fy: 30px; animation-delay: .5s; }
.hero-cube .intro-right { --fx: 60px; --fy: 30px; animation-delay: .65s; }
@keyframes introFace { from { opacity: 0; transform: translate(var(--fx), var(--fy)); } }
.hero-cube .explode { transition: transform 1s var(--ease); }
.hero-cube .e-top { transform: translate(0px, -18px); }
.hero-cube .e-left { transform: translate(-15px, 8px); }
.hero-cube .e-right { transform: translate(15px, 8px); }
.hero-cube .ghost, .hero-cube .annot { transition: opacity .6s var(--ease); }
.hero-cube .annot { animation: rise 1s var(--ease) both; animation-delay: var(--d, 1.2s); }
.hero-cube .annot text { font-family: var(--f-mono); fill: var(--muted); font-size: 5.2px; letter-spacing: .06em; text-transform: uppercase; }
.hero-cube .annot .annot-title { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; fill: var(--text); font-size: 7.6px; letter-spacing: .02em; }
.hero-cube .annot .annot-title tspan { fill: var(--orange); }
.hero-cube .annot line, .hero-cube .annot polyline { stroke: var(--orange); stroke-width: .5; fill: none; }
.hero-visual.is-assembled .explode { transform: none; }
.hero-visual.is-assembled .annot, .hero-visual.is-assembled .ghost { opacity: 0; }
@media (hover: hover) {
  .hero-visual:hover .explode { transform: none; }
  .hero-visual:hover .annot, .hero-visual:hover .ghost { opacity: 0; }
}
.hero-hint {
  position: absolute; left: 50%; bottom: -.5rem; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}

@media (min-width: 980px) {
  .hero { padding-top: clamp(3.5rem, 7vw, 6rem); }
  .hero-grid { grid-template-columns: 1.18fr .82fr; }
}

/* Cube 3D (three.js) — remplace l'illustration SVG une fois chargé */
.cube3d { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1.22; margin-inline: auto; cursor: grab; touch-action: pan-y; animation: rise 1s var(--ease) both; }
.cube3d.is-dragging { cursor: grabbing; }
.cube3d::before {
  content: ""; position: absolute; left: 50%; top: 64%; width: 62%; height: 26%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(234, 91, 12, .14), transparent); pointer-events: none;
}
.cube3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-visual.is-3d .hero-cube { display: none; }
.hero-visual.is-3d .hero-hint { width: 100%; white-space: normal; text-align: center; line-height: 1.6; }
.cube3d-label {
  position: absolute; left: 0; top: 0; padding: .1rem 0 .1rem .6rem; border-left: 2px solid var(--orange);
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: .88rem; line-height: 1.25;
  letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; color: var(--text);
  opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; will-change: transform;
}
.cube3d-label b { color: var(--orange); }
.cube3d-label small { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .64rem; letter-spacing: .12em; color: var(--muted); }
.cube3d-label--left { margin-left: -11rem; text-align: right; padding: .1rem .6rem .1rem 0; border-left: 0; border-right: 2px solid var(--orange); width: 11rem; }
.cube3d-label--top { margin-top: -2.2rem; margin-left: -4rem; }
.cube3d-label--right { margin-left: .5rem; }
.cube3d.is-exploded .cube3d-label { opacity: 1; }
@media (max-width: 560px) {
  .cube3d-label { font-size: .72rem; }
  .cube3d-label small { display: none; }
  .cube3d-label--left { margin-left: -7rem; width: 7rem; }
  .cube3d-label--top { margin-left: -3rem; margin-top: -1.6rem; }
}

/* ---------- Bandeau défilant ---------- */
.ticker-wrap { position: relative; z-index: 2; padding-block: 1.5rem; overflow: hidden; }
.ticker {
  background: var(--orange); color: #fff; overflow: hidden;
  transform: rotate(-1.6deg); margin-inline: -2rem;
  box-shadow: 0 18px 40px -24px rgba(234, 91, 12, .8);
}
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 2.4rem; padding: 1rem 1.2rem;
  font-family: var(--f-display); font-weight: 800; font-stretch: 118%;
  font-size: clamp(.95rem, 1.8vw, 1.25rem); text-transform: uppercase; white-space: nowrap;
}
.ticker-track i { width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   Secteurs
   ========================================================================== */
.sectors-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid .sector-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1060px) {
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .sectors-grid .sector-card:last-child:nth-child(odd) { grid-column: auto; }
}
.sector-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.sector-card:hover { transform: translateY(-6px); border-color: var(--orange); box-shadow: 0 34px 60px -34px rgba(14, 15, 17, .4); }
.sector-media {
  position: relative; aspect-ratio: 16 / 9.5; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  background: linear-gradient(135deg, var(--ink-3), var(--orange-deep));
}
.sector-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.sector-card:hover .sector-media img { transform: scale(1.06); }
.sector-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(234, 91, 12, .45));
  mix-blend-mode: multiply;
}
.sector-body { position: relative; display: flex; flex-direction: column; gap: .9rem; flex: 1; padding: 0 1.6rem 1.8rem; }
.sector-top { display: flex; align-items: flex-end; justify-content: space-between; margin-top: -58px; }
.sector-icon {
  display: grid; place-items: center; width: 92px; height: 92px;
  background: #fff; border-radius: 22px; border: 1px solid var(--line);
  box-shadow: 0 16px 30px -18px rgba(14, 15, 17, .35);
  color: var(--orange);
}
.sector-icon svg { width: 62px; height: 62px; }
.sector-num { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; color: var(--muted); }
.sector-card h3 { font-size: 1.5rem; font-stretch: 114%; text-transform: uppercase; margin-top: .4rem; }
.sector-focus { font-weight: 600; font-size: 1.02rem; line-height: 1.45; }
.sector-list { margin-top: .2rem; }
.sector-list li {
  display: flex; gap: .75rem; padding: .6rem 0; border-top: 1px dashed var(--line);
  color: var(--muted); font-size: .95rem; line-height: 1.45;
}
.sector-list li::before {
  content: ""; flex: 0 0 7px; height: 7px; margin-top: .5em;
  background: var(--orange); transform: rotate(45deg);
}

/* Icônes illustrées */
.ico { --ico-fill: var(--orange-soft); overflow: visible; }
.ico text { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; }

/* ==========================================================================
   Approche (étapes)
   ========================================================================== */
.steps { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 2rem 1.5rem 2.2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) {
  .step:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .step { border-bottom: 0; }
  .step + .step { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}
.step::before {
  content: ""; position: absolute; top: -2px; left: 0; height: 3px; width: 0;
  background: var(--orange); transition: width 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + .3s);
}
.step.is-visible::before, html:not(.js) .step::before { width: 56%; }
.step + .step::before { left: 1.5rem; }
.step-num {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(3rem, 5vw, 4rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--orange);
}
.step h3 { margin: 1.1rem 0 .55rem; font-size: 1.2rem; font-stretch: 115%; text-transform: uppercase; }
.step p { color: var(--muted); font-size: .98rem; }

/* ==========================================================================
   Architecture — blocs sombres, carte SI
   ========================================================================== */
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.split { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .split--reverse > :first-child { order: 2; }
}
.split .section-title, .photo-split .section-title { font-size: clamp(2rem, 3.5vw, 3.1rem); }
.talents-hero-grid .page-title { font-size: clamp(2.2rem, 4.3vw, 3.8rem); }
.split .page-title { font-size: clamp(2.2rem, 4vw, 3.45rem); } /* « d’information. » tient dans la colonne */
.check-list { margin-top: 1.8rem; }
.check-list li {
  display: flex; gap: 1rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: 1.02rem;
}
.check-list li::before {
  content: ""; flex: 0 0 9px; height: 9px; transform: translateY(-1px) rotate(45deg);
  border: 2px solid var(--orange);
}
.check-list strong { color: var(--orange); font-weight: 700; }

.simap { width: 100%; height: auto; overflow: visible; }
.simap text {
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500;
  fill: #fff; letter-spacing: .04em; text-transform: uppercase;
}
.simap-link { stroke-dasharray: .018 .012; animation: flow 14s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -1; } }
.simap-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.simap-halo { animation: halo 5s ease-in-out infinite; }
@keyframes halo { 50% { opacity: .55; } }
.simap-label { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i) * .1s + .5s); }
.simap-node.is-hub { animation: hub 4s ease-in-out infinite; }
@keyframes hub { 50% { transform: translateY(-3px); } }
.simap-frame { position: relative; }
.simap-frame::after {
  content: attr(data-caption); position: absolute; right: 0; bottom: -.4rem;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

/* Page hero (pages internes) */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem) clamp(3.5rem, 8vw, 6rem); }
.page-hero > .container { position: relative; z-index: 1; }
.page-title {
  margin-top: 1.3rem;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  font-stretch: 116%; text-transform: uppercase; letter-spacing: -.02em; line-height: .98;
  text-wrap: balance;
}
.page-lead { margin-top: 1.5rem; max-width: 54ch; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.25rem); }
.breadcrumb { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* Alliance Uncia.io */
.alliance { text-align: center; }
.lockup {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2.2rem); margin-block: 2.5rem 1rem;
}
.lockup .edc-mark { width: clamp(72px, 10vw, 112px); height: auto; }
.lockup-plus { font-family: var(--f-mono); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--muted); }
.lockup-uncia {
  font-family: var(--f-display); font-weight: 700; font-stretch: 100%;
  font-size: clamp(3rem, 8vw, 5.5rem); letter-spacing: -.035em; line-height: 1;
}
.lockup-uncia span { color: var(--orange); }
.alliance-cols { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: left; }
@media (min-width: 900px) { .alliance-cols { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.alliance-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); background: rgba(255, 255, 255, .02); }
.alliance-card h3 { font-size: 1.15rem; font-stretch: 116%; text-transform: uppercase; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .7rem; }
.alliance-card h3 .edc-mark { width: 30px; height: 30px; }
.alliance-card li { position: relative; padding: .55rem 0 .55rem 1.4rem; color: var(--muted); border-top: 1px dashed var(--line); }
.alliance-card li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 2px; background: var(--orange); }
.alliance-join { display: grid; place-items: center; }
.alliance-join span {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 1.6rem; font-weight: 700;
  box-shadow: 0 0 0 10px rgba(234, 91, 12, .15);
}
.alliance-result {
  margin-top: 1.25rem; padding: 1.4rem 1.6rem; border-radius: var(--radius);
  background: linear-gradient(100deg, var(--orange), var(--orange-hot)); color: #fff; text-align: left;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.alliance-result p { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.2; }
.alliance-result small { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }

/* Piliers */
.pillars { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  position: relative; padding: clamp(1.6rem, 3vw, 2.3rem); border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--ink-2); overflow: hidden;
  transition: border-color .4s, transform .6s var(--ease);
}
.pillar::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px;
  background: radial-gradient(circle, rgba(234, 91, 12, .35), transparent 65%);
  opacity: 0; transition: opacity .5s;
}
.pillar:hover { border-color: var(--orange); transform: translateY(-5px); }
.pillar:hover::after { opacity: 1; }
.pillar-icon {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px;
  border: 1.5px solid var(--orange); color: var(--orange); margin-bottom: 1.6rem;
}
.pillar-icon svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 1.3rem; font-stretch: 114%; text-transform: uppercase; margin-bottom: .8rem; }
.pillar p { color: var(--muted); font-size: .98rem; }
.pillar-tag { display: inline-block; margin-top: 1.3rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }

/* Offre (lignes numérotées) */
.offer-list { border-bottom: 1px solid var(--line); }
.offer-row {
  display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.4rem;
  padding: clamp(1.6rem, 3vw, 2.3rem) 0; border-top: 1px solid var(--line);
  transition: background-color .4s;
}
.offer-row .num { font-family: var(--f-mono); font-size: .8rem; color: var(--orange); letter-spacing: .1em; padding-top: .5rem; }
.offer-row h3 { font-size: clamp(1.35rem, 2.6vw, 2.1rem); font-stretch: 114%; text-transform: uppercase; transition: color .3s; }
.offer-row p { grid-column: 2; color: var(--muted); max-width: 58ch; }
.offer-row:hover h3 { color: var(--orange); }
@media (min-width: 960px) {
  .offer-row { grid-template-columns: 90px 1.1fr 1fr; align-items: baseline; }
  .offer-row p { grid-column: auto; }
}
.badge {
  display: inline-block; vertical-align: middle; margin-left: .5rem;
  padding: .3rem .6rem; border-radius: 999px; background: var(--orange); color: #fff;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; font-weight: 500;
}

/* Démarche */
.timeline { display: grid; gap: 1rem; counter-reset: tl; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.tl-item { position: relative; padding: 1.6rem 1.5rem 1.8rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.tl-item::before {
  counter-increment: tl; content: "0" counter(tl);
  display: block; font-family: var(--f-mono); font-size: .78rem; color: var(--orange); letter-spacing: .14em; margin-bottom: 1rem;
}
.tl-item h3 { font-size: 1.2rem; font-stretch: 114%; text-transform: uppercase; margin-bottom: .55rem; }
.tl-item p { color: var(--muted); font-size: .96rem; }
.tl-item .deliv { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--line); font-size: .88rem; font-weight: 600; }
.tl-item .deliv span { display: block; font-family: var(--f-mono); font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
@media (min-width: 900px) {
  .tl-item:not(:last-child)::after {
    content: ""; position: absolute; top: 2.05rem; right: -1rem; width: 1rem; height: 2px; background: var(--orange); z-index: 1;
  }
}

/* ==========================================================================
   Talents
   ========================================================================== */
.talents-hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .talents-hero-grid { grid-template-columns: 1fr 1fr; } }
.polyframe { position: relative; aspect-ratio: 5 / 4; }
.polyframe img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(10% 4%, 88% 0, 100% 46%, 92% 100%, 14% 96%, 0 54%);
  background: var(--ink-3);
}
.polyframe svg { position: absolute; inset: -6%; width: 112%; height: 112%; z-index: 2; overflow: visible; pointer-events: none; }
.polyframe svg path { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .4s var(--ease) forwards; }
.polyframe svg path + path { stroke-width: 1.2; animation-delay: .8s; }

.offers { display: grid; gap: 1.5rem; }
@media (min-width: 980px) { .offers { grid-template-columns: 1fr 1fr; } }
.offer-card {
  position: relative; border: 1.5px solid var(--orange); border-radius: 26px;
  padding: clamp(1.6rem, 3.5vw, 2.6rem); background: #fff;
}
.offer-card.is-dark { background: var(--ink); border-color: var(--ink); }
.offer-card-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.offer-card-icon { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--orange-tint); color: var(--orange); }
.is-dark .offer-card-icon { background: rgba(234, 91, 12, .14); }
.offer-card-icon svg { width: 30px; height: 30px; }
.offer-card-kicker { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.offer-card h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-stretch: 114%; text-transform: uppercase; margin-top: .35rem; }
.offer-card-intro { color: var(--muted); margin-bottom: .6rem; }

.role { display: grid; grid-template-columns: 54px 1fr; gap: 1.1rem; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.role-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--orange); color: #fff; transition: transform .5s var(--ease); }
.role:hover .role-icon { transform: rotate(-6deg) scale(1.05); }
.role-icon svg { width: 26px; height: 26px; }
.role h3 { font-size: 1.12rem; font-stretch: 112%; text-transform: uppercase; line-height: 1.15; }
.role h3 small { display: block; margin-top: .2rem; font-family: var(--f-body); font-weight: 500; font-size: .85rem; text-transform: none; letter-spacing: 0; color: var(--orange); }
.role p { margin-top: .4rem; color: var(--muted); font-size: .96rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.tag { padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.role-link { display: inline-flex; margin-top: .9rem; font-size: .9rem; }

.process { display: grid; gap: 1rem; }
@media (min-width: 860px) { .process { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.process-step { position: relative; padding: 2rem clamp(1.2rem, 3vw, 2.2rem) 2.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 860px) {
  .process-step { border-radius: 0; }
  .process-step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
  .process-step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
  .process-step + .process-step { border-left: 0; }
  .process-step:not(:last-child)::after {
    content: ""; position: absolute; z-index: 2; top: 50%; right: -15px; width: 28px; height: 28px;
    background: var(--orange); transform: translateY(-50%) rotate(45deg); border-radius: 4px;
    box-shadow: 0 0 0 6px var(--paper-2);
  }
}
.process-step .n { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 3rem; line-height: 1; color: var(--orange); }
.process-step h3 { margin: .9rem 0 .5rem; font-size: 1.2rem; font-stretch: 114%; text-transform: uppercase; }
.process-step p { color: var(--muted); font-size: .98rem; }

/* ==========================================================================
   Teaser talents (accueil)
   ========================================================================== */
.talent-teaser { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .talent-teaser { grid-template-columns: 1fr 1fr; } }
.tt-card { border: 1.5px solid var(--orange); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.2rem); background: #fff; }
.tt-card h3 { display: flex; gap: .9rem; align-items: center; font-size: 1.2rem; font-stretch: 114%; text-transform: uppercase; }
.tt-card h3 small { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .68rem; letter-spacing: .14em; color: var(--orange); margin-top: .25rem; }
.tt-card h3 .offer-card-icon { width: 50px; height: 50px; }
.tt-card h3 .offer-card-icon svg { width: 26px; height: 26px; }
.tt-roles { margin-top: 1.3rem; }
.tt-roles a {
  display: flex; align-items: center; gap: .9rem; padding: .8rem .2rem; border-top: 1px solid var(--line);
  font-weight: 600; transition: color .3s, padding .4s var(--ease);
}
.tt-roles a:hover { color: var(--orange); padding-left: .6rem; }
.tt-roles .role-icon { width: 38px; height: 38px; border-radius: 10px; }
.tt-roles .role-icon svg { width: 20px; height: 20px; }
.tt-roles a svg.arrow { width: 16px; height: 16px; margin-left: auto; opacity: .45; transition: opacity .3s, transform .3s var(--ease); }
.tt-roles a:hover svg.arrow { opacity: 1; transform: translateX(3px); }

/* ==========================================================================
   Clients (accueil) et équipe (talents)
   ========================================================================== */
.clients-band { padding-block: clamp(2.5rem, 5vw, 3.5rem); border-block: 1px solid var(--line); }
.clients-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem; margin-bottom: 1.6rem; }
.clients-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-stretch: 114%; text-transform: uppercase; }
/* Lignes incomplètes centrées. */
.clients-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.clients-grid li {
  flex: 1 1 130px; max-width: 180px;
  display: grid; place-items: center; height: 92px; padding: .9rem 1.1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .4s, transform .5s var(--ease);
}
.clients-grid img { width: auto; height: auto; max-width: 100%; max-height: 60px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s; }
.clients-grid li:hover { border-color: var(--orange); transform: translateY(-3px); }
.clients-grid li:hover img { filter: none; opacity: 1; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 1.25rem; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.team-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.8rem 1.2rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .4s, transform .5s var(--ease);
}
.team-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.team-photo {
  width: min(132px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--orange-soft); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--orange);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-top: 1.2rem; font-size: 1.08rem; font-stretch: 112%; text-transform: uppercase; }
@media (max-width: 699px) {
  /* Deux colonnes sur téléphone : un nom composé (Jean-Baptiste) tient sur une ligne. */
  .team-card { padding-inline: .8rem; }
  .team-card h3 { font-size: clamp(.82rem, 3.4vw, 1.08rem); }
}
.team-card p { margin-top: .3rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }

/* Bloc photo + texte */
.photo-split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 980px) { .photo-split { grid-template-columns: .95fr 1.05fr; } }
.photo-stack { position: relative; aspect-ratio: 4 / 3.4; }
.photo-stack img { position: absolute; object-fit: cover; border-radius: 6px; background: var(--ink-3); }
.photo-stack img:first-child { inset: 0 18% 16% 0; width: 82%; height: 84%; clip-path: polygon(0 0, 100% 0, 100% 86%, 88% 100%, 0 100%); }
.photo-stack img:nth-child(2) { right: 0; bottom: 0; width: 52%; height: 48%; border: 8px solid var(--paper); border-radius: 10px; }
.photo-stack::before {
  content: ""; position: absolute; left: -14px; top: 12%; width: 28px; height: 38%; background: var(--orange); z-index: -1;
}

/* ==========================================================================
   Bandeau CTA
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--orange); color: #fff; padding-block: clamp(4rem, 9vw, 7rem); }
.cta-band > .container { position: relative; z-index: 1; display: grid; gap: 2rem; }
@media (min-width: 960px) { .cta-band > .container { grid-template-columns: 1.3fr auto; align-items: end; } }
.cta-band .eyebrow { color: #fff; }
.cta-band h2 { margin-top: 1.1rem; font-size: clamp(1.9rem, 4.2vw, 3.3rem); font-stretch: 116%; text-transform: uppercase; max-width: 20ch; text-wrap: balance; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-watermark { position: absolute; right: -4%; top: 50%; width: min(46vw, 520px); height: auto; transform: translateY(-50%); opacity: .13; z-index: 0; }
.cta-watermark path { stroke: #fff !important; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #C9CCD1; padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.site-footer .brand { color: #fff; }
.footer-about { margin-top: 1.2rem; max-width: 36ch; color: #9EA3AA; }
.site-footer h2 {
  font-family: var(--f-mono); font-weight: 500; font-stretch: 100%;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.1rem;
}
.footer-links li + li { margin-top: .55rem; }
.footer-links a { transition: color .3s; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .7rem; align-items: center; }
.footer-contact li + li { margin-top: .75rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.footer-partner {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem;
  padding: .55rem .9rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; font-size: .85rem;
  transition: border-color .3s;
}
.footer-partner:hover { border-color: var(--orange); }
.footer-partner b { color: #fff; font-family: var(--f-display); font-weight: 700; }
.footer-partner b span { color: var(--orange); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem; color: #8B9097;
}
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.35fr .65fr; } }
.form { display: grid; gap: 1.35rem; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend, .field label { display: block; margin-bottom: .5rem; font-weight: 600; font-size: .92rem; }
.form legend { margin-bottom: .75rem; }
.req { color: var(--orange); }
.form-row { display: grid; gap: 1.35rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1.05rem; font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EA5B0C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfc8bf; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(234, 91, 12, .15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #C62828; }
.field-hint { margin-top: .4rem; font-size: .82rem; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .5rem; padding: .72rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem;
  transition: background-color .25s, border-color .25s, color .25s; cursor: pointer;
}
.chip span::before { content: ""; width: 8px; height: 8px; border: 1.5px solid currentColor; transform: rotate(45deg); transition: background-color .25s; }
.chip input:hover + span { border-color: var(--orange); }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.chip input:checked + span::before { background: #fff; border-color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }

.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--orange); flex: none; }
.consent a { color: var(--orange); text-decoration: underline; }
.form-status { min-height: 1.5rem; font-weight: 600; }
.form-status[data-state="ok"] { color: #1E7B3A; }
.form-status[data-state="error"] { color: #C62828; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-actions .btn[disabled] { opacity: .6; pointer-events: none; }

.contact-aside { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) { .contact-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.contact-card { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(1.6rem, 3vw, 2.2rem); }
.contact-card.is-dark h2 { font-size: 1.35rem; font-stretch: 114%; text-transform: uppercase; margin-bottom: 1.3rem; }
.contact-card ul li { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 0; border-top: 1px solid var(--line); }
.contact-card ul li svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: .2rem; }
.contact-card ul li > div { min-width: 0; }
.contact-card ul a { overflow-wrap: anywhere; } /* adresse e-mail longue : retour à la ligne plutôt que débordement */
.contact-card ul li small { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card ul a:hover { color: var(--orange); }
.contact-card .edc-mark { position: absolute; right: -24px; bottom: -24px; width: 140px; height: 140px; opacity: .12; }
.contact-card--outline { border: 1.5px solid var(--orange); }
.contact-card--outline h2 { font-size: 1.05rem; font-stretch: 114%; text-transform: uppercase; margin-bottom: .7rem; }
.contact-card--outline p { color: var(--muted); font-size: .95rem; }

.field-error { margin-top: .4rem; color: #B42318; font-size: .86rem; font-weight: 600; }
.field [aria-invalid="true"] { border-color: #B42318; }
.form-alert { padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; }
.form-alert--ok { background: #E8F5EC; color: #1E6B35; border: 1px solid #B9DFC4; }
.form-alert--error { background: #FDECEC; color: #B42318; border: 1px solid #F5C2C0; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.not-found-links { display: grid; gap: .8rem; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }

/* Mentions légales */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.3rem; font-stretch: 114%; text-transform: uppercase; margin: 2.5rem 0 .8rem; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: .8rem; }
.legal mark { background: var(--orange-soft); color: var(--text); padding: 0 .25rem; border-radius: 3px; }

/* ---------- Petits téléphones ----------
   Les grands titres en majuscules suivent la largeur de l'écran : leur mot le plus long tient sur une ligne. */
@media (max-width: 420px) {
  .page-title, .split .page-title, .talents-hero-grid .page-title { font-size: min(2.2rem, 8.8vw); }
  .section-title, .split .section-title, .photo-split .section-title { font-size: min(2rem, 8.8vw); }
  .cta-band h2 { font-size: min(1.9rem, 7.6vw); }
  .sector-card h3 { font-size: min(1.5rem, 6.8vw); }
}
@media (max-width: 359px) {
  .offer-card-head { flex-direction: column; gap: .9rem; }
}

/* ---------- Accessibilité mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0s !important;
    animation-iteration-count: 1 !important; transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
