/*
   MENTIONS-LEGALES.CSS — Mini-Lab Numérique
   Styles pour la page Mentions légales & CGU
*/

/* ── LOGO TEXT (réutilisé dans header & footer) ── */
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-size: .95rem;
  font-weight: 700;
  color: #003189;
  line-height: 1.2;
}
.logo-subtitle {
  font-size: .7rem;
  color: #64748b;
  font-weight: 400;
}
.logo-circle.small {
  width: 36px;
  height: 36px;
  font-size: .75rem;
}

/* ── HEADER ── */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header-logo:hover .logo-title {
  color: #FF6B35;
}

/* ── NAV LOGIN BUTTON ── */
.nav-btn-login {
  background: #003189;
  color: #fff;
  border-radius: 8px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: .85rem;
  transition: .25s ease;
}
.nav-btn-login:hover {
  background: #00236b;
}

/* ── MENU BURGER RESPONSIVE ── */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    gap: 4px;
    z-index: 100;
  }
  .nav.nav-open {
    display: flex;
  }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #003189;
    cursor: pointer;
    padding: 4px 8px;
  }
  .header-inner {
    position: relative;
  }
}

/* ── HERO ── */
.mentions-hero {
  background: linear-gradient(135deg, #00236b 0%, #003189 60%, #003f9e 100%);
  padding: 90px 24px 70px;
  text-align: center;
  color: #fff;
}
.mentions-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.mentions-hero .hero-badge {
  display: inline-block;
  background: #FF6B35;
  color: #fff;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.mentions-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 14px;
}
.mentions-hero p {
  font-size: 1rem;
  opacity: .8;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .mentions-hero h1 {
    font-size: 1.8rem;
  }
}

/* ── SECTION PRINCIPALE ── */
.mentions-section {
  padding: 60px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

/* ── INTRODUCTION ── */
.mentions-intro {
  background: #f4f6fb;
  border-left: 4px solid #003189;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-bottom: 48px;
  font-size: .95rem;
  color: #64748b;
  line-height: 1.8;
}
.mentions-intro p {
  margin: 0 0 10px;
}
.mentions-intro p:last-child {
  margin-bottom: 0;
}
.mentions-intro a {
  color: #003189;
  font-weight: 600;
}

/* ── ARTICLE ── */
.mentions-article {
  margin-bottom: 52px;
}
.mentions-article h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #003189;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mentions-article h2 i {
  color: #FF6B35;
  font-size: 1rem;
}
.mentions-article p {
  font-size: .95rem;
  color: #1a1a2e;
  line-height: 1.8;
  margin-bottom: 14px;
}
.mentions-article p:last-child {
  margin-bottom: 0;
}
.mentions-article a {
  color: #003189;
  font-weight: 600;
  text-decoration: underline;
}
.mentions-article a:hover {
  color: #FF6B35;
}
.mentions-article ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.mentions-article li {
  font-size: .95rem;
  color: #1a1a2e;
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ── INFO CARDS (Éditeur / Hébergeur) ── */
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
.info-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,49,137,.08);
  transition: transform .2s, box-shadow .2s;
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,49,137,.14);
}
.info-card-icon {
  width: 44px;
  height: 44px;
  background: #e8edf8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003189;
  font-size: 18px;
  margin-bottom: 14px;
}
.info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
}
.info-card p {
  font-size: .875rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}
.info-card strong {
  color: #1a1a2e;
}
.info-card a {
  color: #003189 !important;
  font-weight: 600;
  text-decoration: underline !important;
}

@media (max-width: 640px) {
  .info-cards {
    grid-template-columns: 1fr;
  }
}

/* ── DATE / SOURCE ── */
.mentions-date {
  text-align: center;
  font-size: .8rem;
  color: #64748b;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
}
.mentions-date a {
  color: #003189;
  font-weight: 600;
  text-decoration: underline;
}

/* ── BOUTON PROFIL NAV ── */
.nav-btn-profil {
  background: #22c55e !important;
  border-color: #22c55e !important;
  display: inline-flex;
  align-items: center;
}
.avatar-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  color: #003189;
  font-weight: 700;
  font-size: 13px;
  margin-right: 6px;
}

/* ── FOOTER ── */
.footer {
  background: #1a1a2e;
  color: #fff;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 60px 24px 40px;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.logo-circle {
  width: 44px;
  height: 44px;
  background: #003189;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-brand .logo-text {
  padding-top: 2px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links h4 {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 12px;
}
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: .25s ease;
  text-decoration: none;
}
.footer-links a:hover {
  color: #FF6B35;
}
.footer-contact h4 {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 12px;
}
.footer-contact p {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin: 0 0 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-contact i {
  color: #FF6B35;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── BANDE DONATEURS ── */
.footer-donateurs {
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 24px 28px;
  text-align: center;
}
.donateurs-label {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.donateurs-label i {
  color: #FF6B35;
}
.donateurs-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.donateur-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .7;
  transition: opacity .25s ease, transform .25s ease;
  text-decoration: none;
}
.donateur-item:hover {
  opacity: 1;
  transform: scale(1.05);
}
.donateur-item img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 24px;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── RESPONSIVE FOOTER ── */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .donateurs-logos {
    gap: 18px;
  }
}