/* ============================================================
   LABAIGS MENUISERIES — Feuille de styles principale
   Code couleur : Bordeaux #6B0F0F · Rouge #A81818 · Orange #D96020 · Or #F0A800
   ============================================================ */

/* ----------------------------------------------------------
   VARIABLES & RESET
   ---------------------------------------------------------- */
:root {
  /* Palette Labaigs (issue du logo) */
  --bordeaux:    #6B0F0F;
  --dark-red:    #8B1515;
  --red:         #A81818;
  --red-hover:   #C82020;
  --orange-red:  #D45020;
  --orange:      #D96020;
  --gold:        #F0A800;
  --gold-light:  #F5C840;

  /* Neutres */
  --white:       #FFFFFF;
  --cream:       #FFF8F0;
  --light:       #F7F0E8;
  --text:        #2A1A1A;
  --text-muted:  #7A6060;
  --dark:        #1A0808;
  --dark2:       #220C0C;
  --surface-dark:#2A1010;
  --border-dark: #3D1F1F;
  --border-light:#E8D8C8;

  /* Typographie */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --transition:  0.3s var(--ease);

  /* Ombres */
  --shadow-sm:   0 2px 8px rgba(107, 15, 15, 0.15);
  --shadow-md:   0 8px 32px rgba(107, 15, 15, 0.2);
  --shadow-lg:   0 20px 60px rgba(0, 0, 0, 0.35);

  /* Bordes */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

::selection { background: var(--orange); color: var(--white); }

/* ----------------------------------------------------------
   CONTENEUR
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----------------------------------------------------------
   NAVIGATION
   ---------------------------------------------------------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#navbar.scrolled {
  background: rgba(26, 8, 8, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  padding: 0.6rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.logo-nav--icon {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-nav-brand {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
}
.logo-nav-brand small {
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}
.logo-nav-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.05em;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.45rem 0.9rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-links .nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
}
.nav-links .nav-cta:hover { background: var(--red-hover); }
.nav-links .nav-admin {
  color: rgba(255,255,255,0.5);
  padding: 0.45rem 0.7rem;
  font-size: 0.75rem;
}
.nav-links .nav-admin:hover { color: var(--gold); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------
   SECTIONS — BASE
   ---------------------------------------------------------- */
.section {
  padding: 7rem 0;
}
.section-light { background: var(--cream); }
.section-dark  { background: var(--dark); }

/* En-tête de section */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title--light { color: var(--white); }
.section-intro {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-intro--light { color: rgba(255,255,255,0.7); }

/* ----------------------------------------------------------
   ANIMATIONS SCROLL (reveal)
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------
   BOUTONS
   ---------------------------------------------------------- */
.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 24, 24, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Vidéo de fond (MP4 — priorité maximale quand disponible) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* Animation WebP menuiserie — visible si pas de MP4 */
.hero-bg-anim {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Dégradé animé bois-de-feu (fallback si WebP indisponible) */
.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    var(--bordeaux) 0%,
    var(--dark-red) 20%,
    var(--red) 40%,
    var(--orange-red) 55%,
    var(--orange) 70%,
    var(--gold) 85%,
    var(--bordeaux) 100%
  );
  background-size: 300% 300%;
  animation: heroGradient 18s ease infinite;
}
@keyframes heroGradient {
  0%   { background-position:   0%  50%; }
  50%  { background-position: 100%  50%; }
  100% { background-position:   0%  50%; }
}

/* Calque sombre pour lisibilité du texte */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(26, 8, 8, 0.6)  0%,
    rgba(10, 4, 4, 0.82) 60%,
    rgba(10, 4, 4, 0.9)  100%
  );
}

/* Contenu hero */
.hero-content {
  position: relative;
  z-index: 4;
  padding: 0 1.5rem;
  animation: heroFadeIn 1.2s var(--ease) forwards;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero brand (logo icône + texte) */
.hero-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.hero-logo-icon {
  height: clamp(70px, 12vw, 110px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.55));
  flex-shrink: 0;
}
.hero-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-brand-name {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.04em;
  text-shadow: 0 3px 16px rgba(0,0,0,0.6);
}
.hero-brand-sub {
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.3rem;
}

