/* =========================================================
   Le Relais du Chapeau Rouge — Design Actuel & Haut de Gamme
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

:root {
  --c-bg: #f9f8f6;            /* Fond de page très légèrement chaud */
  --c-surface: #ffffff;       /* Blanc pur pour les cartes */
  --c-dark: #121110;          /* Noir encre profond pour les textes forts */
  --c-muted: #5c5752;         /* Gris taupe subtil pour les textes secondaires */
  --c-gold: #b38b4a;          /* Or élégant */
  --c-gold-dark: #8f6c33;     /* Or foncé pour les survols */
  --c-border: #e6e2db;        /* Lignes de structure fines et propres */
  
  --header-bg: #121110;       /* Barre de navigation sombre et prestigieuse */
  --header-text: #f9f8f6;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --shadow-subtle: 0 10px 30px rgba(18, 17, 16, 0.05);
  --shadow-hover: 0 20px 40px rgba(18, 17, 16, 0.1);
  --radius: 8px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body {
  font-family: var(--font-sans);
  background-color: var(--c-bg);
  color: var(--c-dark);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   En-tête & Navigation (Style Grand Hôtel)
   ========================================================= */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.8rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  text-decoration: none;
}

/* Logo agrandi */
.brand img {
  height: 95px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand:hover img {
  transform: scale(1.02);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-text small {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--c-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

.nav { 
  display: flex; 
  gap: 2.2rem; 
  align-items: center; 
}

.nav a {
  text-decoration: none;
  color: #d1cbc1;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.nav a:hover, 
.nav a.active { 
  color: var(--c-gold); 
}

.btn-book {
  background: var(--c-gold) !important;
  color: #121110 !important;
  padding: 0.65rem 1.6rem !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

.btn-book:hover {
  background: #ffffff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #ffffff;
  cursor: pointer;
}

/* =========================================================
   Hero Section (Immersion Vidéo)
   ========================================================= */
.hero-video-container {
  position: relative;
  min-height: 580px;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  background-color: #121110;
}

.hero-video {
  position: absolute;
  top: 50%; 
  left: 50%;
  min-width: 100%; 
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18,17,16,0.3), rgba(18,17,16,0.7));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 2rem;
}

.hero-subtitle {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--c-gold);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 2.2rem;
}

.hero-title .highlight {
  font-style: italic;
  color: #e3c493;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--c-gold);
  color: #121110 !important;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(179, 139, 74, 0.3);
  transition: var(--transition);
}

.btn-gold svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #121110;
  stroke-width: 2.5;
  transition: transform 0.3s ease;
}

.btn-gold:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.btn-gold:hover svg {
  transform: translateX(4px);
}

/* =========================================================
   Grille de Cartes (Structure aérée et contrastée)
   ========================================================= */
.section { 
  padding: 6rem 2rem; 
}

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

.grid-lodge {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.card-lodge {
  background: var(--c-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.card-lodge:hover {
  transform: translateY(-6px);
  border-color: var(--c-gold);
  box-shadow: var(--shadow-hover);
}

.card-lodge.text-center {
  text-align: center;
}

.card-img-container {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: #eae5dc;
}

.card-img-container img.card-photo {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-lodge:hover .card-img-container img.card-photo { 
  transform: scale(1.04); 
}

.picto-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.picto-badge img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.card-body {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 0.8rem;
}

.card-body p {
  color: var(--c-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.card-link {
  color: var(--c-gold-dark);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.card-lodge.text-center .card-link {
  justify-content: center;
}

.card-link:hover { 
  color: var(--c-dark); 
  gap: 0.8rem; 
}

/* =========================================================
   Pied de page (Propre et structuré)
   ========================================================= */
.site-footer {
  background-color: var(--header-bg);
  color: #ffffff;
  padding: 5rem 2rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-cols {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3.5rem;
}

.footer-cols h4 {
  font-family: var(--font-serif);
  color: var(--c-gold);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.footer-cols p {
  color: #b3aea6;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-sub {
  max-width: 1240px;
  margin: 4rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.8rem;
  color: #7a756e;
}

/* =========================================================
   Responsive Mobile & Menu Burger (.active)
   ========================================================= */
@media (max-width: 900px) {
  .topbar { 
    flex-direction: row; 
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
  }
  .brand img {
    height: 70px; 
  }
  .menu-toggle { 
    display: block; 
    position: static;
  }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 1.2rem;
    text-align: center;
    background: var(--header-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
  }
  /* Correction clé : s'accorde avec le .active de site.js */
  .nav.active { 
    display: flex !important; 
  }
  .hero-title { 
    font-size: 2.2rem; 
  }
  .grid-lodge {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 4rem 1.2rem;
  }
}
```[cite: 3]