/* ═══════════════════════════════════════════════════════════════
   MAX-ALU Concept — style.css
   Palette: #1F4E8C · #2F6FD0 · #A9C9E8 · #0D1F3C · #BFC3C7
            #5A5F66 · #6FAFE0 · #FFFFFF
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --c-primary:    #1F4E8C;
  --c-bright:     #2F6FD0;
  --c-light:      #A9C9E8;
  --c-navy:       #0D1F3C;
  --c-silver:     #BFC3C7;
  --c-gray:       #5A5F66;
  --c-glass:      #6FAFE0;
  --c-white:      #FFFFFF;
  --c-text:       #1a1a2e;
  --c-text-light: #555e77;

  --radius:       14px;
  --radius-lg:    22px;
  --shadow:       0 8px 32px rgba(15,30,60,.18);
  --shadow-sm:    0 2px 12px rgba(15,30,60,.10);
  --transition:   .35s cubic-bezier(.4,0,.2,1);
  --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 17px; }

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Animated background gradient (reusable) ─────────────────── */
@keyframes gradientShift {
  0%   { background-position: 0% 50%;   }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%;   }
}

.section {
  padding: 100px 0;
  position: relative;
}

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--transition), transform .7s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .4s; }
.reveal:nth-child(6) { transition-delay: .5s; }

/* ── Section headers ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-glass);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-white);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--c-silver);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Gradient text ───────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--c-glass), var(--c-light), var(--c-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-bright));
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(47,111,208,.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(47,111,208,.55);
}
.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--c-white);
  transform: translateY(-3px);
}
.btn-full { width: 100%; justify-content: center; }

/* ── Glassmorphism ───────────────────────────────────────────── */
.glass {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(169,201,232,.15);
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(13,31,60,.95);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(47,111,208,.5));
}
.nav-logo span {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo em {
  font-style: normal;
  font-size: .7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-glass);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links li a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: all var(--transition);
}
.nav-links li a:hover { color: var(--c-white); background: rgba(255,255,255,.08); }
.nav-links .btn-devis {
  background: linear-gradient(135deg, var(--c-primary), var(--c-bright));
  color: var(--c-white) !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  margin-left: 6px;
  box-shadow: 0 4px 16px rgba(47,111,208,.35);
}
.nav-links .btn-devis:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(47,111,208,.55);
  background: rgba(0,0,0,0) !important;
  background: linear-gradient(135deg, var(--c-bright), var(--c-glass)) !important;
}
.gallery-carousel-wrap { position: relative; }
.gallery-carousel-btn  { display: none; }
.gallery-carousel-counter { display: none; }

.nav-close { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 34px;
  height: 3px;
  background: var(--c-white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-navy);
}

/* Animated gradient bg */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-primary) 40%, var(--c-bright) 70%, var(--c-navy) 100%);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  z-index: 0;
}

/* Slideshow images */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,31,60,.82) 0%,
    rgba(31,78,140,.65) 50%,
    rgba(13,31,60,.78) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 120px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-left {
  flex: 1 1 0;
  min-width: 0;
}
.hero-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  justify-content: center;
  width: 340px;
  padding-right: 48px;
}
.hero-tagline {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--c-glass);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(45px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--c-white);
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-right .btn {
  width: 200px;
  justify-content: center;
  text-align: center;
}

/* remove old .hero-cta (now unused) */

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--c-glass);
  border-radius: 2px;
  animation: scrollBob 1.8s ease-in-out infinite;
}
@keyframes scrollBob {
  0%,100% { top: 6px; opacity: 1; }
  50%      { top: 18px; opacity: .3; }
}

/* ═══════════════════════════════════════════════════════════════
   À PROPOS
   ═══════════════════════════════════════════════════════════════ */
.apropos {
  background: linear-gradient(180deg, #0d1f3c 0%, #111827 100%);
}
.apropos .section-title,
.apropos .section-subtitle { color: var(--c-white); }

.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}
.apropos-text p {
  color: var(--c-silver);
  margin-bottom: 18px;
  font-size: 1.02rem;
}
.apropos-text strong { color: var(--c-white); }

