/* ==========================================================================
   Tamgout Construction — feuille de style principale
   Palette : noir / rouge / blanc (logo)
   ========================================================================== */

:root {
  --noir: #0b0b0c;
  --noir-2: #141416;
  --noir-3: #1d1d20;
  --gris-9: #2a2a2e;
  --gris-7: #55555c;
  --gris-5: #8a8a92;
  --gris-3: #c9c9ce;
  --gris-1: #efefef;
  --blanc: #ffffff;
  --creme: #f6f5f2;
  --rouge: #ee1d23;
  --rouge-fonce: #c3141a;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--noir);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typographie : la puissance passe par le gras ---------- */
h1, h2, h3, h4, .display {
  overflow-wrap: break-word;
  hyphens: manual;
  font-family: var(--font);
  font-weight: 900;
  font-stretch: 110%;
  line-height: .95;
  letter-spacing: -.02em;
  margin: 0;
  text-transform: uppercase;
}
.display-xxl { font-size: clamp(3.2rem, 10.5vw, 10rem); }
.display-xl  { font-size: clamp(2.6rem, 7.4vw, 6.8rem); }
.display-l   { font-size: clamp(2rem, 4.6vw, 4.2rem); }
.display-m   { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.display-s   { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.05; }
.rouge { color: var(--rouge); }
.contour { color: transparent; -webkit-text-stroke: 2px currentColor; }
.on-dark .contour, .contour.blanc { -webkit-text-stroke-color: var(--blanc); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 4px; background: var(--rouge); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--gris-7); max-width: 62ch; }
.on-dark .lead, .on-dark p { color: #c8c8cd; }
p { margin: 0 0 1em; }
strong { font-weight: 800; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px;
  font-weight: 800; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-rouge { background: var(--rouge); color: var(--blanc); }
.btn-rouge:hover { background: var(--rouge-fonce); }
.btn-noir { background: var(--noir); color: var(--blanc); }
.btn-noir:hover { background: var(--rouge); }
.btn-ligne { border-color: currentColor; color: inherit; }
.btn-ligne:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.btn-ligne.sombre:hover { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.btn-groupe { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Barre supérieure ---------- */
.topbar {
  background: var(--noir); color: #bdbdc3;
  font-size: .8rem; letter-spacing: .04em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar-infos { display: flex; gap: 26px; align-items: center; }
.topbar a:hover { color: var(--blanc); }
.topbar-infos span, .topbar-infos a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; color: var(--rouge); }
.topbar .rbq { color: var(--blanc); font-weight: 800; letter-spacing: .12em; }
.langue { display: flex; gap: 4px; font-weight: 800; letter-spacing: .1em; }
.langue a, .langue button { background: none; border: 0; color: #8a8a92; padding: 4px 6px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.langue .actif { color: var(--blanc); border-bottom: 2px solid var(--rouge); }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid #e7e7ea;
  transition: box-shadow .3s var(--ease);
}
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 24px; transition: height .3s var(--ease); }
.header.scrolled .container { height: 72px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a, .nav > ul > li > button {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  background: none; border: 0; color: var(--noir);
  white-space: nowrap;
  position: relative;
}
.nav > ul > li > a::after, .nav > ul > li > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--rouge);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav > ul > li:hover > a::after, .nav > ul > li:hover > button::after,
.nav > ul > li > a[aria-current="page"]::after, .nav > ul > li.actif > button::after { transform: scaleX(1); }
.nav .chevron { width: 12px; height: 12px; }
.nav .vedette { color: var(--rouge); }
.sous-menu {
  position: absolute; top: 100%; left: 0; min-width: 320px;
  background: var(--noir); color: var(--blanc);
  list-style: none; margin: 0; padding: 12px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s var(--ease);
  border-top: 4px solid var(--rouge);
}
.nav li:hover > .sous-menu, .nav li:focus-within > .sous-menu { opacity: 1; visibility: visible; transform: none; }
.sous-menu a { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; font-weight: 700; font-size: .95rem; }
.sous-menu a small { color: var(--gris-5); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.sous-menu a:hover { background: var(--noir-3); color: var(--blanc); }
.sous-menu a:hover small { color: var(--rouge); }
.sous-menu .pastille { background: var(--rouge); color: #fff; font-size: .62rem; letter-spacing: .12em; padding: 3px 7px; font-weight: 800; }
.nav-cta { margin-left: 12px; padding: 15px 22px; }
.burger { display: none; background: none; border: 0; width: 48px; height: 48px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 3px; background: var(--noir); transition: all .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 31px; }
.menu-ouvert .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
.menu-ouvert .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* Menu mobile */
.menu-mobile {
  position: fixed; inset: 0; z-index: 40; background: var(--noir); color: var(--blanc);
  padding: 120px var(--gutter) 40px; overflow-y: auto;
  transform: translateY(-100%); transition: transform .45s var(--ease);
  display: none;
}
.menu-ouvert .menu-mobile { transform: none; }
.menu-mobile ul { list-style: none; margin: 0; padding: 0; }
.menu-mobile > ul > li > a { display: block; padding: 12px 0; font-size: 1.9rem; font-weight: 900; text-transform: uppercase; font-stretch: 110%; border-bottom: 1px solid var(--gris-9); line-height: 1.1; }
.menu-mobile .sous a { display: block; padding: 8px 0 8px 16px; color: #bdbdc3; font-weight: 700; border-left: 3px solid var(--rouge); margin: 4px 0; }
.menu-mobile .btn { margin-top: 28px; width: 100%; justify-content: center; }
.menu-mobile .contact-mobile { margin-top: 28px; color: #bdbdc3; font-size: .95rem; }
.menu-mobile .contact-mobile a { color: var(--blanc); font-weight: 800; font-size: 1.4rem; }

/* ---------- Héros vidéo ---------- */
.hero {
  position: relative; color: var(--blanc); background: var(--noir);
  min-height: clamp(620px, calc(100vh - 128px), 920px);
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero video, .hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.7) 45%, rgba(11,11,12,.25) 100%),
    linear-gradient(0deg, rgba(11,11,12,.85) 0%, rgba(11,11,12,0) 45%);
}
.hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 72px; }
.hero h1 { margin-bottom: 30px; }
.hero h1 .ligne { display: block; overflow: hidden; }
.hero h1 .ligne > span { display: inline-block; animation: monte 1s var(--ease) both; }
.hero h1 .ligne:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .ligne:nth-child(3) > span { animation-delay: .24s; }
@keyframes monte { from { transform: translateY(105%); } to { transform: none; } }
.hero .lead { color: #dcdce0; max-width: 56ch; margin-bottom: 36px; }
.hero-bas { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badge {
  border: 1px solid rgba(255,255,255,.28); padding: 10px 14px;
  font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(11,11,12,.35); backdrop-filter: blur(4px);
}
.hero-badge b { color: var(--rouge); }
.hero-trait { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 10px; background: var(--rouge); }

/* Héros de page intérieure */
.page-hero { position: relative; background: var(--noir); color: var(--blanc); overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.95) 10%, rgba(11,11,12,.35)); }
.page-hero .container { position: relative; z-index: 2; padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(60px, 8vw, 110px); }
.page-hero h1 { margin-bottom: 26px; }
.fil { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gris-5); margin-bottom: 26px; }
.fil a:hover { color: var(--blanc); }
.fil span { color: var(--rouge); margin: 0 8px; }

/* ---------- Bandeau défilant ---------- */
.ticker { background: var(--rouge); color: var(--blanc); overflow: hidden; border-top: 1px solid var(--rouge-fonce); }
.ticker-piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.ticker-piste span {
  display: inline-flex; align-items: center; gap: 28px; padding: 20px 14px;
  font-weight: 900; font-stretch: 112%; font-size: clamp(1.1rem, 2vw, 1.6rem); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
}
.ticker-piste span::after { content: ""; width: 14px; height: 14px; background: var(--noir); transform: rotate(45deg); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.serre { padding: clamp(56px, 7vw, 96px) 0; }
.bg-noir { background: var(--noir); color: var(--blanc); }
.bg-noir-2 { background: var(--noir-2); color: var(--blanc); }
.bg-creme { background: var(--creme); }
.bg-rouge { background: var(--rouge); color: var(--blanc); }
.entete-section { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.entete-section .lead { margin: 0; }
.grille-lignes {
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--gris-9); }
.chiffre { padding: 38px 28px 36px 0; border-right: 1px solid var(--gris-9); }
.chiffre + .chiffre { padding-left: 28px; }
.chiffre:last-child { border-right: 0; }
.chiffre .n { font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 900; font-stretch: 115%; line-height: .9; letter-spacing: -.03em; }
.chiffre .n sup { font-size: .4em; color: var(--rouge); vertical-align: top; margin-left: 4px; }
.chiffre .l { margin-top: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: #bdbdc3; }

/* ---------- Bloc salles blanches (accueil) ---------- */
.sb-vedette { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.sb-titre { font-size: clamp(3rem, 7vw, 6.6rem); line-height: .86; }
.sb-liste { list-style: none; padding: 0; margin: 34px 0 40px; display: grid; gap: 0; }
.sb-liste li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--gris-9); font-weight: 700; font-size: 1.06rem; }
.sb-liste li b { color: var(--rouge); font-size: .8rem; letter-spacing: .14em; min-width: 30px; }
.iso-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.iso-chip { border: 1px solid var(--gris-9); padding: 8px 12px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #d7d7dc; }
.iso-chip.r { border-color: var(--rouge); color: var(--blanc); background: rgba(238,29,35,.12); }
.sb-visuel { position: relative; }
.sb-visuel svg { width: 100%; height: auto; }
.sb-visuel .etiquette { position: absolute; left: 0; bottom: -18px; background: var(--rouge); color: #fff; padding: 14px 18px; font-weight: 900; letter-spacing: .12em; font-size: .78rem; text-transform: uppercase; }

/* ---------- Cartes secteurs ---------- */
.secteurs { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.carte-secteur {
  position: relative; overflow: hidden; color: var(--blanc); background: var(--noir);
  min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px; isolation: isolate;
}
.carte-secteur:nth-child(1) { grid-column: span 7; min-height: 560px; }
.carte-secteur:nth-child(2) { grid-column: span 5; min-height: 560px; }
.carte-secteur:nth-child(3), .carte-secteur:nth-child(4), .carte-secteur:nth-child(5) { grid-column: span 4; }
.carte-secteur > img, .carte-secteur > .visuel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.carte-secteur::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,11,12,.95) 8%, rgba(11,11,12,.35) 60%, rgba(11,11,12,.15)); transition: background .4s; }
.carte-secteur:hover > img, .carte-secteur:hover > .visuel { transform: scale(1.06); }
.carte-secteur:hover::before { background: linear-gradient(0deg, rgba(11,11,12,.97) 15%, rgba(238,29,35,.35)); }
.carte-secteur .num { position: absolute; top: 28px; left: 34px; font-weight: 900; font-size: .82rem; letter-spacing: .2em; }
.carte-secteur .num::after { content: ""; display: inline-block; width: 30px; height: 3px; background: var(--rouge); margin-left: 12px; vertical-align: middle; }
.carte-secteur .tag { position: absolute; top: 24px; right: 24px; background: var(--rouge); padding: 7px 11px; font-size: .68rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.carte-secteur h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin-bottom: 14px; overflow-wrap: anywhere; }
.carte-secteur:nth-child(2) h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-stretch: 100%; }
.carte-secteur:nth-child(n+3) h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-stretch: 100%; }
.carte-secteur p { color: #d0d0d5; max-width: 46ch; margin-bottom: 20px; }
.carte-secteur .plus { display: inline-flex; gap: 10px; align-items: center; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.carte-secteur .plus svg { width: 18px; height: 18px; color: var(--rouge); transition: transform .3s var(--ease); }
.carte-secteur:hover .plus svg { transform: translateX(6px); }

/* ---------- Grand énoncé ---------- */
.enonce { font-size: clamp(2.4rem, 7vw, 6.6rem); line-height: .92; }
.enonce .bloc { display: block; }
.enonce-sous { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 4px solid var(--noir); }
.enonce-sous > div { padding: 30px 30px 0 0; }
.enonce-sous > div + div { padding-left: 30px; border-left: 1px solid var(--gris-3); }
.enonce-sous h3 { font-size: 1.35rem; margin-bottom: 12px; }
.enonce-sous p { color: var(--gris-7); }

/* ---------- Pourquoi nous ---------- */
.atouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--gris-3); border-left: 1px solid var(--gris-3); }
.atout { padding: 40px 30px 44px; border-right: 1px solid var(--gris-3); border-bottom: 1px solid var(--gris-3); position: relative; transition: background .3s var(--ease), color .3s var(--ease); }
.atout:hover { background: var(--noir); color: var(--blanc); }
.atout:hover p { color: #c8c8cd; }
.atout .ico { width: 54px; height: 54px; color: var(--rouge); margin-bottom: 34px; }
.atout h3 { font-size: 1.4rem; margin-bottom: 14px; }
.atout p { color: var(--gris-7); font-size: .98rem; margin: 0; transition: color .3s; }
.atout .idx { position: absolute; top: 34px; right: 30px; font-weight: 900; color: var(--gris-3); font-size: .9rem; letter-spacing: .12em; }

/* ---------- Processus ---------- */
.processus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: etape; }
.etape { padding: 0 28px 0 0; position: relative; }
.etape + .etape { padding-left: 28px; }
.etape .n { font-size: clamp(4rem, 7vw, 6.4rem); font-weight: 900; font-stretch: 115%; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--rouge); margin-bottom: 18px; }
.etape .barre { height: 4px; background: var(--gris-9); margin-bottom: 26px; position: relative; }
.etape .barre::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 38%; background: var(--rouge); }
.etape h3 { font-size: 1.45rem; margin-bottom: 12px; }

/* ---------- Image + texte ---------- */
.duo { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.duo.inverse > :first-child { order: 2; }
.duo.large-gauche { grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); align-items: start; }
.duo.licence { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); padding: 44px 0; border-top: 1px solid var(--gris-3); align-items: start; }
.aside-collant { position: sticky; top: 110px; }
.duo-img { position: relative; }
.duo-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.duo-img.paysage img { aspect-ratio: 4/3; }
.duo-img::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 42%; height: 42%; border-right: 10px solid var(--rouge); border-bottom: 10px solid var(--rouge); z-index: -1; }
.duo.inverse .duo-img::after { right: auto; left: -18px; border-right: 0; border-left: 10px solid var(--rouge); }
.duo h2 { margin-bottom: 26px; }
.liste-check { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.liste-check li { display: flex; gap: 14px; font-weight: 600; }
.liste-check li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.liste-check.deux-col { grid-template-columns: 1fr 1fr; }

/* ---------- Certifications ---------- */
.certifs { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--gris-3); }
.certif { padding: 30px 22px; border-right: 1px solid var(--gris-3); text-align: left; }
.certif:last-child { border-right: 0; }
.certif .sigle { font-weight: 900; font-stretch: 118%; font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.01em; line-height: 1; margin-bottom: 10px; }
.certif .sigle::after { content: ""; display: block; width: 26px; height: 4px; background: var(--rouge); margin-top: 12px; }
.certif p { font-size: .86rem; color: var(--gris-7); margin: 0; line-height: 1.45; }

