/* ==========================================================================
   Sydney SP — Speedpanel installation
   Direction : éditoriale et sobre. Filets fins, blanc chaud, casse mixte,
   photographie traitée en duotone, chiffres tabulaires.
   Aucune dépendance.
   ========================================================================== */

:root {
  /* Encres */
  --ink:        #0e1113;
  --ink-2:      #191e23;
  --ink-3:      #2a3138;
  --slate:      #1a1f24;

  /* Papier — blanc chaud, jamais #fff pur sur les fonds */
  --paper:      #ffffff;
  --paper-2:    #f7f6f4;
  --paper-3:    #efedea;

  /* Accent */
  --red:        #c62828;
  --red-2:      #a81f1f;
  --red-3:      #e05252;

  /* Filets et textes secondaires */
  --rule:       rgba(14,17,19,.13);
  --rule-2:     rgba(14,17,19,.07);
  --rule-light: rgba(255,255,255,.16);
  --muted:      #5b656e;
  --muted-light:rgba(255,255,255,.62);

  --wrap:       1240px;
  --gutter:     clamp(20px, 5vw, 48px);

  --sans:       "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rythme vertical */
  --sec:        clamp(72px, 11vw, 148px);

  --ease:       cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums slashed-zero;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Échelle typographique ---------------------------------------
   Casse mixte, graisse haute, interlettrage négatif : c'est ce qui distingue
   une titraille dessinée d'un simple texte en gras.
   ------------------------------------------------------------------------ */

h1, h2, h3, h4 {
  margin: 0 0 .45em;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); letter-spacing: -.042em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: -.025em; }
h4 { font-size: 1.05rem; letter-spacing: -.02em; }

p { margin: 0 0 1.1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 58ch;
  font-weight: 400;
  letter-spacing: -.012em;
}

.body-lg { font-size: 1.08rem; line-height: 1.62; color: var(--muted); }

/* Étiquette en petites capitales. Aucun trait décoratif : le client n'en
   veut nulle part. */
.eyebrow {
  display: inline-block;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.on-dark .eyebrow { color: var(--red-3); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--muted-light); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 2px; }
.on-dark :focus-visible, .hero :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -70px; z-index: 999;
  background: var(--ink); color: #fff; padding: 14px 22px;
  font-size: .9rem; font-weight: 600; letter-spacing: -.01em;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ==========================================================================
   MOUVEMENT
   Trois principes : on n'anime que opacity et transform (donc jamais de
   recalcul de mise en page), les durées restent courtes, et tout se coupe
   si l'utilisateur a demandé moins d'animations.
   ========================================================================== */

