/* ============================================================
   C-GIM — main.css  (version optimisée performance)
   Soft · Élégant · Performant
   ============================================================ */

/* ============================================================
   1. VARIABLES & RESET
   ============================================================ */
:root {
  /* Palette */
  --navy:       #1a3a5c;
  --navy-light: #23527c;
  --sky:        #47b2e4;
  --sky-light:  #a8d8f0;
  --gold:       #c9a84c;
  --white:      #ffffff;
  --off-white:  #f7f9fc;
  --text:       #2c3e50;
  --text-muted: #6c7a89;
  --border:     #e4eaf0;

  /* Badge couleurs */
  --badge-blue:   #1d6fa4;
  --badge-teal:   #0d8a7a;
  --badge-green:  #1e7e34;
  --badge-orange: #d06000;
  --badge-red:    #b02020;

  /* Typographie */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Ombres */
  --shadow-sm:  0 2px 8px rgba(26,58,92,.06);
  --shadow-md:  0 6px 24px rgba(26,58,92,.10);
  --shadow-lg:  0 16px 48px rgba(26,58,92,.14);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
}

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

/* ✅ PERF: font-display géré via Google Fonts ?display=swap dans le HTML */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  margin: 0;
  padding: 0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
}


/* ============================================================
   2. NAVBAR
   ============================================================ */
.header {
  z-index: 1000;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}

.header.scrolled .navbar {
  background: rgba(255,255,255,.97) !important;
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 18px 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: padding .3s var(--ease), background .3s var(--ease);
}

.navbar.scrolled { padding: 10px 0; }

.navbar-brand img {
  width: 130px;
  height: 42px;
  object-fit: contain;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: .6px;
  color: var(--navy) !important;
  padding: 8px 14px !important;
  position: relative;
  transition: color .25s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--sky);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav-link:hover,
.nav-link.active { color: var(--sky) !important; }

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.btn-contact {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-radius: 50px;
  padding: 8px 22px !important;
  font-weight: 600;
  transition: background .25s var(--ease), transform .2s var(--ease);
}

.btn-contact::after { display: none; }

.btn-contact:hover {
  background: var(--sky) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

.dropdown-menu {
  border: none;
  border-radius: 12px;
  padding: 8px;
  margin-top: 8px;
  box-shadow: var(--shadow-lg);
  animation: dropIn .22s var(--ease);
  min-width: 220px;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 8px;
  transition: background .2s, color .2s, transform .2s;
}

.dropdown-item:hover {
  background: var(--sky-light);
  color: var(--navy);
  transform: translateX(4px);
}

.navbar-toggler {
  border: none;
  padding: 6px;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.navbar-toggler:focus { box-shadow: none; }

.toggler-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--white);
    border-radius: 14px;
    padding: 20px;
    margin-top: 12px;
    box-shadow: var(--shadow-lg);
  }
  .btn-contact { display: inline-block; margin-top: 8px; }
}


/* ============================================================
   3. HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: url('../img/sdd23.webp') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12,26,44,.78) 0%,
    rgba(26,58,92,.55) 60%,
    rgba(71,178,228,.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: heroFadeUp .9s var(--ease) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 16px;
  opacity: 0;
  animation: heroFadeUp .7s .2s var(--ease) forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  opacity: 0;
  animation: heroFadeUp .8s .35s var(--ease) forwards;
}

.hero-title span {
  color: var(--sky);
  display: block;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  letter-spacing: 1.5px;
  margin-bottom: 0;
  opacity: 0;
  animation: heroFadeUp .7s .5s var(--ease) forwards;
}

.hero-cta {
  opacity: 0;
  animation: heroFadeUp .7s .65s var(--ease) forwards;
}

.btn-hero-primary {
  background: var(--sky);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .5px;
  box-shadow: 0 4px 20px rgba(71,178,228,.35);
  transition: all .3s var(--ease);
}

.btn-hero-primary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255,255,255,.2);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 500;
  font-size: .95rem;
  transition: all .3s var(--ease);
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-hint span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}


/* ============================================================
   4. STATS
   ============================================================ */
.stats-section {
  background: var(--navy);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
  transition: background .3s var(--ease);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(71,178,228,.1); }

.stat-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sky);
}

.stat-item p {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin: 8px 0 0;
}

@media (max-width: 575px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.1); }
}


/* ============================================================
   5. À PROPOS
   ============================================================ */
.about-section {
  padding: 100px 0;
  background: var(--off-white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap { position: relative; }

.about-img-main {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: .88rem;
  font-weight: 600;
}

.about-badge i {
  font-size: 1.6rem;
  color: var(--gold);
}

.about-tag {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 16px;
}

.about-body {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.about-services {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-services li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color .25s, box-shadow .25s;
}

.about-services li:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow-sm);
}

.about-services li i {
  font-size: 1.2rem;
  color: var(--sky);
  flex-shrink: 0;
}

.btn-about {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 50px;
  padding: 13px 30px;
  font-size: .9rem;
  font-weight: 600;
  transition: background .25s var(--ease), transform .2s var(--ease);
  text-decoration: none;
}

.btn-about:hover {
  background: var(--sky);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-main { height: 320px; }
  .about-badge { bottom: -14px; right: 14px; }
  .about-services { grid-template-columns: 1fr; }
}


/* ============================================================
   6. SECTION HEADER (réutilisable)
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 3px;
}


/* ============================================================
   7. ACTUALITÉS
   ============================================================ */
.actua-section {
  padding: 100px 0;
  background: var(--off-white);
}

.actua-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.actua-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
}

.actua-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.actua-media {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy);
  flex-shrink: 0;
  position: relative;
}

.actua-media iframe,
.actua-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}

/* ✅ PERF: Façade vidéo — remplace les iframes au chargement */
.video-facade {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: block;
  background: var(--navy);
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.video-facade:hover img,
.video-facade:focus img {
  transform: scale(1.04);
}

.video-facade-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,26,44,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease);
}

.video-facade:hover .video-facade-overlay,
.video-facade:focus .video-facade-overlay {
  background: rgba(12,26,44,.5);
}

.video-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.video-play-btn i {
  font-size: 1.6rem;
  color: var(--navy);
  margin-left: 4px; /* centrage visuel du triangle */
}

.video-play-btn--yt {
  background: #ff0000;
}

.video-play-btn--yt i { color: var(--white); }

.video-facade:hover .video-play-btn,
.video-facade:focus .video-play-btn {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

/* iframe injectée par JS */
.video-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.actua-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.actua-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 4px 12px;
  margin-bottom: 14px;
  width: fit-content;
  color: var(--white);
}

.badge-blue   { background: var(--badge-blue); }
.badge-teal   { background: var(--badge-teal); }
.badge-green  { background: var(--badge-green); }
.badge-orange { background: var(--badge-orange); }
.badge-red    { background: var(--badge-red); }

.actua-body h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.actua-body p {
  font-size: .9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 20px;
  line-height: 1.55;
}

.actua-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.btn-actua {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .82rem;
  font-weight: 600;
  transition: background .25s var(--ease), transform .2s var(--ease);
  text-decoration: none;
}

.btn-actua:hover {
  background: var(--sky);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-actua.btn-green { background: var(--badge-green); }
.btn-actua.btn-green:hover { background: #155724; }

.actua-loc {
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 575px) {
  .actua-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   8. PARTENAIRES SLIDER
   ============================================================ */
.partners-section {
  padding: 80px 0;
  background: var(--white);
  overflow: hidden;
}

.partners-slider {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

.partners-slider::before,
.partners-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.partners-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.partners-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  /* ✅ PERF: La duplication est faite par JS — animation calculée dynamiquement */
  animation: partnersScroll 38s linear infinite;
  will-change: transform;
}

.partners-track:hover { animation-play-state: paused; }

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--partners-scroll-distance, -50%)); }
}

.partner-logo {
  width: 150px;
  height: 70px;
  object-fit: contain;
  margin: 0 28px;
  opacity: .65;
  filter: grayscale(30%);
  transition: opacity .3s, filter .3s, transform .3s;
  flex-shrink: 0;
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .partner-logo { width: 110px; height: 55px; margin: 0 18px; }
  .partners-slider::before,
  .partners-slider::after { width: 60px; }
}


/* ============================================================
   9. FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: url('../img/sdd27.webp') center center / cover no-repeat;
  color: var(--white);
}

.footer-inner {
  position: relative;
  background: rgba(12,24,40,.88);
  backdrop-filter: blur(4px);
}

.footer-top { padding: 72px 0 48px; }

.footer-logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

.footer-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 0;
}

.footer-contact-info p {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.footer-contact-info i { color: var(--sky); font-size: 1rem; }

.footer-col-title {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 18px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}

.footer-links a:hover {
  color: var(--sky);
  padding-left: 6px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-top { padding: 50px 0 36px; }
  .footer-bottom .d-flex { flex-direction: column; text-align: center; gap: 6px; }
}


/* ============================================================
   10. ANIMATIONS SCROLL
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up:nth-child(2) { transition-delay: .1s; }
.fade-in-up:nth-child(3) { transition-delay: .2s; }
.fade-in-up:nth-child(4) { transition-delay: .3s; }
.fade-in-up:nth-child(5) { transition-delay: .4s; }
.fade-in-up:nth-child(6) { transition-delay: .5s; }


/* ============================================================
   SECTEURS D'ACTIVITÉ — alt-services
   ============================================================ */
.alt-services-section {
  position: relative;
  padding: 110px 0 120px;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.alt-services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(71,178,228,.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201,168,76,.07) 0%, transparent 60%);
}

.alt-services-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.alt-services-bg::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 80px solid rgba(71,178,228,.06);
  pointer-events: none;
}

.alt-services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
  position: relative;
  z-index: 1;
}

.alt-services-header .section-tag { color: var(--sky); }

.alt-services-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.alt-services-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 3px;
}

.alt-services-lead {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin: 0;
}

.alt-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}

.service-card { position: relative; cursor: default; }

.service-card-inner {
  padding: 44px 32px 40px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
}

.service-card:hover .service-card-inner {
  background: rgba(71,178,228,.08);
  border-color: rgba(71,178,228,.35);
  transform: translateY(-6px);
}

.service-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(71,178,228,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
}

.service-card:hover .service-card-inner::before { opacity: 1; }

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(71,178,228,.12);
  border: 1px solid rgba(71,178,228,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.service-icon-wrap i {
  font-size: 1.5rem;
  color: var(--sky);
  transition: color .3s ease;
}

.service-card:hover .service-icon-wrap {
  background: var(--sky);
  border-color: var(--sky);
  transform: rotate(-6deg) scale(1.08);
}

.service-card:hover .service-icon-wrap i { color: var(--white); }

.service-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.04);
  line-height: 1;
  user-select: none;
  transition: color .35s ease;
}

.service-card:hover .service-number { color: rgba(71,178,228,.10); }

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  transition: color .3s ease;
}

.service-card:hover .service-card-title { color: var(--sky-light); }

.service-card-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 28px;
  transition: color .3s ease;
}

.service-card:hover .service-card-desc { color: rgba(255,255,255,.75); }

.service-card-link {
  display: inline-flex;
  align-items: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(71,178,228,.7);
  text-decoration: none;
  transition: color .25s ease, gap .25s ease;
  gap: 4px;
  margin-top: auto;
}

.service-card-link:hover { color: var(--sky); gap: 8px; }

.service-card-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 0 2px 0 0;
  transition: width .45s ease;
}

.service-card:hover .service-card-line { width: 100%; }

@media (max-width: 1199px) {
  .alt-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .alt-services-section { padding: 72px 0 80px; }
  .alt-services-grid { grid-template-columns: 1fr; gap: 0; }
  .service-card-inner { padding: 36px 24px 32px; }
  .alt-services-header { margin-bottom: 48px; }
}


/* ============================================================
   PROJETS EN COURS — carousel infini CSS pur
   ============================================================ */
.projets-section {
  position: relative;
  padding: 110px 0 120px;
  background: var(--off-white);
  overflow: hidden;
  isolation: isolate;
}

.projets-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: none;
}

.projets-bg::after {
  display: none;
}
.projets-bg::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 90px solid rgba(71,178,228,.04);
  pointer-events: none;
}

/* Header */
.projets-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
  position: relative;
  z-index: 1;
}

.projets-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.projets-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 3px;
}

.projets-lead {
  font-size: .98rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}


/* ══════════════════════════════════════
   CAROUSEL — boucle infinie CSS pure
   La piste contient 2× les cartes.
   L'animation translate de -50% = revient
   exactement au début → boucle parfaite.
   ══════════════════════════════════════ */
.projets-carousel {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.projets-track {
  display: flex;
  gap: 28px;
  width: max-content;
  /* translateX(-50%) = décale exactement de la moitié
     soit 1 groupe complet → boucle parfaite */
  animation: projets-loop 30s linear infinite;
}

/* Pause au survol */
.projets-carousel:hover .projets-track {
  animation-play-state: paused;
}

@keyframes projets-loop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ── CARTE PROJET ── */
.projet-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(26,58,92,.08);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  width: 360px;
  flex-shrink: 0;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.projet-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(26,58,92,.16);
  border-color: var(--sky-light);
}

