.banniere-cookies {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #182642;
  color: #fff;
  padding: 1rem;
  font-family: 'Inter', sans-serif;
  z-index: 9999;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}

.banniere-cookies .contenu-banniere {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.banniere-cookies p {
  margin: 0;
  font-size: 0.95rem;
}

.banniere-cookies a {
  color: #2ec4b6;
  text-decoration: underline;
}

.actions-cookies {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.actions-cookies button {
  background: #2ec4b6;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.actions-cookies button:hover {
  background: #1bb1a6;
}
.panneau-preferences {
  width: 100%;
  background-color: #fff;
  color: #182642;
  border-top: 1px solid #ddd;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  padding: 1.5rem 0;
  font-family: 'Inter', sans-serif;
}

.preferences-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.preferences-wrapper h4 {
  margin-top: 0;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.preferences-wrapper p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #444;
}

.bloc-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bloc-option input[type="checkbox"] {
  margin-top: 4px;
  transform: scale(1.2);
  accent-color: #2ec4b6;
}

.bloc-option label {
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.4;
}

.bloc-option label strong {
  display: block;
  font-size: 1rem;
  color: #182642;
}

.bloc-option label span {
  color: #666;
}

.bloc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.bloc-buttons button {
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-valider {
  background-color: #2ec4b6;
  color: white;
  transition: background 0.3s ease;
}

.btn-valider:hover {
  background-color: #1bb1a6;
}

.btn-annuler {
  background-color: #eee;
  color: #333;
  transition: background 0.3s ease;
}

.btn-annuler:hover {
  background-color: #ddd;
}
/* --- MODALE COOKIES --- */
.modal-cookies {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
}

.modal-cookies-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.modal-cookies-content {
  position: relative;
  background-color: #fff;
  color: #182642;
  max-width: 600px;
  width: 90%;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-cookies-content h4 {
  margin-top: 0;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.modal-cookies-content p {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  color: #444;
}

.modal-cookies-content .bloc-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.modal-cookies-content input[type="checkbox"] {
  margin-top: 4px;
  transform: scale(1.2);
  accent-color: #2ec4b6;
}

.modal-cookies-content label {
  font-size: 0.95rem;
  cursor: pointer;
  line-height: 1.4;
}

.modal-cookies-content label strong {
  display: block;
  font-size: 1rem;
}

.modal-cookies-content label span {
  color: #666;
}

.modal-cookies-content .bloc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.modal-cookies-content .bloc-buttons button {
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}

.modal-cookies-content .btn-valider {
  background-color: #2ec4b6;
  color: white;
  transition: background 0.3s ease;
}

.modal-cookies-content .btn-valider:hover {
  background-color: #1bb1a6;
}

.modal-cookies-content .btn-annuler {
  background-color: #eee;
  color: #333;
  transition: background 0.3s ease;
}

.modal-cookies-content .btn-annuler:hover {
  background-color: #ddd;
}

/* Page Cookies.php */

.page-cookies .conteneur {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.page-cookies h1,
.page-cookies h2 {
  color: var(--couleur-texte);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-cookies p {
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: var(--couleur-texte);
}

.page-cookies ul {
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.page-cookies ul li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.page-cookies ul li i {
  margin-right: 0.5rem;
  color: var(--couleur-primaire);
}

#btn-gerer-cookies {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  background: var(--couleur-primaire);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s;
}

#btn-gerer-cookies:hover {
  background: var(--couleur-accent);
}


.panneau-preferences {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.panneau-preferences .contenu-modale {
  background-color: #fff;
  padding: 2rem;
  width: 95%;
  max-width: 600px;
  border-radius: var(--radius);
  box-shadow: var(--ombre-generale);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.panneau-preferences h3 {
  margin-top: 0;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.panneau-preferences ul {
  padding-left: 1rem;
}

.panneau-preferences ul li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.panneau-preferences input[type="checkbox"] {
  margin-left: 0.6rem;
  transform: scale(1.2);
  accent-color: var(--couleur-primaire);
}

.panneau-preferences .btn-secondaire {
  background: var(--couleur-primaire);
  color: #fff;
  border: none;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.panneau-preferences .btn-secondaire:hover {
  background: var(--couleur-accent);
}

.panneau-preferences .fermer-modale {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.3rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =================================== */
/* PAGE COOKIES – Style expert structuré */
/* =================================== */
.page-cookies {
  font-family: 'Inter', sans-serif;
  background: #f8f9fc;
  padding-bottom: 4rem;
}

.page-cookies .conteneur {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.page-cookies h1 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #182642;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.page-cookies h2 {
  font-size: 1.4rem;
  color: #2ec4b6;
  margin-top: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-cookies p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.2rem;
}

.page-cookies ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.page-cookies ul li {
  background: #f1f4f8;
  padding: 0.8rem 1rem;
  margin-bottom: 0.7rem;
  border-left: 4px solid #2ec4b6;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.page-cookies ul li i {
  color: #2ec4b6;
  font-size: 1rem;
  margin-top: 2px;
}

/* Bouton principal */
.bloc-boutons {
  margin-top: 1.5rem;
}

.bloc-boutons .btn-valider {
  background: #2ec4b6;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.bloc-boutons .btn-valider:hover {
  background: #1bb1a6;
}

/* Liens RGPD */
.page-cookies a {
  color: #2ec4b6;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.page-cookies a:hover {
  color: #1bb1a6;
}

.page-cookies {
  font-family: 'Inter', sans-serif;
  background: #f8f9fc;
  padding-bottom: 4rem;
}

.conteneur-cookies {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.bandeau-cookies {
  background: #182642;
  color: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.bandeau-cookies i {
  font-size: 1.4rem;
  color: #ffd166;
  flex-shrink: 0;
}

.bandeau-cookies p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #f1f1f1;
}


.titre-cookies {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #182642;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sous-titre-cookies {
  font-size: 1.4rem;
  color: #2ec4b6;
  margin-top: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bloc-cookies {
  margin-bottom: 2rem;
}

.bloc-cookies p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

.liste-cookies {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.liste-cookies li {
  background: #f1f4f8;
  padding: 0.8rem 1rem;
  margin-bottom: 0.7rem;
  border-left: 4px solid #2ec4b6;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.zone-bouton-cookies {
  margin-top: 1rem;
}

.btn-cookies-principal {
  background: #2ec4b6;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-cookies-principal:hover {
  background: #1bb1a6;
}

.page-cookies a {
  color: #2ec4b6;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.page-cookies a:hover {
  color: #1bb1a6;
}