.hero-brand-fallback {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: 0.1em;
}
.hero-brand-fallback span {
  font-size: 0.45em;
  letter-spacing: 0.4em;
  color: var(--gold);
  font-weight: 700;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Flèche de défilement */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: rgba(255,255,255,0.6);
  font-size: 1.4rem;
  animation: bounce 2.5s ease-in-out infinite;
  transition: color var(--transition);
}
.hero-scroll:hover { color: var(--gold); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ----------------------------------------------------------
   À PROPOS
   ---------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text .section-title { margin-bottom: 1.5rem; }

.about-text p {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.7;
}
.about-text strong { color: var(--text); }

.about-quote {
  margin-top: 2rem;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 4px solid var(--orange);
  background: linear-gradient(to right, rgba(217, 96, 32, 0.06), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.about-quote span {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--dark-red);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}
.about-quote cite {
  font-size: 0.82rem;
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.about-quote cite::before { content: '— '; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-number sup { font-size: 0.6em; vertical-align: super; }
.stat-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------
   SERVICES
   ---------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 96, 32, 0.4);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.service-card--featured {
  border-color: rgba(217, 96, 32, 0.5);
  background: rgba(168, 24, 24, 0.06);
}
.service-card--featured::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(168, 24, 24, 0.35);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.9rem;
}
.service-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.service-list { margin-top: 0.5rem; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  padding: 0.25rem 0;
}
.service-list li i {
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   ÉQUIPE
   ---------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-photo-wrap {
  position: relative;
  background: linear-gradient(
    to bottom,
    var(--light) 0%,
    rgba(217, 96, 32, 0.08) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  overflow: hidden;
}
.team-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-photo-placeholder {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}

.team-info {
  padding: 2rem 1.75rem;
}
.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.team-role-title {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.team-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.team-skills {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.team-skills li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.team-skills li i {
  color: var(--red);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   RÉALISATIONS — CARROUSEL
   ---------------------------------------------------------- */
.carousel-wrapper {
  margin-bottom: 3rem;
}

.carousel-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 2rem;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
}
.carousel-state i { font-size: 2.5rem; color: rgba(255,255,255,0.25); }

.carousel-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.carousel-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border-dark);
  flex-wrap: wrap;
}
.carousel-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.carousel-meta-item i { color: var(--orange); }

.carousel-stage {
  position: relative;
  background: var(--dark2);
  aspect-ratio: 16/9;
  max-height: 520px;
  overflow: hidden;
}

.carousel-slides { position: relative; width: 100%; height: 100%; }

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(26, 8, 8, 0.7);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
  backdrop-filter: blur(4px);
}
.carousel-arrow:hover {
  background: var(--red);
  border-color: var(--red);
}
.carousel-arrow--prev { left:  1rem; }
.carousel-arrow--next { right: 1rem; }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; }

.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid var(--border-dark);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), width var(--transition);
}
.carousel-dot.active {
  background: var(--orange);
  width: 22px;
  border-radius: 4px;
}
.carousel-dot:hover:not(.active) { background: rgba(255,255,255,0.5); }

.carousel-counter {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-feature-settings: 'tnum';
}

/* ----------------------------------------------------------
   GALERIE DES CHANTIERS
   ---------------------------------------------------------- */
.gallery-section { margin-top: 1rem; }

.gallery-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.gallery-hint {
  font-size: 0.75rem;
  font-weight: 400;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  background: var(--dark2);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.gallery-item:hover, .gallery-item:focus-visible {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 8px 28px rgba(217, 96, 32, 0.3);
  outline: none;
}
.gallery-item.active-ref {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 168, 0, 0.3);
}

.gallery-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--surface-dark);
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover .gallery-thumb img { transform: scale(1.08); }

.gallery-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 2rem;
}

.gallery-caption {
  padding: 0.75rem 0.9rem;
}
.gallery-caption strong {
  display: block;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-caption span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.15rem;
}