/* ---------- Grand appel à l'action ---------- */
.cta-geant { position: relative; overflow: hidden; }
.cta-geant .container { position: relative; z-index: 2; }
.cta-geant h2 { font-size: clamp(2.8rem, 8.6vw, 8.4rem); line-height: .88; margin-bottom: 40px; }
.cta-geant .tel { display: inline-block; font-weight: 900; font-stretch: 115%; font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.02em; border-bottom: 6px solid var(--noir); padding-bottom: 6px; }
.cta-geant .tel:hover { color: var(--noir); }
.cta-geant .cols { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 30px; }
.cta-geant .flag { position: absolute; right: -6%; top: -20%; width: 46%; height: 140%; background: rgba(0,0,0,.08); transform: skewX(-14deg); z-index: 1; }

/* ---------- Cartes services (pages secteurs) ---------- */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.carte { background: var(--blanc); border: 1px solid var(--gris-3); padding: 36px 32px 38px; position: relative; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.carte:hover { border-color: var(--noir); transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(0,0,0,.4); }
.carte::before { content: ""; position: absolute; left: -1px; top: -1px; width: 64px; height: 5px; background: var(--rouge); }
.carte h3 { font-size: 1.32rem; margin-bottom: 14px; line-height: 1.05; }
.carte p { color: var(--gris-7); margin: 0; font-size: .98rem; }
.carte .ico { width: 44px; height: 44px; color: var(--noir); margin-bottom: 24px; }
.bg-noir .carte, .bg-noir-2 .carte { background: var(--noir-3); border-color: var(--gris-9); color: var(--blanc); }
.bg-noir .carte p, .bg-noir-2 .carte p { color: #b9b9c0; }
.bg-noir .carte .ico, .bg-noir-2 .carte .ico { color: var(--rouge); }
.bg-noir .carte:hover, .bg-noir-2 .carte:hover { border-color: var(--rouge); }

/* ---------- Tableau ISO ---------- */
.tableau-iso { width: 100%; border-collapse: collapse; font-size: .96rem; }
.tableau-iso th, .tableau-iso td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--gris-9); vertical-align: top; }
.tableau-iso th { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-5); font-weight: 800; }
.tableau-iso td:first-child { font-weight: 900; font-stretch: 112%; font-size: 1.3rem; white-space: nowrap; }
.tableau-iso td:first-child span { color: var(--rouge); }
.tableau-iso tr:hover td { background: rgba(255,255,255,.03); }
.tableau-scroll { overflow-x: auto; }