/* Image */
.projet-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}

.projet-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

.projet-card:hover .projet-card-img img { transform: scale(1.06); }

.projet-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12,24,40,.10) 0%,
    rgba(12,24,40,.0) 40%,
    rgba(12,24,40,.55) 100%
  );
}

/* Badge statut */
.projet-status {
  position: absolute;
  top: 14px; right: 14px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--sky);
  border-radius: 50px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  animation: livePulse 2.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(71,178,228,.4); }
  50%       { box-shadow: 0 0 0 5px rgba(71,178,228,.0); }
}

/* Corps */
.projet-card-body {
  padding: 24px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.projet-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
}

.projet-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.projet-meta li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .79rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.projet-meta li i {
  font-size: .9rem;
  color: var(--sky);
  flex-shrink: 0;
  margin-top: 2px;
}

.projet-meta li strong {
  color: var(--text);
  font-weight: 600;
}

/* Barre de progression */
.projet-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.projet-progress-bar {
  flex: 1;
  height: 5px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
}

.projet-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 5px;
  position: relative;
}

/* Shimmer sur la barre */
.projet-progress-fill::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { opacity: 0; transform: translateX(0); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-20px); }
}

.projet-progress-pct {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  min-width: 36px;
  text-align: right;
}

/* Lien */
.projet-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  transition: color .25s, gap .25s;
}

.projet-card-link:hover { color: var(--sky); gap: 10px; }

/* Ligne accent bas de carte */
.projet-card-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transition: width .45s ease;
}

.projet-card:hover .projet-card-line { width: 100%; }


/* CTA */
.projets-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 52px;
  position: relative;
  z-index: 1;
}

.btn-voir-plus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  padding: 14px 34px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 4px 18px rgba(26,58,92,.18);
  transition: background .28s, transform .22s, box-shadow .28s;
}

.btn-voir-plus:hover {
  background: var(--sky);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(71,178,228,.3);
}


/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .projet-card { width: 300px; }
}

@media (max-width: 575px) {
  .projets-section { padding: 72px 0 80px; }
  .projets-header  { margin-bottom: 48px; }
  .projets-cta     { justify-content: center; }
  .projet-card     { width: 270px; }
  .projet-card-img { height: 175px; }
}

/* ============================================================
   ABOUT PAGE — styles (partagés depuis main.css)
   ============================================================ */
.about-hero {
  position: relative;
  height: 480px;
  background: url('../img/fond12.webp') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(12,26,44,.82) 0%, rgba(26,58,92,.65) 50%, rgba(71,178,228,.15) 100%);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
  animation: heroFadeUp .8s ease both;
}

.about-breadcrumb { margin-bottom: 20px; }
.about-breadcrumb .breadcrumb { background: none; padding: 0; }

.about-breadcrumb .breadcrumb-item a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  transition: color .2s ease;
}

.about-breadcrumb .breadcrumb-item a:hover { color: var(--sky); }

.about-breadcrumb .breadcrumb-item.active {
  color: var(--sky);
  font-size: .82rem;
  font-weight: 600;
}

.about-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.4);
  content: "›";
}

.about-hero-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 10px;
}

.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 14px;
}

.about-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  letter-spacing: 1px;
  margin: 0;
}

.about-hero-shape {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--off-white);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

.about-pres-section { padding: 100px 0 110px; background: var(--off-white); }

.about-pres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-pres-img-wrap { position: relative; }

.about-pres-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: block;
}

.about-pres-badge,
.about-pres-badge-2 {
  position: absolute;
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: badgeFloat 3.5s ease-in-out infinite;
}

.about-pres-badge { bottom: -24px; right: -24px; }
.about-pres-badge-2 { top: 24px; left: -24px; animation-delay: 1.5s; }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.about-pres-badge i,
.about-pres-badge-2 i { font-size: 1.6rem; color: var(--gold); }

.about-pres-badge strong,
.about-pres-badge-2 strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.about-pres-badge span,
.about-pres-badge-2 span { font-size: .75rem; color: rgba(255,255,255,.65); }

.about-pres-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-pres-lead { font-size: 1.02rem; font-weight: 500; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.about-pres-body { font-size: .93rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; }

.about-pres-services { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.about-pres-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.about-pres-service-item:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.about-pres-service-item i { font-size: 1.2rem; color: var(--sky); flex-shrink: 0; }

@media (max-width: 991px) {
  .about-pres-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-pres-img { height: 300px; }
  .about-pres-badge { bottom: -16px; right: 16px; }
  .about-pres-badge-2 { top: 16px; left: 16px; }
  .about-pres-services { grid-template-columns: 1fr; }
}

.about-stats-section { position: relative; padding: 0; background: var(--navy); overflow: hidden; isolation: isolate; }

.about-stats-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(71,178,228,.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 50%, rgba(201,168,76,.05) 0%, transparent 60%);
}

.about-stats-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.about-stat-item {
  text-align: center;
  padding: 52px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .3s ease;
  position: relative;
}

.about-stat-item:last-child { border-right: none; }
.about-stat-item:hover { background: rgba(71,178,228,.08); }

.about-stat-item i { font-size: 2rem; color: var(--sky); margin-bottom: 16px; display: block; opacity: .8; }

.about-stat-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.about-stat-suffix { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--sky); }

.about-stat-item p {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin: 10px 0 0;
}

@media (max-width: 767px) {
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat-item { border-bottom: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 480px) {
  .about-stats-grid { grid-template-columns: 1fr; }
}

.mot-section { padding: 110px 0 120px; background: var(--white); overflow: hidden; }

.mot-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}

.mot-img-wrap { position: relative; }
.mot-img-frame { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.mot-img-frame img { width: 100%; height: 580px; object-fit: cover; object-position: top; display: block; transition: transform .6s ease; }
.mot-img-frame:hover img { transform: scale(1.03); }

.mot-img-deco {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--sky);
  border-radius: 20px;
  opacity: .2;
  z-index: -1;
}

.mot-heading { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.mot-quote-icon { margin: 20px 0 24px; }
.mot-quote-icon i { font-size: 4rem; color: var(--sky); opacity: .25; line-height: 1; }
.mot-body p { font-size: .97rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.mot-body p:last-child { margin-bottom: 0; }

.mot-author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.mot-author-line { width: 4px; height: 52px; background: linear-gradient(180deg, var(--navy), var(--sky)); border-radius: 4px; flex-shrink: 0; }
.mot-author strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.mot-author span { font-size: .82rem; color: var(--text-muted); font-weight: 500; }

@media (max-width: 991px) {
  .mot-grid { grid-template-columns: 1fr; gap: 48px; }
  .mot-img-frame img { height: 380px; }
}
/* ============================================================
   ÉQUIPE
   ============================================================ */
.team-section {
  position: relative;
  padding: 110px 0 120px;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

/* Fond décoratif */
.team-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(71,178,228,.10) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 5% 90%, rgba(201,168,76,.07) 0%, transparent 60%);
}

.team-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 52px 52px;
}

.team-bg::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 80px solid rgba(71,178,228,.06);
  pointer-events: none;
}


/* ── EN-TÊTE ── */
.team-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
  position: relative;
  z-index: 1;
}

.team-header .section-tag { color: var(--sky); }

.team-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.team-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 3px;
}

.team-lead {
  font-size: .96rem;
  color: rgba(255,255,255,.58);
  line-height: 1.75;
  margin: 0;
}


/* ── GRILLE ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* DG prend 2 colonnes */
.team-card--dg {
  grid-column: span 1;
}

/* ── CARTE ── */
.team-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(0,0,0,.30);
  border-color: rgba(71,178,228,.40);
  background: rgba(255,255,255,.07);
}


/* ── IMAGE ── */
.team-card-img {
  position: relative;
  height: 290px;
  overflow: hidden;
}

.team-card--dg .team-card-img { height: 290px; }

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .55s ease;
  filter: grayscale(15%);
}

.team-card:hover .team-card-img img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* Overlay glass en bas de l'image */
.team-card-glass {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(
    0deg,
    rgba(12,24,40,.90) 0%,
    rgba(12,24,40,.50) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

/* Département pill */
.team-card-dept {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(71,178,228,.25);
  border: 1px solid rgba(71,178,228,.40);
  border-radius: 50px;
  padding: 4px 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* Icônes sociales */
.team-card-socials {
  display: flex;
  gap: 7px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
  flex-shrink: 0;
}

.team-card:hover .team-card-socials {
  opacity: 1;
  transform: translateY(0);
}

.team-card-socials a {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .85rem;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.team-card-socials a:hover {
  background: var(--sky);
  border-color: var(--sky);
}


/* ── CORPS ── */
.team-card-body {
  padding: 20px 22px 18px;
}

/* Méta : icône + nom + rôle */
.team-card-meta {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

/* Icône département */
.team-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-card-icon i { font-size: 1.1rem; }

.team-icon-gold   { background: rgba(201,168,76,.18); border: 1px solid rgba(201,168,76,.30); }
.team-icon-gold   i { color: var(--gold); }
.team-icon-sky    { background: rgba(71,178,228,.18); border: 1px solid rgba(71,178,228,.28); }
.team-icon-sky    i { color: var(--sky); }
.team-icon-orange { background: rgba(255,152,0,.18); border: 1px solid rgba(255,152,0,.28); }
.team-icon-orange i { color: #f39c12; }
.team-icon-teal   { background: rgba(13,138,122,.18); border: 1px solid rgba(13,138,122,.28); }
.team-icon-teal   i { color: #0d8a7a; }
.team-icon-green  { background: rgba(76,175,80,.18); border: 1px solid rgba(76,175,80,.28); }
.team-icon-green  i { color: #4caf50; }
.team-icon-purple { background: rgba(156,39,176,.18); border: 1px solid rgba(156,39,176,.22); }
.team-icon-purple i { color: #9c27b0; }

/* Nom + rôle */
.team-card-meta h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
  line-height: 1.2;
}

.team-card-role {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--sky);
  margin: 0;
  line-height: 1.3;
}

.team-card-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.50);
  line-height: 1.6;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}


/* ── LIGNE ACCENT ── */
.team-card-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  transition: width .45s ease;
}

.team-card:hover .team-card-line { width: 100%; }


/* ── CTA ORGANIGRAMME ── */
.team-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.team-cta-btn {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: 14px 36px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-decoration: none;
  transition: background .28s, border-color .28s, transform .22s, box-shadow .28s;
}

.team-cta-btn:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(71,178,228,.30);
}


/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-card--dg { grid-column: span 2; }
  .team-card--dg .team-card-img { height: 320px; }
}

@media (max-width: 575px) {
  .team-section { padding: 72px 0 80px; }
  .team-header { margin-bottom: 48px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card--dg { grid-column: span 1; }
  .team-card-img { height: 240px; }
  .team-cta-btn { padding: 12px 24px; font-size: .8rem; }
}

/* ============================================================
   POLITIQUE QHSE
   ============================================================ */
.pol-hero {
  position: relative;
  height: 500px;
  background: url('../img/qhse.webp') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.pol-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(12,26,44,.88) 0%, rgba(26,58,92,.70) 50%, rgba(71,178,228,.18) 100%);
}

.pol-hero-content { position: relative; z-index: 2; padding-bottom: 80px; animation: heroFadeUp .8s ease both; }
.pol-hero-tag { font-size: .75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--sky-light); margin-bottom: 10px; }
.pol-hero-title { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 12px; }
.pol-hero-sub { font-size: .95rem; color: rgba(255,255,255,.68); letter-spacing: 2px; margin-bottom: 28px; }

.pol-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }

.pol-hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: 7px 16px;
  transition: background .25s ease, border-color .25s ease;
}

.pol-hero-badge:hover { background: rgba(71,178,228,.3); border-color: var(--sky); }

.pol-hero-shape { position: absolute; bottom: -2px; left: 0; right: 0; height: 80px; background: var(--navy); clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%); z-index: 2; }

.pol-intro-band { background: var(--navy); padding: 0; }

.pol-intro-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 36px 0;
  flex-wrap: wrap;
  gap: 0;
}

.pol-intro-item { display: flex; align-items: center; gap: 16px; padding: 12px 24px; flex: 1; min-width: 180px; transition: background .25s ease; }
.pol-intro-item:hover { background: rgba(71,178,228,.08); }
.pol-intro-item i { font-size: 2rem; color: var(--sky); flex-shrink: 0; }
.pol-intro-item strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); line-height: 1.1; }
.pol-intro-item span { font-size: .78rem; color: rgba(255,255,255,.55); font-weight: 500; }
.pol-intro-sep { width: 1px; height: 50px; background: rgba(255,255,255,.1); flex-shrink: 0; }

@media (max-width: 767px) {
  .pol-intro-grid { flex-direction: column; padding: 24px 0; }
  .pol-intro-sep { width: 80px; height: 1px; }
  .pol-intro-item { justify-content: center; text-align: center; }
}

.pol-statement-section { padding: 110px 0 120px; background: var(--off-white); overflow: hidden; }

.pol-statement-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
}

.pol-statement-heading { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 700; color: var(--navy); margin-bottom: 24px; line-height: 1.2; }
.pol-statement-lead { font-size: 1.02rem; font-weight: 500; color: var(--text); line-height: 1.75; margin-bottom: 18px; }
.pol-statement-body { font-size: .93rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 36px; }

