/* ============================================================
   Nide Works — Feuille de styles principale
   Palette de marque : marine #1A2A4A · orange #E8772E · doré #B8902A
   Polices : pile système (texte) · Georgia (logo Nide▲Works)
   ============================================================ */

:root {
  --color-primary: #0f9d8e;      /* teal signature — charte « Champ des Monts » */
  --color-primary-dark: #0b7d70; /* teal profond */
  --color-teal-50: #e6f4f2;      /* teal clair (bandeaux) */
  --color-accent: #e08a34;       /* accent chaud — réservé aux CTA */
  --color-accent-dark: #c9762a;
  --color-gold: #b8902a;         /* doré (lien aim25.be) */
  --color-dark: #334155;         /* anthracite */
  --color-dark-2: #3f5169;       /* anthracite clair (dégradés) */
  --color-text: #3f4d60;         /* texte */
  --color-muted: #7a8494;        /* gris secondaire */
  --color-light: #f1f5f4;        /* béton clair */
  --color-cream: #fafbfc;        /* gris très clair */
  --color-white: #ffffff;
  --color-border: #d9e2e1;       /* filet */

  --font-display: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(51, 65, 85, 0.08);
  --shadow-lg: 0 30px 70px rgba(51, 65, 85, 0.16);
  --container: 1200px;
  --header-h: 84px;
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fallback pour les navigateurs plus anciens qui ne connaissent pas
   overflow: clip. Le menu mobile ne doit jamais élargir le document. */
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible {
  outline: 3px solid #075e56;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #fff;
}

/* Premier lien clavier : invisible au repos, immédiatement repérable au focus. */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  max-width: calc(100vw - 20px);
  padding: 12px 16px;
  color: #fff;
  background: #17232d;
  border: 2px solid #fff;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transform: translateY(calc(-100% - 16px));
  transition: transform .16s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  color: #fff;
  outline-color: #83d8ce;
  box-shadow: 0 0 0 3px #17232d;
  transform: translateY(0);
}

h1, h2, h3, h4 { color: var(--color-dark); line-height: 1.12; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h4 { font-weight: 700; letter-spacing: -0.015em; }

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }

p { color: var(--color-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.text-primary { color: var(--color-primary-dark); }
.highlight { color: var(--color-dark); font-weight: 700; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-accent);
  color: #17232d;
  box-shadow: 0 8px 20px rgba(224, 138, 52, 0.32);
}
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-dark { background: var(--color-dark); color: var(--color-white); }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: var(--color-dark); border-color: var(--color-dark); }
.btn-outline:hover { background: var(--color-dark); color: var(--color-white); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: #fff; color: var(--color-dark); }

/* ---------- Barre supérieure ---------- */
.topbar {
  position: relative;
  z-index: 101;
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.85); transition: color var(--transition); }
.topbar a:hover { color: var(--color-primary); }
.topbar .topbar-info { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar .topbar-info span { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar-badge { color: var(--color-primary); font-weight: 700; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 52px; height: 52px;
  background: var(--color-dark);
  color: var(--color-primary);
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.5rem; line-height: 1;
  box-shadow: 0 6px 16px rgba(26,42,74,.28);
}
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700; font-size: 1.5rem; color: var(--color-dark); letter-spacing: 0.2px;
}
.brand-name span { color: inherit; }
.brand-name span.tri { color: var(--color-primary); font-size: 0.9em; margin: 0 1px; }
.brand-tag { display: block; font-size: 0.68rem; font-weight: 600; color: var(--color-muted); letter-spacing: 0.04em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 0.1rem; }
.nav-menu a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark);
  padding: 9px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover { color: var(--color-primary-dark); }
.nav-menu a.active { color: var(--color-primary-dark); }
.nav-menu a.active::after {
  content: ""; display: block; height: 3px; width: 22px;
  background: var(--color-primary); border-radius: 3px; margin: 3px auto 0;
}
.nav-cta { margin-left: 0.35rem; }

/* Bouton « Portail Pro » — toujours visible dans le header (accès app équipe) */
.header-portal {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 0.35rem; padding: 8px 12px;
  font-weight: 700; font-size: 0.86rem; white-space: nowrap;
  color: #fff; background: var(--color-primary-dark);
  border-radius: 9px; box-shadow: 0 2px 8px rgba(15,157,142,.28);
  transition: background var(--transition), transform var(--transition);
}
.header-portal:hover { background: #06574f; transform: translateY(-1px); }
.header-portal span[aria-hidden] { font-size: 1.05em; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 3px; width: 26px; background: var(--color-dark); border-radius: 3px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(115deg, #334155 0%, #3f5169 55%, #334155 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; top: -30%; right: -10%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(232,119,46,.22) 0%, transparent 68%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 96px); }
.hero-inner { max-width: 760px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--color-primary); }
.hero-lead { color: rgba(255,255,255,.82); font-size: 1.12rem; margin-top: 1.25rem; max-width: 640px; }
.hero-actions { display: flex; gap: 0.9rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.25rem; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-size: 0.85rem; font-weight: 600;
  padding: 8px 16px; border-radius: 50px;
}
.hero-badges span::before { content: "✓"; color: var(--color-primary); font-weight: 900; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  color: var(--color-primary);
  font-weight: 700; font-size: 0.76rem; line-height: 1;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; flex-shrink: 0; }
.section-head.center .eyebrow { justify-content: center; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--color-primary); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7vw, 92px); }
.section-light { background: var(--color-light); }
.section-dark { background: var(--color-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }

.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 0.9rem; font-size: 1.05rem; }

/* ---------- Split (texte + visuel) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split-text { order: 2; }
.split-text p { margin-top: 1rem; }
.split-visual {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(232,119,46,.9), rgba(229,167,1,.9));
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  color: var(--color-dark);
  position: relative;
}
.split-visual .visual-icon { font-size: 4.5rem; opacity: .9; }

.check-list { margin-top: 1.5rem; display: grid; gap: 0.85rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--color-text); }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.check-list li strong { color: var(--color-dark); }

/* ---------- Grille de cartes ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: var(--color-primary);
  color: var(--color-dark);
  display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 1.25rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.96rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.15rem; font-weight: 700; color: var(--color-dark);
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { gap: 0.75rem; color: var(--color-primary-dark); }

/* Carte service (numérotée, foncée) */
.service-card { background: var(--color-white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); }
.service-card-media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #3f5169, #334155);
  display: grid; place-items: center; color: var(--color-primary);
  font-size: 3rem; position: relative;
}
.service-card-media .tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--color-primary); color: var(--color-dark);
  font-size: 0.72rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 50px;
}
.service-card-body { padding: 1.75rem; }
.service-card-body h3 { margin-bottom: 0.6rem; }

/* ---------- Packs ---------- */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.pack {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pack:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pack.featured { border-color: var(--color-primary); box-shadow: 0 0 0 2px var(--color-primary); }
.pack-num { font-size: 0.78rem; font-weight: 800; color: var(--color-primary-dark); letter-spacing: .1em; text-transform: uppercase; }
.pack h3 { margin: 0.35rem 0 0.25rem; }
.pack-sub { font-size: 0.9rem; color: var(--color-muted); font-weight: 600; margin-bottom: 1rem; }
.pack ul { margin-top: auto; display: grid; gap: 0.6rem; padding-top: 1rem; }
.pack ul li { position: relative; padding-left: 1.5rem; font-size: 0.9rem; color: var(--color-text); }
.pack ul li::before { content: "→"; position: absolute; left: 0; color: var(--color-primary-dark); font-weight: 800; }

/* ---------- Bandeau statistiques ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; text-align: center; }
.stat-num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; color: var(--color-primary); line-height: 1; }
.stat-label { margin-top: 0.5rem; font-size: 0.92rem; color: rgba(255,255,255,.75); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; text-align: left;
  font-family: inherit; font-size: 1.05rem; font-weight: 700; color: var(--color-dark);
}
.faq-q .icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--color-primary); color: var(--color-dark); display: grid; place-items: center; font-size: 1.3rem; transition: transform var(--transition); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding-bottom: 1.35rem; }

/* ---------- Galerie réalisations ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #3f5169, #334155);
  display: grid; place-items: center; color: var(--color-primary); font-size: 2.5rem;
  cursor: pointer;
}
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent 60%);
  display: flex; align-items: flex-end; padding: 1.25rem;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: #fff; font-weight: 700; }
.gallery-item .overlay small { display: block; color: var(--color-primary); font-weight: 600; }

/* ---------- CTA final ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-dark);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.cta-band h2 { color: var(--color-dark); }
.cta-band p { color: rgba(26,42,74,.75); max-width: 620px; margin: 1rem auto 1.75rem; font-weight: 500; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info-card { display: grid; gap: 1.2rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-row .info-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: var(--color-primary); color: var(--color-dark);
  display: grid; place-items: center; font-size: 1.3rem;
}
.info-row .info-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); font-weight: 700; }
.info-row .info-value { font-weight: 700; color: var(--color-dark); font-size: 1.05rem; }
.info-row .info-value a:hover { color: var(--color-primary-dark); }

.form-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; color: var(--color-dark); margin-bottom: 0.45rem; }
.form-group label .req { color: #cf2e2e; }
.form-control {
  width: 100%; font-family: inherit; font-size: 0.98rem;
  padding: 13px 15px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-light); color: var(--color-dark); transition: border-color var(--transition), background var(--transition);
}
.form-control:focus { outline: none; border-color: var(--color-primary); background: #fff; box-shadow: 0 0 0 3px rgba(232,119,46,.2); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--color-muted); margin-top: 0.5rem; }
.form-privacy { text-align: center; line-height: 1.5; }
.form-privacy a { color: var(--color-primary-dark); text-decoration: underline; }
.file-group { border: 0; padding: 0; min-width: 0; }
.file-group legend { font-weight: 700; font-size: 0.9rem; color: var(--color-dark); margin-bottom: 0.55rem; }
.file-group .form-control + label { margin-top: 0.8rem; }
.form-success {
  display: none; background: #e9f9ef; border: 1.5px solid #7bdcb5; color: #0a7a43;
  border-radius: var(--radius-sm); padding: 1rem 1.25rem; font-weight: 600; margin-bottom: 1.25rem;
}
.form-success.show { display: block; }
.form-error {
  background: #fdecec; border: 1.5px solid #f2a6a6; color: #b02020;
  border-radius: var(--radius-sm); padding: 1rem 1.25rem; font-weight: 600; margin-bottom: 1.25rem;
}
.form-error[hidden] { display: none; }

/* Cases à cocher « pilules » (lots d'un appel d'offres) */
.check-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.check-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.9rem; border: 1.5px solid var(--color-border);
  border-radius: 999px; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  background: #fff; transition: border-color var(--transition), background var(--transition);
}
.check-pill:hover { border-color: var(--color-primary); }
.check-pill:has(input:checked) { border-color: var(--color-primary); background: rgba(232,119,46,.08); }
.check-pill input { accent-color: var(--color-primary); width: 1rem; height: 1rem; }

.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 1.5rem; border: 1px solid var(--color-border); }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,.7); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 1rem; font-size: 0.92rem; color: rgba(255,255,255,.6); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: 0.65rem; }
.footer-links a { color: rgba(255,255,255,.7); font-size: 0.93rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-primary); }
.footer-contact { display: grid; gap: 0.8rem; font-size: 0.93rem; }
.footer-contact a:hover { color: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255,255,255,.55);
}
.footer-bottom .legal-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom .legal-links a:hover { color: var(--color-primary); }

/* ---------- Fil d'Ariane / page header ---------- */
.page-hero { background: var(--color-dark); color: #fff; padding-block: clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; bottom: -40%; left: -5%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(232,119,46,.16), transparent 68%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .hero-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.page-hero .hero-cta-row .btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .hero-lead { margin-top: 1rem; }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Utilitaires ---------- */
.mt-0 { margin-top: 0; }
/* Le contenu est visible par défaut ; l'animation ne s'active que si JS tourne
   (la classe .js est ajoutée par un petit script dans <head>). */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
  .split-visual { min-height: 240px; }
}