/* ---------- Normes (salles blanches) ---------- */
.normes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gris-9); border: 1px solid var(--gris-9); }
.norme { background: var(--noir); padding: 30px 26px; }
.norme .code { font-weight: 900; font-stretch: 115%; font-size: 1.7rem; line-height: 1; margin-bottom: 12px; }
.norme .code span { color: var(--rouge); }
.norme p { font-size: .9rem; color: #b9b9c0; margin: 0; }

/* ---------- Galerie salles blanches ---------- */
.galerie-sb { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 18px; }
.galerie-sb figure { margin: 0; position: relative; }
.galerie-sb img { width: 100%; height: clamp(280px, 38vw, 520px); object-fit: cover; }
.galerie-sb figcaption { position: absolute; left: 0; bottom: 0; background: var(--noir); color: #fff; padding: 12px 16px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; border-left: 6px solid var(--rouge); }
@media (max-width: 680px) { .galerie-sb { grid-template-columns: minmax(0,1fr); } }

/* ---------- Réalisations ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filtre { background: none; border: 2px solid var(--gris-3); padding: 12px 20px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; color: var(--noir); }
.filtre:hover { border-color: var(--noir); }
.filtre.actif { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.projet { position: relative; overflow: hidden; background: var(--noir); color: var(--blanc); aspect-ratio: 4/5; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; isolation: isolate; }
.projet > img, .projet > .visuel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.projet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,11,12,.92), rgba(11,11,12,.05) 65%); }
.projet:hover > img, .projet:hover > .visuel { transform: scale(1.05); }
.projet .cat { font-size: .7rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--rouge); margin-bottom: 8px; }
.projet h3 { font-size: 1.4rem; line-height: 1.05; }
.projet .lieu { font-size: .86rem; color: #bdbdc3; margin-top: 8px; }
.projet.cache { display: none; }
.projet.a-venir { background: var(--noir-2); border: 1px dashed var(--gris-9); }
.projet.a-venir::before { display: none; }

/* ---------- Formulaires ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 22px; }
.form .plein { grid-column: 1 / -1; }
.champ label, .champ legend { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; color: var(--noir); }
.champ label .req { color: var(--rouge); }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: 16px 16px; font: inherit; font-size: 1rem; color: var(--noir);
  background: var(--blanc); border: 2px solid var(--gris-3); border-radius: var(--radius);
  transition: border-color .2s;
}
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--noir); }
.champ fieldset { border: 0; padding: 0; margin: 0; }
.choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.choix label { margin: 0; display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px solid var(--gris-3); cursor: pointer; font-size: .86rem; letter-spacing: .06em; text-transform: none; font-weight: 700; transition: all .2s; }
.choix label:hover { border-color: var(--noir); }
.choix input { width: 18px; height: 18px; accent-color: var(--rouge); margin: 0; flex: none; }
.choix label:has(input:checked) { border-color: var(--rouge); background: #fff3f3; }
.champ .aide { font-size: .84rem; color: var(--gris-7); margin-top: 8px; }
.depot { border: 2px dashed var(--gris-3); padding: 26px; text-align: center; font-weight: 700; color: var(--gris-7); cursor: pointer; transition: border-color .2s; display: block; }
.depot:hover { border-color: var(--noir); }
.depot input { display: none; }
.form-ok { display: none; background: var(--noir); color: var(--blanc); padding: 30px; border-left: 8px solid var(--rouge); }
.form-ok.visible { display: block; }
.on-dark .champ label { color: var(--blanc); }
.on-dark .champ input, .on-dark .champ textarea, .on-dark .champ select { background: var(--noir-3); border-color: var(--gris-9); color: var(--blanc); }
.on-dark .champ input:focus, .on-dark .champ textarea:focus { border-color: var(--rouge); }

/* ---------- Contact ---------- */
.coord { display: grid; gap: 0; }
.coord-item { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--gris-3); }
.coord-item .ico { width: 54px; height: 54px; background: var(--noir); color: var(--blanc); display: grid; place-items: center; }
.coord-item .ico svg { width: 22px; height: 22px; }
.coord-item .t { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-7); }
.coord-item .v { font-weight: 800; font-size: 1.2rem; line-height: 1.3; }
.carte-google { width: 100%; height: 460px; border: 0; filter: grayscale(1) contrast(1.05); display: block; background: var(--gris-1); }