.pol-statement-sign { display: flex; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid var(--border); }
.pol-statement-sign-line { width: 4px; height: 52px; background: linear-gradient(180deg, var(--navy), var(--sky)); border-radius: 4px; flex-shrink: 0; }
.pol-statement-sign strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.pol-statement-sign span { font-size: .82rem; color: var(--text-muted); }

.pol-statement-visual { position: relative; }
.pol-statement-img-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.pol-statement-img-wrap img { width: 100%; height: 480px; object-fit: cover; display: block; transition: transform .6s ease; }
.pol-statement-img-wrap:hover img { transform: scale(1.04); }

.pol-statement-img-deco { position: absolute; top: -18px; right: -18px; width: 100%; height: 100%; border: 2px solid var(--sky); border-radius: 20px; opacity: .18; z-index: -1; pointer-events: none; }

.pol-score-card {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--navy);
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-md);
  animation: badgeFloat 4s ease-in-out infinite;
}

.pol-score-item { text-align: center; }
.pol-score-num { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--sky); line-height: 1; }
.pol-score-label { font-size: .72rem; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.pol-score-divider { width: 1px; height: 44px; background: rgba(255,255,255,.15); }

@media (max-width: 1099px) {
  .pol-statement-grid { grid-template-columns: 1fr; gap: 48px; }
  .pol-statement-img-wrap img { height: 340px; }
  .pol-score-card { bottom: -16px; left: 16px; }
}

.pol-piliers-section { position: relative; padding: 110px 0 120px; background: var(--navy); overflow: hidden; isolation: isolate; }

.pol-piliers-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 85% 15%, rgba(71,178,228,.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 10% 85%, rgba(201,168,76,.07) 0%, transparent 60%);
}

.pol-piliers-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 48px 48px;
}

.pol-piliers-bg::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 72px solid rgba(71,178,228,.055);
  pointer-events: none;
}

.pol-piliers-header { text-align: center; max-width: 640px; margin: 0 auto 72px; position: relative; z-index: 1; }
.pol-piliers-header .section-tag { color: var(--sky); }

.pol-piliers-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.pol-piliers-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 3px;
}

.pol-piliers-lead { font-size: .98rem; color: rgba(255,255,255,.58); line-height: 1.75; margin: 0; }

.pol-piliers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; position: relative; z-index: 1; }

.pol-pilier-card { position: relative; }

.pol-pilier-card-inner {
  padding: 44px 28px 40px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
}

.pol-pilier-card:hover .pol-pilier-card-inner { background: rgba(71,178,228,.07); border-color: rgba(71,178,228,.3); transform: translateY(-6px); }

.pol-pilier-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(71,178,228,.05) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .4s ease;
}

.pol-pilier-card:hover .pol-pilier-card-inner::before { opacity: 1; }

.pol-pilier-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-size: 3.8rem; font-weight: 700; color: rgba(255,255,255,.04); line-height: 1; user-select: none; transition: color .35s ease; }
.pol-pilier-card:hover .pol-pilier-num { color: rgba(71,178,228,.09); }

.pol-pilier-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(71,178,228,.12);
  border: 1px solid rgba(71,178,228,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .3s ease, transform .3s ease, border-color .3s ease;
  flex-shrink: 0;
}

.pol-pilier-icon-wrap i { font-size: 1.45rem; color: var(--sky); transition: color .3s ease; }

.pol-icon-orange { background: rgba(255,152,0,.12); border-color: rgba(255,152,0,.25); }
.pol-icon-orange i { color: #ff9800; }
.pol-icon-teal   { background: rgba(13,138,122,.12); border-color: rgba(13,138,122,.25); }
.pol-icon-teal   i { color: #0d8a7a; }
.pol-icon-green  { background: rgba(30,126,52,.12); border-color: rgba(30,126,52,.25); }
.pol-icon-green  i { color: #4caf50; }

.pol-pilier-card:hover .pol-pilier-icon-wrap { transform: rotate(-6deg) scale(1.1); background: var(--sky); border-color: var(--sky); }
.pol-pilier-card:hover .pol-pilier-icon-wrap i { color: var(--white); }

.pol-pilier-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 14px; transition: color .3s ease; }
.pol-pilier-card:hover .pol-pilier-title { color: var(--sky-light); }

.pol-pilier-desc { font-size: .87rem; color: rgba(255,255,255,.52); line-height: 1.7; margin-bottom: 20px; transition: color .3s ease; flex: 1; }
.pol-pilier-card:hover .pol-pilier-desc { color: rgba(255,255,255,.72); }

.pol-pilier-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }

.pol-pilier-points li { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.5); transition: color .3s ease; }
.pol-pilier-points li i { color: var(--sky); font-size: .9rem; flex-shrink: 0; opacity: .7; }

.pol-pilier-card:hover .pol-pilier-points li { color: rgba(255,255,255,.78); }
.pol-pilier-card:hover .pol-pilier-points li i { opacity: 1; }

.pol-pilier-line { position: absolute; bottom: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--sky), var(--gold)); transition: width .45s ease; }
.pol-pilier-card:hover .pol-pilier-line { width: 100%; }

@media (max-width: 1199px) { .pol-piliers-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 575px) {
  .pol-piliers-grid { grid-template-columns: 1fr; gap: 0; }
  .pol-piliers-section { padding: 72px 0 80px; }
  .pol-pilier-card-inner { padding: 36px 22px 32px; }
}

.pol-chiffres-section { padding: 80px 0; background: var(--off-white); }

.pol-chiffres-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.pol-chiffre-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 24px 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}

.pol-chiffre-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.pol-chiffre-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sky-light); }
.pol-chiffre-item:hover::before { transform: scaleX(1); }

.pol-chiffre-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(71,178,228,.1);
  border: 1px solid rgba(71,178,228,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background .3s ease;
}

.pol-chiffre-icon i { font-size: 1.4rem; color: var(--sky); }
.pol-chiffre-item:hover .pol-chiffre-icon { background: var(--sky); }
.pol-chiffre-item:hover .pol-chiffre-icon i { color: var(--white); }

.pol-chiffre-val { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 10px; }
.pol-chiffre-val span { font-size: 2rem; color: var(--sky); }
.pol-chiffre-item p { font-size: .8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin: 0; }

@media (max-width: 991px) { .pol-chiffres-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 575px) {
  .pol-chiffres-section { padding: 60px 0; }
  .pol-chiffres-grid { grid-template-columns: 1fr; gap: 16px; }
  .pol-hero { height: 380px; }
  .pol-hero-shape { display: none; }
  .pol-statement-section { padding: 72px 0 80px; }
}


/* ============================================================
   NOS VALEURS
   ============================================================ */
.val-hero {
  position: relative;
  height: 500px;
  background: url('../img/valeur.webp') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.val-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(12,26,44,.88) 0%, rgba(26,58,92,.68) 55%, rgba(71,178,228,.16) 100%);
}

.val-hero-content { position: relative; z-index: 2; padding-bottom: 88px; animation: heroFadeUp .8s ease both; }
.val-hero-tag { font-size: .75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--sky-light); margin-bottom: 10px; }
.val-hero-title { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 14px; }
.val-hero-sub { font-size: .98rem; color: rgba(255,255,255,.68); letter-spacing: 1.5px; margin: 0; }

.val-hero-shape { position: absolute; bottom: -2px; left: 0; right: 0; height: 80px; background: var(--white); clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%); z-index: 2; }

.val-intro-section { padding: 80px 0 72px; background: var(--white); }
.val-intro-inner { max-width: 760px; margin: 0 auto; text-align: center; position: relative; }
.val-intro-deco { margin-bottom: 20px; }
.val-intro-deco i { font-size: 4.5rem; color: var(--sky); opacity: .18; line-height: 1; }
.val-intro-text { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 400; color: var(--text); line-height: 1.75; font-style: italic; margin: 0; }
.val-intro-line { width: 64px; height: 3px; background: linear-gradient(90deg, var(--navy), var(--sky)); border-radius: 3px; margin: 32px auto 0; }

.val-main-section { position: relative; padding: 110px 0 120px; background: var(--navy); overflow: hidden; isolation: isolate; }

.val-main-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 90% 10%, rgba(71,178,228,.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 5% 90%, rgba(201,168,76,.07) 0%, transparent 60%);
}

.val-main-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 48px 48px;
}

.val-main-bg::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 72px solid rgba(71,178,228,.055);
  pointer-events: none;
}

.val-main-header { text-align: center; margin-bottom: 72px; position: relative; z-index: 1; }
.val-main-header .section-tag { color: var(--sky); }

.val-main-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.val-main-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 3px;
}

.val-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; position: relative; z-index: 1; }
.val-card { position: relative; }

.val-card-inner {
  padding: 48px 30px 44px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
}

.val-card:hover .val-card-inner { transform: translateY(-8px); }

.val-card--blue:hover .val-card-inner  { background: rgba(71,178,228,.09);  border-color: rgba(71,178,228,.35); }
.val-card--gold:hover .val-card-inner  { background: rgba(201,168,76,.08);  border-color: rgba(201,168,76,.35); }
.val-card--teal:hover .val-card-inner  { background: rgba(13,138,122,.08);  border-color: rgba(13,138,122,.35); }
.val-card--green:hover .val-card-inner { background: rgba(76,175,80,.08);   border-color: rgba(76,175,80,.35);  }

.val-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.04) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .4s ease;
}

.val-card:hover .val-card-inner::before { opacity: 1; }

.val-card-num { position: absolute; top: 18px; right: 24px; font-family: var(--font-display); font-size: 4rem; font-weight: 700; color: rgba(255,255,255,.04); line-height: 1; user-select: none; transition: color .35s ease; }
.val-card:hover .val-card-num { color: rgba(255,255,255,.08); }

.val-card-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform .3s ease, background .3s ease;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
}

.val-card-icon-wrap i { font-size: 1.6rem; transition: color .3s ease; }

