/* ===== FOOTER (cf. maquette : navy, sponsors, grande question Classica) ===== */
footer {
  background-color: #000026;
  color: white;
  text-align: center;
  padding: 64px 6vw 40px;
}

.footerr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* ===== SPONSORS FOOTER ===== */
.footer-sponsors {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding-bottom: 48px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-sponsors-label {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-weight: 600;
  font-size: .66rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.footer-sponsors-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-sponsor-item {
  width: 158px;
  height: 80px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,38,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.footer-sponsor-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,38,.45);
}

.footer-sponsor-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ===== QUESTION ===== */
.footer-q {
  margin: 0;
  font-family: 'Classica', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #fff;
}

.footer-q a {
  color: #FFDE00;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}

.footer-q a:hover {
  border-color: #FFDE00;
}

/* ===== ICÔNES SOCIALES ===== */
.social-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}

.social-links a:hover {
  background: #FFDE00;
  color: #00007C;
  border-color: #FFDE00;
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* ===== LOGO + LANGUE + COPYRIGHT ===== */
.footer-logo {
  height: 52px;
  width: auto;
  opacity: .9;
  margin-top: 6px;
}

.footer-lang {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-lang .lang-btn {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
}

.footer-lang .lang-btn:hover,
.footer-lang .lang-btn--active {
  color: #FFDE00;
}

.footer-lang .lang-sep {
  font-size: .8rem;
  color: rgba(255,255,255,.25);
}

.footer-copy {
  margin: 10px 0 0;
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
}

/* ===== SPONSORS — RESPONSIVE ===== */
@media (max-width: 480px) {
  .footer-sponsors-logos { gap: 12px; }

  .footer-sponsor-item {
    width: 124px;
    height: 64px;
    padding: 10px 14px;
  }

  .footer-sponsor-item:active {
    transform: scale(.95);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
  }
}

/* ===== MODAL SPONSOR ===== */
.sponsor-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}

.sponsor-modal--open {
  pointer-events: auto;
  opacity: 1;
}

.sponsor-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 60, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sponsor-modal-card {
  position: relative;
  background: #fff;
  color: #111;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  transform: translateY(20px) scale(.97);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
  opacity: 0;
}

.sponsor-modal--open .sponsor-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.sponsor-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.08);
  color: #333;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 1;
}
.sponsor-modal-close:hover  { background: rgba(0,0,0,.15); }
.sponsor-modal-close:active { background: rgba(0,0,0,.22); }

.sponsor-modal-logo-wrap {
  background: #f4f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
  border-bottom: 1px solid #eee;
}

.sponsor-modal-logo-wrap img {
  max-height: 80px;
  max-width: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sponsor-modal-body {
  padding: 28px 32px 32px;
}

.sponsor-modal-since {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: #00007c;
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.sponsor-modal-name {
  font-size: 22px;
  font-weight: 800;
  color: #00007c !important;
  margin-bottom: 12px;
  line-height: 1.2;
}

.sponsor-modal-desc {
  font-size: 14px;
  color: #333 !important;
  line-height: 1.75;
  margin: 0 0 16px;
}

.sponsor-modal-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #00007C;
  text-decoration: none;
  border-bottom: 2px solid #FFDE00;
  padding-bottom: 2px;
  transition: color .15s;
}
.sponsor-modal-link:hover { color: #ED0980; }

/* ── Mobile : bottom sheet ── */
@media (max-width: 600px) {
  .sponsor-modal {
    align-items: flex-end;
    padding: 0;
  }

  .sponsor-modal-card {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.32,0,.67,0), opacity .25s ease;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .sponsor-modal--open .sponsor-modal-card {
    transform: translateY(0);
  }

  /* Poignée visuelle */
  .sponsor-modal-card::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(0,0,0,.15);
    border-radius: 2px;
    margin: 12px auto 0;
  }

  .sponsor-modal-logo-wrap {
    padding: 20px 32px;
  }

  .sponsor-modal-logo-wrap img {
    max-height: 60px;
  }

  .sponsor-modal-body {
    padding: 20px 24px 28px;
  }

  .sponsor-modal-name  { font-size: 19px; }
  .sponsor-modal-close { top: 10px; right: 12px; width: 40px; height: 40px; }
}

