/* ==========================================================
   STYLE GLOBAL & DUAL THEMES (Prestige vs Nature)
   ========================================================== */
:root {
  /* Thème 1 : Prestige (Par défaut) */
  --bg-main: #0b1120;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-card-hover: rgba(51, 65, 85, 0.8);
  --accent-gold: #d4af37;
  --accent-gold-hover: #f3e5ab;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(212, 175, 55, 0.25);
  --nav-bg: rgba(11, 17, 32, 0.9);
  --font-title: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --radius: 12px;
}

[data-theme="nature"] {
  /* Thème 2 : Nature & Botanica */
  --bg-main: #132219;
  --bg-card: rgba(26, 46, 34, 0.75);
  --bg-card-hover: rgba(38, 66, 49, 0.85);
  --accent-gold: #a3b18a;
  --accent-gold-hover: #dad7cd;
  --text-main: #f4f6f0;
  --text-muted: #a3b18a;
  --border-color: rgba(163, 177, 138, 0.3);
  --nav-bg: rgba(19, 34, 25, 0.95);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================
   NAVIGATION IDENTIQUE SUR TOUTES LES PAGES
   ========================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--accent-gold);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.theme-toggle-btn:hover {
  background: var(--accent-gold);
  color: var(--bg-main);
}

/* Menu Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================
   LAYOUT GENERAL & BOUTONS
   ========================================================== */
main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.4) 0%, var(--bg-main) 100%), 
              url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1600&q=80') center/cover;
  border-bottom: 1px solid var(--border-color);
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background: var(--accent-gold);
  color: #0b1120;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

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

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-family: var(--font-title);
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

/* Formulaires */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-main);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
}

/* Footer */
footer {
  background: var(--nav-bg);
  border-top: 1px solid var(--border-color);
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active { display: flex; }
}