/* Thème sombre par défaut */
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Trebuchet MS";
  background: #0b0b0b;
  color: #f2f2f2;
  line-height: 1.45;
  transition: background 0.4s, color 0.4s;
  cursor: url("data:image/svg+xml;utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%3E%3Ctext%20x='50%25'%20y='50%25'%20dominant-baseline='middle'%20text-anchor='middle'%20font-size='24'%3E%F0%9F%A6%96%3C/text%3E%3C/svg%3E") 16 16, auto;
}

/* Bouton clair/sombre */
.mode {
  position: absolute;
  opacity: 0;
}
.mode-btn {
  position: fixed;
  top: 15px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
  user-select: none;
  z-index: 1000;
  transition: transform 0.2s;
}
.mode-btn:hover {
  transform: scale(1.1);
}

/* Quand le mode clair est coché */
.mode:checked + .mode-btn {
  content: "☀️";
}
.mode:checked ~ body,
.mode:checked ~ * {
  background: white;
  color: #111;
}
.mode:checked ~ header,
.mode:checked ~ .site-header {
  background: #eeeeee;
  border-color: #ccc;
}
.mode:checked ~ .bloc {
  background: #fafafa;
  border-color: #ccc;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.mode:checked ~ .btn {
  border-color: #333;
  color: #333;
}
.mode:checked ~ .btn:hover {
  background: #333;
  color: #fff;
}
.mode:checked ~ .dropbtn,
.mode:checked ~ .dropdown-content a,
.mode:checked ~ .main-nav a {
  color: #111;
  background-color: transparent;
}
.mode:checked ~ .dropdown-content {
  background-color: #fff;
  border-color: #ccc;
}

/* Le reste de ton CSS original inchangé */
.site-header {
  padding: 12px 24px;
  background: #111111;
  border-bottom: 2px solid #091C0C;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}
.brand img { display: block; width: 60px; height: 60px; object-fit: contain; }
.main-nav a {
  color: #f2f2f2; text-decoration: none; font-weight: 700;
  margin-right: 12px; padding: 6px 8px; border-radius: 6px;
}
.main-nav a:hover { color: #4caf50; }
.langue a {
  color: #f2f2f2; text-decoration: none; font-weight: 700;
  margin-left: 8px; padding: 6px 8px; border-radius: 6px;
}

.langue a.active { text-decoration: underline; }

.banniere-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block; 
  border-radius: 15px;
}

.container { width: 90%; max-width: 1200px; margin: 36px auto; }

.grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 28px;
}

.bloc {
  background: #3F2B16; border: 4px solid #091C0C;
  border-radius: 12px; padding: 18px; position: relative;
  overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  transition: transform .18s ease, box-shadow .18s ease;
}

.bloc:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.6); }

.bloc h3 { color: #4caf50; margin-bottom: 8px; font-size: 1.05rem; }

.bloc .lead { color: #efe7df; margin-bottom: 8px; }

.toggle { position: absolute; opacity: 0; pointer-events: none; }

.btn {
  display: inline-block; cursor: pointer;
  border: 2px solid #091C0C; color: #091C0C; background: transparent;
  padding: 6px 10px; border-radius: 8px; font-weight: 700;
  user-select: none; transition: background .12s, color .12s, transform .08s;
}

.btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(76,175,80,0.12); }

.bloc > .btn-open { margin-bottom: 10px; }

.extra { display: none; margin-top: 8px; color: #efe7df; }

.bloc > .btn-close { display: none; margin-top: 12px; }

.toggle:checked ~ .extra { display: block; }

.toggle:checked ~ .btn-close { display: inline-block; }

.toggle:checked ~ .btn-open { display: none; }

.btn:hover { background: #091C0C; color: #f2f2f2; }

.btn:active { transform: translateY(1px); }

@media (max-width: 1000px) { .grille { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 640px) { .grille { grid-template-columns: 1fr; } }

.site-footer {
  text-align: center; padding: 18px 0;
  border-top: 2px solid #091C0C; color: #efe7df;
}

.site-footer a { color: #efe7df; text-decoration: none; }

.dropdown { position: relative; display: inline-block; }

.dropbtn {
  background: transparent; color: #f2f2f2; font-weight: 700;
  border: none; padding: 6px 8px; cursor: pointer; border-radius: 6px;
}

.dropbtn:hover { color: #4caf50; }

.dropdown-content {
  display: none; position: absolute; background-color: #111111;
  min-width: 160px; border: 2px solid #091C0C; border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4); z-index: 100;
}

.dropdown-content a {
  color: #f2f2f2; padding: 10px 14px; text-decoration: none;
  display: block; font-weight: 600;
}

.dropdown-content a:hover { background-color: #091C0C; color: #4caf50; }

.dropdown:hover .dropdown-content { display: block; }

audio{
  width: 215px;   /* largeur du lecteur audio */
  height: 35px;   /* hauteur du lecteur audio */
  vertical-align: middle;
}