: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(100% - 2rem, 1200px); margin-inline: auto; }

/* --- 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;
}
.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: 0.95rem;
  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;
  height:30vh; /* Hauteur importante pour l'impact visuel */
  min-height: 200px;
  overflow: hidden;
  background: linear-gradient(to right, #e2e8f0, #fcfaf8 20%, #f8fafc 80%, #e2e8f0);;
}
.slide {
  width: 100%; height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
/* 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(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}
.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; }

.site-footer { background: var(--dark); color: #cbd5e1; padding-top: 3rem; }
.footer-content {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2rem;
}
.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;
}
.footer-nav ul { display: flex; gap: 1.5rem; }
.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; }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 60px; 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; }
  .hero-slider { height: 60vh; }
}
/* --- 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%;
  padding-bottom: 30.25%; /* Ratio 16/9 */
  height: 0;
  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%;
}