/* === COULEURS INSPIRÉES DU LOGO ===
   Beige clair : #fdfaf5
   Vieux rose  : #c98f84
   Olive doux  : #9cae88
   Brun foncé  : #3c2e27
*/

/* === TYPOGRAPHIE GÉNÉRALE === */

@import url('https://fonts.googleapis.com/css2?family=Playwrite+RO:wght@100..400&display=swap');

body {
  background-color: #fdfaf5;
  color: #3c2e27;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* === TITRES === */
h1, h2, h3, h4 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #3c2e27;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* === LIENS === */
a {
  color: #c98f84;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #9cae88;
}

/* === BANNIÈRE PERSONNALISÉE === */
.hero-banner {
  all: unset;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #fdfaf5;
  text-align: center;
  padding: 2rem 0;
  box-shadow: none !important;
  border: none !important;
}
.hero-text h1 {
  font-size: 2.5rem;
  margin: 0.2rem 0;
}
.hero-text p {
  font-size: 1.2rem;
  color: #9cae88;
  margin: 0;
}

/* === BOUTONS === */
button, .btn, .btn-primary {
  background-color: #c98f84;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}
button:hover, .btn:hover, .btn-primary:hover {
  background-color: #9cae88;
}

/* === BLOCS, MODULES === */
.card, .moduletable, .content-box {
  background-color: #ffffff;
  border: 1px solid #eae0d8;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* === IMAGES === */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: none !important;
}

/* === FORMULAIRES === */
input, textarea, select {
  border: 1px solid #d8cfc9;
  padding: 0.5rem;
  border-radius: 5px;
  width: 100%;
  font-family: inherit;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #9cae88;
}

/* === PIED DE PAGE === */
footer.footer {
  background-color: #f6f1eb;
  color: #7c6f68;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  margin-top: 3rem;
  border-top: 1px solid #e0d8d2;
}
footer.footer p {
  margin: 0;
}

/* === CORRECTIONS CASSIOPEIA === */
body.site {
  background: #fdfaf5 !important;
}
.container-header {
  background: transparent !important;
}
.hero-banner *, .hero-banner,
.hero-banner::before, .hero-banner::after {
  border: none !important;
  box-shadow: none !important;
  background: none !important;
}

/* === COULEUR DU TEXTE MENU BURGER COMME LE MENU DROITE === */
.menu-burger-header ul.menu li a,
.menu-burger-header .mod-menu a {
  color: #c98f84 !important; /* Rose, identique au texte du menu de droite */
}

.menu-burger-header ul.menu li a:hover,
.menu-burger-header .mod-menu a:hover {
  color: #9cae88 !important; /* Vieux rose au survol, comme tes liens */
}
/* ====== MENU BURGER UNIQUEMENT EN MOBILE ====== */
.menu-burger-header {
  display:  none !important; /* caché par défaut (écran large) */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fdfaf5;
  padding: 0.8rem 1rem;
  z-index: 1100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* bouton burger (couleur visible adaptée au thème) */
button.navbar-toggler {
  display: none;
  background-color: #c98f84 !important; /* vieux rose visible */
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: #fdfaf5 !important; /* icône du burger blanche */
}

/* Affiche le menu burger en mobile uniquement */
@media (max-width: 991px) {
  .menu-burger-header {
    display: block !important;
  }

  button.navbar-toggler {
    display: block !important;
  }

  /* évite que le contenu soit caché sous le menu */
  body {
    padding-top: 60px; /* ajuste selon la hauteur du menu burger */
  }
}

/* Masque le menu desktop latéral en mobile */
@media (max-width: 991px) {
  .container-sidebar-right,
  .sidebar-right {
    display: none !important;
  }
}

.citation-playwrite {
  font-family: 'Playwrite RO', cursive;
  font-weight: 300;
  font-size: 1rem;
  text-align: left;
  color: #3c2e27; /* Brun foncé du site */
  margin: 3rem 0 2rem;
  line-height: 1.5;
}

.citation-playwrite .auteur-helvetica {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #3c2e27; /* Olive doux */
}

