/* =========================
   RESET GLOBAL
========================= */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   HEADER FIXE
========================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #232323; /* 🔒 HEADER OPAQUE */
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================
   BRAND
========================= */
.brand {
    display: flex;
    align-items: center;
}

.logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin-right: 15px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-top,
.brand-bottom {
    color: #BBBBBB; /* ✅ COULEUR TEXTE SOCIÉTÉ */
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
}

/* =========================
   MENU DESKTOP
========================= */
.main-nav {
    position: relative;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #BBBBBB; /* ✅ COULEUR BOUTONS */
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.main-nav a:hover {
    color: #ffffff;
}

/* =========================
   BURGER
========================= */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger span {
    width: 26px;
    height: 3px;
    background-color: #BBBBBB; /* cohérent avec le texte */
    margin: 4px 0;
}

/* =========================
   MOBILE MENU
========================= */
@media (max-width: 900px) {
    .burger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: #232323; /* 🔒 MENU MOBILE OPAQUE */
        z-index: 2000;
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 30px 0 40px;
        gap: 22px;
    }

    .main-nav a {
        font-size: 16px;
        font-weight: 700;
        color: #BBBBBB;
    }
}

/* =========================
   ESPACE HEADER FIXE
========================= */
body {
    padding-top: 90px;
}

.home-content {
    background-color: transparent !important; /* transparent sur toutes les pages */
    color: #BBBBBB; /* garde le texte gris clair */
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background-color: #000; /* fond noir */
  color: #BBBBBB; /* texte gris clair */
  padding: 40px 20px 20px 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-title {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-toggle {
  display: none; /* affiché seulement sur mobile */
  font-size: 14px;
  transition: transform 0.3s;
}

.footer-content {
  font-size: 13px;
  line-height: 1.5;
}

.footer-link {
  color: #BBBBBB;
  text-decoration: none;
}

.footer-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Copyright */
.footer-copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
  color: #888888;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-section {
    margin-bottom: 10px; /* réduit l’espacement vertical */
  }

  /* Toggle pour mobile */
  .footer-toggle {
    display: inline-block;
  }

  .footer-content {
    display: none; /* caché par défaut sur mobile */
    margin-top: 5px;
  }

  .footer-section.active .footer-content {
    display: block;
  }

  .footer-section.active .footer-toggle {
    transform: rotate(90deg); /* triangle pointe vers le bas quand ouvert */
  }
}



/* =========================
   COOKIE BANNER
========================= */

.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    width: 100%;
    background: #f2f2f2;
    z-index: 9999;
    transition: bottom 0.4s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-sizing: border-box;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.cookie-content a {
    color: #000;
    text-decoration: underline;
}

.cookie-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cookie-btn:hover {
    opacity: 0.85;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-btn {
        align-self: flex-end;
    }
}