/* ============================================================
   celina-footer.css  v1.0.0 — 12.6.26
   Footer Célina Ramsauer — chargé sur toutes les pages
   ============================================================ */

/* ── Wrapper ─────────────────────────────────────────────── */

.cr-footer {
  background-color: #1C0038;
  color: rgba(255,255,255,0.75);
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  -webkit-font-smoothing: antialiased;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.25rem, 3vw, 2rem);
}

.cr-footer__inner {
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ── Section principale (logo + nav + social) ────────────── */

.cr-footer__main {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

/* ── Logo ────────────────────────────────────────────────── */

.cr-footer__logo a { display: inline-block; }

.cr-footer__logo img {
  width: clamp(110px, 12vw, 160px);
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

/* ── Nav liens utiles (desktop — caché en mobile via style.css) ── */

.cr-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.375rem 1.25rem;
  justify-content: center;
  align-items: center;
}

.cr-footer .cr-footer__links a,
.cr-footer .cr-footer__link-btn {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.2s;
}

.cr-footer .cr-footer__links a:hover,
.cr-footer .cr-footer__link-btn:hover {
  color: #fff !important;
}

/* ── Réseaux sociaux ─────────────────────────────────────── */

.cr-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cr-footer .cr-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  transition: background 0.2s;
  flex-shrink: 0;
}

.cr-footer .cr-footer__social-link:hover {
  background: rgba(255,255,255,0.16);
}

.cr-footer__social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

/* ── Copyright ───────────────────────────────────────────── */

.cr-footer__bottom {
  text-align: center;
}

.cr-footer .cr-footer__credits {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3) !important;
  margin: 0;
}

.cr-footer .cr-footer__credits a {
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.cr-footer .cr-footer__credits a:hover {
  color: rgba(255,255,255,0.8) !important;
}

/* ── Popup Newsletter ────────────────────────────────────── */

.cr-popup {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cr-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cr-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 0, 22, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cr-popup__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 2px;
  padding: clamp(2rem, 4vw, 2.75rem);
  max-width: min(520px, calc(100vw - 2rem));
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(12px);
  transition: transform 0.25s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
}

.cr-popup.is-open .cr-popup__box {
  transform: translateY(0);
}

.cr-popup__close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  color: rgba(28,0,56,0.5);
  transition: background 0.15s, color 0.15s;
}

.cr-popup__close:hover {
  background: rgba(28,0,56,0.07);
  color: #1C0038;
}

.cr-popup__close svg { width: 20px; height: 20px; pointer-events: none; }

.cr-popup__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #1C0038;
  margin: 0 0 1.25rem;
  line-height: 1.15;
}

/* GF inside popup — reset */
.cr-popup__box .gform_wrapper input[type="text"],
.cr-popup__box .gform_wrapper input[type="email"],
.cr-popup__box .gform_wrapper textarea {
  border: 1px solid rgba(28,0,56,0.2) !important;
  border-radius: 2px !important;
  padding: 0.6rem 0.875rem !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 0.9rem !important;
  color: #1C0038 !important;
}

.cr-popup__box .gform_wrapper input[type="submit"],
.cr-popup__box .gform_wrapper .gform_button {
  background: #1C0038 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 2px !important;
  padding: 0.65rem 1.5rem !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

.cr-popup__box .gform_wrapper input[type="submit"]:hover,
.cr-popup__box .gform_wrapper .gform_button:hover {
  background: #3D0B5C !important;
}
