:root {
  --brand: #f97316; /* Orange signature */
  --dark: #0f172a;
  --light: #f8fafc;
  --text: #334155;
  --radius: 8px; /* Rayon des boutons */
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, sans-serif; color: var(--text); line-height: 1.6; background: #fff; }
img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

/* --- HEADER & NAV (Boutons) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.8rem 0;
  min-height: 82px;
  display: flex;
  align-items: center;
}
.header-wrap { display: flex; align-items: center; justify-content: space-between; }

/* Navigation Desktop : Style Boutons */
.nav-buttons { display: flex; gap: 1rem; align-items: center; }
.btn-nav {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  background-color: transparent;
  color: var(--dark);
  border: 1px solid transparent;
}
.btn-nav:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}
/* Bouton contact plus visible */
.btn-nav.primary {
  background-color: var(--brand);
  color: white;
}
.btn-nav.primary:hover {
  background-color: #ea580c;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO SLIDER (Image unique) --- */
.hero-slider {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: linear-gradient(to right, #e2e8f0, #fcfaf8 20%, #f8fafc 80%, #e2e8f0);
}

.slide {
  width: 100%;
  min-height: 420px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 2rem 1rem;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-content .lead {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: 500px;
  }

  .slide {
    min-height: 500px;
    background-size: cover;
    background-position: center center;
  }

  .hero-content {
    padding: 5rem 1rem 2rem;
  }

  .hero-content h1 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .hero-content .lead {
    font-size: 1rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-group .btn {
    width: 100%;
    max-width: 280px;
  }
}
/* Overlay sombre pour lisibilité texte */
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.2);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: white;
  max-width: 800px;
}
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.1; }
.hero-content .lead { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; }

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.service-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border-color: var(--brand);
}
.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-content { padding: 1.5rem; }
.card-content h2 { color: var(--brand); font-size: 1.5rem; margin-bottom: 0.25rem; }
.subtitle { font-weight: 700; color: var(--dark); margin-bottom: 1rem; font-size: 1.1rem; }
.geo-zone { font-size: 0.9rem; color: #64748b; margin-bottom: 1rem; font-style: italic; }

.check-list { padding-left: 0; }
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #475569;
}
.check-list li::before {
  content: "✔";
  position: absolute; left: 0; color: var(--brand);
}

/* --- HISTOIRE & MEDIAS --- */
.history-section { background: var(--light); padding: 4rem 0; }
.grid-history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.history-media {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.media-frame {
  background: white; padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.media-frame img, .media-frame video { border-radius: 8px; width: 100%; }
.caption { display: block; text-align: center; font-size: 0.85rem; color: #64748b; margin-top: 0.5rem; }

/* --- CTA & FOOTER --- */
.contact-cta { text-align: center; padding: 4rem 0; background: white; }
.btn {
  display: inline-block; padding: 0.8rem 1.5rem;
  border-radius: var(--radius); font-weight: 700;
  text-align: center; border: 2px solid #e2e8f0;
}
.btn.primary { background: var(--brand); border-color: var(--brand); color: white; }
.btn-group { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; }
@media (max-width: 600px) {
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
}

/* --- FOOTER --- */

.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  align-items: start;
}

.footer-info h3 {
  color: white;
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--brand);
  font-weight: 600;
  flex-wrap: wrap;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav li {
  min-width: 140px;
}

.footer-nav a:hover {
  color: white;
}

.subfooter {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-nav li {
    min-width: auto;
  }
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 100px; left: 0; right: 0;
    background: white; border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
    transform: translateY(-150%); transition: 0.3s ease;
    z-index: 99;
  }
  .nav.open { transform: translateY(0); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
  .nav-buttons { flex-direction: column; width: 100%; }
  .btn-nav { width: 100%; text-align: center; border: 1px solid #e2e8f0; }
  
  .grid-history { grid-template-columns: 1fr; }

}
/* --- Styles Spécifiques Multi-Pages --- */

.page-head {
  background: var(--light);
  padding: 3rem 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}
.page-head h1 { color: var(--brand); margin-bottom: 0.5rem; }

/* Bloc Marques (Vente) */
.brand-block {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.brand-logo { flex: 0 0 200px; text-align: center; }
.brand-info { flex: 1; }

/* Grille 2 colonnes (Location / Détails) */
.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* Bouton lien simple dans les cartes accueil */
.btn-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-link:hover { color: var(--dark); }

.bg-light { background-color: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.full-width { width: 100%; text-align: center; margin-top: 1rem; }

@media (max-width: 768px) {
  .brand-block { flex-direction: column; text-align: center; }
  .grid-2-cols { grid-template-columns: 1fr; }
}
/* --- Styles pour la vidéo YouTube --- */
.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 16px; /* Arrondi légèrement plus prononcé */
  background: #000; /* Fond noir en attendant le chargement */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 999;
  }

  .mobile-sticky-cta a {
    text-align: center;
    padding: 14px 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    color: #0f172a;
  }

  .mobile-sticky-cta .cta-phone {
    background: #f8fafc;
  }

  .mobile-sticky-cta .cta-mail {
    background: #fff;
  }

  .mobile-sticky-cta .cta-devis {
    background: #f97316;
    color: #fff;
  }

  body {
    padding-bottom: 70px;
  }
}

    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2rem; }
    .form-group { margin-bottom: 1.5rem; }
    .form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--dark); }
    .form-group input, .form-group textarea {
      width: 100%; padding: 0.8rem; border: 1px solid #cbd5e1; border-radius: var(--radius);
      font-family: inherit; font-size: 1rem;
    }

    .contact-info-card { background: var(--light); padding: 2rem; border-radius: 12px; height: fit-content; }
    .info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
    .info-item i { color: var(--brand); font-size: 1.2rem; margin-top: 0.3rem; }
    .map-frame { width: 100%; height: 300px; border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
    
    @media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }