/* ============================================================
   GROUP LAN BTP — Feuille de style globale (9 pages)
   Palette : bleu roi #2F55A4 / navy #0B1B3A / orange #F68B1F
   ============================================================ */

:root {
  --c-navy: #0b1b3a;
  --c-navy-2: #10254e;
  --c-blue: #2f55a4;
  --c-blue-light: #3f6ac4;
  --c-orange: #f68b1f;
  --c-orange-dark: #d97613;
  --c-bg: #f4f6fb;
  --c-white: #ffffff;
  --c-text: #22304a;
  --c-muted: #5b6b84;
  --c-green: #25d366;

  --ff-head: "Sora", sans-serif;
  --ff-body: "Inter", sans-serif;

  --radius: 12px;
  --shadow: 0 14px 38px rgba(11, 27, 58, 0.12);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

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

h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--c-navy); line-height: 1.16; }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.2rem); font-weight: 800; }
h3 { font-weight: 700; }

.accent { color: var(--c-orange); }

/* ---------- Justification des textes de description ---------- */
.hero__text,
.section__desc,
.service p,
.svc-block p,
.project__body p,
.ba-card__body p,
.video-card__body p,
.post__body > p,
.founder__col p,
.footer__brand p,
.cta__text p,
.about-lead,
.prose p {
  text-align: justify;
  text-align-last: left;
}

/* Les blocs volontairement centrés conservent leur alignement */
.section__head--center .section__desc,
.value p {
  text-align: center;
  text-align-last: center;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: 9px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--orange { background: var(--c-orange); color: #fff; box-shadow: 0 8px 24px rgba(246, 139, 31, 0.35); }
.btn--orange:hover { background: var(--c-orange-dark); transform: translateY(-2px); }
.btn--blue { background: var(--c-blue); color: #fff; }
.btn--blue:hover { background: var(--c-navy-2); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn--ghost:hover { border-color: var(--c-orange); color: var(--c-orange); transform: translateY(-2px); }
.btn--ghost-dark { border-color: var(--c-blue); color: var(--c-blue); }
.btn--ghost-dark:hover { background: var(--c-blue); color: #fff; transform: translateY(-2px); }
.btn--wa { background: var(--c-green); color: #fff; }
.btn--wa:hover { background: #1eb757; transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.header.is-scrolled {
  background: rgba(11, 27, 58, 0.94);
  backdrop-filter: blur(12px);
  padding: 8px 0;
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.28);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img{
  width: 40px;
}
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--ff-head); font-weight: 800; font-size: 0.95rem; color: #fff; letter-spacing: 0.04em; }
.brand__text small { text-align: center; color: var(--c-orange); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 19px; }
.nav__link { color: rgba(255,255,255,0.82); font-weight: 500; font-size: 0.86rem; position: relative; padding: 5px 0; white-space: nowrap; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--c-orange); transition: width 0.28s ease;
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__cta { padding: 9px 17px; font-size: 0.84rem; margin-left: 4px; }

/* --- Sous-menu Services --- */
.nav__item { position: relative; display: flex; align-items: center; }
.subtoggle {
  background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,0.75); display: grid; place-items: center;
  padding: 5px 3px;
}
.subtoggle svg { width: 12px; height: 12px; transition: transform 0.3s ease; }
.nav__item:hover .subtoggle, .subtoggle[aria-expanded="true"] { color: var(--c-orange); }

.submenu__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: background 0.2s ease; }
.submenu__icon {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  background: linear-gradient(140deg, var(--c-blue), var(--c-navy-2));
  color: #fff; display: grid; place-items: center; transition: background 0.25s ease;
}
.submenu__icon svg { width: 19px; height: 19px; }
.submenu__link strong { display: block; font-family: var(--ff-head); font-size: 0.86rem; color: var(--c-navy); line-height: 1.25; }
.submenu__link small { display: block; font-size: 0.72rem; color: var(--c-muted); margin-top: 1px; }
.submenu__link:hover { background: #f2f5fb; }
.submenu__link:hover .submenu__icon { background: linear-gradient(140deg, var(--c-orange), var(--c-orange-dark)); }
.submenu__link.is-current { background: rgba(246,139,31,0.08); }
.submenu__link.is-current strong { color: var(--c-orange-dark); }
.submenu__all {
  display: flex; justify-content: center; align-items: center; gap: 7px;
  margin-top: 6px; padding: 11px; border-top: 1px solid #edf1f8;
  font-size: 0.8rem; font-weight: 700; color: var(--c-blue);
}
.submenu__all:hover { color: var(--c-orange); }

@media (min-width: 921px) {
  .submenu {
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translate(-50%, 10px);
    min-width: 320px;
    background: #fff; border-radius: 14px;
    box-shadow: 0 24px 60px rgba(11, 27, 58, 0.24);
    padding: 10px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 120;
  }
  .submenu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
  .submenu::after {
    content: ""; position: absolute; top: -6px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 13px; height: 13px; background: #fff; border-radius: 2px;
  }
  .nav__item:hover .submenu, .nav__item:focus-within .submenu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translate(-50%, 0);
  }
  .nav__item:hover .subtoggle svg, .nav__item:focus-within .subtoggle svg { transform: rotate(180deg); }
}

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; z-index: 210; }
.burger span { width: 25px; height: 3px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO / BANNIÈRES  (fond commun bleu nuit + grille)
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0b1b3a 0%, #10254e 55%, #16306b 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(63, 106, 196, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 106, 196, 0.13) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 95% 85% at 45% 40%, #000 25%, transparent 78%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(246, 139, 31, 0.16), transparent 65%);
  pointer-events: none;
}

/* --- Décor construction : skyline + grue fondues dans le fond --- */
.hero__decor {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  min-height: 220px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
}
.hero__decor svg { width: 100%; height: 100%; }
.page-hero .hero__decor { height: 78%; opacity: 0.38; }

/* Grue : balancement du bras + charge qui monte et descend */
.crane__arm { transform-origin: 617px 56px; animation: crane-swing 14s ease-in-out infinite; }
@keyframes crane-swing {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-4deg); }
}
.crane__cable { transform-origin: 730px 60px; animation: crane-cable 9s ease-in-out infinite; }
@keyframes crane-cable {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}
.crane__load { animation: crane-lift 9s ease-in-out infinite; }
@keyframes crane-lift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-55px); }
}

/* --- Hero accueil : texte gauche / damier droite --- */
.hero--home .hero__grid2 {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
  padding: 128px 0 64px;
  /*min-height: 92vh;*/
}

.hero__eyebrow {
  font-size: 0.76rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--c-orange); font-weight: 700; margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 18px;
}
.hero__sub { font-size: 1.05rem; color: rgba(255,255,255,0.82); margin-bottom: 14px; font-weight: 500; }
.hero__text { font-size: 0.96rem; color: rgba(255,255,255,0.68); max-width: 540px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; font-size: 0.8rem; color: rgba(255,255,255,0.62); }
.hero__trust i { width: 4px; height: 4px; border-radius: 50%; background: var(--c-orange); }

/* --- Damier d'images (effet construction) --- */
.damier {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
  position: relative;
}
.damier .tile {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(-42px) scale(0.55);
}
.damier.is-built .tile {
  animation: tile-drop 0.55s cubic-bezier(0.34, 1.45, 0.64, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes tile-drop {
  0% { opacity: 0; transform: translateY(-42px) scale(0.55); }
  70% { opacity: 1; transform: translateY(4px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.damier .tile--img { background-size: cover; background-position: center; }
.damier .tile--img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,27,58,0) 55%, rgba(11,27,58,0.42));
}
.damier .tile--img.is-swapping { animation: tile-swap 0.6s ease; }
@keyframes tile-swap {
  0% { filter: brightness(1); transform: scale(1); }
  50% { filter: brightness(1.6); transform: scale(0.93); }
  100% { filter: brightness(1); transform: scale(1); }
}
.damier .tile--orange { background: linear-gradient(140deg, var(--c-orange), var(--c-orange-dark)); }
.damier .tile--blue { background: linear-gradient(140deg, var(--c-blue-light), var(--c-blue)); }
.damier .tile--line {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.16) 0 8px, transparent 8px 16px),
    rgba(63, 106, 196, 0.25);
  border: 1px solid rgba(63, 106, 196, 0.5);
}
.damier .tile--logo { background: #fff; display: grid; place-items: center; padding: 14%; }
.damier .tile--logo svg { width: 100%; height: 100%; }

/* Badge flottant sur le damier */
.damier__badge {
  position: absolute;
  left: -18px; bottom: 26px;
  z-index: 3;
  background: #fff;
  color: var(--c-navy);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex; align-items: center; gap: 11px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  animation: badge-in 0.6s ease 1.9s forwards;
}
@keyframes badge-in { to { opacity: 1; transform: translateY(0); } }
.damier__badge strong { font-family: var(--ff-head); font-size: 1.25rem; color: var(--c-orange); line-height: 1; }
.damier__badge span { font-size: 0.72rem; color: var(--c-muted); line-height: 1.3; }

/* --- Bannière interne (pages secondaires) --- */
.page-hero { position: relative; }
.page-hero .hero__grid2 {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  padding: 118px 0 52px;
}
.page-hero .damier { max-width: 330px; aspect-ratio: 1/1; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.page-hero .hero__title { font-size: clamp(2rem, 4.2vw, 3rem); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--c-orange); }
.breadcrumb i { width: 3px; height: 3px; border-radius: 50%; background: var(--c-orange); }

/* ============================================================
   SECTIONS — espacement compact
   ============================================================ */
.section { padding: 58px 0; }
.section--tinted { background: var(--c-bg); }
.section--dark { background: linear-gradient(160deg, var(--c-navy) 0%, var(--c-navy-2) 100%); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 660px; margin-bottom: 30px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__eyebrow {
  font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--c-orange); font-weight: 700; margin-bottom: 9px;
}
.section__desc { color: var(--c-muted); margin-top: 10px; font-size: 0.98rem; }
.section--dark .section__desc { color: rgba(255,255,255,0.7); }

/* ============================================================
   CHIFFRES CLÉS
   ============================================================ */
.stats { background: var(--c-navy); border-top: 1px solid rgba(63,106,196,0.3); padding: 38px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; }
.stat__top { display: flex; justify-content: center; align-items: baseline; }
.stat__num, .stat__plus, .stat__prefix {
  font-family: var(--ff-head);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800; color: #fff;
}
.stat__plus, .stat__prefix { color: var(--c-orange); }
.stat p { margin-top: 4px; color: rgba(255,255,255,0.7); font-size: 0.84rem; font-weight: 600; }
.stat small { display: block; color: rgba(255,255,255,0.45); font-size: 0.74rem; margin-top: 3px; line-height: 1.45; }

/* ============================================================
   CARTES SERVICES
   ============================================================ */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: #fff; border-radius: var(--radius); padding: 28px 22px;
  position: relative; overflow: hidden; border: 1px solid #e7ecf6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--c-orange); transform: scaleY(0); transform-origin: top; transition: transform 0.3s ease;
}
.service:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service:hover::before { transform: scaleY(1); }
.service__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(140deg, var(--c-blue), var(--c-navy-2));
  color: #fff; display: grid; place-items: center; margin-bottom: 17px;
  transition: background 0.3s ease;
}
.service__icon svg { width: 26px; height: 26px; }
.service:hover .service__icon { background: linear-gradient(140deg, var(--c-orange), var(--c-orange-dark)); }
.service h3 { font-size: 1.04rem; margin-bottom: 8px; }
.service p { color: var(--c-muted); font-size: 0.88rem; margin-bottom: 14px; }
.service__link { font-weight: 600; font-size: 0.85rem; color: var(--c-blue); }
.service__link span { display: inline-block; transition: transform 0.25s ease; }
.service__link:hover span { transform: translateX(4px); }
.service__link:hover { color: var(--c-orange); }

/* --- Fiches service détaillées (page Services) --- */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 34px 0; border-bottom: 1px solid #e7ecf6; }
.svc-block:last-child { border-bottom: 0; }
.svc-block--rev .svc-block__media { order: 2; }
.svc-block__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.svc-block__media img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.5s ease; }
.svc-block:hover .svc-block__media img { transform: scale(1.04); }
.svc-block__num {
  position: absolute; top: 14px; left: 14px;
  background: rgba(11,27,58,0.82); color: var(--c-orange);
  font-family: var(--ff-head); font-weight: 800; font-size: 0.9rem;
  padding: 6px 12px; border-radius: 8px; backdrop-filter: blur(4px);
}
.svc-block h3 { font-size: 1.35rem; margin-bottom: 4px; }
.svc-block__tagline { color: var(--c-orange); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.svc-block p { color: var(--c-muted); font-size: 0.93rem; margin-bottom: 14px; }
.svc-list { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.svc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--c-text); }
.svc-list li::before {
  content: "✓"; color: var(--c-orange); font-weight: 800; flex: none; margin-top: 1px;
}

/* ============================================================
   MINI-CARROUSEL (parcours équipe → coffrage → bâtiment)
   ============================================================ */
.mcar { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--c-navy); }
.mcar__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.mcar__slide.is-active { opacity: 1; visibility: visible; }
.mcar__slide img { width: 100%; height: 100%; object-fit: cover; }
.svc-block:hover .mcar__slide.is-active img { transform: scale(1.04); }
.mcar__slide img { transition: transform 0.5s ease; }

.mcar__stage {
  position: absolute; left: 12px; bottom: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(11, 27, 58, 0.82); backdrop-filter: blur(4px);
  color: #fff; font-family: var(--ff-head); font-weight: 600;
  font-size: 0.78rem; padding: 6px 13px; border-radius: 30px;
}
.mcar__stage b {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--c-orange); color: #fff;
  display: grid; place-items: center; font-size: 0.68rem;
}
.mcar__dots {
  position: absolute; left: 50%; bottom: 13px; transform: translateX(-50%); z-index: 4;
  display: flex; gap: 6px;
}
.mcar__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.55); cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}
.mcar__dots button.is-active { background: var(--c-orange); width: 20px; border-radius: 5px; }

/* Carrousel dans une fiche service : hauteur = ancienne image */
.svc-block__media .mcar { height: 320px; }
/* Carrousel comme tuile de galerie : remplit la cellule 4/3 */
.gallery__carousel {
  position: relative; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4 / 3; grid-column: span 2;
}
.gallery__carousel .mcar__stage { font-size: 0.72rem; }
@media (max-width: 560px) { .gallery__carousel { grid-column: span 1; } }

/* ============================================================
   PROJETS / RÉALISATIONS
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.filter-btn {
  border: 1.5px solid #d8e0ef; background: #fff; color: var(--c-muted);
  font-weight: 600; font-size: 0.82rem; padding: 8px 16px; border-radius: 30px; cursor: pointer;
  transition: all 0.22s ease;
}
.filter-btn:hover { border-color: var(--c-blue); color: var(--c-blue); }
.filter-btn.is-active { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }

.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid #e7ecf6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.project__visual { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; }
.project__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.project:hover .project__visual img { transform: scale(1.07); }
.project__status {
  position: absolute; top: 12px; right: 12px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 30px; color: #fff;
  background: rgba(11,27,58,0.85); backdrop-filter: blur(4px);
}
.project__status--live { background: rgba(21,128,61,0.9); }
.project__status--cours { background: rgba(217,118,19,0.92); }
.project__body { padding: 20px 20px 22px; }
.project__body h3 { font-size: 1.02rem; margin: 10px 0 6px; }
.project__body p { color: var(--c-muted); font-size: 0.86rem; }

.tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--c-orange-dark); background: rgba(246,139,31,0.12);
  padding: 4px 11px; border-radius: 30px;
}
.tag--blue { color: var(--c-blue); background: rgba(47,85,164,0.1); }
.tag--dark { color: var(--c-navy); background: rgba(11,27,58,0.08); }

.center-cta { text-align: center; margin-top: 32px; }

/* --- Avant / Après --- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ba-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid #e7ecf6; }
.ba-card__body { padding: 18px 20px; }
.ba-card__body h3 { font-size: 1rem; margin-bottom: 5px; }
.ba-card__body p { font-size: 0.85rem; color: var(--c-muted); }
.ba-compare { position: relative; aspect-ratio: 16/9; overflow: hidden; user-select: none; }
.ba-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-compare__after { clip-path: inset(0 0 0 var(--cut, 50%)); }
.ba-compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--cut, 50%);
  width: 3px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.4); pointer-events: none;
}
.ba-compare__handle::after {
  content: "⇄"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-orange); color: #fff;
  display: grid; place-items: center; font-size: 1rem; font-weight: 700;
}
.ba-compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize;
}
.ba-label {
  position: absolute; top: 12px; z-index: 2;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 30px; color: #fff; background: rgba(11,27,58,0.8);
}
.ba-label--avant { left: 12px; }
.ba-label--apres { right: 12px; background: rgba(246,139,31,0.92); }

/* ============================================================
   GALERIE / ALBUM
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__item {
  border-radius: 10px; overflow: hidden; position: relative; cursor: pointer;
  aspect-ratio: 4 / 3; border: 0; padding: 0; background: none;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item figcaption, .gallery__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 26px 13px 11px;
  background: linear-gradient(180deg, transparent, rgba(11,27,58,0.85));
  color: #fff; font-size: 0.78rem; font-weight: 600; text-align: left;
  opacity: 0; transform: translateY(8px); transition: all 0.3s ease;
}
.gallery__item:hover figcaption, .gallery__item:hover .gallery__cap { opacity: 1; transform: translateY(0); }

/* Tuile vidéo dans une galerie (ouvre le popup) */
.gallery__video {
  border-radius: 10px; overflow: hidden; position: relative; cursor: pointer;
  aspect-ratio: 4 / 3; border: 0; padding: 0; background: #0b1b3a; display: block;
}
.gallery__video img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__video:hover img { transform: scale(1.08); }
.gallery__video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,27,58,0.1), rgba(11,27,58,0.55));
}
.gallery__video__btn {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--c-orange); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.25s ease;
}
.gallery__video:hover .gallery__video__btn { transform: translate(-50%, -50%) scale(1.12); }
.gallery__video .gallery__cap { z-index: 2; }

/* ============================================================
   DAMIER 4 CASES — 4 médias décalés + texte à côté (pages service)
   Une case peut être une vidéo : elle s'ouvre alors dans le popup.
   ============================================================ */
.svc-damier { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.svc-damier--rev .dam4 { order: 2; }
.svc-damier__text h3 { font-size: 1.4rem; margin-bottom: 4px; }
.svc-damier__text p { color: var(--c-muted); font-size: 0.93rem; margin-bottom: 14px; }
.svc-damier__text .svc-block__tagline { margin-bottom: 12px; }

/* Deux colonnes de deux cases : la colonne de droite descend d'un demi-pas.
   width: 100% est indispensable — sans largeur définie, les marges auto
   réduisent la grille à la taille intrinsèque des photos (donc 0 tant
   qu'elles ne sont pas chargées). */
.dam4 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  width: 100%; max-width: 460px; margin-inline: auto;
}
.dam4__col { display: grid; gap: 14px; align-content: start; min-width: 0; }
.dam4__col--offset { margin-top: 42px; }

.dam4__cell {
  position: relative; display: block; width: 100%; margin: 0; padding: 0;
  border: 0; font: inherit; text-align: inherit; cursor: pointer;
  aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden;
  background: var(--c-navy); box-shadow: var(--shadow);
}
.dam4__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dam4__cell:hover img { transform: scale(1.07); }
.dam4__cell figcaption, .dam4__cap {
  position: absolute; inset: auto 0 0 0; z-index: 3;
  padding: 24px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(11,27,58,0.88));
  color: #fff; font-size: 0.75rem; font-weight: 600; text-align: left;
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.dam4__cell:hover figcaption, .dam4__cell:hover .dam4__cap { opacity: 1; transform: translateY(0); }

/* Case vidéo : voile + bouton de lecture */
.dam4__cell--video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,27,58,0.12), rgba(11,27,58,0.58));
}
.dam4__play {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--c-orange); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.25s ease;
}
.dam4__cell--video:hover .dam4__play { transform: translate(-50%, -50%) scale(1.12); }

/* Pose des cases en cascade, comme le damier de la bannière */
.dam4__col--offset .dam4__cell { transition-delay: 0.1s; }
.dam4__col .dam4__cell:nth-child(2) { transition-delay: 0.2s; }
.dam4__col--offset .dam4__cell:nth-child(2) { transition-delay: 0.3s; }

@media (max-width: 920px) {
  .svc-damier { grid-template-columns: 1fr; gap: 28px; }
  .svc-damier--rev .dam4 { order: 0; }
  .dam4 { max-width: 420px; }
}
@media (max-width: 560px) {
  .dam4, .dam4__col { gap: 10px; }
  .dam4__col--offset { margin-top: 28px; }
}