/* --- Révélation au défilement, avec cascade -------------------------------
   --i est posé par le script sur chaque enfant d'un conteneur [data-stagger]. */

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-left  { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-left.in, .reveal-right.in { transform: none; }

/* Révélation par volet : le bloc se dévoile de bas en haut. Effet net,
   très utilisé sur les sites d'architecture. */
.reveal-mask {
  clip-path: inset(0 0 100% 0);
  opacity: 1; transform: none;
  transition: clip-path 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal-mask.in { clip-path: inset(0 0 0 0); }

/* Titres : montée douce, légèrement plus lente que le reste. */
.reveal-title {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-title.in { opacity: 1; transform: none; }

/* Lignes de tableau : fondu seul, une transformation sur table-row est
   traitée différemment selon les navigateurs. */
tbody.stagger tr {
  opacity: 0; transition: opacity .6s var(--ease);
  transition-delay: calc(var(--i, 0) * 65ms);
}
tbody.stagger.in tr { opacity: 1; }

/* --- Séquence d'entrée du hero -------------------------------------------
   Se joue une seule fois, au chargement. */

.hero .eyebrow,
.hero h1,
.hero .lead,
.hero-actions,
.hero-specs {
  opacity: 0; transform: translateY(24px);
}
html.is-ready .hero .eyebrow,
html.is-ready .hero h1,
html.is-ready .hero .lead,
html.is-ready .hero-actions,
html.is-ready .hero-specs {
  animation: heroIn .95s var(--ease) forwards;
}
html.is-ready .hero .eyebrow  { animation-delay: .10s; }
html.is-ready .hero h1        { animation-delay: .18s; }
html.is-ready .hero .lead     { animation-delay: .30s; }
html.is-ready .hero-actions   { animation-delay: .42s; }
html.is-ready .hero-specs     { animation-delay: .54s; }

@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Les colonnes de la fiche technique arrivent une par une. */
html.is-ready .hero-specs li {
  opacity: 0;
  animation: specIn .7s var(--ease) forwards;
  animation-delay: calc(.62s + var(--i, 0) * 90ms);
}
@keyframes specIn { to { opacity: 1; } }

/* Très lent recadrage de la photo du hero : donne de la vie sans que le
   mouvement soit perceptible comme tel. */
html.is-ready .hero-media { animation: heroDrift 26s ease-out forwards; }
@keyframes heroDrift {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* --- Coupure totale si l'utilisateur préfère moins d'animations ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-title, .reveal-mask, tbody.stagger tr {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
  .hero .eyebrow, .hero h1, .hero .lead, .hero-actions, .hero-specs,
  .hero-specs li {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
  .hero-media { animation: none !important; }
}

/* ---------- En-tête ------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--rule-2);
  transition: border-color .35s var(--ease), background .35s var(--ease),
              box-shadow .35s var(--ease);
}
/* L'en-tête se compacte au défilement : la barre gagne en densité et la page
   respire. C'est le signal le plus lu par l'œil sur un site soigné. */
.site-header.scrolled {
  border-bottom-color: var(--rule);
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 30px rgba(14,17,19,.06);
}
.site-header.scrolled .nav { height: 64px; }
.site-header.scrolled .logo-mark { width: 34px; height: 34px; font-size: .86rem; }
.site-header.scrolled .logo-text span { opacity: 0; max-height: 0; margin-top: 0; }

.nav {
  display: flex; align-items: center; gap: 34px; height: 78px;
  transition: height .35s var(--ease);
}

.logo { display: flex; align-items: center; gap: 13px; }
.logo-mark {
  width: 40px; height: 40px; flex: none;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
  font-size: .96rem; font-weight: 800; letter-spacing: -.02em;
  transition: width .35s var(--ease), height .35s var(--ease),
              font-size .35s var(--ease), transform .35s var(--ease);
}
.logo:hover .logo-mark { transform: translateY(-2px); }
.logo-text {
  display: flex; flex-direction: column; line-height: 1.05;
}
.logo-text b { font-size: 1.22rem; font-weight: 800; letter-spacing: -.035em; }
.logo-text span {
  font-size: .655rem; font-weight: 500; letter-spacing: .17em;
  text-transform: uppercase; color: var(--muted); margin-top: 3px;
  overflow: hidden; max-height: 20px;
  transition: opacity .3s var(--ease), max-height .35s var(--ease), margin-top .35s var(--ease);
}

.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links a {
  font-size: .94rem; font-weight: 500; color: var(--muted);
  letter-spacing: -.008em; position: relative; padding: 4px 0;
  transition: color .18s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Les boutons de la nav gardent leur propre couleur de texte : sans ces
   règles, le gris de « .nav-links a » l'emporte et le libellé disparaît. */
.nav-links a.btn::after { display: none; }
.nav-links a.btn-ink,
.nav-links a.btn-ink:hover,
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }
.nav-links a.btn-outline { color: var(--ink); }
.nav-links a.btn-outline:hover { color: #fff; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 1px solid var(--rule); cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.5px; background: var(--ink);
  margin: 4px auto; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Boutons ------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 15px 28px;
  font-family: inherit; font-size: .95rem; font-weight: 600;
  letter-spacing: -.008em; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .28s var(--ease);
  min-height: 50px; position: relative;
  overflow: hidden; isolation: isolate;
}
/* Balayage lumineux au survol : discret, il signale que l'élément est vivant
   sans clignoter. */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(120%); }
.btn-outline::after, .btn-light::after, .btn-white::after {
  background: linear-gradient(105deg, transparent 30%, rgba(14,17,19,.07) 50%, transparent 70%);
}

.btn svg { width: 17px; height: 17px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }

.btn-primary:hover, .btn-ink:hover { box-shadow: 0 10px 26px rgba(198,40,40,.22); }
.btn-ink:hover { box-shadow: 0 10px 26px rgba(14,17,19,.18); }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--red-2); color: #fff; }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover, .btn-ink:focus-visible { background: var(--ink-3); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.btn-light:hover, .btn-light:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover, .btn-white:focus-visible { background: var(--paper-3); }

.btn-sm { padding: 0 22px; font-size: .9rem; min-height: 42px; height: 42px; }

/* Bouton de la barre de navigation.
   Cadré sur la hauteur de la barre (78 px) : 44 px de haut le fait respirer
   sans l'écraser, et les marges internes sont proportionnées à sa hauteur. */
.nav-links .btn {
  height: 44px; min-height: 44px; padding: 0 26px;
  font-size: .93rem; font-weight: 600; letter-spacing: -.005em;
  margin-left: 6px;
}
.btn-lg { padding: 18px 34px; font-size: 1.02rem; min-height: 58px; }
.btn-block { width: 100%; }

/* Lien fléché — remplace les petits boutons secondaires */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .96rem; letter-spacing: -.01em;
  padding-bottom: 3px; border-bottom: 1px solid var(--rule);
  transition: border-color .25s, gap .25s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: 15px; }
.link-arrow svg { width: 15px; height: 15px; }

/* ---------- Hero --------------------------------------------------------- */

/* Le hero doit tenir dans l'écran d'arrivée, hauteur d'en-tête déduite.
   svh = hauteur réellement visible sur mobile, barre du navigateur comprise. */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  display: flex; align-items: center;
  min-height: min(700px, calc(100svh - 78px));
  padding: clamp(44px, 5.5vw, 72px) 0 clamp(30px, 3.5vw, 46px);
  isolation: isolate;
}

/* HERO — photo locale, avec repli dessiné en CSS.
   La photo est la PREMIÈRE couche : si assets/img/hero.jpg manque, les
   dégradés en dessous prennent le relais et rien ne casse. */
.hero-media {
  position: absolute; inset: 0; z-index: -3;
  background-color: #0f1316;
  background-size: cover, auto, auto, auto, auto;
  background-position: center 32%, 0 0, 0 0, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat, no-repeat, no-repeat;
  filter: grayscale(1) contrast(1.04) brightness(.92);
  background-image:
    /* la photo */
    url("../img/hero.jpg"),
    /* repli : rainure d'assemblage, tous les 132 px */
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.075) 0 1px,
      rgba(0,0,0,.42)        1px 4px,
      rgba(255,255,255,.028) 4px 5px,
      transparent            5px 132px),
    /* bombé de chaque panneau : le métal ne renvoie pas la lumière à plat */
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.052) 0 26px,
      rgba(255,255,255,.014) 26px 66px,
      rgba(0,0,0,.10)        66px 106px,
      rgba(255,255,255,.030) 106px 132px),
    /* lumière rasante venue du haut-droit */
    radial-gradient(130% 95% at 82% 6%, rgba(255,255,255,.16), transparent 58%),
    /* pénombre au sol */
    linear-gradient(180deg, #1b2126 0%, #12171b 58%, #0b0e10 100%);
}