/* ----------------------------------------------------------
   ENGAGEMENTS
   ---------------------------------------------------------- */
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.engagement-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.engagement-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.engagement-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(168, 24, 24, 0.1), rgba(217, 96, 32, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.6rem;
  color: var(--red);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.engagement-card:hover .engagement-icon {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  transform: scale(1.1);
}
.engagement-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.engagement-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   CONTACT
   ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

/* Formulaire */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}
.form-group-checkbox { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}
.form-group label abbr {
  color: var(--orange);
  text-decoration: none;
  margin-left: 2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  line-height: 1.5;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(217, 96, 32, 0.2);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form select option { background: var(--dark2); }
.contact-form textarea { resize: vertical; min-height: 120px; }

.textarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.char-counter {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  font-feature-settings: 'tnum';
}

.field-error {
  display: block;
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 0.3rem;
  min-height: 1.1em;
}

/* Checkbox custom */
.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.checkbox-wrap input[type="checkbox"] { display: none; }
.checkbox-custom {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 2px solid var(--border-dark);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  transition: border-color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.checkbox-wrap input:checked + .checkbox-custom {
  background: var(--orange);
  border-color: var(--orange);
}
.checkbox-wrap input:checked + .checkbox-custom::after {
  content: '';
  width: 5px; height: 9px;
  border: 2px solid var(--white);
  border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}
.checkbox-wrap span:last-child {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* Submit */
.form-submit-row {
  margin-top: 0.5rem;
}
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.captcha-notice {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  line-height: 1.6;
}
.form-group-captcha input[type="number"] {
  max-width: 120px;
  -moz-appearance: textfield;
}
.form-group-captcha input[type="number"]::-webkit-inner-spin-button,
.form-group-captcha input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Feedback */
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  font-size: 0.9rem;
}
.form-feedback i { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.form-feedback p { margin: 0.2rem 0 0; font-size: 0.85rem; opacity: 0.8; }
.form-success {
  background: rgba(45, 138, 62, 0.15);
  border: 1px solid rgba(45, 138, 62, 0.4);
  color: #86efac;
}
.form-error {
  background: rgba(200, 48, 48, 0.15);
  border: 1px solid rgba(200, 48, 48, 0.4);
  color: #fca5a5;
}

/* Infos contact */
.contact-info-col { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.contact-info-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
  display: block;
}

.contact-detail-list { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-detail-list li > i {
  color: var(--orange);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-detail-list li > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.contact-detail-list strong {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.contact-detail-list span,
.contact-detail-list a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  line-height: 1.5;
}
.contact-detail-list a:hover { color: var(--gold); }

/* Carte */
.map-container {
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.footer {
  background: #0A0404;
  border-top: 1px solid var(--border-dark);
  padding: 4rem 0 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  flex: 1;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.footer-logo-icon {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}
.footer-brand-name small {
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.footer-siret {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer-certif-logo {
  width: 169px;
  height: auto;
  border-radius: 6px;
  opacity: 0.9;
  margin-top: 0;
  display: block;
  flex-shrink: 0;
  align-self: center;
  transition: opacity 0.2s;
}
.footer-certif-logo:hover { opacity: 1; }

.footer-nav h4,
.footer-contact-info h4,
.footer-legal h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.footer-nav ul li + li { margin-top: 0.5rem; }
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-contact-info address { font-style: normal; }
.footer-contact-info p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}
.footer-contact-info a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-contact-info a:hover,
.footer-contact-info a:focus { color: var(--white); }
.footer-contact-info i { color: var(--orange); width: 16px; text-align: center; }

.footer-legal ul li { margin-bottom: 0.5rem; }
.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--gold); }

/* ----------------------------------------------------------
   LIGHTBOX (photo agrandie)
   ---------------------------------------------------------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  backdrop-filter: blur(8px);
}
.lightbox-overlay.open {
  display: flex;
  animation: lbFadeIn 0.25s ease;
}
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--white); }

/* ----------------------------------------------------------
   LEAFLET CUSTOM
   ---------------------------------------------------------- */
.leaflet-container { font-family: var(--font-body); }
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.leaflet-popup-content {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   RESPONSIVE — TABLETTE (≤ 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .section { padding: 5rem 0; }
  .about-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .about-stats   { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .team-grid     { grid-template-columns: 1fr; }
  .engagements-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-inner  { flex-wrap: wrap; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ----------------------------------------------------------
   RESPONSIVE — MOBILE (≤ 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: rgba(26, 8, 8, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    transition: right var(--transition);
    z-index: 1000;
    box-shadow: -4px 0 30px rgba(0,0,0,0.5);
  }
  .nav-links.open { right: 0; }
  .nav-links li   { width: 100%; }
  .nav-links a    { display: block; padding: 0.75rem 1rem; font-size: 1rem; }
  .nav-links .nav-cta { margin-top: 0.5rem; text-align: center; }

  nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
  }

  /* Hero */
  .hero-brand-wrap { flex-direction: column; gap: 1rem; }
  .hero-brand-text { align-items: center; text-align: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; justify-content: center; }

  /* Stats */
  .about-stats { grid-template-columns: 1fr 1fr; }

  /* Team card vertical */
  .team-card { grid-template-columns: 1fr; }
  .team-photo-wrap { min-height: 240px; }

  /* Carousel */
  .carousel-stage { aspect-ratio: 4/3; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 0.875rem; }
  .carousel-arrow--prev { left: 0.5rem; }
  .carousel-arrow--next { right: 0.5rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  /* Engagements */
  .engagements-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap { padding: 1.5rem; }

  /* Footer */
  .footer-inner  { flex-direction: column; }
  .footer-certif-logo { align-self: flex-start; margin-top: 0.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ----------------------------------------------------------
   RESPONSIVE — PETIT MOBILE (≤ 480px)
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-logo { height: 56px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

  text-transform: uppercase;
  color: #d4a84b;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #c8b89a;
  margin-bottom: 4rem;
}

.under-construction {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(212, 168, 75, 0.12);
  border: 1px solid rgba(212, 168, 75, 0.35);
  border-radius: 10px;
  padding: 1rem 2rem;
  margin-bottom: 4rem;
}

.under-construction span {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  color: #d4a84b;
  letter-spacing: 0.05em;
}

.gear {
  font-size: 2rem;
  animation: spin 4s linear infinite;
  display: inline-block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

footer {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #8a7a6a;
}

footer a {
  color: #d4a84b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

footer a:hover {
  color: #f0c060;
  text-decoration: underline;
}