.val-card--blue  .val-card-icon-wrap i { color: var(--sky); }
.val-card--gold  .val-card-icon-wrap i { color: var(--gold); }
.val-card--teal  .val-card-icon-wrap i { color: #0fb8a5; }
.val-card--green .val-card-icon-wrap i { color: #4caf50; }

.val-card:hover .val-card-icon-wrap { transform: rotate(-6deg) scale(1.1); }

.val-card--blue:hover  .val-card-icon-wrap { background: var(--sky);   border-color: var(--sky); }
.val-card--gold:hover  .val-card-icon-wrap { background: var(--gold);  border-color: var(--gold); }
.val-card--teal:hover  .val-card-icon-wrap { background: #0fb8a5;      border-color: #0fb8a5; }
.val-card--green:hover .val-card-icon-wrap { background: #4caf50;      border-color: #4caf50; }

.val-card:hover .val-card-icon-wrap i { color: var(--white) !important; }

.val-card-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 14px; transition: color .3s ease; }

.val-card--blue:hover  .val-card-title { color: var(--sky-light); }
.val-card--gold:hover  .val-card-title { color: #e8d08a; }
.val-card--teal:hover  .val-card-title { color: #7eddd4; }
.val-card--green:hover .val-card-title { color: #a5d6a7; }

.val-card-desc { font-size: .88rem; color: rgba(255,255,255,.52); line-height: 1.72; flex: 1; margin-bottom: 22px; transition: color .3s ease; }
.val-card:hover .val-card-desc { color: rgba(255,255,255,.75); }

.val-card-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.val-card-points li { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.45); transition: color .3s ease; }
.val-card-points li i { font-size: .9rem; flex-shrink: 0; opacity: .7; transition: opacity .3s ease; }

.val-card--blue  .val-card-points li i { color: var(--sky); }
.val-card--gold  .val-card-points li i { color: var(--gold); }
.val-card--teal  .val-card-points li i { color: #0fb8a5; }
.val-card--green .val-card-points li i { color: #4caf50; }

.val-card:hover .val-card-points li { color: rgba(255,255,255,.78); }
.val-card:hover .val-card-points li i { opacity: 1; }

.val-card-line { position: absolute; bottom: 0; left: 0; height: 3px; width: 0; transition: width .45s ease; }

.val-card--blue  .val-card-line { background: linear-gradient(90deg, var(--sky), var(--navy)); }
.val-card--gold  .val-card-line { background: linear-gradient(90deg, var(--gold), #a07820); }
.val-card--teal  .val-card-line { background: linear-gradient(90deg, #0fb8a5, #076b62); }
.val-card--green .val-card-line { background: linear-gradient(90deg, #4caf50, #1b5e20); }

.val-card:hover .val-card-line { width: 100%; }

@media (max-width: 1199px) { .val-cards-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 575px) {
  .val-cards-grid { grid-template-columns: 1fr; gap: 0; }
  .val-main-section { padding: 72px 0 80px; }
  .val-card-inner { padding: 36px 22px 32px; }
}

.val-manifeste-section { padding: 110px 0 120px; background: var(--off-white); overflow: hidden; }

.val-manifeste-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 80px;
  align-items: center;
}

.val-manifeste-img-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.val-manifeste-img-wrap img { width: 100%; height: 520px; object-fit: cover; display: block; transition: transform .6s ease; }
.val-manifeste-img-wrap:hover img { transform: scale(1.04); }

.val-manifeste-img-deco { position: absolute; top: -18px; left: -18px; width: 100%; height: 100%; border: 2px solid var(--sky); border-radius: 20px; opacity: .18; z-index: -1; pointer-events: none; }

.val-manifeste-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  animation: badgeFloat 4s ease-in-out infinite;
}

.val-manifeste-badge i { font-size: 1.8rem; color: var(--gold); }
.val-manifeste-badge strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); line-height: 1; }
.val-manifeste-badge span { font-size: .73rem; color: rgba(255,255,255,.6); }

.val-manifeste-heading { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 700; color: var(--navy); margin-bottom: 36px; line-height: 1.2; }

.val-manifeste-items { display: flex; flex-direction: column; gap: 28px; }

.val-manifeste-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.val-manifeste-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: var(--sky-light); }

.val-manifeste-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(71,178,228,.1);
  border: 1px solid rgba(71,178,228,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s ease;
}

.val-manifeste-icon i { font-size: 1.2rem; color: var(--sky); transition: color .3s ease; }
.val-manifeste-item:hover .val-manifeste-icon { background: var(--sky); }
.val-manifeste-item:hover .val-manifeste-icon i { color: var(--white); }

.val-manifeste-item h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.val-manifeste-item p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

@media (max-width: 1099px) {
  .val-manifeste-grid { grid-template-columns: 1fr; gap: 48px; }
  .val-manifeste-img-wrap img { height: 360px; }
  .val-manifeste-badge { bottom: -14px; right: 14px; }
}

@media (max-width: 575px) {
  .val-manifeste-section { padding: 72px 0 80px; }
  .val-hero { height: 380px; }
  .val-hero-shape { display: none; }
  .val-intro-section { padding: 56px 0 52px; }
  .val-manifeste-item { padding: 18px; }
}


/* ============================================================
   ORGANIGRAMME
   ============================================================ */

/* ── HERO ── */
.org-hero {
  position: relative;
  height: 500px;
  background: url('../img/fond12.webp') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.org-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg,
    rgba(12,26,44,.90) 0%,
    rgba(26,58,92,.72) 55%,
    rgba(71,178,228,.15) 100%);
}

.org-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 88px;
  animation: heroFadeUp .8s ease both;
}

.org-hero-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 10px;
  display: block;
}

.org-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 14px;
}

.org-hero-sub {
  font-size: .98rem;
  color: rgba(255,255,255,.68);
  letter-spacing: 1.5px;
  margin: 0;
}

.org-hero-shape {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--off-white);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

@media (max-width: 767px) {
  .org-hero { height: 380px; }
  .org-hero-shape { display: none; }
  .org-hero-content { padding-bottom: 44px; }
}


/* ── SECTION ── */
.org-section {
  position: relative;
  padding: 96px 0 120px;
  background: var(--off-white);
  overflow: hidden;
  isolation: isolate;
}

.org-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 5% 20%, rgba(26,58,92,.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 95% 80%, rgba(71,178,228,.06) 0%, transparent 60%);
}

.org-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,58,92,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,58,92,.025) 1px, transparent 1px);
  background-size: 52px 52px;
}

.org-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 1;
}

.org-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.org-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 3px;
}

.org-lead {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}


/* ── SCROLL WRAPPER (horizontal sur mobile) ── */
.org-scroll-wrap {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

/* Hint scroll mobile */
@media (max-width: 991px) {
  .org-scroll-wrap::after {
    content: 'Faites défiler pour voir tout l\'organigramme →';
    display: block;
    font-size: .72rem;
    color: var(--text-muted);
    text-align: center;
    padding: 10px 0 0;
    letter-spacing: .4px;
  }
}


/* ── CHART ── */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 900px;
}


/* ── ROWS ── */
.org-row {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
}

.org-row--center { justify-content: center; }

/* Row N2 : Resp Perf + Secrétaire de part et d'autre du centre */
.org-row--n2 {
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 60px;
}

.org-n2-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-n2-item--left  { left: calc(50% - 320px); }
.org-n2-item--right { right: calc(50% - 320px); }

/* Row des 6 directions */
.org-row--dirs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  width: 100%;
  align-items: start;
}


/* ── LIGNES VERTICALES ── */
.org-v-line {
  width: 2px;
  height: 36px;
  background: linear-gradient(180deg, var(--sky), rgba(71,178,228,.3));
  margin: 0 auto;
  flex-shrink: 0;
}

.org-v-line--sm { height: 20px; }


/* ── BARRES HORIZONTALES ── */

/* Barre N2 : relie DG à Resp Perf (gauche) et Secrétaire (droite) */
.org-h-bar--n2 {
  position: absolute;
  top: 0;
  left: calc(50% - 320px);
  right: calc(50% - 320px);
  height: 2px;
  background: var(--sky);
  opacity: .5;
}

/* Grande barre reliant Asst. Direction aux 6 directions */
.org-h-bar--full {
  width: 96%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--sky) 5%,
    var(--sky) 95%,
    transparent 100%);
  margin: 0 auto;
  flex-shrink: 0;
}

/* Barre interne pour sous-branches (Technique, Achat) */
.org-h-bar--inner {
  width: 68%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(71,178,228,.5),
    transparent);
  margin: 0 auto;
  flex-shrink: 0;
}


/* ── NOEUDS ── */

/* Base commune */
.org-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  box-sizing: border-box;
  transition: transform .25s ease, box-shadow .25s ease;
}

.org-node:hover { transform: translateY(-3px); }

.org-node strong {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.35;
  display: block;
}

.org-node span {
  font-size: .68rem;
  display: block;
  line-height: 1.3;
}


/* ── DG ── */
.org-node--dg {
  background: var(--navy);
  border: 2px solid var(--sky);
  border-radius: 16px;
  padding: 20px 32px;
  max-width: 340px;
  box-shadow: var(--shadow-lg);
  flex-direction: row;
  gap: 20px;
  text-align: left;
}

.org-node--dg:hover {
  box-shadow: 0 20px 60px rgba(26,58,92,.3);
}

.org-node-body { display: flex; flex-direction: column; gap: 4px; }

.org-node-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--sky);
  border-radius: 50px;
  padding: 2px 10px;
  width: fit-content;
}

.org-node--dg .org-node-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

.org-node--dg .org-node-body p {
  font-size: .76rem;
  color: rgba(255,255,255,.60);
  margin: 0;
}


/* ── STAFF (Resp. Perf, Secrétaire, Asst. Direction) ── */
.org-node--staff {
  background: var(--navy);
  border: 1px solid rgba(71,178,228,.30);
  border-radius: 12px;
  padding: 14px 18px;
  max-width: 200px;
  box-shadow: var(--shadow-md);
}

.org-node--staff strong { color: var(--white); font-size: .74rem; }

.org-node--asst {
  max-width: 240px;
}


/* ── DIRECTIONS ── */
.org-node--dir {
  background: var(--navy);
  border: 1px solid rgba(71,178,228,.25);
  border-radius: 12px;
  padding: 14px 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.org-node--dir::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sky);
}

.org-node--dir strong { color: var(--white); font-size: .72rem; }
.org-node--dir span   { color: rgba(255,255,255,.50); font-size: .64rem; font-style: italic; }

.org-node--dir:hover {
  border-color: rgba(71,178,228,.55);
  box-shadow: var(--shadow-md);
}


/* ── SOUS-POSTES ── */
.org-node--sub {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  box-shadow: none;
  transition: border-color .2s, transform .2s;
}

.org-node--sub strong { color: var(--navy); font-size: .68rem; }
.org-node--sub:hover  { border-color: var(--sky-light); transform: translateX(2px); }


/* ── FEUILLES ── */
.org-node--leaf {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: none;
}

.org-node--leaf strong { color: var(--text-muted); font-size: .66rem; font-weight: 600; }
.org-node--leaf:hover  { border-color: var(--border); transform: none; }


/* ── AVATARS ── */
.org-node-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--sky);
  flex-shrink: 0;
}

.org-node-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.org-node-avatar--sm {
  width: 48px; height: 48px;
  border-width: 2px;
  margin-bottom: 4px;
}


/* ── ICÔNES ── */
.org-node-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(71,178,228,.15);
  border: 1px solid rgba(71,178,228,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.org-node-icon i { font-size: .95rem; color: var(--sky); }

.org-icon-orange { background: rgba(255,152,0,.15) !important; border-color: rgba(255,152,0,.25) !important; }
.org-icon-orange i { color: #f39c12 !important; }
.org-icon-teal   { background: rgba(13,138,122,.15) !important; border-color: rgba(13,138,122,.25) !important; }
.org-icon-teal   i { color: #0d8a7a !important; }
.org-icon-green  { background: rgba(76,175,80,.15) !important; border-color: rgba(76,175,80,.25) !important; }
.org-icon-green  i { color: #4caf50 !important; }
.org-icon-gold   { background: rgba(201,168,76,.15) !important; border-color: rgba(201,168,76,.25) !important; }
.org-icon-gold   i { color: var(--gold) !important; }
.org-icon-purple { background: rgba(156,39,176,.15) !important; border-color: rgba(156,39,176,.2) !important; }
.org-icon-purple i { color: #9c27b0 !important; }


/* ── COLONNES ── */
.org-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ── SOUS-BRANCHES ── */
.org-subbranch {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

.org-subbranch-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}


/* ── LÉGENDE ── */
.org-legend-section {
  padding: 36px 0 52px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.org-legend-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.org-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-muted);
}

.org-legend-dot {
  width: 16px; height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.org-legend-dot--dg     { background: var(--navy); border: 2px solid var(--sky); }
.org-legend-dot--staff  { background: var(--navy); border: 1px solid rgba(71,178,228,.30); }
.org-legend-dot--dir    { background: var(--navy); }
.org-legend-dot--sub    { background: var(--white); border: 1px solid var(--border); }
.org-legend-dot--leaf   { background: var(--off-white); border: 1px solid var(--border); }


/* ── RESPONSIVE ── */
@media (max-width: 1199px) {
  .org-row--dirs { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .org-h-bar--full { width: 85%; }
}

@media (max-width: 991px) {
  .org-section { padding: 64px 0 80px; }
  .org-header { margin-bottom: 44px; }
  .org-n2-item--left  { left: calc(50% - 260px); }
  .org-n2-item--right { right: calc(50% - 260px); }
  .org-h-bar--n2 {
    left: calc(50% - 260px);
    right: calc(50% - 260px);
  }
}

@media (max-width: 767px) {
  .org-chart { min-width: 860px; }
  .org-row--dirs { grid-template-columns: repeat(6, 1fr); }
}

/* ============================================================
   C-GIM — expertise.css
   Styles partagés pour : batiments, travaux, bureau, cab
   Dépend des variables CSS de main.css
   ============================================================ */


/* ============================================================
   1. HERO EXPERTISE
   ============================================================ */
.expertise-hero {
  position: relative;
  height: 520px;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.expertise-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(12,26,44,.90) 0%,
    rgba(26,58,92,.72) 50%,
    rgba(71,178,228,.18) 100%
  );
}

.expertise-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  animation: heroFadeUp .8s ease both;
}

/* breadcrumb — réutilise .about-breadcrumb de main.css */

.expertise-hero-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 10px;
}

.expertise-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 14px;
}

.expertise-hero-title span {
  color: var(--sky);
}

.expertise-hero-sub {
  font-size: .98rem;
  color: rgba(255,255,255,.72);
  letter-spacing: 1.5px;
  margin: 0;
}

.expertise-hero-shape {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--off-white);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

@media (max-width: 575px) {
  .expertise-hero { height: 380px; }
  .expertise-hero-shape { display: none; }
  .expertise-hero-content { padding-bottom: 48px; }
}


/* ============================================================
   2. INTRO SECTION
   ============================================================ */
.expertise-intro-section {
  padding: 80px 0 72px;
  background: var(--off-white);
}

.expertise-intro-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.expertise-intro-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.expertise-intro-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 575px) {
  .expertise-intro-section { padding: 56px 0 52px; }
}


/* ============================================================
   3. SERVICES SECTION — fond navy
   ============================================================ */
.expertise-services-section {
  position: relative;
  padding: 110px 0 120px;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.expertise-services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(71,178,228,.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201,168,76,.07) 0%, transparent 60%);
}

.expertise-services-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 48px 48px;
}

.expertise-services-bg::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 80px solid rgba(71,178,228,.055);
  pointer-events: none;
}

/* Header section */
.expertise-services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
  position: relative;
  z-index: 1;
}

.expertise-services-header .section-tag { color: var(--sky); }

.expertise-services-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.expertise-services-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 3px;
}

.expertise-services-lead {
  font-size: .98rem;
  color: rgba(255,255,255,.58);
  line-height: 1.75;
  margin: 0;
}


/* ============================================================
   4. CARTES EXPERTISE
   ============================================================ */

/* Grilles */
.expertise-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}

/* 2 colonnes */
.expertise-cards-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* 3 colonnes (default, aussi utilisé explicitement) */
.expertise-cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Pour batiments : 6 cartes sur 3 colonnes = 2 rangées auto */