/* Grain léger — c'est ce qui empêche les aplats numériques de paraître plats.
   SVG en data-uri : aucune requête réseau. */
.hero-grain {
  position: absolute; inset: 0; z-index: -2; opacity: .16; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* Voile : assez dense à gauche pour que le texte blanc reste lisible,
   nettement plus clair à droite pour laisser respirer la photo. */
.hero-tint {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(101deg, rgba(11,14,16,.90) 0%, rgba(11,14,16,.68) 44%, rgba(11,14,16,.18) 100%),
    linear-gradient(0deg, rgba(198,40,40,.08), transparent 40%);
}

/* Liseré rouge en bas, dans l'axe des rainures */
.hero::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--red) 0 26%, rgba(198,40,40,.18) 26% 42%, transparent 42%);
  z-index: 1;
}

.hero h1 { color: #fff; max-width: 19ch; margin-bottom: .34em; }
.hero h1 .accent {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.55);
  text-stroke: 1.5px rgba(255,255,255,.55);
}
.hero .lead {
  color: rgba(255,255,255,.78); max-width: 54ch;
  font-size: clamp(1rem, 1.4vw, 1.13rem);
}
.hero .eyebrow { margin-bottom: 16px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Bande de spécifications, façon fiche technique */
/* Séparateurs à GAUCHE et non à droite : le texte de chaque colonne garde
   ainsi sa marge par rapport au filet qui le précède. */
.hero-specs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: clamp(26px, 3.2vw, 44px) 0 0;
  border-top: 1px solid var(--rule-light);
  list-style: none; padding: 0;
}
.hero-specs li {
  padding: 16px 22px 0;
  border-left: 1px solid var(--rule-light);
}
.hero-specs li:first-child { border-left: none; padding-left: 0; }
.hero-specs b {
  display: block; font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff;
}
.hero-specs span {
  display: block; margin-top: 6px;
  font-size: .71rem; font-weight: 500; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(255,255,255,.52); line-height: 1.35;
}