/* ---------- Pied de page ---------- */
.footer { background: var(--noir); color: #a9a9b0; padding-top: clamp(64px, 8vw, 110px); font-size: .95rem; }
.footer-haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--gris-9); }
.footer .logo img { height: 58px; margin-bottom: 26px; }
.footer h4 { color: var(--blanc); font-size: .82rem; letter-spacing: .18em; margin-bottom: 22px; font-stretch: 100%; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--blanc); }
.footer .tel-pied { display: block; color: var(--blanc); font-weight: 900; font-size: 1.6rem; font-stretch: 112%; margin-bottom: 6px; }
.footer-slogan { font-weight: 900; font-stretch: 112%; text-transform: uppercase; color: var(--blanc); font-size: 1.35rem; line-height: 1.05; max-width: 22ch; margin-bottom: 16px; }
.footer-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 26px 0 30px; font-size: .82rem; }
.footer-bas .rbq { color: var(--blanc); font-weight: 800; letter-spacing: .1em; }
.footer-geant { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(3.4rem, 15.5vw, 15rem); line-height: .8; letter-spacing: -.04em; color: var(--noir-3); white-space: nowrap; overflow: hidden; padding-top: 30px; user-select: none; }
.footer-geant span { color: rgba(238,29,35,.22); }

/* Bouton d'appel flottant (mobile) */
.appel-flottant { display: none; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.vu { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Avis de prévisualisation */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--noir); color: #fff; padding: 14px 22px; border-left: 6px solid var(--rouge); font-weight: 700; z-index: 90; transition: transform .35s var(--ease); max-width: calc(100% - 32px); }
.toast.visible { transform: translate(-50%, 0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
  .nav > ul > li > a, .nav > ul > li > button { padding: 12px 8px; font-size: .74rem; letter-spacing: .07em; }
  .nav-cta { margin-left: 6px; padding: 14px 16px; }
}
@media (max-width: 1180px) {
  .nav > ul > li > a, .nav > ul > li > button { padding: 12px 9px; font-size: .76rem; }
  .topbar-infos .adresse { display: none; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .menu-mobile { display: block; }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .menu-mobile { display: block; }
  .header .container { height: 74px; }
  .logo img { height: 44px; }
  .sb-vedette, .duo, .duo.large-gauche, .duo.licence, .entete-section { grid-template-columns: minmax(0,1fr); }
  .duo.licence { gap: 20px; }
  .aside-collant { position: static; }
  .duo.inverse > :first-child { order: 0; }
  .secteurs { grid-template-columns: 1fr 1fr; }
  .carte-secteur:nth-child(n) { grid-column: span 1; min-height: 420px; }
  .carte-secteur:nth-child(1) { grid-column: 1 / -1; }
  .atouts, .processus { grid-template-columns: 1fr 1fr; }
  .processus { gap: 48px 0; }
  .etape:nth-child(3) { padding-left: 0; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffre:nth-child(2) { border-right: 0; }
  .chiffre:nth-child(3) { padding-left: 0; }
  .chiffre:nth-child(n+3) { border-top: 1px solid var(--gris-9); }
  .certifs { grid-template-columns: repeat(3, 1fr); }
  .certif:nth-child(3) { border-right: 0; }
  .certif:nth-child(n+4) { border-top: 1px solid var(--gris-3); }
  .normes { grid-template-columns: 1fr 1fr; }
  .cartes, .galerie { grid-template-columns: 1fr 1fr; }
  .footer-haut { grid-template-columns: 1fr 1fr; }
  .enonce-sous { grid-template-columns: 1fr; }
  .enonce-sous > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--gris-3); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .display-xxl { font-size: 11.6vw; }
  h1, h2, h3, h4, .display { line-height: 1; }
  .topbar .container { justify-content: space-between; }
  .topbar-infos .courriel, .topbar-infos .rbq-top { display: none; }
  .hero { min-height: 640px; }
  .hero-trait { width: 6px; }
  .secteurs, .atouts, .processus, .cartes, .galerie, .normes, .form, .footer-haut { grid-template-columns: 1fr; }
  .etape, .etape + .etape { padding: 0; }
  .chiffre, .chiffre + .chiffre { padding: 26px 14px 24px 0; }
  .chiffre:nth-child(2n) { padding-left: 14px; }
  .certifs { grid-template-columns: 1fr 1fr; }
  .certif:nth-child(n) { border-right: 1px solid var(--gris-3); border-top: 1px solid var(--gris-3); }
  .certif:nth-child(2n) { border-right: 0; }
  .certif:nth-child(-n+2) { border-top: 0; }
  .liste-check.deux-col { grid-template-columns: 1fr; }
  .duo-img::after { right: -8px; bottom: -8px; border-width: 6px !important; }
  .duo.inverse .duo-img::after { left: -8px; }
  .btn { padding: 16px 22px; }
  .btn-groupe .btn { flex: 1 1 100%; justify-content: center; }
  .carte-secteur { padding: 26px; }
  .carte-secteur .num { left: 26px; }
  .appel-flottant { display: grid; place-items: center; position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--rouge); color: #fff; box-shadow: 0 12px 30px -8px rgba(238,29,35,.7); }
  .appel-flottant svg { width: 26px; height: 26px; }
  .sb-visuel .etiquette { position: static; display: inline-block; margin-top: 12px; }
  .tableau-iso td, .tableau-iso th { padding: 14px 10px; }
}