/* Carte — fond sombre (sur section navy) */
.expertise-card {
  position: relative;
}

.expertise-card-inner {
  padding: 44px 30px 40px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
}

.expertise-card:hover .expertise-card-inner {
  background: rgba(71,178,228,.09);
  border-color: rgba(71,178,228,.38);
  transform: translateY(-6px);
}

.expertise-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(71,178,228,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
}

.expertise-card:hover .expertise-card-inner::before { opacity: 1; }

/* Icône */
.expertise-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(71,178,228,.12);
  border: 1px solid rgba(71,178,228,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: background .3s ease, transform .3s ease, border-color .3s ease;
}

.expertise-card-icon i {
  font-size: 1.5rem;
  color: var(--sky);
  transition: color .3s ease;
}

.expertise-card:hover .expertise-card-icon {
  background: var(--sky);
  border-color: var(--sky);
  transform: rotate(-6deg) scale(1.08);
}

.expertise-card:hover .expertise-card-icon i { color: var(--white); }

/* Numéro décoratif */
.expertise-card-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.04);
  line-height: 1;
  user-select: none;
  transition: color .35s ease;
}

.expertise-card:hover .expertise-card-num { color: rgba(71,178,228,.10); }

/* Titre */
.expertise-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.25;
  transition: color .3s ease;
}

.expertise-card:hover .expertise-card-title { color: var(--sky-light); }

/* Description */
.expertise-card-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  flex: 1;
  transition: color .3s ease;
}

.expertise-card:hover .expertise-card-desc { color: rgba(255,255,255,.80); }

/* Liste dans la carte */
.expertise-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.expertise-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: rgba(255,255,255,.58);
  line-height: 1.5;
  transition: color .3s ease;
}

.expertise-card-list li i {
  font-size: .9rem;
  color: var(--sky);
  flex-shrink: 0;
  opacity: .7;
  margin-top: 2px;
  transition: opacity .3s ease;
}

.expertise-card:hover .expertise-card-list li { color: rgba(255,255,255,.82); }
.expertise-card:hover .expertise-card-list li i { opacity: 1; }

/* Ligne décorative bas de carte */
.expertise-card-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  transition: width .45s ease;
}

.expertise-card:hover .expertise-card-line { width: 100%; }

/* ── Variante claire (bureau.html) ── */
.expertise-card--light .expertise-card-inner {
  background: var(--white);
  border-color: var(--border);
}

.expertise-card--light:hover .expertise-card-inner {
  background: var(--white);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
}

.expertise-card--light .expertise-card-icon {
  background: rgba(71,178,228,.1);
  border-color: rgba(71,178,228,.2);
}

.expertise-card--light .expertise-card-num {
  color: rgba(26,58,92,.05);
}

.expertise-card--light:hover .expertise-card-num { color: rgba(71,178,228,.08); }

.expertise-card--light .expertise-card-title { color: var(--navy); }
.expertise-card--light:hover .expertise-card-title { color: var(--navy); }

.expertise-card--light .expertise-card-list li { color: var(--text-muted); }
.expertise-card--light:hover .expertise-card-list li { color: var(--text); }

.expertise-card--light .expertise-card-list li i { color: var(--sky); }

.expertise-card--light .expertise-card-line {
  background: linear-gradient(90deg, var(--navy), var(--sky));
}

/* Responsive grilles */
@media (max-width: 1199px) {
  .expertise-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .expertise-services-section { padding: 72px 0 80px; }
  .expertise-services-header { margin-bottom: 48px; }
  .expertise-cards-grid,
  .expertise-cards-grid--2,
  .expertise-cards-grid--3 { grid-template-columns: 1fr; gap: 0; }
  .expertise-card-inner { padding: 36px 22px 32px; }
}


/* ============================================================
   5. GALERIE / SLIDER
   ============================================================ */
.expertise-gallery-section {
  padding: 100px 0 110px;
  background: var(--off-white);
}

.expertise-gallery-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.expertise-gallery-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.expertise-gallery-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 3px;
}

.expertise-gallery-lead {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Slider wrapper */
.expertise-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
  /* hauteur fixe pour éviter le CLS */
  aspect-ratio: 16/9;
  max-height: 520px;
}

.expertise-slider-track {
  display: flex;
  height: 100%;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.expertise-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.expertise-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.expertise-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 28px;
  background: linear-gradient(0deg, rgba(12,24,40,.85) 0%, transparent 100%);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .5px;
}

/* Boutons navigation */
.expertise-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.expertise-slider-btn:hover {
  background: var(--sky);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 24px rgba(71,178,228,.4);
}

.expertise-slider-prev { left: 16px; }
.expertise-slider-next { right: 16px; }

/* Dots */
.expertise-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.expertise-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  padding: 0;
}

.expertise-slider-dot.active {
  background: var(--sky);
  transform: scale(1.3);
}

@media (max-width: 575px) {
  .expertise-gallery-section { padding: 64px 0 72px; }
  .expertise-slider-btn { width: 36px; height: 36px; font-size: 1rem; }
  .expertise-slider-prev { left: 8px; }
  .expertise-slider-next { right: 8px; }
}


/* ============================================================
   6. SECTION POURQUOI NOUS CHOISIR (bureau.html)
   ============================================================ */
.expertise-why-section {
  padding: 100px 0 110px;
  background: var(--white);
  overflow: hidden;
}

.expertise-why-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.expertise-why-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.expertise-why-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 3px;
}

.expertise-why-lead {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.expertise-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.expertise-why-item {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 28px 36px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}

.expertise-why-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.expertise-why-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-light);
}

.expertise-why-item:hover::before { transform: scaleX(1); }

.expertise-why-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(71,178,228,.1);
  border: 1px solid rgba(71,178,228,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: background .3s ease, transform .3s ease;
}

.expertise-why-icon i {
  font-size: 1.6rem;
  color: var(--sky);
  transition: color .3s ease;
}

.expertise-why-item:hover .expertise-why-icon {
  background: var(--sky);
  transform: rotate(-6deg) scale(1.08);
}

.expertise-why-item:hover .expertise-why-icon i { color: var(--white); }

.expertise-why-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.expertise-why-item p {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 991px) {
  .expertise-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .expertise-why-section { padding: 64px 0 72px; }
  .expertise-why-grid { grid-template-columns: 1fr; gap: 16px; }
  .expertise-why-item { padding: 28px 20px 24px; }
}


/* ============================================================
   7. SECTION PRÉSENTATION CAB (cab.html)
   ============================================================ */
.cab-pres-section {
  padding: 100px 0 110px;
  background: var(--off-white);
  overflow: hidden;
}

.cab-pres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.cab-pres-img-wrap {
  position: relative;
}

.cab-pres-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: block;
}

.cab-pres-badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  animation: badgeFloat 3.5s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.cab-pres-badge i {
  font-size: 1.8rem;
  color: var(--gold);
}

.cab-pres-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.cab-pres-badge span {
  font-size: .72rem;
  color: rgba(255,255,255,.65);
}

.cab-pres-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.15;
}

.cab-pres-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sky);
  letter-spacing: .5px;
  margin-bottom: 20px;
}

.cab-pres-body {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.cab-pres-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cab-pres-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .93rem;
  color: var(--text);
  line-height: 1.55;
}

.cab-pres-list li i {
  font-size: 1.1rem;
  color: var(--sky);
  flex-shrink: 0;
  margin-top: 2px;
}

.cab-pres-objectif {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 16px 20px;
  background: var(--white);
  border-left: 3px solid var(--sky);
  border-radius: 0 8px 8px 0;
  margin: 0;
}

@media (max-width: 991px) {
  .cab-pres-grid { grid-template-columns: 1fr; gap: 40px; }
  .cab-pres-img { height: 300px; }
  .cab-pres-badge { bottom: -14px; right: 14px; }
}

@media (max-width: 575px) {
  .cab-pres-section { padding: 64px 0 72px; }
}

/* ============================================================
   C-GIM — batiments.css
   ============================================================ */

/* ── HERO ── */
.bat-hero {
  position: relative;
  height: 580px;
  background: url('../img/sdd23.webp') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.bat-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(12,26,44,.90) 0%,
    rgba(26,58,92,.68) 48%,
    rgba(71,178,228,.18) 100%
  );
}

.bat-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  animation: batFadeUp .85s ease both;
}

@keyframes batFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bat-hero-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 12px;
  display: block;
  opacity: 0;
  animation: batFadeUp .7s .2s ease forwards;
}

.bat-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 18px;
  opacity: 0;
  animation: batFadeUp .8s .35s ease forwards;
}

.bat-hero-title span { color: var(--sky); display: block; }

.bat-hero-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,.72);
  letter-spacing: 1.2px;
  margin-bottom: 0;
  opacity: 0;
  animation: batFadeUp .7s .5s ease forwards;
}

.bat-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  opacity: 0;
  animation: batFadeUp .7s .65s ease forwards;
}

.bat-pill {
  display: inline-flex;
  align-items: center;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: 7px 16px;
  transition: background .25s, border-color .25s;
}

.bat-pill:hover {
  background: rgba(71,178,228,.30);
  border-color: var(--sky);
}

.bat-hero-shape {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--off-white);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

@media (max-width: 575px) {
  .bat-hero { height: 420px; }
  .bat-hero-shape { display: none; }
  .bat-hero-content { padding-bottom: 48px; }
}


/* ── INTRO ── */
.bat-intro-section {
  padding: 100px 0 110px;
  background: var(--off-white);
  overflow: hidden;
}

.bat-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.bat-intro-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.15;
}

.bat-intro-lead {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 14px;
}

.bat-intro-body {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.bat-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.bat-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.bat-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.bat-stat:hover { border-color: var(--sky-light); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.bat-stat:hover::before { transform: scaleX(1); }

.bat-stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: block;
}

.bat-stat-num span { color: var(--sky); }

.bat-stat-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 7px;
  display: block;
}

.bat-intro-img-wrap { position: relative; }

.bat-intro-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: block;
}

.bat-intro-deco {
  position: absolute;
  top: -20px; left: -20px;
  width: 100%; height: 100%;
  border: 2px solid var(--sky);
  border-radius: 20px;
  opacity: .15;
  z-index: -1;
  pointer-events: none;
}

.bat-intro-badge {
  position: absolute;
  bottom: -22px; right: -22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  animation: badgeFloat 3.5s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

.bat-intro-badge i { font-size: 2rem; color: var(--gold); }

.bat-intro-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.bat-intro-badge span { font-size: .73rem; color: rgba(255,255,255,.65); }

@media (max-width: 991px) {
  .bat-intro-grid { grid-template-columns: 1fr; gap: 44px; }
  .bat-intro-img { height: 320px; }
  .bat-intro-badge { bottom: -14px; right: 14px; }
  .bat-intro-deco { display: none; }
}

@media (max-width: 575px) {
  .bat-intro-section { padding: 68px 0 76px; }
}


/* ── SERVICES ── */
.bat-services-section {
  position: relative;
  padding: 110px 0 120px;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.bat-services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(71,178,228,.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201,168,76,.07) 0%, transparent 60%);
}

.bat-services-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 48px 48px;
}

.bat-services-bg::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 80px solid rgba(71,178,228,.055);
  pointer-events: none;
}

.bat-services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
  position: relative;
  z-index: 1;
}

.bat-services-header .section-tag { color: var(--sky); }

.bat-services-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
  margin-bottom: 16px;
}

.bat-services-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 3px;
}

.bat-services-lead {
  font-size: .98rem;
  color: rgba(255,255,255,.58);
  line-height: 1.75;
}

.bat-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}

.bat-card { position: relative; }

.bat-card-inner {
  padding: 44px 32px 40px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
}

.bat-card:hover .bat-card-inner {
  background: rgba(71,178,228,.09);
  border-color: rgba(71,178,228,.38);
  transform: translateY(-6px);
}

.bat-card-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(71,178,228,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
}

.bat-card:hover .bat-card-inner::before { opacity: 1; }

.bat-card-icon {
  width: 60px; height: 60px;
  border-radius: 15px;
  background: rgba(71,178,228,.12);
  border: 1px solid rgba(71,178,228,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  flex-shrink: 0;
  transition: background .3s, transform .3s, border-color .3s;
}

.bat-card-icon i { font-size: 1.6rem; color: var(--sky); transition: color .3s; }

.bat-card:hover .bat-card-icon {
  background: var(--sky);
  border-color: var(--sky);
  transform: rotate(-6deg) scale(1.08);
}

.bat-card:hover .bat-card-icon i { color: var(--white); }

.bat-card-num {
  position: absolute;
  top: 22px; right: 26px;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,.04);
  line-height: 1;
  user-select: none;
  transition: color .35s;
}

.bat-card:hover .bat-card-num { color: rgba(71,178,228,.10); }

.bat-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  transition: color .3s;
}

.bat-card:hover .bat-card-title { color: var(--sky-light); }

.bat-card-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.72;
  flex: 1;
  transition: color .3s;
}

.bat-card:hover .bat-card-desc { color: rgba(255,255,255,.82); }

.bat-card-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  transition: width .45s ease;
}

.bat-card:hover .bat-card-line { width: 100%; }