/* ---------- Sections ----------------------------------------------------- */

.section { padding: var(--sec) 0; }
.section + .section { border-top: 1px solid var(--rule-2); }
.section-paper { background: var(--paper-2); }
.section-dark {
  background: var(--ink); color: #fff; border-top: none !important;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lead, .section-dark p { color: rgba(255,255,255,.68); }

.section-head { max-width: 62ch; margin-bottom: clamp(44px, 6vw, 76px); }

/* En-tête de section en deux colonnes : titre à gauche, chapô à droite.
   Beaucoup plus tenu qu'un bloc centré. */
.head-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px);
  align-items: end; margin-bottom: clamp(44px, 6vw, 76px);
}
.head-split h2 { margin-bottom: 0; }
.head-split .lead { margin-bottom: 0; }

/* ---------- Blocs image + texte ------------------------------------------ */

.split {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5.5vw, 84px); align-items: center;
}
.split.reverse > figure { order: 2; }

/* L'image vit dans son PROPRE cadre. Le voile et la vignette sont bornés à
   ce cadre — sinon ils débordent sur la légende, qui semble alors imprimée
   sur la photo. */
.shot { margin: 0; }
.shot-frame { position: relative; overflow: hidden; line-height: 0; }
/* Le cadre porte un dégradé sombre : si le fichier image manque encore,
   le bloc reste propre au lieu d'afficher une icône d'image cassée. */
.shot-frame { background: linear-gradient(150deg, #2b3238, #14181c); }
.shot-frame img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transform: scale(1.02);
  transition: filter .7s var(--ease), transform 1.1s var(--ease);
}
/* La couleur revient et l'image avance légèrement au survol. */
.shot:hover .shot-frame img {
  filter: grayscale(.25) contrast(1.02);
  transform: scale(1.06);
}
.shot-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(26,31,36,.14), rgba(26,31,36,.30));
  mix-blend-mode: multiply;
}

/* Vignette de donnée, posée dans le coin bas gauche du cadre image */
.shot .stat {
  position: absolute; z-index: 3; left: 0; bottom: 0;
  background: var(--red); color: #fff; padding: 20px 26px 18px;
  line-height: 1.2;
  transform: translateY(101%);
  transition: transform .8s var(--ease);
  transition-delay: .25s;
}
.reveal.in .shot .stat, .split.in .shot .stat { transform: none; }
.shot .stat b { display: block; font-size: 1.85rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.shot .stat span { display: block; margin-top: 6px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; opacity: .86; }

/* ---------- Matrice comparative ------------------------------------------ */

.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.matrix {
  width: 100%; border-collapse: separate; border-spacing: 0;
  min-width: 720px;
}
/* La légende du tableau est une étiquette, pas un paragraphe perdu. */
table.matrix caption {
  text-align: left; padding: 0 0 26px;
  font-size: .73rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
table.matrix th, table.matrix td {
  padding: 19px 24px; text-align: left; vertical-align: top;
  font-size: .96rem; line-height: 1.45;
  border-bottom: 1px solid var(--rule-2);
}

table.matrix thead th {
  font-size: 1.12rem; font-weight: 800; letter-spacing: -.028em;
  padding-top: 0; padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}
table.matrix thead th:first-child { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* La colonne du produit vendu est surélevée — c'est le geste qui remplace
   un tableau plat par une comparaison dirigée. */
table.matrix .col-hero {
  background: var(--paper); color: var(--ink);
  box-shadow: 0 1px 0 var(--rule-2), 0 18px 44px rgba(14,17,19,.07);
  position: relative;
}
.section-paper table.matrix .col-hero { background: #fff; }
table.matrix thead th.col-hero {
  color: var(--ink); padding-top: 26px;
  border-bottom: none;
  box-shadow: inset 0 3px 0 var(--red), 0 -18px 44px rgba(14,17,19,.05);
  position: relative;
}
/* Le trait rouge en tête de colonne se trace à la révélation du tableau. */
table.matrix thead th.col-hero::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease) .2s;
}
.matrix-wrap.in table.matrix thead th.col-hero::after { transform: scaleX(1); }

table.matrix tbody td, table.matrix tbody th { transition: background .25s var(--ease); }
table.matrix tbody tr:last-child td, table.matrix tbody tr:last-child th { border-bottom: none; }
table.matrix tbody tr:last-child td.col-hero { padding-bottom: 26px; }

table.matrix tbody th {
  font-size: .74rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); width: 20%;
  padding-left: 0;
}
table.matrix td { color: var(--muted); }
table.matrix td.col-hero { color: var(--ink); font-weight: 500; }

/* ---------- Comparaison en fiches (telephone) ----------------------------
   Sur petit ecran le tableau cede la place a trois fiches empilees. Aucun
   defilement lateral : chaque fiche porte ses six criteres, on lit de haut
   en bas. Les deux versions ne coexistent jamais a l'ecran.
   ------------------------------------------------------------------------ */

.matrix-cards { display: none; }

@media (max-width: 760px) {

  .matrix-wrap { display: none; }

  .matrix-cards { display: grid; gap: 16px; }

  .matrix-cards-label {
    margin: 0 0 2px;
    font-size: .73rem; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--muted);
  }

  .mcard {
    border: 1px solid var(--rule);
    background: var(--paper);
    padding: 22px 20px 8px;
  }
  .section-paper .mcard { background: #fff; }

  .mcard > header {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 12px; padding-bottom: 16px;
    border-bottom: 1px solid var(--rule);
  }
  .mcard h3 {
    margin: 0;
    font-size: 1.32rem; font-weight: 800; letter-spacing: -.03em;
    color: var(--muted);
  }

  /* La fiche du produit vendu porte le filet rouge et l'encre pleine. */
  .mcard-hero {
    border-color: var(--ink);
    box-shadow: 0 18px 44px rgba(14,17,19,.09);
  }
  .mcard-hero::before {
    content: ""; display: block;
    height: 3px; background: var(--red);
    margin: -22px -20px 22px;
  }
  .mcard-hero h3 { color: var(--ink); }
  .mcard-tag {
    flex: none;
    font-size: .64rem; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--red);
  }

  .mcard dl { margin: 0; }
  .mcard dl > div {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule-2);
  }
  .mcard dl > div:last-child { border-bottom: none; }

  .mcard dt {
    font-size: .66rem; font-weight: 600; letter-spacing: .13em;
    text-transform: uppercase; color: var(--muted);
    line-height: 1.5; padding-top: 2px;
  }
  .mcard dd {
    margin: 0;
    font-size: .95rem; line-height: 1.45; color: var(--muted);
  }
  .mcard-hero dd { color: var(--ink); font-weight: 500; }
}

/* Sous 380 px le libelle passe au-dessus de la valeur. */
@media (max-width: 380px) {
  .mcard dl > div { grid-template-columns: 1fr; gap: 5px; }
  .mcard dt { padding-top: 0; }
}