.apropos-values {
  margin: 24px 0 32px;
}
.apropos-values li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-silver);
  padding: 6px 0;
  font-size: .97rem;
}
.value-icon { color: var(--c-glass); font-size: 1.1rem; }

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

.apropos-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-bright));
  color: var(--c-white);
  padding: 16px 22px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 24px rgba(31,78,140,.5);
}
.apropos-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.apropos-badge span {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .9;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(169,201,232,.12);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(31,78,140,.3);
}
.stat-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--c-glass);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .85rem;
  color: var(--c-silver);
  font-weight: 500;
  letter-spacing: .5px;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
.services {
  background: #0a1628;
}
.services-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,78,140,.15) 0%, rgba(47,111,208,.08) 50%, rgba(13,31,60,.2) 100%);
  background-size: 300% 300%;
  animation: gradientShift 15s ease infinite;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(47,111,208,.2);
  border-color: rgba(111,175,224,.3);
}
.service-icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(111,175,224,.4));
}
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--c-silver);
  font-size: .95rem;
  margin-bottom: 20px;
  line-height: 1.65;
}
.service-link {
  display: inline-block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-glass);
  letter-spacing: .5px;
  transition: letter-spacing var(--transition), color var(--transition);
  cursor: pointer;
}
.service-link:hover {
  color: var(--c-light);
  letter-spacing: 1.5px;
}

/* ═══════════════════════════════════════════════════════════════
   RÉALISATIONS / GALLERY
   ═══════════════════════════════════════════════════════════════ */
.realisations {
  background: linear-gradient(180deg, #111827 0%, #0d1f3c 100%);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 600;
  border: 1px solid rgba(169,201,232,.2);
  background: transparent;
  color: var(--c-silver);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--c-primary), var(--c-bright));
  color: var(--c-white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(47,111,208,.35);
}

.gallery-grid {
  columns: 4;
  column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition), opacity .4s ease;
}
.gallery-item.hidden {
  display: none;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,31,60,.88) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption {
  font-size: .8rem;
  color: var(--c-white);
  line-height: 1.3;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8,16,32,.95);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox-caption {
  color: var(--c-silver);
  font-size: .88rem;
  margin-top: 12px;
  text-align: center;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--c-white);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 2001;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(47,111,208,.5); }

/* ═══════════════════════════════════════════════════════════════
   VIDÉOS
   ═══════════════════════════════════════════════════════════════ */
.videos {
  background: #0a1628;
}
.videos-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(47,111,208,.12) 0%, rgba(13,31,60,.25) 100%);
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
  pointer-events: none;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(169,201,232,.1);
  transition: transform var(--transition), box-shadow var(--transition);
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(47,111,208,.2);
}
.video-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--c-navy);
}
.video-card-body {
  padding: 18px 20px;
}
.video-card-body p {
  font-size: .88rem;
  color: var(--c-silver);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   POURQUOI NOUS
   ═══════════════════════════════════════════════════════════════ */
.pourquoi {
  background: linear-gradient(180deg, #0d1f3c 0%, #111827 100%);
}

.pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pourquoi-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(169,201,232,.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pourquoi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(31,78,140,.25);
  border-color: rgba(111,175,224,.25);
}
.pourquoi-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  display: block;
}
.pourquoi-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 10px;
}
.pourquoi-card p {
  color: var(--c-silver);
  font-size: .92rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact {
  background: #0a1628;
}
.contact-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,78,140,.2) 0%, rgba(47,111,208,.1) 100%);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 30px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-item strong {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-glass);
}
.contact-item span,
.contact-item a {
  color: var(--c-silver);
  font-size: .97rem;
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--c-light); }

.contact-logo {
  margin-top: 36px;
}
.contact-logo img {
  height: 130px;
  width: auto;
  filter: drop-shadow(0 4px 16px rgba(47,111,208,.4));
}