@media (max-width: 1200px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 1rem 1.25rem 2rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .3s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-menu.open { transform: none; }
  .nav-menu a { padding: 14px 8px; border-bottom: 1px solid var(--color-border); border-radius: 0; }
  .nav-menu a.active::after { display: none; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .topbar-info { gap: 1rem; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

/* ---------- Réseaux sociaux (pied de page) ---------- */
.socials { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-weight: 700; font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition), color var(--transition);
}
.socials a:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; transform: translateY(-2px); }
.footer-brand em { color: var(--color-primary); font-style: italic; font-weight: 600; }

.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Consentement carte (RGPD) ---------- */
.map-consent {
  min-height: 260px; display: grid; place-items: center; text-align: center;
  padding: 1.75rem; background: var(--color-light);
}
.map-consent p { margin-bottom: 1.1rem; font-size: 0.9rem; color: var(--color-muted); }

/* Bouton clair sur fond sombre (hero et carte Google Maps). */
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: #fff; color: var(--color-dark); }

/* ---------- Pages légales ---------- */
.legal-content { max-width: 820px; margin-inline: auto; }
.legal-content h2 { margin: 2.2rem 0 0.75rem; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.legal-content h3 { margin: 1.5rem 0 0.5rem; font-size: 1.1rem; color: var(--color-dark); }
.legal-content p { margin-bottom: 1rem; color: var(--color-text); }
.legal-content ul { margin: 0 0 1.15rem 1.35rem; list-style: disc; }
.legal-content li { margin-bottom: 0.45rem; color: var(--color-text); }
.legal-content a { color: var(--color-primary-dark); text-decoration: underline; }
.legal-content strong { color: var(--color-dark); }
.legal-updated { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 2rem; font-weight: 600; }
.legal-box { background: var(--color-light); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.legal-box p:last-child { margin-bottom: 0; }

/* ---------- Sélecteur de langue ---------- */
.lang-switch { display: inline-flex; gap: 1px; align-items: center; }
.lang-switch button,
.lang-switch a {
  background: transparent; border: none; color: rgba(255,255,255,.55);
  font-family: inherit; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.03em;
  padding: 3px 6px; cursor: pointer; border-radius: 5px; line-height: 1.5;
  transition: color var(--transition), background var(--transition);
}
.lang-switch button:hover, .lang-switch a:hover { color: #fff; }
.lang-switch button.active, .lang-switch a.active { color: var(--color-dark); background: var(--color-primary); }

/* FR et NL restent visibles en permanence ; les autres langues sont
   regroupees dans un menu deroulant accessible au clavier. */
.lang-more { position: relative; display: inline-block; }
.lang-more > summary {
  list-style: none; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,.55); font-weight: 800; font-size: 0.72rem;
  letter-spacing: 0.03em; padding: 3px 6px; border-radius: 5px; line-height: 1.5;
  transition: color var(--transition), background var(--transition);
}
.lang-more > summary::-webkit-details-marker { display: none; }
.lang-more > summary:hover, .lang-more[open] > summary { color: #fff; }
.lang-more > summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.lang-more .lang-more-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 80;
  display: flex; flex-direction: column; gap: 2px; min-width: 150px;
  background: #fff; border: 1px solid var(--color-border); border-radius: 8px;
  box-shadow: var(--shadow-lg); padding: 6px;
}
.lang-more .lang-more-list a {
  justify-content: flex-start; color: #263746; border: 0; min-height: 34px;
  padding: 6px 10px; border-radius: 6px; white-space: nowrap;
}
.lang-more .lang-more-list a:hover,
.lang-more .lang-more-list a:focus-visible { color: #17232d; background: var(--color-teal-50); }
.lang-more .lang-more-list a.active { color: #17232d; background: var(--color-teal-light); }
.lang-more .lang-more-list a::after { content: attr(title); margin-left: .55rem; font-weight: 600; letter-spacing: 0; }
.topbar .lang-more .lang-more-list a { color: #263746; }
.topbar .lang-more .lang-more-list a:hover,
.topbar .lang-more .lang-more-list a:focus-visible { color: #17232d; background: var(--color-teal-50); }
.topbar .lang-more .lang-more-list a.active { color: #17232d; background: var(--color-teal-light); }
/* Dans le menu mobile, la liste s'ouvre en ligne, sans panneau flottant. */
.nav-mobile-langs .lang-more .lang-more-list {
  position: static; flex-direction: row; flex-wrap: wrap; min-width: 0;
  background: transparent; border: 0; box-shadow: none; padding: 4px 0 0;
}
.nav-mobile-langs .lang-more .lang-more-list a { border: 1px solid var(--color-border); }
.nav-mobile-langs .lang-more .lang-more-list a::after { content: none; }
.nav-mobile-langs .lang-more > summary { color: #263746; border: 1px solid var(--color-border); min-width: 38px; min-height: 34px; }
.nav-mobile-langs .lang-more > summary:hover, .nav-mobile-langs .lang-more[open] > summary { color: #17232d; background: var(--color-teal-50); }

/* ============================================================
   UPGRADE PREMIUM — photos réelles, hero image, galerie, marques
   ============================================================ */

/* ---------- Hero avec photo plein cadre ---------- */
.hero--photo { min-height: 620px; display: flex; align-items: center; }
.hero--photo .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(20,32,58,.94) 0%, rgba(20,32,58,.80) 42%, rgba(20,32,58,.35) 100%),
    linear-gradient(to top, rgba(20,32,58,.85), transparent 45%);
}
.hero--photo::after { z-index: 1; }
.hero--photo .container { position: relative; z-index: 2; }
.hero-eyebrow-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.hero-rating { display: inline-flex; align-items: center; gap: 0.4rem; color: #fff; font-size: 0.85rem; font-weight: 600; }
.hero-rating .stars { color: var(--color-primary); letter-spacing: 1px; }

/* ---------- Cartes services avec photo ---------- */
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--photo .card-media {
  position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--color-dark-2);
}
.card--photo .card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.card--photo:hover .card-media img { transform: scale(1.06); }
.card--photo .card-media .card-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--color-primary); color: #fff;
  display: grid; place-items: center; font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(26,42,74,.35);
}
.card--photo .card-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card--photo .card-body h3 { margin-bottom: 0.55rem; }
.card--photo .card-body .card-link { margin-top: auto; padding-top: 1rem; }

/* ---------- Visuels split en vraie photo ---------- */
.split-visual.has-photo { background: var(--color-dark-2); padding: 0; }
.split-visual img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.split-visual { position: relative; }
.split-visual .photo-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: rgba(20,32,58,.85); color: #fff; backdrop-filter: blur(4px);
  font-size: 0.8rem; font-weight: 700; padding: 7px 14px; border-radius: 50px;
}

/* ---------- Bandeau de marques / partenaires ---------- */
.brands { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: #fff; }
.brands .container { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; padding-block: 1.75rem; }
.brands .brands-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }
.brands .brand-item { font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; color: var(--color-dark); opacity: 0.6; transition: opacity var(--transition); letter-spacing: 0.5px; }
.brands .brand-item:hover { opacity: 1; }

/* ---------- Galerie réalisations (vraies photos + lightbox) ---------- */
.gallery-item {
  display: block; background: var(--color-dark-2);
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  font-size: 0; cursor: pointer; position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,32,58,.88), transparent 55%);
  display: flex; align-items: flex-end; padding: 1.25rem; opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: #fff; font-weight: 700; font-size: 0.98rem; line-height: 1.3; }
.gallery-item .overlay small { display: block; color: var(--color-primary); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(10,16,30,.92);
  display: none; align-items: center; justify-content: center; padding: 5vw;
  opacity: 0; transition: opacity .25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox .lb-video { max-width: 92vw; max-height: 86vh; width: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #000; }
.lightbox .lb-close { position: absolute; top: 20px; right: 26px; background: none; border: none; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; opacity: .8; }
.lightbox .lb-close:hover { opacity: 1; }
.lightbox .lb-cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; font-size: .95rem; }

/* ---------- Section réalisations aperçu (home) ---------- */
.section-cta-row { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ============================================================
   RAFFINEMENTS PREMIUM (overrides)
   ============================================================ */
.section { padding-block: clamp(66px, 8vw, 116px); }
.section-light { background: var(--color-light); }
.btn { letter-spacing: 0.01em; }
.section-dark { background: linear-gradient(160deg, #1c2c4e 0%, #141f38 100%); }
.stat-num { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.cta-band { background: linear-gradient(120deg, #0f9d8e 0%, #0b7d70 100%); box-shadow: var(--shadow-lg); }
.section-head p { font-size: 1.08rem; }
.hero-lead { font-size: 1.16rem; line-height: 1.65; }

/* Titre avec accent bronze fin sous les gros titres de section */
.section-head.center h2 { position: relative; padding-bottom: 1.1rem; }
.section-head.center h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 56px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
}

/* Cartes plus premium */
.card { border-radius: var(--radius); box-shadow: 0 1px 0 rgba(26,42,74,.03); }
.card:hover { box-shadow: var(--shadow-lg); }
.card-link { letter-spacing: 0.01em; }

/* Liens de marque plus élégants */
.brands .brand-item { font-family: var(--font-display); font-weight: 500; }

/* Page-hero un peu plus aéré et raffiné */
.page-hero { padding-block: clamp(56px, 7vw, 84px); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.35rem); }

/* Sélection */
::selection { background: var(--color-primary); color: #fff; }

/* ---------- Réalisations par année / projets ---------- */
.projects-year { margin-bottom: 3.5rem; }
.year-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.75rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--color-border); }
.year-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--color-dark); }
.year-head .year-count { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-gold); }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.project-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--color-dark-2); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-media img { transform: scale(1.06); }
.project-media .project-cat { position: absolute; top: 12px; left: 12px; background: var(--color-primary); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; }
.project-media .project-count { position: absolute; bottom: 12px; right: 12px; background: rgba(20,32,58,.85); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 5px 11px; border-radius: 50px; backdrop-filter: blur(4px); }
.project-body { padding: 1.35rem 1.5rem 1.6rem; }
.project-body h3 { margin-bottom: 0.35rem; }
.project-meta { font-size: 0.9rem; color: var(--color-muted); font-weight: 600; margin: 0; }

/* Lightbox — navigation */
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 1.9rem; line-height: 1; cursor: pointer; transition: background var(--transition); }
.lb-nav:hover { background: var(--color-primary); border-color: var(--color-primary); }
.lb-prev { left: 3vw; } .lb-next { right: 3vw; }
@media (max-width: 640px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-nav { width: 44px; height: 44px; font-size: 1.5rem; } }

/* ============================================================
   V2 — DIRECTION CORPORATE ÉPURÉE (réf. batitec / BESIX)
   Moins de couleur, accent orange unique, titres sans-serif bold
   ============================================================ */
/* Titres : filet d'accent court et sobre (plus de dégradé doré) */
.section-head.center h2::after { background: var(--color-primary); height: 3px; width: 44px; }

/* Sections sombres : marine plat (plus de dégradé) */
.section-dark { background: var(--color-dark); }
.stat-num { color: var(--color-primary); font-weight: 800; }

/* Hero épuré : pas de halo, overlay simple et net */
.hero::after { display: none; }
.hero--photo::before {
  background: linear-gradient(90deg, rgba(20,32,58,.94) 0%, rgba(20,32,58,.60) 58%, rgba(20,32,58,.20) 100%);
}
.hero-rating { display: none; }
.hero h1 { font-weight: 800; letter-spacing: -0.035em; }

/* CTA : bloc marine sobre (fini l'orange plein) */
.cta-band { background: var(--color-dark); color: #fff; box-shadow: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-band .btn-dark { background: var(--color-primary-dark); color: #fff; }
.cta-band .btn-dark:hover { background: #06574f; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-outline:hover { background: #fff; color: var(--color-dark); }

/* Boutons : formes plus sobres (moins arrondi = plus corporate) */
.btn { border-radius: 8px; font-weight: 700; }
.btn-primary { color: #17232d; box-shadow: none; }
.nav-menu a.active::after, .lang-switch button.active, .lang-switch a.active { border-radius: 4px; }

/* Marques : neutre, discret */
.brands { background: #fff; }
.brands .brand-item { font-family: var(--font-body); font-weight: 700; color: var(--color-dark); }

/* Réalisations : compteur d'année en gris (plus de doré) */
.year-head .year-count { color: var(--color-muted); }

/* Logo wordmark net, sans boîte (comme la signature) */
.brand-logo { display: none; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; }
.brand-tag { letter-spacing: 0.05em; }

/* Cartes : coins plus nets */
.card, .project-card, .card--photo, .service-card { border-radius: 10px; }
.card-media, .project-media { border-radius: 0; }

/* Symbole logo (monogramme N) */
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; display: block; }
@media (max-width: 480px) { .brand-mark { width: 36px; height: 36px; } }

/* ---------- Header : CTA discret en teal (l'ambre reste pour les CTA de page) ---------- */
.nav-cta .btn-primary { background: var(--color-primary); color: #fff; box-shadow: none; }
.nav-cta .btn-primary:hover { background: var(--color-primary-dark); }
@media (max-width: 480px) {
  .header-portal { padding: 8px 11px; font-size: 0.82rem; margin-left: 0.35rem; }
  .header-portal .portal-label { display: none; }
}

/* ---------- Élément signature : chiffres clés en « cotes de plan » ---------- */
.stat-cote { position: relative; padding-top: 20px; }
.stat-cote::before {
  content: "";
  position: absolute; top: 0; left: 18%; right: 18%; height: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.55);
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)) center / 100% 1px no-repeat;
}

/* ---------- Réalisations : sections (Nide Works / Expérience du dirigeant) ---------- */
.projects-section { margin-bottom: 3.25rem; }
.projects-section-head { max-width: 780px; margin-bottom: 1.6rem; }
.projects-section-head .eyebrow { display: inline-block; margin-bottom: .5rem; }
.projects-section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
.projects-section-head p { color: var(--color-muted); margin-top: .6rem; font-size: 1rem; line-height: 1.6; }
.projects-year + .projects-year { margin-top: 2rem; }
.projects-year .year-head h3 { font-size: 1.6rem; font-weight: 800; color: var(--color-dark); margin: 0; }
/* Fiche « à venir » (sans photo) */
.project-card--text { display: flex; flex-direction: column; align-items: stretch; border: 1px solid var(--color-border, #d9e2e1); background: var(--color-light, #f5f6f8); }
.project-card--text .project-media { width: 100%; }
.project-card--text .project-body { padding: 1.4rem 1.5rem; flex: 1; }
.project-cat--inline { position: static; display: inline-block; margin-bottom: .6rem; }
.project-soon { margin-top: .55rem; font-size: .85rem; font-style: italic; color: var(--color-muted); }
.project-status { display: inline-block; margin-left: .5rem; margin-bottom: .6rem; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--color-primary); background: var(--color-teal-50); padding: 5px 12px; border-radius: 50px; }
.project-desc { margin-top: .55rem; font-size: .92rem; line-height: 1.6; color: var(--color-text); }
.project-detail-link { display: inline-flex; margin-top: 1rem; color: var(--color-primary-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.project-photos-btn { display: inline-flex; margin-top: 1rem; margin-right: 1.25rem; padding: 0; border: 0; background: none; font: inherit; font-weight: 800; color: var(--color-primary-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.project-photos-btn:hover { color: var(--color-primary); }
.project-photos-btn:focus-visible, .project-detail-link:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }
.project-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; margin: 1.5rem 0; }
.project-facts span { display: grid; gap: .2rem; padding: 1rem; background: var(--color-light); border: 1px solid var(--color-border); border-radius: 8px; }
.project-facts strong { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); }
.project-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }

/* ---------- Topbar : liens réseaux sociaux ---------- */
.topbar-socials { display: inline-flex; gap: 4px; margin-right: 6px; }
.topbar-socials a { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,0.12); color: #fff; font-size: 0.72rem; font-weight: 800; }
.topbar-socials a:hover { background: var(--color-primary); }

/* ---------- Bandeau : ligne partenaire équipement ---------- */
.brands--equip { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--color-border); }
.project-soon--media { font-style: normal; font-weight: 700; color: var(--color-primary); }

/* ---------- Nos hommes : mosaïque d'équipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.team-item { margin: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--color-dark); }
.team-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .3s ease; }
.team-item:hover img, .team-item:focus-visible img { transform: scale(1.04); }

/* ---------- Style éditorial : photos emblématiques de fond ---------- */
.page-hero--photo { min-height: clamp(320px, 38vw, 460px); display: flex; align-items: flex-end; }
.page-hero--photo .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(23,35,42,.30) 0%, rgba(10,46,42,.88) 100%); }
.page-hero--photo::after { display: none; }
.page-hero--photo .container { z-index: 2; }
.page-hero--photo h1::after { content: ""; display: block; width: 76px; height: 4px; border-radius: 2px; background: var(--color-primary); margin-top: 16px; }
.page-hero--photo .eyebrow { color: #7fd6cb; }
.page-hero--photo .hero-lead { color: rgba(255,255,255,.88); }
.section-photo { position: relative; overflow: hidden; }
.section-photo .section-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.section-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(10,46,42,.93) 30%, rgba(10,46,42,.72) 100%); }
.section-photo .container { position: relative; z-index: 2; }
.cta-band--photo { position: relative; overflow: hidden; }
.cta-band--photo .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-band--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(13,90,82,.93), rgba(9,48,44,.95)); }
.cta-band--photo > :not(.cta-bg) { position: relative; z-index: 2; }
.cta-band--photo h2 { color: #fff; }
.cta-band--photo p { color: rgba(255,255,255,.85); }

/* ---------- Footer : les marques du groupe (à la BESIX) ---------- */
.footer-group { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; }
.footer-group-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.footer-group-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-display); font-weight: 700; }
.footer-group-brand img { height: 52px; width: auto; border-radius: 10px; display: block; }
.footer-group-brand small { font-family: inherit; font-weight: 500; color: rgba(255,255,255,.55); font-size: .78rem; letter-spacing: 0; }
a.footer-group-brand:hover { color: #7fd6cb; }
a.footer-group-brand:hover small { color: #7fd6cb; }

/* ============ Portail Pro — vitrine de l'outil premium ============ */
.portal-section { overflow: hidden; }
.portal-wrap { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.eyebrow-light { color: #7fd6cb; }
.portal-copy h2 { color: #fff; margin: 10px 0 14px; }
.portal-copy p { color: rgba(255, 255, 255, .78); max-width: 56ch; }
.portal-feats { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 12px; }
.portal-feats li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .92); font-weight: 500; }
.portal-feats li span:first-child { flex: 0 0 auto; font-size: 1.15rem; line-height: 1.4; }
.portal-note { color: rgba(255, 255, 255, .55); font-size: .82rem; align-self: center; }
/* Maquette téléphone en CSS pur — aperçu stylisé de l'app. */
.portal-mock { display: flex; justify-content: center; }
.pm-phone { width: 240px; padding: 12px; border-radius: 34px; background: #0a1822; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(255, 255, 255, .07); transform: rotate(4deg); }
.pm-screen { border-radius: 24px; background: linear-gradient(170deg, #10222f, #0d1b26); padding: 18px 16px 12px; color: #fff; }
.pm-head { display: flex; flex-direction: column; margin-bottom: 14px; }
.pm-head b { font-family: var(--font-display); letter-spacing: .04em; font-size: .9rem; }
.pm-head span { font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: #7fd6cb; }
.pm-timer { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: .02em; color: #7fd6cb; }
.pm-chip { display: inline-block; margin: 10px 0 14px; padding: 5px 10px; border-radius: 999px; background: rgba(127, 214, 203, .14); border: 1px solid rgba(127, 214, 203, .3); font-size: .72rem; }
.pm-rows { display: grid; gap: 8px; }
.pm-row { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 8px 10px; }
.pm-row i { font-style: normal; font-size: .9rem; }
.pm-row em { flex: 1; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.pm-row u { text-decoration: none; font-size: .74rem; font-weight: 700; color: #7fd6cb; }
.pm-nav { display: flex; justify-content: space-around; margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .95rem; opacity: .85; }
@media (max-width: 860px) {
  .portal-wrap { grid-template-columns: 1fr; gap: 34px; }
  .portal-mock { order: -1; }
  .pm-phone { transform: rotate(0deg); width: 210px; }
}

/* ============================================================
   V3 — PREMIUM 2026 / INDUSTRIAL EDITORIAL
   Discret, précis, mobile-first. Aucun pictogramme système.
   ============================================================ */
:root {
  --color-primary: #0b8f82;
  --color-primary-dark: #086e65;
  --color-teal-light: #83d8ce;
  --color-dark: #17232d;
  --color-dark-2: #22323e;
  --color-text: #263746;
  --color-muted: #5f6b7a;
  --color-light: #f2f5f4;
  --color-cream: #f8faf9;
  --color-border: #d8dfdd;
  --font-display: "Inter Tight", "Aptos Display", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Aptos", "Segoe UI", Arial, sans-serif;
  --radius: 8px;
  --radius-sm: 6px;
  --header-h: 76px;
  --shadow: 0 8px 28px rgba(23, 35, 45, .06);
  --shadow-lg: 0 24px 60px rgba(23, 35, 45, .13);
}

body { line-height: 1.64; background: var(--color-cream); }
p { color: var(--color-muted); }
h1, h2, h3 { letter-spacing: -.035em; }
.container { padding-inline: clamp(20px, 4vw, 32px); }
.section { padding-block: clamp(64px, 8vw, 112px); }

/* Ligne utilitaire desktop : lisible et silencieuse. */
.topbar { background: #17232d; }
.topbar .container { min-height: 38px; }
.topbar-badge { color: var(--color-teal-light); }
.topbar a, .topbar { color: rgba(255, 255, 255, .9); }
.topbar-socials a { border-radius: 4px; background: rgba(255,255,255,.08); }

/* Header compact et cohérent. */
.site-header { background: rgba(248, 250, 249, .96); border-color: rgba(23,35,45,.1); backdrop-filter: blur(14px); }
.nav { min-height: var(--header-h); gap: 18px; }
.brand { gap: 11px; min-width: 0; }
.brand-mark { width: 40px; height: 40px; border-radius: 7px; }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 760; letter-spacing: -.045em; }
.brand-tag { margin-top: 1px; font-size: .59rem; letter-spacing: .11em; color: #66737f; }
.nav-menu { gap: 2px; }
.nav-menu a { font-size: .86rem; letter-spacing: -.01em; }
.nav-menu a.active::after { height: 2px; width: 18px; }
.header-portal { min-height: 42px; padding: 9px 13px; border-radius: 6px; box-shadow: none; }
.ui-icon { display: inline-block; width: 17px; height: 17px; flex: 0 0 auto; background: currentColor;
  -webkit-mask: var(--ui-mask) center / contain no-repeat; mask: var(--ui-mask) center / contain no-repeat; }
.ui-icon-lock { --ui-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }

/* Hero : chantier et message avant les effets. */
.hero--photo { min-height: min(760px, calc(100svh - 76px)); }
.hero--photo::before { background: linear-gradient(90deg, rgba(10,22,31,.96) 0%, rgba(10,22,31,.76) 48%, rgba(10,22,31,.24) 100%); }
.hero .container { padding-block: clamp(72px, 9vw, 124px); }
.hero-inner { max-width: 820px; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.8rem); line-height: .99; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 .accent { color: var(--color-teal-light); }
.hero .eyebrow { color: var(--color-teal-light); letter-spacing: .15em; }
.hero-lead { max-width: 66ch; color: rgba(255,255,255,.87); }
.hero-badges span { border-radius: 5px; padding: 8px 12px; background: rgba(255,255,255,.065); }
.hero-badges span::before { color: var(--color-teal-light); }

/* Boutons plus architecturaux, sans effet SaaS. */
.btn { min-height: 46px; border-radius: 5px; padding: 12px 22px; letter-spacing: -.01em; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-accent); }
.nav-cta .btn-primary { background: var(--color-dark); }
.nav-cta .btn-primary:hover { background: #07131b; }

/* Cartes éditoriales : photo, numéro, contenu. */
.cards { gap: 18px; counter-reset: nw-card; }
.card, .card--photo, .project-card, .service-card { border-radius: var(--radius); box-shadow: none; border-color: var(--color-border); }
.card:hover, .project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card--photo .card-media { aspect-ratio: 16 / 10; }
.card--photo .card-media img { height: 100%; object-fit: cover; }
.card--photo .card-body { padding: 24px; }
.card--photo .card-badge {
  width: 46px; height: 36px; top: 14px; left: 14px; display: grid; place-items: center;
  border-radius: 4px; background: rgba(12,25,34,.9); color: #fff; font-size: 0;
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px);
}
.cards > .card:nth-child(1) .card-badge::before { content: "01"; }
.cards > .card:nth-child(2) .card-badge::before { content: "02"; }
.cards > .card:nth-child(3) .card-badge::before { content: "03"; }
.card--photo .card-badge::before { font: 700 .72rem/1 var(--font-display); letter-spacing: .12em; }
.card-icon { width: auto; height: auto; border-radius: 0; background: transparent; color: var(--color-primary-dark);
  justify-content: start; font-size: 0; margin-bottom: 20px; border-top: 1px solid var(--color-border); padding-top: 13px; }
.card-icon::before { counter-increment: nw-card; content: "0" counter(nw-card); font: 700 .74rem/1 var(--font-display); letter-spacing: .14em; }
.card p, .card--photo .card-body p { color: var(--color-muted); line-height: 1.62; }
.card-link { font-size: .9rem; }

/* Icônes de contact : une famille SVG unique, locale. */
.info-icon { color: var(--color-primary-dark); font-size: 0; background: transparent; border: 1px solid var(--color-border); }
.info-icon::before { content: ""; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: var(--info-mask) center / contain no-repeat; mask: var(--info-mask) center / contain no-repeat; }
.info-row:nth-child(1) .info-icon { --info-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.info-row:nth-child(2) .info-icon { --info-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M21 16.8v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 1.1 4 2 2 0 0 1 3.1 1.8h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.9a2 2 0 0 1-.5 2.1L7 9.8a16 16 0 0 0 7.2 7.2l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.9.6 2.9.7a2 2 0 0 1 1.5.9z'/%3E%3C/svg%3E"); }
.info-row:nth-child(3) .info-icon { --info-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.info-row:nth-child(4) .info-icon { --info-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.info-row:has([data-i18n="contact.interlocuteur"]) .info-icon { --info-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.info-row:has([data-i18n="contact.address"]) .info-icon,
.info-row:has([data-i18n="contact.zone"]) .info-icon { --info-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.info-row:has([data-i18n="contact.phone"]) .info-icon { --info-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M21 16.8v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 1.1 4 2 2 0 0 1 3.1 1.8h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.9a2 2 0 0 1-.5 2.1L7 9.8a16 16 0 0 0 7.2 7.2l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.9.6 2.9.7a2 2 0 0 1 1.5.9z'/%3E%3C/svg%3E"); }
.info-row:has([data-i18n="contact.email"]) .info-icon { --info-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.info-row:has([data-i18n="ao.side.confid.l"]) .info-icon,
.info-row:has([data-i18n="ao.side.docs.l"]) .info-icon { --info-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8 8 9 4.6-1 8-4 8-9V6z'/%3E%3Cpath d='m8.5 12 2.2 2.2 4.8-5'/%3E%3C/svg%3E"); }

/* Réseaux : labels typographiques stables, identiques sur tous les OS. */
.topbar-socials a:nth-child(3) { font-size: 0; }
.topbar-socials a:nth-child(3)::after { content: "ig"; font-size: .66rem; text-transform: uppercase; }
.socials a span { font-size: 0; }
.socials a span::after { font: 800 .62rem/1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.socials a:nth-child(1) span::after { content: "in"; }
.socials a:nth-child(2) span::after { content: "f"; }
.socials a:nth-child(3) span::after { content: "ig"; }
.socials a:nth-child(4) span::after { content: "a25"; font-size: .54rem; }

/* Portail vitrine : pictogrammes SVG cohérents. */
.portal-feats li span:first-child { width: 22px; height: 22px; font-size: 0; color: var(--color-teal-light); }
.portal-feats li span:first-child::before { content: ""; display: block; width: 21px; height: 21px; background: currentColor;
  -webkit-mask: var(--portal-mask) center / contain no-repeat; mask: var(--portal-mask) center / contain no-repeat; }
.portal-feats li:nth-child(1) span:first-child { --portal-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.portal-feats li:nth-child(2) span:first-child { --portal-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='m8 5 1.2-2h5.6L16 5'/%3E%3C/svg%3E"); }
.portal-feats li:nth-child(3) span:first-child { --portal-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M6 2h9l4 4v16H6z'/%3E%3Cpath d='M14 2v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.portal-feats li:nth-child(4) span:first-child { --portal-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 21V9l8-6 8 6v12M2 21h20M8 21v-6h8v6'/%3E%3C/svg%3E"); }
.pm-row i, .pm-nav span { font-size: 0; }
.pm-row i::before, .pm-nav span::before { content: ""; display: block; width: 14px; height: 14px; border: 1px solid var(--color-teal-light); border-radius: 3px; }
.pm-nav span::before { width: 12px; height: 12px; border-color: rgba(255,255,255,.7); }

/* Outils intégrés au menu mobile, invisibles sur desktop. */
.nav-mobile-tools { display: none; }
.mobile-bid-cta { display: none; }

@media (max-width: 1200px) {
  .topbar { display: none; }
  .nav-menu {
    inset: var(--header-h) 0 0 0; height: calc(100dvh - var(--header-h)); max-height: none;
    padding: clamp(24px, 5vw, 52px) clamp(22px, 7vw, 72px) 28px;
    background: #f8faf9; border: 0; box-shadow: none; overflow-y: auto;
    transform: translateX(100%); transition: transform .28s cubic-bezier(.22,1,.36,1);
  }
  .nav-menu.open { transform: none; }
  .nav-menu > a { padding: 14px 0; border-bottom: 1px solid var(--color-border); font: 700 clamp(1.35rem, 4vw, 2rem)/1.15 var(--font-display); letter-spacing: -.035em; }
  .nav-cta { margin: 18px 0 0; }
  .nav-cta .btn { min-height: 52px; font-size: .95rem; }
  .nav-mobile-tools { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; margin-top: auto; padding-top: 28px; }
  .nav-mobile-langs .lang-switch { display: flex; flex-wrap: wrap; gap: 5px; }
  .nav-mobile-contact { display: grid; gap: 3px; text-align: right; font-size: .8rem; color: var(--color-muted); }
  .nav-mobile-contact a { padding: 0; border: 0; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  body { padding-bottom: 70px; }
  .container { padding-inline: 20px; }
  .nav { gap: 10px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.08rem; }
  .brand-tag { display: none; }
  .header-portal { margin-left: auto; min-height: 38px; padding: 8px 10px; font-size: .72rem; letter-spacing: .02em; }
  .header-portal .portal-label { display: inline; }
  .nav-toggle { width: 40px; height: 40px; }
  .nav-toggle span { width: 24px; height: 2px; }
  .nav-menu { padding: 22px 20px calc(28px + env(safe-area-inset-bottom, 0px)); }
  .nav-menu > a { font-size: clamp(1.25rem, 6vw, 1.65rem); padding: 12px 0; }
  .nav-mobile-tools { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .nav-mobile-contact { text-align: left; }

  .hero--photo { min-height: calc(100svh - var(--header-h)); align-items: flex-end; }
  .hero--photo::before { background: linear-gradient(180deg, rgba(10,22,31,.22) 0%, rgba(10,22,31,.68) 48%, rgba(10,22,31,.97) 100%); }
  .hero .container { padding-block: 56px 100px; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.2rem); line-height: 1.02; }
  .hero-lead { font-size: .98rem; line-height: 1.58; }
  .hero-actions { gap: 9px; margin-top: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-badges { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 20px; }
  .hero-badges span { font-size: .76rem; padding: 7px 10px; width: fit-content; }

  .section { padding-block: 68px; }
  .section-head { margin-bottom: 30px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card--photo .card-media { aspect-ratio: 16 / 9; }
  .card--photo .card-body { padding: 22px 20px 24px; }
  .card--photo .card-body h3 { font-size: 1.3rem; }
  .card--photo .card-body p { font-size: .94rem; }
  .page-hero--photo { min-height: 420px; }
  .page-hero--photo h1 { font-size: clamp(2rem, 10vw, 2.8rem); }

  .mobile-bid-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 95;
    min-height: 54px; padding: 0 18px; border-radius: 6px; color: #fff; background: #17232d;
    box-shadow: 0 14px 34px rgba(7,19,27,.28); font: 700 .9rem/1 var(--font-display);
  }
  .mobile-bid-cta span:last-child { color: var(--color-teal-light); font-size: 1.2rem; }
  .portal-wrap { gap: 28px; }
  .pm-phone { width: min(210px, 70vw); }
}

@media (max-width: 390px) {
  .header-portal { padding-inline: 9px; }
  .header-portal .portal-label { font-size: 0; }
  .header-portal .portal-label::after { content: "PRO"; font-size: .7rem; }
  .nav-mobile-langs .lang-switch button, .nav-mobile-langs .lang-switch a { min-width: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu, .card, .project-card, .btn { transition: none; }
}

/* ============================================================
   V3.1 — RESPONSIVE & LANGUAGE POLISH
   Verrouille le viewport et garantit un contraste lisible pour les 6 langues.
   ============================================================ */
.site-header,
main,
.site-footer { max-width: 100%; }

.topbar .lang-switch { gap: 3px; }
.topbar .lang-switch button,
.topbar .lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 30px;
  padding: 4px 7px;
  color: #eef4f2;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
}
.topbar .lang-switch button:hover,
.topbar .lang-switch a:hover,
.topbar .lang-switch button:focus-visible,
.topbar .lang-switch a:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.12);
}
.topbar .lang-switch button.active,
.topbar .lang-switch a.active {
  color: #17232d;
  background: var(--color-teal-light);
  border-color: var(--color-teal-light);
}

html.nav-open,
body.nav-open { overflow: hidden; }

@media (max-width: 1200px) {
  /* backdrop-filter crée un bloc contenant pour les descendants fixed sur
     certains navigateurs Android. On l'enlève ici pour que le menu soit
     réellement attaché au viewport, pas au header. */
  .site-header {
    width: 100%;
    max-width: 100vw;
    background: #f8faf9;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav { min-width: 0; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    height: auto;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    contain: layout paint;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
    transition: transform .28s cubic-bezier(.22,1,.36,1), visibility 0s linear .28s;
  }
  .nav-menu.open {
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
  }
  .nav-menu > a,
  .nav-cta,
  .nav-mobile-tools { min-width: 0; max-width: 100%; }
  .nav-cta .btn {
    max-width: 100%;
    padding-inline: 16px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    line-height: 1.25;
  }
  .nav-mobile-langs .lang-switch { gap: 7px; }
  .nav-mobile-langs .lang-switch button,
  .nav-mobile-langs .lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 7px 9px;
    color: #263746;
    background: #fff;
    border: 1px solid #c8d2cf;
    border-radius: 5px;
  }
  .nav-mobile-langs .lang-switch button:hover,
  .nav-mobile-langs .lang-switch a:hover,
  .nav-mobile-langs .lang-switch button:focus-visible,
  .nav-mobile-langs .lang-switch a:focus-visible {
    color: #17232d;
    background: #e7efed;
    border-color: #8ea29d;
  }
  .nav-mobile-langs .lang-switch button.active,
  .nav-mobile-langs .lang-switch a.active {
    color: #fff;
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
  }
  body.nav-open .mobile-bid-cta { visibility: hidden; }
}

@media (max-width: 390px) {
  .nav-mobile-langs .lang-switch { gap: 5px; }
  .nav-mobile-langs .lang-switch button,
  .nav-mobile-langs .lang-switch a {
    flex: 1 1 42px;
    min-width: 42px;
  }
}

/* ============================================================
   V3.2 — PRÉQUALIFICATION ENTREPRISE
   Bloc de décision B2B : dense, sobre et robuste sur petit écran.
   ============================================================ */
.procurement-panel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(11, 143, 130, .07), transparent 48%),
    #eef3f1;
  border-block: 1px solid #d4dfdc;
}
.procurement-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--color-primary-dark);
}
.procurement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.28fr) minmax(240px, .72fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  padding-block: clamp(54px, 6vw, 82px);
}
.procurement-grid > *,
.procurement-copy,
.procurement-facts,
.procurement-actions {
  min-width: 0;
  max-width: 100%;
}
.procurement-copy .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}
.procurement-copy h2 {
  max-width: 15ch;
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.04;
  text-wrap: balance;
}
.procurement-copy p {
  max-width: 56ch;
  margin: 0;
  color: #4b5a67;
  overflow-wrap: anywhere;
}
.procurement-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: #cdd9d6;
  border: 1px solid #cdd9d6;
  border-radius: 8px;
  overflow: hidden;
}
.procurement-facts > div {
  min-width: 0;
  padding: 18px 19px 20px;
  background: rgba(255, 255, 255, .82);
}
.procurement-facts > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.procurement-facts dt {
  margin-bottom: 7px;
  color: #086e65;
  font: 800 .69rem/1.2 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.procurement-facts dd {
  margin: 0;
  color: #263746;
  font-size: .91rem;
  font-weight: 650;
  line-height: 1.46;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.procurement-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 17px;
  padding: 24px;
  color: #fff;
  background: #17232d;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 35, 45, .15);
}
.procurement-actions .btn {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  padding-inline: 18px;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  color: var(--color-primary-dark);
  font-weight: 750;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.text-link:hover { color: #054f49; text-decoration-thickness: 2px; }
.procurement-actions .text-link { color: #b8ebe5; }
.procurement-actions .text-link:hover { color: #fff; }

/* Sur fonds sombres, le halo clair garde le focus visible sans ambiguïté. */
.hero :focus-visible,
.page-hero :focus-visible,
.section-dark :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible,
.procurement-actions :focus-visible {
  outline-color: #f4b766;
  box-shadow: 0 0 0 6px #17232d;
}

@media (max-width: 1040px) {
  .procurement-grid {
    grid-template-columns: minmax(0, 1fr) minmax(250px, .72fr);
  }
  .procurement-copy { grid-column: 1 / -1; }
  .procurement-copy h2 { max-width: 22ch; }
}

@media (max-width: 720px) {
  .procurement-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 48px;
  }
  .procurement-copy { grid-column: auto; }
  .procurement-copy h2 { max-width: none; }
  .procurement-facts { grid-template-columns: minmax(0, 1fr); }
  .procurement-facts > div:last-child:nth-child(odd) { grid-column: auto; }
  .procurement-actions { padding: 20px; }
}

@media (max-width: 390px) {
  .procurement-panel::before { width: 3px; }
  .procurement-facts > div { padding: 16px; }
  .procurement-actions { padding: 17px; }
}

/* 30bis — état volontairement neutre sans JavaScript. La couleur positive
   n'est appliquée qu'après le contrôle local de la date d'expiration. */
.compliance-status-section { padding-top: 34px; padding-bottom: 10px; }
.compliance-status {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #cdd9d6;
  border-left: 5px solid #6f7d87;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 35, 45, .09);
}
.compliance-status-head { max-width: 78ch; }
.compliance-status-head h2 { margin: 12px 0 10px; }
.compliance-status-head p { margin: 0; color: #4b5a67; }
.compliance-status-badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: #3e4d59;
  background: #eef1f2;
  font: 800 .73rem/1 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.compliance-status-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
}
.compliance-status-details[hidden] { display: none !important; }
.compliance-status-fact {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid #d7dfdf;
  border-radius: 8px;
  color: #263746;
  background: #f7f9f9;
}
.compliance-status-fact strong {
  color: #52616c;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.compliance-status--current { border-left-color: #087a60; }
.compliance-status--current .compliance-status-badge,
.compliance-status-fact.is-current {
  color: #075c49;
  border-color: #9ed7c9;
  background: #e5f6f0;
}
.compliance-status--expired { border-left-color: #9a6421; }
.compliance-status--expired .compliance-status-badge {
  color: #714712;
  background: #f7eddf;
}
.compliance-status-noscript { margin: 18px 0 0; color: #4b5a67; }
.compliance-status .hero-actions { margin-top: 24px; }

@media (max-width: 700px) {
  .compliance-status-details { grid-template-columns: minmax(0, 1fr); }
}


/* ---------- Recrutement ---------- */
.section-alt { background: var(--color-light); }
.feature-list { display: grid; gap: 0.8rem; margin-top: 1.5rem; }
.feature-list li { position: relative; padding-left: 1.8rem; color: var(--color-text); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.35rem; width: 18px; height: 18px;
  border-radius: 50%; background: var(--color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input:not([type="checkbox"]), .form-grid select, .form-grid textarea {
  width: 100%; font: inherit; color: var(--color-dark); background: var(--color-light);
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); padding: 13px 15px;
}
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: none; border-color: var(--color-primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(232,119,46,.2);
}
.form-grid input[type="file"] { padding: 10px; background: #fff; }
.form-group small { display: block; margin-top: 0.45rem; color: var(--color-muted); }
.check-label {
  display: flex !important; gap: 0.7rem; align-items: flex-start; margin-bottom: 0 !important;
  font-weight: 600 !important; line-height: 1.5; cursor: pointer;
}
.check-label input { width: 1.1rem; height: 1.1rem; margin-top: 0.18rem; flex: 0 0 auto; accent-color: var(--color-primary); }
.check-label a { color: var(--color-primary-dark); text-decoration: underline; }
.btn-full { width: 100%; justify-content: center; }
.cta-section { padding-block: clamp(48px, 6vw, 76px); background: var(--color-dark); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.75); margin-top: 0.65rem; max-width: 720px; }
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-inner .btn { width: 100%; justify-content: center; }
}