/* Mention légale — une seule ligne discrète en pied de page.
   Elle a une vraie utilité (Sydney SP pose deux produits sous marque déposée
   sans les fabriquer), mais elle n'a rien à faire au milieu du discours. */
.legal-line {
  margin-top: 26px; font-size: .78rem; line-height: 1.6;
  color: rgba(255,255,255,.38); max-width: 90ch;
}

/* ---------- Processus ----------------------------------------------------- */

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process .step {
  padding: 34px 28px 0 0;
  border-top: 1px solid var(--rule-light);
  position: relative;
}
.process .step {
  transition: transform .4s var(--ease);
}
.process .step:hover { transform: translateY(-4px); }
/* Le filet du haut se déploie à la révélation, étape après étape. */
.process .step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--red-3);
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.process.in .step::before { transform: scaleX(1); }

.process .step .n {
  display: block; font-size: 3.4rem; font-weight: 800;
  letter-spacing: -.05em; line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.28);
  margin-bottom: 20px;
  transition: color .4s var(--ease), -webkit-text-stroke-color .4s var(--ease),
              transform .4s var(--ease);
}
.process .step:hover .n {
  color: var(--red-3); -webkit-text-stroke-color: transparent;
  transform: translateY(-2px);
}
.process .step h3 { font-size: 1.16rem; margin-bottom: .5em; }
.process .step p { font-size: .93rem; margin: 0; }

/* ---------- Arguments ------------------------------------------------------ */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 52px); }
.pillar { padding-top: 26px; border-top: 1px solid var(--rule); }
.section-dark .pillar { border-top-color: var(--rule-light); }
.pillar .ic { width: 26px; height: 26px; margin-bottom: 20px; }
.pillar .ic svg { width: 100%; height: 100%; stroke: var(--red); fill: none; stroke-width: 1.6; }
.section-dark .pillar .ic svg { stroke: var(--red-3); }
.pillar h3 { font-size: 1.14rem; margin-bottom: .45em; }
.pillar p { font-size: .94rem; margin: 0; }

/* ---------- Références ----------------------------------------------------- */

