:root {
  /* 🎨 Palette principale (Mocha Mousse revisité avec énergie) */
  --primary: #B86B45;
  /* Terracotta chaud, plus vibrant que Mocha Mousse */
  --primary-dark: #8B4E31;
  /* Brun-roux profond */
  --primary-light: #E3BCA2;
  /* Ton clair doux pour arrière-plans */

  /* 🌈 Accent dynamique */
  --accent: #3E8E9E;
  /* Bleu canard contrastant, moderne */
  --accent-light: #63B4C9;
  /* Variante claire pour hover */
  --accent-soft: #A5D8DC;
  /* Pour éléments secondaires */

  /* ☀️ Neutres & structure */
  --bg-light: #F6F2E9;
  /* Beige clair, légèrement rosé */
  --bg-surface: #FFFFFFDD;
  /* Surfaces translucides */
  --bg-dark: #2E2439;
  /* Brun-violet profond, élégant */
  --text-dark: #2B201A;
  /* Texte principal lisible */
  --text-light: #FBF8F3;
  /* Texte sur fond foncé */

  /* 🧭 Typographie */
  --font-base: "Georgia", serif;
  --font-heading: "Montserrat", sans-serif;

  /* 💎 Style global */
  --radius: 10px;
  --shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --max-width: 1200px;

  /* 🌅 Dégradé chaleureux et moderne */
  --gradient: linear-gradient(135deg, #B86B45, #E3BCA2, #3E8E9E);
}

.hero-left a {
  background: white;
  color: var(--primary);
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
  text-decoration: none;
}

a:active {
  color: default;
}

a:visited {
  color: default;
  /* même couleur que les liens normaux */
  text-decoration: none;
  /* on peut aussi supprimer le soulignement */
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  box-shadow: var(--shadow);
  z-index: 10;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

/* menu desktop */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
nav a, nav a:visited {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}
nav a:hover {
  color: var(--accent);
}

/* bouton burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 20;
}
.burger span {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  background: var(--primary);
  transition: all 0.3s ease;
}

/* états du burger actif */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* menu mobile */
@media (max-width: 900px) {
  .burger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 280px;
    height: 100vh;
    background: var(--bg-light);
    color: var(--text-light);
    padding-top: 6rem;
    transition: right 0.4s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
  }

  nav a {
    color: var(--text-light);
    font-size: 1.2rem;
  }

  nav.show {
    right: 0;
  }

  /* fond semi-transparent derrière le menu */
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(3px);
    z-index: 5;
  }
}