/* Form */
.contact-form {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(169,201,232,.1);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-glass);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(169,201,232,.2);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--c-white);
  font-family: var(--font);
  font-size: .97rem;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-glass);
  background: rgba(111,175,224,.08);
}
.form-group select option { background: #111827; color: var(--c-white); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-notice {
  margin-top: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}
.form-honeypot { display: none !important; }
.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .93rem;
  font-weight: 500;
  text-align: center;
  display: none;
}
.form-status:not(:empty) { display: block; }
.form-status--success {
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.35);
  color: #86efac;
}
.form-status--error {
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.35);
  color: #fca5a5;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--c-navy);
  position: relative;
  padding: 70px 0 0;
}
.footer-gradient {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-glass), var(--c-light), var(--c-glass), transparent);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand img {
  height: 100px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(47,111,208,.4));
}
.footer-brand p {
  color: var(--c-silver);
  font-size: .9rem;
  line-height: 1.5;
}
.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-glass);
  margin-bottom: 18px;
}
.footer-links ul li,
.footer-services ul li {
  padding: 5px 0;
}
.footer-links ul li a,
.footer-services ul li {
  color: var(--c-silver);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--c-light); }
.footer-contact p,
.footer-contact a {
  color: var(--c-silver);
  font-size: .9rem;
  line-height: 1.6;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--c-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .82rem; }

/* ═══════════════════════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-bright));
  color: var(--c-white);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(47,111,208,.45);
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.back-to-top.visible { display: flex; }
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(47,111,208,.6);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .gallery-grid  { columns: 3; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pourquoi-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid   { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  /* Navbar */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(13,31,60,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 72px 32px 40px;
    gap: 4px;
    transition: right var(--transition);
    border-left: 1px solid rgba(169,201,232,.15);
    overflow-y: auto;
    z-index: 1100;
  }
  .nav-links.open { right: 0; }
  .nav-close {
    display: flex;
    position: absolute;
    top: 18px; right: 18px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(169,201,232,.2);
    color: var(--c-white);
    font-size: 1.6rem;
    line-height: 1;
    width: 40px; height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
  }
  .nav-close:hover { background: rgba(255,255,255,.18); }
  .nav-links li a { display: block; font-size: 1.25rem; padding: 12px 16px; width: 100%; }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(169,201,232,.08); }
  .nav-links li:last-child { border-bottom: none; margin-top: 36px; border-top: 1px solid rgba(169,201,232,.2); padding-top: 8px; }
  .nav-links .btn-devis { padding: 16px 16px; border-radius: 10px; font-size: 1.15rem; white-space: nowrap; }

  /* Hero — stack to single column */
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 100px;
  }
  .hero-right {
    width: 100%;
    padding-right: 0;
    align-items: center;
  }
  .hero-right .btn { width: 100%; }

  /* À Propos */
  .apropos-grid { grid-template-columns: 1fr; gap: 36px; }
  .apropos-img-wrap img { height: 320px; }

  /* Gallery — horizontal snap carousel */
  .gallery-grid {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    columns: unset;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-item {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    margin-bottom: 0;
    break-inside: unset;
    border-radius: var(--radius);
  }
  .gallery-item img {
    height: 62vw;
    object-fit: cover;
  }
  .gallery-carousel-btn {
    display: flex;
    position: absolute;
    top: calc(62vw / 2);
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(13,31,60,.75);
    border: 1px solid rgba(169,201,232,.25);
    color: var(--c-white);
    width: 44px; height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }
  .gallery-carousel-prev { left: 6px; }
  .gallery-carousel-next { right: 6px; }
  .gallery-carousel-counter {
    display: block;
    text-align: center;
    color: var(--c-silver);
    font-size: .875rem;
    margin-top: 10px;
  }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Videos */
  .videos-grid { grid-template-columns: 1fr; }

  /* Pourquoi */
  .pourquoi-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }
  .form-row      { grid-template-columns: 1fr; }
  .contact-form  { padding: 28px 20px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 1.8rem; }
}
