:root {
  --bg-nav: #2b2b2b;      /* gris foncé */
  --bg-page: #cccccc;     /* gris très pâle */
  /*--bg-page: #f5f5f5;      gris très pâle */
  --text: #ffffff;        /* texte blanc */
  --hover: #3a3a3a;       /* highlight clair */
  --highlight-glow: rgba(255, 255, 255, 0.2);
  --nav-h: 60px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background-color: var(--bg-page);
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

/* Barre de navigation fixe */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background-color: var(--bg-nav);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  z-index: 1000;
}

/* Marque à gauche */
.brand {
  font-size: 1.8rem;
  font-weight: normal;
  color: var(--text);
}

/* Menu aligné à droite */
.menu {
  margin-left: auto;
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

/* Liens du menu */
.menu > li {
  position: relative;
}

/* Liens du menu */
.menu a {
  display: block;
  padding: 0.4rem 1rem;                  /* moins haut qu'avant */
  margin: 0.3rem 0;                      /* espace au-dessus et en dessous */
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;                    /* forme bouton */
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

/* Highlight rectangulaire translucide + lumière douce */
.menu a:hover {
  background-color: rgba(255, 255, 255, 0.52);  /* blanc clair transparent */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}


/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: var(--bg-nav);
  top: 100%;
  right: 0;
  min-width: 160px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  border-radius: 4px;
}
.dropdown-menu li a {
  padding: 0.5rem 1rem;
  white-space: nowrap;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Espace sous la barre */
.spacer {
  height: var(--nav-h);
}

/* Sections de contenu */
/* Sections de contenu */
section {
  width: 90%;
  padding: 2rem 1rem;
  margin: auto; /* enlève le centrage qui limitait la largeur */

  position: relative;
  color: white;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Filigrane (sombre pour le texte) */
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Conteneur interne pour limiter le texte */
section .content {
  max-width: 800px;
}

main p {
  white-space: normal;   /* ou 'pre-line' si tu veux que \n du HTML brut soit respecté */
}

/* Boîte contact 
.contact-box {
  background-color: rgba(50, 50, 50, 0.9);
  padding: 2rem;
  max-width: 900px;
  margin: 2rem auto;
  border-radius: 10px; /* coins ronds */
  flex-direction: column;
  gap: 2rem;
}
*/
.contact-box {
  background-color: rgba(50, 50, 50, 0.9); /* Plus foncé : gris foncé avec légère transparence */
  padding: 2rem;
  max-width: 800px; /* Deux fois plus large qu’avant (ex : 400px → 800px) */
  margin: 2rem auto;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  color: white;
  gap: 2rem;
}


/* Infos de contact */
.contact-info {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.contact-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
}

.contact-info p {
  margin: 0 0 1rem;
  color: #333;
}

.contact-info i {
  margin-right: 0.5rem;
  color: #a00;
}

/* Formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 6px; /* coins ronds */
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  background-color: #a52a2a;
  color: white;
  padding: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 6px; /* coins ronds */
  font-weight: bold;
}

.contact-form button:hover {
  background-color: #8b2222;
}

/* Version mobile */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 0.5rem 1rem;
  }

  .brand {
    margin-bottom: 0.5rem;
  }

  .menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    width: 100%;
    padding: 0.6rem 1rem;
  }

  /* Menu déroulant en mobile : toujours en bloc */
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }
}


/* Version mobile pour la boîte BIO */
@media (max-width: 768px) {
  section#bio > div {
    width: 95% !important;   /* Presque pleine largeur */
    height: auto !important; /* Ajuste la hauteur au contenu */
    padding: 5px !important; /* Moins de padding sur mobile */
  }

  section#bio iframe {
    height: 400px; /* Hauteur adaptée pour éviter les débordements */
  }
}