@media (max-width: 1199px) { .bat-cards-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 575px) {
  .bat-services-section { padding: 72px 0 80px; }
  .bat-services-header { margin-bottom: 48px; }
  .bat-cards-grid { grid-template-columns: 1fr; gap: 0; }
  .bat-card-inner { padding: 36px 24px 32px; }
}


/* ══════════════════════════════════
   RÉALISATIONS — 3 photos sur une ligne
   ══════════════════════════════════ */
.bat-real-section {
  padding: 100px 0 110px;
  background: var(--white);
}

.bat-real-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.bat-real-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  margin-bottom: 14px;
}

.bat-real-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 3px;
}

.bat-real-lead {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Grille 3 colonnes */
.bat-real-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Carte photo */
.bat-real-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.bat-real-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Zone image */
.bat-real-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.bat-real-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.bat-real-item:hover .bat-real-img-wrap img { transform: scale(1.05); }

/* Overlay au survol */
.bat-real-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,24,40,.0);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  transition: background .35s ease;
}

.bat-real-item:hover .bat-real-overlay { background: rgba(12,24,40,.18); }

/* Tag catégorie */
.bat-real-tag {
  display: inline-flex;
  align-items: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  border-radius: 50px;
  padding: 5px 12px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease;
}

.bat-real-item:hover .bat-real-tag {
  opacity: 1;
  transform: translateY(0);
}

/* Corps texte */
.bat-real-body {
  padding: 20px 22px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.bat-real-body h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.25;
}

.bat-real-body p {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 0;
  display: flex;
  align-items: center;
}

.bat-real-body p i { color: var(--sky); }

/* Lien voir toutes */
.bat-real-cta {
  text-align: center;
  margin-top: 48px;
}

.bat-real-link {
  display: inline-flex;
  align-items: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--sky);
  padding-bottom: 4px;
  transition: color .25s, border-color .25s, gap .25s;
  gap: 0;
}

.bat-real-link:hover {
  color: var(--sky);
  gap: 6px;
}

@media (max-width: 767px) {
  .bat-real-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 575px) {
  .bat-real-section { padding: 64px 0 72px; }
}


/* ── PROCESSUS ── */
.bat-process-section {
  padding: 100px 0 110px;
  background: var(--off-white);
}

.bat-process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.bat-process-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
  margin-bottom: 14px;
}

.bat-process-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 3px;
}

.bat-process-lead {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.bat-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.bat-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--gold), var(--sky));
  z-index: 0;
}

.bat-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.bat-step-dot {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: background .3s, border-color .3s, box-shadow .3s, transform .3s;
}

.bat-step-dot i { font-size: 1.6rem; color: var(--text-muted); transition: color .3s; }

.bat-step:hover .bat-step-dot {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 0 0 8px rgba(71,178,228,.15);
  transform: scale(1.08);
}

.bat-step:hover .bat-step-dot i { color: var(--white); }

.bat-step-num {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 8px;
  display: block;
}

.bat-step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.bat-step-text { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }

@media (max-width: 991px) {
  .bat-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .bat-steps::before { display: none; }
}

@media (max-width: 575px) {
  .bat-process-section { padding: 68px 0 76px; }
  .bat-steps { grid-template-columns: 1fr; gap: 32px; }
}


/* ── CTA ── */
.bat-cta-section {
  padding: 80px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.bat-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 100% 50%, rgba(71,178,228,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 0% 50%, rgba(201,168,76,.06) 0%, transparent 60%);
}

.bat-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.bat-cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.bat-cta-text p {
  font-size: .96rem;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  line-height: 1.7;
  margin: 0;
}

.bat-cta-btns { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

.bat-btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--sky);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: .92rem;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(71,178,228,.35);
}

.bat-btn-primary:hover {
  background: #38a0d4;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(71,178,228,.4);
}

.bat-btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 500;
  font-size: .92rem;
  transition: border-color .25s, background .25s, transform .2s;
}

.bat-btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.10);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .bat-cta-inner { flex-direction: column; text-align: center; }
  .bat-cta-btns { justify-content: center; }
}


/* ── ANIMATIONS SCROLL ── */
.anim-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.anim-up.visible { opacity: 1; transform: translateY(0); }
.anim-up:nth-child(2) { transition-delay: .08s; }
.anim-up:nth-child(3) { transition-delay: .16s; }
.anim-up:nth-child(4) { transition-delay: .24s; }
.anim-up:nth-child(5) { transition-delay: .32s; }
.anim-up:nth-child(6) { transition-delay: .40s; }

/* ── HERO TRAVAUX PUBLICS ── */
.bat-hero--travaux {
  background-image: url('../img/jkjkjk.webp');
}

/* ============================================================
   RÉFÉRENCES & PROJETS
   Pages : reabatiments, reatravaux, immobilier, projets
   ============================================================ */

/* ============================================================
   C-GIM — references.css
   Pages : reabatiments, reatravaux, immobilier, projets
   ============================================================ */

/* ══════════════════════
   HERO
   ══════════════════════ */
.rea-hero {
  position: relative;
  height: 540px;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.rea-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(12,26,44,.92) 0%,
    rgba(26,58,92,.68) 50%,
    rgba(71,178,228,.16) 100%
  );
}

.rea-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  animation: heroFadeUp .85s ease both;
}

.rea-hero-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 12px;
  display: block;
  opacity: 0;
  animation: heroFadeUp .7s .2s ease forwards;
}

.rea-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 14px;
  opacity: 0;
  animation: heroFadeUp .8s .35s ease forwards;
}

.rea-hero-title span { color: var(--sky); display: block; }

.rea-hero-sub {
  font-size: .98rem;
  color: rgba(255,255,255,.70);
  letter-spacing: 1px;
  opacity: 0;
  animation: heroFadeUp .7s .5s ease forwards;
}

.rea-hero-shape {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 72px;
  background: var(--navy);
  clip-path: polygon(0 55%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

@media (max-width: 575px) {
  .rea-hero { height: 400px; }
  .rea-hero-shape { display: none; }
  .rea-hero-content { padding-bottom: 44px; }
}


/* ══════════════════════
   BANDE STATS
   ══════════════════════ */
.rea-stats-band {
  background: var(--navy);
  padding: 0;
}

.rea-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.rea-stat {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .25s;
}

.rea-stat:last-child { border-right: none; }
.rea-stat:hover { background: rgba(71,178,228,.07); }

.rea-stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
  display: block;
}

.rea-stat-num span { font-size: 1.4rem; }

.rea-stat-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.50);
  margin-top: 8px;
  display: block;
}

@media (max-width: 575px) {
  .rea-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rea-stat { border-bottom: 1px solid rgba(255,255,255,.08); }
}


/* ══════════════════════
   INTRO
   ══════════════════════ */
.rea-intro-section {
  padding: 72px 0 64px;
  background: var(--off-white);
}

.rea-intro-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.rea-intro-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.15;
}

.rea-intro-text {
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin: 0;
}


/* ══════════════════════
   GRILLE RÉALISATIONS
   ══════════════════════ */
.rea-grid-section {
  padding: 80px 0 100px;
  background: var(--white);
}

/* Article réalisation */
.rea-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 460px;
  margin-bottom: 24px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26,58,92,.08);
  transition: box-shadow .35s ease, transform .35s ease;
}

.rea-item:hover {
  box-shadow: 0 12px 48px rgba(26,58,92,.14);
  transform: translateY(-4px);
}

.rea-item--reverse .rea-item-visual { order: 2; }
.rea-item--reverse .rea-item-body   { order: 1; }


/* ── Zone image ── */
.rea-item-visual {
  position: relative;
  overflow: hidden;
}

.rea-item-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

.rea-item:hover .rea-item-visual img { transform: scale(1.04); }

/* Overlay doux */
.rea-item-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12,26,44,.45) 0%,
    rgba(12,26,44,.10) 60%,
    transparent 100%
  );
  transition: background .35s ease;
}

.rea-item:hover .rea-item-visual-overlay {
  background: linear-gradient(
    135deg,
    rgba(12,26,44,.30) 0%,
    transparent 70%
  );
}

/* Numéro flottant */
.rea-item-num {
  position: absolute;
  bottom: 18px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.18);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Catégorie tag */
.rea-item-cat {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(26,58,92,.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 50px;
  padding: 5px 14px;
}


/* ── Corps texte ── */
.rea-item-body {
  background: var(--white);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rea-item-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0;
}

/* Barre accent sous le titre */
.rea-item-bar {
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 3px;
  margin: 18px 0 20px;
  transition: width .4s ease;
}

.rea-item:hover .rea-item-bar { width: 72px; }

.rea-item-desc {
  font-size: .94rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 24px;
}

/* Méta données */
.rea-item-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rea-item-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .86rem;
  color: var(--text);
  padding: 10px 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color .2s, background .2s;
}

.rea-item-meta li:hover {
  border-color: var(--sky-light);
  background: var(--white);
}

.rea-item-meta li i { font-size: .95rem; color: var(--sky); flex-shrink: 0; }
.rea-item-meta li span { font-size: .86rem; color: var(--text); font-weight: 500; }

/* Tags */
.rea-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rea-item-tags span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  transition: background .2s, color .2s, border-color .2s;
}

.rea-item-tags span:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}


/* ── Responsive ── */
@media (max-width: 991px) {
  .rea-item {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 16px;
  }
  .rea-item--reverse .rea-item-visual { order: 0; }
  .rea-item--reverse .rea-item-body   { order: 0; }
  .rea-item-visual { height: 280px; }
  .rea-item-body { padding: 32px 28px; }
}

@media (max-width: 575px) {
  .rea-grid-section { padding: 56px 0 72px; }
  .rea-item { margin-bottom: 16px; border-radius: 12px; }
  .rea-item-visual { height: 220px; }
  .rea-item-body { padding: 24px 18px; }
  .rea-item-num { font-size: 3.5rem; }
}

/* ============================================================
   C-GIM — immobilier.css
   ============================================================ */

/* ── HERO ── */
.imm-hero {
  position: relative;
  height: 560px;
  background: url('../img/imm4.webp') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.imm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(12,26,44,.92) 0%,
    rgba(26,58,92,.68) 50%,
    rgba(71,178,228,.16) 100%
  );
}

.imm-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  animation: heroFadeUp .85s ease both;
}

.imm-hero-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 12px;
  display: block;
  opacity: 0;
  animation: heroFadeUp .7s .2s ease forwards;
}

.imm-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 14px;
  opacity: 0;
  animation: heroFadeUp .8s .35s ease forwards;
}

.imm-hero-title span { color: var(--sky); display: block; }

.imm-hero-sub {
  font-size: .98rem;
  color: rgba(255,255,255,.70);
  letter-spacing: 1px;
  opacity: 0;
  animation: heroFadeUp .7s .5s ease forwards;
}

.imm-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  opacity: 0;
  animation: heroFadeUp .7s .62s ease forwards;
}

.imm-pill {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: 7px 16px;
  transition: background .25s, border-color .25s;
}

.imm-pill:hover {
  background: rgba(71,178,228,.25);
  border-color: var(--sky);
}

.imm-hero-shape {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 72px;
  background: var(--navy);
  clip-path: polygon(0 55%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

@media (max-width: 575px) {
  .imm-hero { height: 420px; }
  .imm-hero-shape { display: none; }
  .imm-hero-content { padding-bottom: 44px; }
}


/* ── STATS ── */
.imm-stats-band { background: var(--navy); padding: 0; }

.imm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.imm-stat {
  text-align: center;
  padding: 44px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .25s;
}

.imm-stat:last-child { border-right: none; }
.imm-stat:hover { background: rgba(71,178,228,.07); }

.imm-stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
  display: block;
}

.imm-stat-num span { font-size: 1.5rem; }

.imm-stat-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.50);
  margin-top: 8px;
  display: block;
}

@media (max-width: 575px) {
  .imm-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .imm-stat { border-bottom: 1px solid rgba(255,255,255,.08); }
}


/* ── PRÉSENTATION ── */
.imm-pres-section {
  padding: 100px 0 112px;
  background: var(--off-white);
  overflow: hidden;
}

.imm-pres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Image */
.imm-pres-visual { position: relative; }

.imm-pres-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.imm-pres-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

.imm-pres-img-wrap:hover img { transform: scale(1.03); }

.imm-pres-deco {
  position: absolute;
  top: -18px; left: -18px;
  width: 100%; height: 100%;
  border: 2px solid var(--sky);
  border-radius: 20px;
  opacity: .14;
  z-index: -1;
  pointer-events: none;
}

.imm-pres-badge {
  position: absolute;
  bottom: -22px; right: -22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(71,178,228,.25);
}

.imm-pres-badge i { font-size: 2rem; color: var(--gold); }

.imm-pres-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.imm-pres-badge span { font-size: .72rem; color: rgba(255,255,255,.60); }

.imm-plan-btn {
  position: absolute;
  bottom: -22px; left: 16px;
  display: inline-flex;
  align-items: center;
  background: var(--sky);
  color: var(--white);
  border-radius: 8px;
  padding: 11px 22px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: background .25s, transform .2s;
}

.imm-plan-btn:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* Texte */
.imm-pres-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
  line-height: 1.15;
}

.imm-pres-bar {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 3px;
  margin: 20px 0;
  transition: width .4s ease;
}

.imm-pres-grid:hover .imm-pres-bar { width: 80px; }

.imm-pres-lead {
  font-size: .97rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 12px;
}

.imm-pres-text {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* Features 2 colonnes */
.imm-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.imm-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}

.imm-feat::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--sky), var(--gold));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s ease;
}

.imm-feat:hover {
  border-color: var(--sky-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.imm-feat:hover::before { transform: scaleY(1); }

.imm-feat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(71,178,228,.10);
  border: 1px solid rgba(71,178,228,.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s;
}

.imm-feat-icon i { font-size: 1.1rem; color: var(--sky); }
.imm-feat:hover .imm-feat-icon { background: var(--sky); }
.imm-feat:hover .imm-feat-icon i { color: var(--white); }

.imm-feat-body h4 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.25;
}

.imm-feat-body p {
  font-size: .76rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 991px) {
  .imm-pres-grid { grid-template-columns: 1fr; gap: 48px; }
  .imm-pres-img-wrap img { height: 320px; }
  .imm-pres-badge { bottom: -16px; right: 14px; }
  .imm-pres-deco { display: none; }
  .imm-plan-btn { position: static; margin-top: 48px; display: inline-flex; }
}

@media (max-width: 575px) {
  .imm-pres-section { padding: 64px 0 72px; }
  .imm-features { grid-template-columns: 1fr; }
}


/* ── GALERIE PHOTOS ── */
.imm-gallery-section {
  padding: 96px 0 108px;
  background: var(--white);
}

.imm-gallery-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.imm-gallery-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  margin-bottom: 14px;
}

.imm-gallery-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 3px;
}

.imm-gallery-lead {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* Grille photos — 4 colonnes, rangées fixes */
.imm-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

/* Photo standard */
.imm-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Photo large (2 colonnes) */
.imm-photo--wide { grid-column: span 2; }

.imm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.imm-photo:hover img { transform: scale(1.05); }

/* Caption au bas de chaque photo */
.imm-photo-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(0deg, rgba(12,24,40,.80) 0%, transparent 100%);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.0);
  transition: color .3s ease;
}

.imm-photo:hover .imm-photo-cap { color: rgba(255,255,255,.90); }

@media (max-width: 767px) {
  .imm-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .imm-photo--wide { grid-column: span 2; }
}

@media (max-width: 480px) {
  .imm-photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .imm-photo--wide { grid-column: auto; }
  .imm-gallery-section { padding: 64px 0 72px; }
}
/* ============================================================
   C-GIM — projets.css
   ============================================================ */

/* ── HERO ── */
.proj-hero {
  position: relative;
  height: 560px;
  background: url('../img/sdd.webp') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.proj-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(12,26,44,.92) 0%,
    rgba(26,58,92,.68) 50%,
    rgba(71,178,228,.16) 100%
  );
}

.proj-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  animation: heroFadeUp .85s ease both;
}

.proj-hero-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 12px;
  display: block;
  opacity: 0;
  animation: heroFadeUp .7s .2s ease forwards;
}

.proj-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 14px;
  opacity: 0;
  animation: heroFadeUp .8s .35s ease forwards;
}

.proj-hero-title span { color: var(--sky); display: block; }

.proj-hero-sub {
  font-size: .98rem;
  color: rgba(255,255,255,.70);
  letter-spacing: 1px;
  opacity: 0;
  animation: heroFadeUp .7s .5s ease forwards;
}

.proj-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  opacity: 0;
  animation: heroFadeUp .7s .62s ease forwards;
}

.proj-pill {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: 7px 16px;
  transition: background .25s, border-color .25s;
}

.proj-pill--live {
  color: var(--sky-light);
  border-color: rgba(71,178,228,.45);
  background: rgba(71,178,228,.15);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(71,178,228,.35); }
  50%       { box-shadow: 0 0 0 6px rgba(71,178,228,.0); }
}

.proj-hero-shape {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 72px;
  background: var(--navy);
  clip-path: polygon(0 55%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

@media (max-width: 575px) {
  .proj-hero { height: 420px; }
  .proj-hero-shape { display: none; }
  .proj-hero-content { padding-bottom: 44px; }
}


/* ── STATS ── */
.proj-stats-band { background: var(--navy); padding: 0; }

.proj-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proj-stat {
  text-align: center;
  padding: 44px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .25s;
}

.proj-stat:last-child { border-right: none; }
.proj-stat:hover { background: rgba(71,178,228,.07); }

.proj-stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
  display: block;
}

.proj-stat-num span { font-size: 1.5rem; }

.proj-stat-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.50);
  margin-top: 8px;
  display: block;
}

@media (max-width: 575px) {
  .proj-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-stat { border-bottom: 1px solid rgba(255,255,255,.08); }
}


/* ── INTRO ── */
.proj-intro-section {
  padding: 72px 0 64px;
  background: var(--off-white);
}

.proj-intro-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.proj-intro-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.15;
}

.proj-intro-text {
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin: 0;
}


/* ── SECTION PROJETS ── */
.proj-section {
  padding: 0 0 100px;
  background: var(--off-white);
}

.proj-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* ── CARTE PROJET ── */
.proj-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26,58,92,.07);
  transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}

.proj-card:hover {
  box-shadow: 0 16px 56px rgba(26,58,92,.14);
  transform: translateY(-4px);
  border-color: var(--sky-light);
}

.proj-card--alt .proj-card-img  { order: 2; }
.proj-card--alt .proj-card-body { order: 1; }


/* Image */
.proj-card-img {
  position: relative;
  overflow: hidden;
  min-height: 460px;
}

.proj-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

.proj-card:hover .proj-card-img img { transform: scale(1.04); }

.proj-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(12,26,44,.40) 0%,
    rgba(12,26,44,.0) 55%,
    rgba(12,26,44,.50) 100%
  );
  transition: background .35s ease;
}

.proj-card:hover .proj-card-overlay {
  background: linear-gradient(
    155deg,
    rgba(12,26,44,.25) 0%,
    rgba(12,26,44,.0) 55%,
    rgba(12,26,44,.35) 100%
  );
}

/* Badge En cours */
.proj-badge {
  position: absolute;
  top: 20px; left: 20px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--sky);
  border-radius: 50px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  animation: livePulse 2s ease-in-out infinite;
}

/* Numéro décoratif */
.proj-num {
  position: absolute;
  bottom: 20px; right: 22px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,.18);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}


/* Corps */
.proj-card-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
}

.proj-cat {
  display: inline-flex;
  align-items: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sky);
  border-left: 3px solid var(--sky);
  padding-left: 10px;
  margin-bottom: 16px;
  width: fit-content;
}

.proj-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
  line-height: 1.2;
}

.proj-divider {
  width: 44px; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 3px;
  margin: 18px 0;
  transition: width .4s ease;
}

.proj-card:hover .proj-divider { width: 72px; }

.proj-desc {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 26px;
}


/* Méta 2×2 */
.proj-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.proj-meta-item {
  padding: 12px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}

.proj-meta-item:nth-child(even) { border-right: none; }
.proj-meta-item:nth-last-child(-n+2) { border-bottom: none; }
.proj-meta-item:nth-child(odd) { background: var(--off-white); }
.proj-meta-item:hover { background: rgba(71,178,228,.05); }

.proj-meta-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.proj-meta-label i { font-size: .85rem; color: var(--sky); }

.proj-meta-value {
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  line-height: 1.3;
}


/* Barre de progression */
.proj-progress { margin-bottom: 24px; }

.proj-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.proj-progress-pct {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.proj-progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.proj-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 6px;
  position: relative;
}

/* Shimmer discret sur la barre */
.proj-progress-fill::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  width: 24px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  border-radius: 6px;
}


/* Lien */
.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  transition: color .25s, gap .25s;
}

.proj-link:hover { color: var(--sky); gap: 12px; }


/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .proj-card {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .proj-card--alt .proj-card-img  { order: 0; }
  .proj-card--alt .proj-card-body { order: 0; }
  .proj-card-img { min-height: 280px; }
  .proj-card-body { padding: 32px 28px; }
}

@media (max-width: 767px) {
  .proj-meta-grid { grid-template-columns: 1fr; }
  .proj-meta-item { border-right: none; }
  .proj-meta-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .proj-meta-item:last-child { border-bottom: none; }
}

@media (max-width: 575px) {
  .proj-section { padding: 0 0 72px; }
  .proj-intro-section { padding: 52px 0 48px; }
  .proj-card-img { min-height: 220px; }
  .proj-card-body { padding: 24px 18px; }
  .proj-num { font-size: 3.5rem; }
}

/* ============================================================
   CANDIDATURE — candi-*
   ============================================================ */

/* ── HERO ── */
.candi-hero {
  position: relative;
  height: 520px;
  background: url('../img/candi.webp') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.candi-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12,26,44,.88) 0%,
    rgba(26,58,92,.65) 55%,
    rgba(71,178,228,.15) 100%
  );
}

.candi-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
  animation: heroFadeUp .8s ease both;
}

.candi-hero-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 10px;
  display: block;
  opacity: 0;
  animation: heroFadeUp .7s .2s ease forwards;
}

.candi-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 14px;
  opacity: 0;
  animation: heroFadeUp .8s .35s ease forwards;
}

.candi-hero-title span { color: var(--sky); display: block; }

.candi-hero-sub {
  font-size: .98rem;
  color: rgba(255,255,255,.70);
  letter-spacing: 1px;
  opacity: 0;
  animation: heroFadeUp .7s .5s ease forwards;
}

.candi-hero-shape {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 72px;
  background: var(--off-white);
  clip-path: polygon(0 55%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

@media (max-width: 575px) {
  .candi-hero { height: 400px; }
  .candi-hero-shape { display: none; }
  .candi-hero-content { padding-bottom: 44px; }
}


/* ── POURQUOI NOUS REJOINDRE ── */
.candi-why-section {
  padding: 96px 0 100px;
  background: var(--off-white);
}

.candi-why-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}

.candi-why-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  margin-bottom: 14px;
}

.candi-why-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 2px;
}

.candi-why-lead {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.candi-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.candi-why-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 24px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.candi-why-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.candi-why-item:hover {
  border-color: var(--sky-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.candi-why-item:hover::before { transform: scaleX(1); }

.candi-why-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--off-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: background .25s, border-color .25s;
}

.candi-why-icon i { font-size: 1.3rem; color: var(--sky); }

.candi-why-item:hover .candi-why-icon {
  background: var(--navy);
  border-color: var(--navy);
}

.candi-why-item:hover .candi-why-icon i { color: var(--white); }

.candi-why-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.candi-why-item p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 991px) {
  .candi-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .candi-why-section { padding: 60px 0 68px; }
  .candi-why-grid { grid-template-columns: 1fr; gap: 14px; }
}


/* ── SECTION FORMULAIRE ── */
.candi-form-section {
  position: relative;
  padding: 100px 0 110px;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.candi-form-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 85% 15%, rgba(71,178,228,.09) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 85%, rgba(201,168,76,.06) 0%, transparent 60%);
}

.candi-form-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Carte blanche */
.candi-form-wrap {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 18px;
  padding: 56px 60px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(12,24,40,.25);
}

.candi-form-header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.candi-form-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.15;
}

.candi-form-lead {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin: 0;
}

/* Grille 2 colonnes */
.candi-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* Champ individuel */
.candi-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.candi-form-row .candi-field { margin-bottom: 0; }

.candi-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.candi-label i { color: var(--sky); font-size: .85rem; }

/* Input / select / textarea */
.candi-input {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  appearance: none;
  -webkit-appearance: none;
}

.candi-input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(71,178,228,.10);
}

.candi-input::placeholder { color: var(--text-muted); }

.candi-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c7a89' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  cursor: pointer;
}

.candi-textarea {
  resize: vertical;
  min-height: 138px;
  line-height: 1.6;
}

/* Upload fichier */
.candi-file-wrap { position: relative; }

.candi-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.candi-file-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--off-white);
  border: 1px dashed var(--border);
  border-radius: 8px;
  font-size: .9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color .25s, background .25s, color .25s;
  user-select: none;
}

.candi-file-label i { font-size: 1rem; color: var(--sky); }

.candi-file-wrap:hover .candi-file-label {
  border-color: var(--sky);
  background: rgba(71,178,228,.04);
  color: var(--navy);
}

.candi-file-hint {
  font-size: .73rem;
  color: var(--text-muted);
  margin-top: 5px;
  margin-bottom: 0;
}

/* Footer du formulaire */
.candi-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  margin-top: 4px;
}