/* Réalisations groupées par section (page realisations-2) */
.rea-section { margin-top: 40px; }
.rea-section:first-of-type { margin-top: 26px; }
.rea-section__head { margin-bottom: 18px; display: flex; align-items: flex-start; gap: 14px; }
.rea-section__num {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(140deg, var(--c-orange), var(--c-orange-dark));
  color: #fff; font-family: var(--ff-head); font-weight: 800; font-size: 0.95rem;
  display: grid; place-items: center;
}
.rea-section__head h3 { font-size: 1.15rem; margin-bottom: 2px; }
.rea-section__head p { color: var(--c-muted); font-size: 0.9rem; text-align: left; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(7, 18, 41, 0.94);
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 16px;
  padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 78vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox__cap { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; cursor: pointer;
  display: grid; place-items: center; transition: background 0.25s ease;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--c-orange); border-color: var(--c-orange); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   LAN TV
   ============================================================ */
.tv-featured {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 34px; align-items: center;
}
.tv-player {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer;
}
.tv-player img { width: 100%; height: 100%; object-fit: cover; }
.tv-player::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,27,58,0.15), rgba(11,27,58,0.55));
}
.tv-player__btn {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--c-orange); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(246,139,31,0.5);
  animation: pulse 2.2s infinite;
  transition: transform 0.25s ease;
}
.tv-player:hover .tv-player__btn { transform: translate(-50%, -50%) scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(246,139,31,0.5); }
  70% { box-shadow: 0 0 0 24px rgba(246,139,31,0); }
  100% { box-shadow: 0 0 0 0 rgba(246,139,31,0); }
}
.tv-live {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  background: rgba(220,38,38,0.92); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em;
  padding: 5px 12px; border-radius: 30px;
}
.videos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid #e7ecf6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section--dark .video-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.video-card__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.video-card:hover .video-card__thumb img { transform: scale(1.06); }
.video-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(246,139,31,0.94); color: #fff; display: grid; place-items: center;
}
.video-card__dur {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(11,27,58,0.85); color: #fff; font-size: 0.7rem; font-weight: 600;
  padding: 3px 8px; border-radius: 5px;
}
.video-card__body { padding: 16px 17px 18px; }
.video-card__body h3 { font-size: 0.95rem; margin: 8px 0 5px; }
.video-card__body p { font-size: 0.82rem; color: var(--c-muted); }
.section--dark .video-card__body h3 { color: #fff; }
.section--dark .video-card__body p { color: rgba(255,255,255,0.65); }

/* ============================================================
   VIDÉO — lecture inline + popup (LAN TV)
   ============================================================ */
/* .tv-player et .video-card__thumb deviennent des <button> : reset */
button.tv-player,
button.video-card__thumb {
  width: 100%; margin: 0; padding: 0;
  border: 0; background: none; font: inherit; color: inherit;
  text-align: inherit; display: block; cursor: pointer;
}
button.video-card__thumb { border-radius: 0; }

/* Vidéo lue en place (inline) */
.inline-video {
  display: block; width: 100%; height: 100%;
  background: #000; border-radius: inherit;
}
.tv-player .inline-video { aspect-ratio: 16/9; }
/* Quand la vidéo joue, on masque l'overlay dégradé du poster */
.tv-player.is-playing::after { content: none; }
.tv-player.is-playing { cursor: default; }

/* Popup vidéo (page LAN TV) */
.video-modal {
  position: fixed; inset: 0; z-index: 320;
  background: rgba(7, 18, 41, 0.94);
  display: none; align-items: center; justify-content: center;
  padding: 26px;
}
.video-modal.is-open { display: flex; animation: msg-in 0.25s ease; }
.video-modal__inner {
  position: relative; width: min(960px, 94vw);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.video-modal__player {
  display: block; width: 100%; aspect-ratio: 16/9;
  background: #000;
}
.video-modal__close {
  position: absolute; top: -12px; right: -12px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-orange); color: #fff; border: 0; cursor: pointer;
  font-size: 1.1rem; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-modal__close:hover { background: var(--c-orange-dark); transform: scale(1.08); }
@media (max-width: 560px) {
  .video-modal__close { top: 8px; right: 8px; }
}

/* ============================================================
   RECRUTEMENT
   ============================================================ */
.jobs { display: grid; gap: 14px; }
.job {
  background: #fff; border: 1px solid #e7ecf6; border-radius: var(--radius);
  overflow: hidden; transition: box-shadow 0.25s ease;
}
.job.is-open { box-shadow: var(--shadow); }
.job__head {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; background: none; border: 0; cursor: pointer; text-align: left;
}
.job__icon {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  background: linear-gradient(140deg, var(--c-blue), var(--c-navy-2)); color: #fff;
  display: grid; place-items: center;
}
.job__icon svg { width: 22px; height: 22px; }
.job__meta { flex: 1; }
.job__meta h3 { font-size: 1.02rem; }
.job__meta p { font-size: 0.8rem; color: var(--c-muted); margin-top: 2px; }
.job__badge {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  background: rgba(37,211,102,0.13); color: #15803d;
  padding: 5px 11px; border-radius: 30px; flex: none;
}
.job__chevron { flex: none; transition: transform 0.3s ease; color: var(--c-muted); }
.job.is-open .job__chevron { transform: rotate(180deg); }
.job__body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.job__content { padding: 4px 22px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.job__content h4 { font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-orange-dark); margin-bottom: 8px; }
.job__content ul { list-style: none; display: grid; gap: 6px; }
.job__content li { font-size: 0.87rem; color: var(--c-text); display: flex; gap: 9px; }
.job__content li::before { content: "—"; color: var(--c-orange); flex: none; }
.job__apply { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

/* ============================================================
   BLOG / ACTUALITÉS
   ============================================================ */
.posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid #e7ecf6; display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__thumb { aspect-ratio: 16/9; overflow: hidden; }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post:hover .post__thumb img { transform: scale(1.06); }
.post__body { padding: 18px 19px 20px; display: flex; flex-direction: column; flex: 1; }
.post__meta { display: flex; gap: 10px; align-items: center; font-size: 0.74rem; color: var(--c-muted); margin: 9px 0 7px; }
.post__body h3 { font-size: 1rem; margin-bottom: 7px; }
.post__body > p { font-size: 0.86rem; color: var(--c-muted); flex: 1; }
.post__link { margin-top: 13px; font-weight: 600; font-size: 0.85rem; color: var(--c-blue); }
.post__link:hover { color: var(--c-orange); }

.steps-list { counter-reset: step; list-style: none; display: grid; gap: 10px; }
.steps-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 0.92rem; }
.steps-list li::before {
  counter-increment: step; content: counter(step);
  width: 27px; height: 27px; border-radius: 50%; flex: none;
  background: var(--c-orange); color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: 0.82rem;
  display: grid; place-items: center; margin-top: 1px;
}

/* Assistant devis — cohérence entre étapes */
.wiz-sublabel { font-size: 0.8rem; font-weight: 600; color: var(--c-navy); display: block; margin-bottom: 8px; }
.wiz-field-hidden { display: none !important; }
.wiz-recap {
  background: #f2f5fb; border: 1px solid #e2e8f4; border-radius: 10px;
  padding: 15px 18px; margin-bottom: 18px;
}
.wiz-recap h4 { font-size: 0.9rem; margin-bottom: 11px; color: var(--c-navy); }
.wiz-recap dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 16px; font-size: 0.85rem; margin: 0; }
.wiz-recap dt { color: var(--c-muted); }
.wiz-recap dd { color: var(--c-text); font-weight: 600; text-align: right; margin: 0; }
.wiz-recap__edit { margin-top: 12px; font-size: 0.8rem; font-weight: 600; color: var(--c-blue); background: none; border: 0; cursor: pointer; padding: 0; }
.wiz-recap__edit:hover { color: var(--c-orange); }
.form-field input.wiz-error, .form-field select.wiz-error, .form-field textarea.wiz-error { border-color: #dc2626; }
.wiz-error-msg { color: #dc2626; font-size: 0.82rem; margin-top: 10px; display: none; }
.wiz-error-msg.is-visible { display: block; }

/* Newsletter */
.newsletter {
  display: flex; gap: 12px; flex-wrap: wrap; max-width: 520px;
}
.newsletter input {
  flex: 1; min-width: 220px;
  padding: 13px 17px; border-radius: 9px; border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); color: #fff; font-family: inherit; font-size: 0.92rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter input:focus { outline: none; border-color: var(--c-orange); }

/* ============================================================
   CONTACT & CHAT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }

/* --- Chat --- */
.chat {
  background: #fff; border-radius: var(--radius); border: 1px solid #e7ecf6;
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  height: 540px;
}
.chat__head {
  background: linear-gradient(140deg, var(--c-navy), var(--c-blue));
  color: #fff; padding: 15px 19px; display: flex; align-items: center; gap: 12px;
}
.chat__avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--c-orange);
  display: grid; place-items: center; font-family: var(--ff-head); font-weight: 800; flex: none;
}
.chat__head h3 { color: #fff; font-size: 0.98rem; }
.chat__head p { font-size: 0.74rem; color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 6px; }
.chat__head p::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.chat__body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 11px; background: #f7f9fd; }
.chat__msg { max-width: 85%; padding: 11px 15px; border-radius: 13px; font-size: 0.88rem; line-height: 1.5; animation: msg-in 0.3s ease; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat__msg--bot { background: #fff; border: 1px solid #e7ecf6; border-bottom-left-radius: 4px; align-self: flex-start; }
.chat__msg--user { background: var(--c-blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat__typing { display: inline-flex; gap: 4px; padding: 13px 16px; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #b6c2d8; animation: typing 1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-4px); opacity: 1; } }
.chat__quick { padding: 11px 15px; display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid #e7ecf6; background: #fff; }
.chat__quick button {
  border: 1.5px solid #d8e0ef; background: #fff; color: var(--c-blue);
  font-size: 0.76rem; font-weight: 600; padding: 6px 12px; border-radius: 30px; cursor: pointer;
  transition: all 0.2s ease;
}
.chat__quick button:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.chat__input { display: flex; border-top: 1px solid #e7ecf6; }
.chat__input input { flex: 1; border: 0; padding: 14px 17px; font-family: inherit; font-size: 0.9rem; }
.chat__input input:focus { outline: none; }
.chat__input button {
  border: 0; background: var(--c-orange); color: #fff; padding: 0 22px; cursor: pointer;
  font-weight: 700; transition: background 0.2s ease;
}
.chat__input button:hover { background: var(--c-orange-dark); }

/* --- Formulaires --- */
.form-card {
  background: #fff; border-radius: var(--radius); border: 1px solid #e7ecf6;
  box-shadow: var(--shadow); padding: 28px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.8rem; font-weight: 600; color: var(--c-navy); }
.form-field label b { color: var(--c-orange); }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px; border-radius: 9px; border: 1.5px solid #d8e0ef;
  font-family: inherit; font-size: 0.9rem; color: var(--c-text); background: #fff;
  transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--c-blue);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; color: var(--c-muted); }
.form-consent input { margin-top: 3px; accent-color: var(--c-orange); }
.form-success {
  display: none; background: rgba(37, 211, 102, 0.1); border: 1.5px solid rgba(21, 128, 61, 0.35);
  color: #15803d; border-radius: 10px; padding: 15px 18px; font-size: 0.9rem; font-weight: 500;
}
.form-success.is-visible { display: block; animation: msg-in 0.35s ease; }

/* --- Formulaire multi-étapes --- */
.wizard__bar { display: flex; gap: 7px; margin-bottom: 24px; }
.wizard__bar span { flex: 1; height: 5px; border-radius: 4px; background: #e2e8f4; transition: background 0.3s ease; }
.wizard__bar span.is-done { background: var(--c-orange); }
.wizard__step-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-orange); margin-bottom: 6px; }
.wizard__step { display: none; }
.wizard__step.is-active { display: block; animation: msg-in 0.3s ease; }
.wizard__step h3 { font-size: 1.15rem; margin-bottom: 18px; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.choice {
  position: relative; display: flex; align-items: center; gap: 10px;
  border: 1.5px solid #d8e0ef; border-radius: 10px; padding: 13px 15px;
  cursor: pointer; font-size: 0.88rem; font-weight: 500; transition: all 0.2s ease;
}
.choice:hover { border-color: var(--c-blue); }
.choice input { accent-color: var(--c-orange); }
.choice:has(input:checked) { border-color: var(--c-orange); background: rgba(246,139,31,0.06); }

/* --- Coordonnées --- */
.coords { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coord {
  background: #fff; border: 1px solid #e7ecf6; border-radius: var(--radius);
  padding: 24px 22px; text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.coord:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.coord__icon {
  width: 50px; height: 50px; border-radius: 50%; margin: 0 auto 14px;
  background: rgba(246,139,31,0.12); color: var(--c-orange); display: grid; place-items: center;
}
.coord h3 { font-size: 0.98rem; margin-bottom: 7px; }
.coord p, .coord a { font-size: 0.88rem; color: var(--c-muted); display: block; }
.coord a:hover { color: var(--c-orange); }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #e7ecf6; }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.slider { max-width: 740px; margin-inline: auto; overflow: hidden; }
.slider__track { display: flex; transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1); }
.slide { flex: 0 0 100%; text-align: center; padding: 6px 26px; }
.slide__stars { color: var(--c-orange); font-size: 1.15rem; letter-spacing: 5px; margin-bottom: 15px; }
.slide p { font-size: clamp(0.98rem, 1.7vw, 1.15rem); line-height: 1.65; color: rgba(255,255,255,0.9); font-style: italic; margin-bottom: 17px; }
.slide footer strong { display: block; font-family: var(--ff-head); font-size: 0.94rem; }
.slide footer span { color: rgba(255,255,255,0.55); font-size: 0.8rem; }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.slider__btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3); background: transparent; color: #fff;
  font-size: 1rem; cursor: pointer; transition: all 0.25s ease;
}
.slider__btn:hover { background: var(--c-orange); border-color: var(--c-orange); }
.slider__dots { display: flex; gap: 9px; }
.slider__dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.25s ease;
}
.slider__dots button.is-active { background: var(--c-orange); transform: scale(1.3); }

/* ============================================================
   ÉQUIPE / VALEURS / TIMELINE
   ============================================================ */
.values__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value {
  background: #fff; border: 1px solid #e7ecf6; border-radius: var(--radius);
  padding: 22px 18px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value__icon {
  width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 12px;
  background: rgba(47,85,164,0.1); color: var(--c-blue); display: grid; place-items: center;
}
.value h3 { font-size: 0.92rem; margin-bottom: 6px; }
.value p { font-size: 0.8rem; color: var(--c-muted); }

.founder { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center; }
.founder__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.founder__photo img { width: 100%; height: auto; }
.founder__quote {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(11,27,58,0.88); backdrop-filter: blur(6px);
  color: #fff; border-radius: 10px; padding: 13px 17px;
  font-size: 0.86rem; font-style: italic;
}
.founder__quote b { color: var(--c-orange); font-style: normal; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.skills span {
  font-size: 0.76rem; font-weight: 600; color: var(--c-blue);
  background: rgba(47,85,164,0.09); border: 1px solid rgba(47,85,164,0.2);
  padding: 6px 13px; border-radius: 30px;
}

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { background: #fff; border: 1px solid #e7ecf6; border-radius: var(--radius); padding: 22px 20px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__icon { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(140deg, var(--c-orange), var(--c-orange-dark)); color: #fff; display: grid; place-items: center; margin-bottom: 13px; }
.team-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.team-card ul { list-style: none; display: grid; gap: 5px; }
.team-card li { font-size: 0.83rem; color: var(--c-muted); display: flex; gap: 8px; }
.team-card li::before { content: "•"; color: var(--c-orange); }

/* Bande logos / preuves */
.proof-strip { background: var(--c-navy); padding: 22px 0; border-top: 1px solid rgba(63,106,196,0.25); }
.proof-strip__inner {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 34px;
  color: rgba(255,255,255,0.72); font-size: 0.82rem; font-weight: 600;
}
.proof-strip__inner i { width: 4px; height: 4px; border-radius: 50%; background: var(--c-orange); }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta {
  background:
    radial-gradient(ellipse 80% 120% at 85% 10%, rgba(246,139,31,0.18), transparent 55%),
    linear-gradient(150deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
  color: #fff; padding: 64px 0;
}
.cta__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cta__text h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 13px; }
.cta__text p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 480px; }
.cta__actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta__direct { display: flex; flex-wrap: wrap; gap: 11px; }
.cta__phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 0.9rem; color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25); padding: 10px 17px; border-radius: 9px;
  transition: all 0.25s ease;
}
.cta__phone:hover { border-color: var(--c-orange); color: var(--c-orange); transform: translateY(-2px); }
.cta__phone--wa:hover { border-color: var(--c-green); color: var(--c-green); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #071229; color: rgba(255,255,255,0.7); }
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 36px; padding: 48px 22px 36px; }
.footer__brand p { font-size: 0.86rem; margin-top: 15px; max-width: 300px; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 9px;
  border: 1.5px solid rgba(255,255,255,0.18); display: grid; place-items: center;
  transition: all 0.25s ease;
}
.footer__social a:hover { background: var(--c-orange); border-color: var(--c-orange); color: #fff; transform: translateY(-3px); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: #fff; font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 5px; }
.footer__col a { font-size: 0.87rem; transition: color 0.22s ease; }
.footer__col a:hover { color: var(--c-orange); }
.footer__col p { font-size: 0.85rem; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-block: 18px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
}

/* ============================================================
   FLOTTANTS (WhatsApp + barre mobile)
   ============================================================ */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--c-green); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
  animation: pulse-wa 2.6s infinite;
}
.float-wa:hover { transform: scale(1.1); }
@keyframes pulse-wa {
  0% { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   ANIMATIONS AU SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.services__grid .reveal:nth-child(2), .projects__grid .reveal:nth-child(2),
.values__grid .reveal:nth-child(2), .posts__grid .reveal:nth-child(2),
.team-grid .reveal:nth-child(2), .videos__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services__grid .reveal:nth-child(3), .projects__grid .reveal:nth-child(3),
.values__grid .reveal:nth-child(3), .posts__grid .reveal:nth-child(3),
.team-grid .reveal:nth-child(3), .videos__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services__grid .reveal:nth-child(4), .values__grid .reveal:nth-child(4),
.team-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.values__grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.stats__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.stats__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.stats__grid .reveal:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .damier .tile { opacity: 1; transform: none; animation: none !important; }
  .damier__badge { opacity: 1; transform: none; animation: none; }
  .tv-player__btn, .float-wa { animation: none; }
  .crane__arm, .crane__cable, .crane__load { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1060px) {
  .nav__link { font-size: 0.8rem; }
  .nav { gap: 14px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .projects__grid, .videos__grid, .posts__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 24px;
    background: rgba(11, 27, 58, 0.98); backdrop-filter: blur(14px);
    transform: translateX(100%); transition: transform 0.38s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 200;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.15rem; }
  .burger { display: flex; }

  .hero--home .hero__grid2, .page-hero .hero__grid2 { grid-template-columns: 1fr; gap: 36px; padding-top: 104px; }
  .hero--home .hero__grid2 { min-height: 0; padding-bottom: 52px; }
  .damier { margin-inline: auto; max-width: 440px; }
  .page-hero .damier { display: none; }

  .svc-block { grid-template-columns: 1fr; gap: 22px; }
  .svc-block--rev .svc-block__media { order: 0; }
  .tv-featured, .contact-grid, .founder, .cta__inner { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .ba-grid { grid-template-columns: 1fr; }
  .coords { grid-template-columns: 1fr; }
  .job__content { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
}

/* --- Sous-menu Services : version mobile (accordéon) --- */
@media (max-width: 920px) {
  .nav__item { flex-wrap: wrap; justify-content: center; }
  .subtoggle { color: #fff; padding: 6px 10px; }
  .subtoggle svg { width: 16px; height: 16px; }
  .nav__item.is-open .subtoggle svg { transform: rotate(180deg); }
  .submenu {
    flex-basis: 100%; width: 100%;
    max-height: 0; overflow: hidden; opacity: 0;
    display: grid; gap: 2px; justify-items: center;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  }
  .nav__item.is-open .submenu { max-height: 480px; opacity: 1; margin-top: 6px; }
  .submenu__link { padding: 6px 12px; }
  .submenu__icon { display: none; }
  .submenu__link strong { color: rgba(255,255,255,0.92); font-weight: 600; font-size: 0.98rem; }
  .submenu__link small { display: none; }
  .submenu__link:hover, .submenu__link.is-current { background: rgba(255,255,255,0.08); }
  .submenu__link.is-current strong { color: var(--c-orange); }
  .submenu__all { border-top: 0; padding: 6px; color: var(--c-orange); }
}

/* --- Variante 3 colonnes des cartes services (pages service) --- */
.services__grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1060px) { .services__grid--3 { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 560px) {
  .services__grid, .services__grid--3, .projects__grid, .videos__grid, .posts__grid,
  .values__grid, .team-grid, .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .choice-grid, .form-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .brand__text strong { font-size: 0.85rem; }
  .damier__badge { left: 8px; }
  .float-wa { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}