/* HEADER */
.site-header {
    background: #FFD700; /* même jaune que bande entête */
    color: #000;
    padding: 10px 20px;
    position: fixed;      /* fixée en haut */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;        /* pour rester au-dessus du contenu */
    box-sizing: border-box;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* limite l'espace pour le menu sur desktop */
    margin: 0 auto;    /* centre le header */
    width: 100%;
    box-sizing: border-box;
}

/* Logo + nom */
.logo-company {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    flex-shrink: 0; /* empêche le logo de rétrécir */
}

.logo {
    height: 60px;
    margin-right: 15px;
}

.company-name .line1,
.company-name .line2 {
    font-weight: bold;
    font-size: 18px;
    display: block;
    color: #000; /* noir obligatoire */
}

/* Empêche la barre de scroll horizontale sur mobile */
body {
    overflow-x: hidden;
    padding-top: 80px; /* décale le contenu sous le header */
    box-sizing: border-box;
}

/* Bouton hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 22px;
    justify-content: space-between;
    z-index: 1100; /* reste au-dessus du menu */
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: #000; /* bouton noir */
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animation croix */
.hamburger.toggle div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.toggle div:nth-child(2) {
    opacity: 0;
}
.hamburger.toggle div:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu mobile + tablette */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #FFD700; /* fond identique à l'entête */
        position: absolute;
        top: 80px; /* juste sous la barre d’entête */
        left: 0;
        width: 100%;
        text-align: center;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 15px 0;
    }

    .nav-links li a {
        color: #000;
        font-weight: bold;
        text-decoration: none;
        font-size: 18px;
    }
}

/* Menu desktop */
@media (min-width: 1025px) {
    .nav-links {
        display: flex;
        justify-content: flex-end; /* menu aligné à droite */
        gap: 20px;
        flex-wrap: wrap; /* permet aux items de ne pas dépasser */
    }

    .nav-links li {
        display: inline-flex;
        flex: 0 0 auto; /* empêche l'étirement horizontal */
    }

    .nav-links li a {
        color: #000;
        font-weight: bold;
        text-decoration: none;
        padding: 0 10px;
        white-space: nowrap; /* évite retour à la ligne */
        box-sizing: border-box;
    }

    .hamburger {
        display: none; /* hamburger invisible sur desktop */
    }
}

/* Bouton hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 22px;
    justify-content: space-between;
    z-index: 1100; /* reste au-dessus du menu */
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: #000; /* bouton noir */
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animation croix */
.hamburger.toggle div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.toggle div:nth-child(2) {
    opacity: 0;
}

.hamburger.toggle div:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu mobile + tablette */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #FFD700; /* fond identique à l'entête */
        position: absolute;
        top: 80px; /* juste sous la barre d’entête */
        left: 0;
        width: 100%;
        text-align: center;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 15px 0;
    }

    .nav-links li a {
        color: #000;
        font-weight: bold;
        text-decoration: none;
        font-size: 18px;
    }
}

/* Menu desktop */
@media (min-width: 1025px) {
    .nav-links {
        display: flex;
        gap: 20px;
    }

    .nav-links li a {
        color: #000;
        font-weight: bold;
        text-decoration: none;
    }

    .hamburger {
        display: none; /* hamburger invisible sur desktop */
    }
}

/* Hamburger et menu mobile/tablette */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #FFD700;  /* même jaune que header */
        position: absolute;
        top: 80px;             /* juste sous le header */
        left: 0;
        width: 100%;
        text-align: center;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 15px 0;
    }

    .nav-links li a {
        color: #000;
        font-weight: bold;
        text-decoration: none;
        font-size: 18px;
    }

    /* Empêche le menu de s'étirer en largeur */
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
}


/* Bouton hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 22px;
    justify-content: space-between;
    z-index: 1100; /* reste au-dessus du menu */
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: #000; /* bouton noir */
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animation croix */
.hamburger.toggle div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.toggle div:nth-child(2) {
    opacity: 0;
}

.hamburger.toggle div:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* Bouton hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 22px;
  justify-content: space-between;
  z-index: 1100; /* reste au-dessus du menu */
}

.hamburger div {
  width: 100%;
  height: 3px;
  background-color: #000; /* bouton noir */
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Animation croix */
.hamburger.toggle div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.toggle div:nth-child(2) {
  opacity: 0;
}
.hamburger.toggle div:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* Menu mobile + tablette */
@media (max-width: 1024px) {  /* étendu pour tablette */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #FFD700; /* fond identique à l'entête */
    position: absolute;
    top: 80px; /* juste sous la barre d’entête */
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 15px 0;
  }

  .nav-links li a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
  }
}

/* Menu desktop */
@media (min-width: 1025px) {
  .nav-links {
    display: flex;
    gap: 20px;
  }

  .nav-links li a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
  }

  .hamburger {
    display: none; /* hamburger invisible sur desktop */
  }
}


/* Empêche le scroll horizontal */
body, html {
    overflow-x: hidden;
}


div#wrapper.row::before {
    display: none !important;       /* Masque complètement le pseudo-élément */
    content: "" !important;         /* Annule le contenu */
    height: 0 !important;           /* Supprime toute hauteur */
    width: 0 !important;            /* Supprime toute largeur */
    background: none !important;    /* Supprime la couleur */
    margin: 0 !important;           /* Supprime tout décalage */
    padding: 0 !important;          /* Supprime tout padding */
}




/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: -150px; /* caché par défaut */
    left: 0;
    width: 100%;
    background-color: #FFD700; /* jaune */
    color: #000000; /* texte noir */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between; /* texte à gauche, bouton à droite */
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    font-family: Arial, sans-serif;
    font-size: 14px;
    z-index: 99999;
    transition: bottom 0.5s ease-in-out;
    flex-wrap: nowrap; /* PAS de wrap sur desktop */
}

/* Texte */
.cookie-banner p {
    margin: 0;
    padding-right: 10px;
    flex: 1 1 auto; /* texte prend tout l'espace disponible */
    min-width: 0; /* empêche le texte de pousser le bouton */
}

/* Bouton Accept - Desktop */
.cookie-banner button {
    background-color: #000000;
    color: #FFD700;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    flex-shrink: 0; /* ne pas rétrécir */
    max-width: 150px; /* largeur maximale pour desktop */
    white-space: nowrap;
    text-align: center;
    border-radius: 5px;
    margin-right: 30px; /* augmenté encore pour éloigner le bouton du bord */
}

/* Hover effet */
.cookie-banner button:hover {
    background-color: #FFD700;
    color: #000000;
}

/* Bannière visible */
.cookie-banner.show {
    bottom: 0; /* fait apparaître la bannière */
}

/* Responsive mobile / tablette */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        flex-wrap: wrap; /* autorise wrap sur mobile */
    }
    .cookie-banner button {
        margin-top: 10px;
        margin-right: 0;
        width: auto;
        max-width: 120px;
    }
}