.candi-form-mention {
  font-size: .76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.candi-form-mention i { color: var(--sky); flex-shrink: 0; }

/* Bouton */
.candi-submit {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 13px 32px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s, transform .2s;
  white-space: nowrap;
}

.candi-submit:hover {
  background: var(--sky);
  transform: translateY(-2px);
}

.candi-submit:active { transform: translateY(0); }

@media (max-width: 991px) {
  .candi-form-wrap { padding: 40px 32px; }
}

@media (max-width: 767px) {
  .candi-form-footer { flex-direction: column; align-items: flex-start; }
  .candi-submit { width: 100%; justify-content: center; }
}

@media (max-width: 575px) {
  .candi-form-section { padding: 60px 0 72px; }
  .candi-form-wrap { padding: 28px 18px; border-radius: 12px; }
  .candi-form-row { grid-template-columns: 1fr; gap: 0; }
  .candi-form-header { margin-bottom: 24px; padding-bottom: 20px; }
}

/* ============================================================
   CONTACT — contact-*
   ============================================================ */

/* ── HERO ── */
.contact-hero {
  position: relative;
  height: 520px;
  background: url('../img/pp1.webp') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12,26,44,.88) 0%,
    rgba(26,58,92,.65) 55%,
    rgba(71,178,228,.15) 100%
  );
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
  animation: heroFadeUp .8s ease both;
}

.contact-hero-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 10px;
  display: block;
  opacity: 0;
  animation: heroFadeUp .7s .2s ease forwards;
}

.contact-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 14px;
  opacity: 0;
  animation: heroFadeUp .8s .35s ease forwards;
}

.contact-hero-title span { color: var(--sky); display: block; }

.contact-hero-sub {
  font-size: .98rem;
  color: rgba(255,255,255,.70);
  letter-spacing: 1px;
  opacity: 0;
  animation: heroFadeUp .7s .5s ease forwards;
}

.contact-hero-shape {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 72px;
  background: var(--navy);
  clip-path: polygon(0 55%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

@media (max-width: 575px) {
  .contact-hero { height: 400px; }
  .contact-hero-shape { display: none; }
  .contact-hero-content { padding-bottom: 44px; }
}


/* ── BANDE INFOS ── */
.contact-info-band {
  background: var(--navy);
  padding: 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  transition: background .25s;
}

.contact-info-item:last-child { border-right: none; }
.contact-info-item:hover { background: rgba(71,178,228,.08); }

.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(71,178,228,.15);
  border: 1px solid rgba(71,178,228,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s;
}

.contact-info-icon i { font-size: 1.1rem; color: var(--sky); }
.contact-info-icon--wa { background: rgba(37,211,102,.15); border-color: rgba(37,211,102,.25); }
.contact-info-icon--wa i { color: #25d366; }

.contact-info-item:hover .contact-info-icon { background: var(--sky); }
.contact-info-item:hover .contact-info-icon i { color: var(--white); }

.contact-info-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 4px;
}

.contact-info-value {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

@media (max-width: 991px) {
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-item:nth-child(2) { border-right: none; }
  .contact-info-item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .contact-info-item:nth-child(3),
  .contact-info-item:nth-child(4) { border-bottom: none; }
}

@media (max-width: 575px) {
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-info-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .contact-info-item:last-child { border-bottom: none; }
}


/* ── SECTION PRINCIPALE ── */
.contact-main-section {
  padding: 96px 0 108px;
  background: var(--off-white);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}


/* Formulaire */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 44px;
  box-shadow: var(--shadow-sm);
}

.contact-form-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.contact-form-heading {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.15;
}

.contact-form-lead {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin: 0;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.contact-form-row .contact-field { margin-bottom: 0; }

.contact-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-label i { color: var(--sky); font-size: .82rem; }

.contact-input {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  appearance: none;
  -webkit-appearance: none;
}

.contact-input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(71,178,228,.10);
}

.contact-input::placeholder { color: var(--text-muted); }

.contact-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c7a89' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  cursor: pointer;
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-form-mention {
  font-size: .76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.contact-form-mention i { color: var(--sky); flex-shrink: 0; }

.contact-submit {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s, transform .2s;
  white-space: nowrap;
}

.contact-submit:hover {
  background: var(--sky);
  transform: translateY(-2px);
}

.contact-submit:active { transform: translateY(0); }


/* Sidebar */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-side-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

.contact-side-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.contact-side-title i { color: var(--sky); }

/* Horaires */
.contact-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
}

.contact-hours li:last-child { border-bottom: none; }

.contact-hours-day { color: var(--text); font-weight: 500; }

.contact-hours-time {
  color: var(--navy);
  font-weight: 700;
  font-size: .85rem;
}

.contact-hours-closed .contact-hours-day { color: var(--text-muted); }
.contact-hours-closed .contact-hours-time { color: var(--text-muted); font-weight: 500; }

/* Réseaux sociaux */
.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color .2s, background .2s, color .2s;
}

.contact-social i { font-size: 1.05rem; color: var(--sky); width: 18px; flex-shrink: 0; }
.contact-social:hover { border-color: var(--sky); background: var(--white); color: var(--navy); }

/* Adresse */
.contact-side-address {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1099px) {
  .contact-main-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-side { flex-direction: row; flex-wrap: wrap; }
  .contact-side-block { flex: 1; min-width: 240px; }
}

@media (max-width: 767px) {
  .contact-form-footer { flex-direction: column; align-items: flex-start; }
  .contact-submit { width: 100%; justify-content: center; }
  .contact-side { flex-direction: column; }
}

@media (max-width: 575px) {
  .contact-main-section { padding: 60px 0 72px; }
  .contact-form-wrap { padding: 28px 18px; border-radius: 12px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 0; }
}


/* ── CARTE MAPS ── */
.contact-map-section {
  position: relative;
  line-height: 0;
  border-top: 1px solid var(--border);
}

.contact-map-section iframe {
  width: 100%;
  height: 460px;
  display: block;
  border: none;
  filter: grayscale(10%);
  transition: filter .3s ease;
}

.contact-map-section:hover iframe { filter: grayscale(0%); }

@media (max-width: 575px) {
  .contact-map-section iframe { height: 300px; }
}



/* ============================================================
   C-GIM — projet-detail.css
   Partagé par sdd.html et centre.html
   Préfixe unique : pd-
   Différenciateur hero : .pd-hero--sdd / .pd-hero--centre
   ============================================================ */

/* ── HERO ── */
.pd-hero {
  position: relative;
  height: 560px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.pd-hero--sdd    { background-image: url('../img/sdd.webp'); }
.pd-hero--centre { background-image: url('../img/centre.webp'); }

.pd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(12,26,44,.92) 0%,
    rgba(26,58,92,.68) 50%,
    rgba(71,178,228,.16) 100%
  );
}

.pd-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  animation: heroFadeUp .85s ease both;
}

.pd-hero-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 12px;
  display: block;
  opacity: 0;
  animation: heroFadeUp .7s .2s ease forwards;
}

.pd-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 14px;
  opacity: 0;
  animation: heroFadeUp .8s .35s ease forwards;
}

.pd-hero-title span { color: var(--sky); display: block; }

.pd-hero-sub {
  font-size: .98rem;
  color: rgba(255,255,255,.70);
  letter-spacing: 1px;
  opacity: 0;
  animation: heroFadeUp .7s .5s ease forwards;
}

.pd-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  opacity: 0;
  animation: heroFadeUp .7s .62s ease forwards;
}

.pd-pill {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: 7px 16px;
  transition: background .25s, border-color .25s;
}

.pd-pill--live {
  color: var(--sky-light);
  border-color: rgba(71,178,228,.45);
  background: rgba(71,178,228,.15);
  animation: livePulse 2.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(71,178,228,.4); }
  50%       { box-shadow: 0 0 0 6px rgba(71,178,228,.0); }
}

.pd-hero-shape {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 72px;
  background: var(--navy);
  clip-path: polygon(0 55%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

@media (max-width: 575px) {
  .pd-hero { height: 420px; }
  .pd-hero-shape { display: none; }
  .pd-hero-content { padding-bottom: 44px; }
}


/* ── STATS BAND ── */
.pd-stats-band { background: var(--navy); padding: 0; }

.pd-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pd-stat {
  text-align: center;
  padding: 44px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .25s;
}

.pd-stat:last-child { border-right: none; }
.pd-stat:hover      { background: rgba(71,178,228,.07); }

.pd-stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
  display: block;
}

.pd-stat-num span { font-size: 1.4rem; }

.pd-stat-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.50);
  margin-top: 8px;
  display: block;
}

@media (max-width: 575px) {
  .pd-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-stat       { border-bottom: 1px solid rgba(255,255,255,.08); }
}


/* ── INTRO PROJET ── */
.pd-intro-section {
  padding: 96px 0 108px;
  background: var(--off-white);
  overflow: hidden;
}

.pd-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pd-intro-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
  line-height: 1.2;
}

.pd-intro-bar {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 3px;
  margin: 18px 0;
}

.pd-intro-lead {
  font-size: .96rem;
  color: var(--sky);
  font-weight: 600;
  margin-bottom: 12px;
}

.pd-intro-text {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 28px;
}


/* ── FICHE TECHNIQUE ── */
.pd-fiche {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.pd-fiche-item {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}

.pd-fiche-item:last-child              { border-bottom: none; }
.pd-fiche-item:nth-child(odd)          { background: var(--off-white); }
.pd-fiche-item:hover                   { background: rgba(71,178,228,.05); }

.pd-fiche-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 16px;
  min-width: 200px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}

.pd-fiche-label i { color: var(--sky); font-size: .9rem; }

.pd-fiche-value {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  padding: 12px 16px;
  line-height: 1.4;
}


/* ── VISUEL + CARTE PROGRESSION ── */
.pd-intro-visual { position: relative; }

.pd-intro-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pd-intro-img-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

.pd-intro-img-wrap:hover img { transform: scale(1.03); }

.pd-intro-deco {
  position: absolute;
  top: -16px; right: -16px;
  width: 100%; height: 100%;
  border: 2px solid var(--sky);
  border-radius: 20px;
  opacity: .12;
  z-index: -1;
  pointer-events: none;
}

.pd-progress-card {
  position: absolute;
  bottom: -20px; left: 20px;
  background: var(--navy);
  border: 1px solid rgba(71,178,228,.25);
  border-radius: 12px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  min-width: 260px;
}

.pd-progress-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  flex-shrink: 0;
}

.pd-progress-bar-wrap {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,.12);
  border-radius: 5px;
  overflow: hidden;
}

.pd-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 5px;
}

.pd-progress-pct {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sky);
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .pd-intro-grid          { grid-template-columns: 1fr; gap: 48px; }
  .pd-intro-img-wrap img  { height: 300px; }
  .pd-intro-deco          { display: none; }
  .pd-progress-card       { position: static; margin-top: 20px; min-width: auto; }
  .pd-fiche-label         { min-width: 140px; }
}

@media (max-width: 575px) {
  .pd-intro-section { padding: 64px 0 72px; }
}


/* ── PHASES DES TRAVAUX ── */
.pd-phases-section {
  padding: 96px 0 108px;
  background: var(--white);
}

.pd-phases-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.pd-phases-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  margin-bottom: 14px;
}

.pd-phases-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 3px;
}

.pd-phases-lead {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ── BLOC PHASE ── */
.pd-phase {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}

.pd-phase:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.pd-phase-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.pd-phase-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(71,178,228,.12);
  border: 1px solid rgba(71,178,228,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pd-phase-icon i { font-size: 1.4rem; color: var(--sky); }

/* Variantes icônes */
.pd-icon-teal { background: rgba(13,138,122,.12) !important; border-color: rgba(13,138,122,.25) !important; }
.pd-icon-teal i { color: #0d8a7a !important; }
.pd-icon-gold { background: rgba(201,168,76,.12) !important; border-color: rgba(201,168,76,.25) !important; }
.pd-icon-gold i { color: var(--gold) !important; }

.pd-phase-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.2;
}

.pd-phase-sub {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}


/* ── SOUS-PHASE ── */
.pd-subphase {
  margin: 28px 0 16px;
  padding: 10px 16px;
  background: var(--off-white);
  border-left: 3px solid var(--sky);
  border-radius: 0 8px 8px 0;
}

.pd-subphase-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.pd-subphase-label i { color: var(--sky); }


/* ── GRILLE PHOTOS ── */
.pd-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}

.pd-photo {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

.pd-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.pd-photo:hover img { transform: scale(1.05); }

.pd-photo-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 12px 10px;
  background: linear-gradient(0deg, rgba(12,24,40,.80) 0%, transparent 100%);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.0);
  transition: color .3s;
}

.pd-photo:hover .pd-photo-cap { color: rgba(255,255,255,.90); }

@media (max-width: 767px) {
  .pd-photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .pd-phases-section { padding: 64px 0 72px; }
  .pd-photo-grid     { grid-template-columns: 1fr; }
}


/* ── VIDÉOS ── */
.pd-videos-section {
  padding: 96px 0 108px;
  background: var(--off-white);
}

.pd-videos-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.pd-videos-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  margin-bottom: 14px;
}

.pd-videos-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  border-radius: 3px;
}

.pd-videos-lead {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.pd-videos-block { margin-bottom: 52px; }
.pd-videos-block:last-child { margin-bottom: 0; }

.pd-videos-block-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  border-left: 3px solid var(--sky);
  padding-left: 12px;
}

.pd-videos-block-title i { color: var(--sky); }

.pd-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pd-video-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy);
  aspect-ratio: 16/9;
}

.pd-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 767px) {
  .pd-videos-grid   { grid-template-columns: 1fr; }
  .pd-videos-section { padding: 64px 0 72px; }
}