.boxfooter{
  background-color:#4c4c30;
  margin: 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.footer-overlay {
  text-align: center;
  color: #fff;
}

.footer-logo {
  width: 100px;
  height: auto;
  margin-top: 20px;
}

.footer-overlay .title {
  font-size: 1.5rem;
  color: #d2691e;
  margin: 0;
  white-space: nowrap;
}

.footer-overlay p {
  font-style: italic;
  font-size: 1rem;
  color: #fff;
  margin-top: 5px;
  white-space: nowrap;
  margin-bottom: 10px;
}
/* NAVIGATION DU FOOTER */

.footer-nav {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  
}

.footer-nav a {
  background-color: #d2691e;
  padding: 8px 18px;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

.footer-nav a:hover {
  background-color: #b75e1a;
}

/* COPYRIGHT */

.copyright {
  text-align: center;
  color: #fff;
  margin-top: 15px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ICONES SOCIALES */

.social-icons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  
}

.social-icons img {
  width: 48px;
  height: 48px;
  transition: 0.2s ease-in-out;
  margin-bottom: 20px;
}

.social-icons img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}
/* =========================
   COOKIE MODAL + FAB (BASE + THEME)
   ========================= */

/* ===== BASE ===== */
.cookie-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;

  /* ✅ centre TOUJOURS correctement */
  align-items: center;
  justify-content: center;

  /* ✅ évite que ça colle aux bords */
  padding: 24px;

  /* ✅ si l'écran est trop petit, on peut scroller */
  overflow: auto;
}


.cookie-modal.is-open{
  display: flex; /* ✅ important : flex pour centrer */
}

.cookie-modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(2px);
}

.cookie-modal__box{
  position: relative;

  /* ✅ largeur max + marge automatique */
  width: 100%;
  max-width: 600px;

  /* ✅ si la modale est trop haute : scroll à l’intérieur */
  max-height: calc(100vh - 48px);
  overflow: auto;

  /* le reste inchangé */
  background: #f7f3ea;
  border: 2px solid rgba(210,105,30,.35);
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow: rgba(50, 50, 93, 0.35) 0px 18px 40px -10px,
              rgba(0, 0, 0, 0.35) 0px 12px 22px -12px;
}

.cookie-modal__close{
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent !important;
  border: none !important;
  color: #4c4c30;
  font-size: 22px;
  cursor: pointer;
  opacity: .8;
}
.cookie-modal__close:hover{ opacity: 1; }

.cookie-modal__title{
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: #4c4c30;
  letter-spacing: .2px;
}

.cookie-modal__text{
  margin: 0 0 16px;
  color: rgba(0,0,0,.78);
  font-size: 1.08rem;
  line-height: 1.55;
}

.cookie-modal__actions{
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* prefs block */
.cookie-modal__prefs{
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(76,76,48,.18);
  background: rgba(255,255,255,.55);
}

.cookie-pref{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 6px;
}

.cookie-pref + .cookie-pref{
  border-top: 1px solid rgba(76,76,48,.12);
}

.cookie-pref__text strong{
  display: block;
  color: #4c4c30;
  font-size: 1.02rem;
}
.cookie-pref__text span{
  display: block;
  opacity: .8;
  font-size: .95rem;
}

/* switch */
.cookie-switch{
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.cookie-switch input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cookie-switch__slider{
  width: 50px;
  height: 25px;
  border-radius: 999px;
  background: rgba(76,76,48,.25);
  border: 2px solid rgba(76,76,48,.25);
  position: relative;
  transition: .15s ease;
}
.cookie-switch__slider::after{
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  top: 1px;
  left: 1px;
  background: #fff;
  box-shadow: rgba(0,0,0,.15) 0 6px 16px;
  transition: .15s ease;

}
.cookie-switch input:checked + .cookie-switch__slider{
  background: rgba(210,105,30,.85);
  border-color: rgba(210,105,30,.85);
}
.cookie-switch input:checked + .cookie-switch__slider::after{
  left: 23px;
}
.cookie-switch--disabled{ opacity: .7; }

/* boutons */
.cookie-btn{
  -webkit-appearance: none;
  appearance: none;
  background: transparent !important;
  background-image: none !important;
  border: 2px solid rgba(76,76,48,.35) !important;
  color: #4c4c30 !important;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease, background-color .12s ease;
}

.cookie-btn:hover{
  transform: translateY(-1px);
  opacity: .95;
}

.cookie-btn--primary{
  background: #d2691e !important;
  border-color: #d2691e !important;
  color: #fff !important;
}

.cookie-btn--primary:hover{
  background: #b75e1a !important;
  border-color: #b75e1a !important;
}

.cookie-btn--ghost{
  background: transparent !important;
}

/* FAB */
.cookie-fab{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9998;
  background: #4c4c30 !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.25) !important;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  font-size: 24px;
  box-shadow: rgba(0,0,0,.25) 0 12px 28px;
  cursor: pointer;
  display: none; /* JS mettra flex */
  align-items: center;
  justify-content: center;
}
.cookie-fab:hover{ transform: translateY(-1px); }

@keyframes cookiePulse {
  0%   { box-shadow: rgba(0,0,0,.25) 0 12px 28px; }
  50%  { box-shadow: rgba(210,105,30,.45) 0 0 0 10px; }
  100% { box-shadow: rgba(0,0,0,.25) 0 12px 28px; }
}
.cookie-fab.is-attention{
  animation: cookiePulse 1.6s ease-in-out 2;
}