.clients {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  list-style: none; padding: 0; margin: 0;
}
.clients li { display: flex; }
.clients a {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; width: 100%;
  padding: clamp(30px, 3.6vw, 42px) clamp(24px, 2.8vw, 34px) clamp(26px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease),
              box-shadow .35s var(--ease);
}
.clients a::before {           /* filet rouge qui se déploie en haut */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.clients a:hover, .clients a:focus-visible {
  border-color: var(--rule); transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(14,17,19,.10);
}
.clients a:hover::before, .clients a:focus-visible::before { transform: scaleX(1); }

.client-name {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.1; margin-bottom: 10px;
}
.client-name svg {
  width: 15px; height: 15px; stroke: var(--muted); fill: none; stroke-width: 2;
  flex: none; transition: stroke .3s, transform .3s var(--ease);
}
.clients a:hover .client-name svg { stroke: var(--red); transform: translate(3px, -3px); }

.client-desc { font-size: .93rem; line-height: 1.55; color: var(--muted); }

.client-meta {
  margin-top: auto; padding-top: 22px;
  border-top: 1px solid var(--rule-2);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.client-meta span {
  font-size: .68rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--rule); padding: 5px 10px;
  transition: border-color .3s, color .3s;
}
.clients a:hover .client-meta span { border-color: rgba(198,40,40,.35); color: var(--ink); }

/* ---------- Contact -------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; }
.panel {
  padding: clamp(36px, 5vw, 62px);
  display: flex; flex-direction: column;
}
.panel-red { background: var(--red); color: #fff; }
.panel-red h3, .panel-red p { color: #fff; }
.panel-red p { color: rgba(255,255,255,.8); }
.panel-ink { background: var(--ink); color: #fff; }
.panel-ink h3 { color: #fff; }
.panel-ink p { color: rgba(255,255,255,.62); }

.panel .ic { width: 24px; height: 24px; margin-bottom: 26px; }
.panel .ic svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.6; }
.panel h3 { font-size: 1.3rem; margin-bottom: .5em; }
.panel p { font-size: .96rem; margin-bottom: 28px; }

.contact-value {
  display: block; font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 800; letter-spacing: -.045em; line-height: 1.08;
  color: #fff; word-break: break-word;
  transition: opacity .2s;
}
/* L'adresse email fait 23 caractères : à la taille du numéro de téléphone
   elle passait sur deux lignes. Taille propre à l'email, et interdiction
   de couper. */
.contact-value.is-email {
  font-size: clamp(1.02rem, 2.5vw, 1.72rem);
  letter-spacing: -.03em;
  white-space: nowrap; word-break: normal;
}
.contact-value:hover { opacity: .78; }
.panel .foot { margin-top: auto; padding-top: 34px; }

.contact-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule); margin-top: 0;
}
.contact-meta div {
  padding: 26px 28px;
  border-left: 1px solid var(--rule);
}
.contact-meta div:first-child { border-left: none; padding-left: 0; }
.contact-meta dt {
  font-size: .72rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.contact-meta dd { margin: 0; font-size: .98rem; font-weight: 500; }

/* ---------- Pied de page ---------------------------------------------------- */

.site-footer {
  background: var(--ink); color: rgba(255,255,255,.6);
  padding: clamp(52px, 7vw, 76px) 0 30px; font-size: .94rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.site-footer .logo-mark { background: var(--red); }
.site-footer .logo-text b { color: #fff; }
.site-footer .logo-text span { color: rgba(255,255,255,.45); }
.site-footer h2 {
  font-size: .72rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 18px;
}
.site-footer a { display: block; padding: 6px 0; transition: color .18s; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin-top: 20px; max-width: 40ch; line-height: 1.6; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 62px); padding-top: 26px;
  border-top: 1px solid var(--rule-light);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .84rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { display: inline; padding: 0; }

/* ---------- Pages secondaires ------------------------------------------------ */

.page-head {
  background: var(--ink); color: #fff;
  padding: clamp(78px, 10vw, 128px) 0 clamp(52px, 7vw, 78px);
}
.page-head h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); }
.page-head .lead { color: rgba(255,255,255,.7); margin-bottom: 0; }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); margin-top: 2.2em; margin-bottom: .6em; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { color: var(--muted); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--red); font-weight: 500; }
.prose a:hover { color: var(--red); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 48px 0; }

/* ---------- Responsive -------------------------------------------------------- */

@media (max-width: 1080px) {
  .split, .head-split { grid-template-columns: 1fr; align-items: start; }
  .split.reverse > figure { order: 0; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr; }
  .clients li { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 22px;
    box-shadow: 0 20px 40px rgba(14,17,19,.09);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule-2); }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin-top: 14px; border-bottom: none; }

  .hero { padding: 62px 0 46px; }
  .hero-tint { background: linear-gradient(180deg, rgba(14,17,19,.9) 0%, rgba(14,17,19,.82) 100%); }
  .hero-specs { grid-template-columns: 1fr 1fr; }
  .hero-specs li { padding: 20px 20px 18px; border-bottom: 1px solid var(--rule-light); }
  .hero-specs li:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .hero-specs li:nth-last-child(-n+2) { border-bottom: none; }

  .process { grid-template-columns: 1fr; }
  .process .step { padding: 26px 0 0; }
  .contact-meta { grid-template-columns: 1fr; }
  .contact-meta div {
    border-left: none; border-bottom: 1px solid var(--rule);
    padding: 20px 0;
  }
  .contact-meta div:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Impression --------------------------------------------------------- */

@media print {
  .site-header, .hero-actions, .skip-link { display: none !important; }
  .hero { background: none; color: #000; padding: 0 0 24px; }
  .hero-media, .hero-tint { display: none; }
  .hero h1, .hero .lead, .hero-specs b, .hero-specs span { color: #000 !important; }
  .hero h1 .accent { -webkit-text-stroke: 0; color: #000; }
  .section-dark, .panel-red, .panel-ink { background: none !important; color: #000 !important; }
  .section-dark *, .panel-red *, .panel-ink * { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { font-size: 11pt; padding-bottom: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
