/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= VARIABLES ================= */
:root {
  --jaune: #f7c600;
  --noir: #111;
  --blanc: #fff;
}

/* ================= GLOBAL ================= */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--blanc);
  color: var(--noir);
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--noir);
  padding: 20px 40px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 40px;
  background-color: rgba(17,17,17,0.95);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.header-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================= LOGO ================= */
.logo img {
  height: 60px;
  transition: height 0.3s ease;
}

.header.scrolled .logo img {
  height: 45px;
}

/* ================= NAVIGATION ================= */
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li {
  position: relative;
}

.menu > li > a {
  color: var(--blanc);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 5px;
  display: block;
  transition: color 0.3s;
}

/* hover liens principaux */
.menu > li > a:hover {
  color: var(--jaune);
}

/* ================= SOUS-MENUS ================= */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--noir);
  list-style: none;
  min-width: 180px;
  display: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.submenu li a {
  color: var(--blanc);
  padding: 12px 15px;
  font-size: 14px;
  display: block;
  text-decoration: none;
}

/* hover sous-menu */
.submenu li a:hover {
  background-color: var(--jaune);
  color: var(--noir);
}

/* affichage desktop */
.dropdown:hover .submenu {
  display: block;
}


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

.burger span {
  width: 25px;
  height: 3px;
  background-color: var(--jaune);
}

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

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: var(--noir);
    display: none;
    flex-direction: column;
  }

  .nav.active {
    display: flex;
  }

  .menu {
    flex-direction: column;
    gap: 0;
  }

  .menu > li > a {
    padding: 15px;
    border-top: 1px solid #222;
  }

  .submenu {
    position: static;
    display: none;
    box-shadow: none;
  }

  .dropdown.open .submenu {
    display: block;
  }
}

@media (max-width: 500px) {
  .header {
    padding: 10px 20px;
  }

  .logo img {
    height: 45px;
  }
}

.social-icons {
  display: flex;
  gap: 15px;          /* espace entre les icônes */
  justify-content: center; /* centré horizontalement */
  margin-top: 20px;   /* ou à ajuster selon l'emplacement */
}

.social-icons a img {
  width: 32px;        /* taille des icônes */
  height: 32px;
  transition: transform 0.3s, opacity 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.2); /* léger zoom au survol */
  opacity: 0.8;          /* effet visuel */
}

@media (max-width: 500px) {
  .social-icons a img {
    width: 24px;
    height: 24px;
  }
}


/* =======================================================
   PAGE BULLES D'INFO
======================================================= */

.page-bulle {
    max-width: 1200px;
    margin: 150px auto 80px;
    padding: 0 20px;
}

.page-bulle h1 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--noir);
    margin-bottom: 50px;
    position: relative;
}

.page-bulle h1::after {
    content: "";
    display: block;
    width: 90px;
    height: 5px;
    background: var(--jaune);
    margin: 18px auto 0;
    border-radius: 50px;
}

/* =======================================================
   LISTE DES BULLES
======================================================= */

.bulle-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* =======================================================
   CARTE
======================================================= */

.bulle-info {
    background: #fff;
    border-radius: 18px;
    padding: 35px;
    border-left: 8px solid var(--jaune);

    box-shadow: 0 12px 35px rgba(0,0,0,.08);

    transition: .3s ease;
}

.bulle-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0,0,0,.15);
}

/* =======================================================
   TITRE
======================================================= */

.bulle-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--noir);
}

/* =======================================================
   DATE
======================================================= */

.bulle-info .date {
    display: inline-block;

    background: var(--jaune);
    color: var(--noir);

    padding: 6px 14px;

    border-radius: 30px;

    font-size: .9rem;

    font-weight: 700;

    margin-bottom: 25px;
}

/* =======================================================
   CONTENU
======================================================= */

.bulle-info .contenu {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.bulle-info .contenu p {
    margin-bottom: 15px;
}

.bulle-info .contenu ul,
.bulle-info .contenu ol {
    margin: 15px 0 15px 30px;
}

/* =======================================================
   BOUTON PDF
======================================================= */

.bulle-info .pdf-btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 30px;

    padding: 12px 24px;

    background: var(--noir);

    color: white;

    text-decoration: none;

    border-radius: 50px;

    font-weight: 600;

    transition: .3s;
}

.bulle-info .pdf-btn:hover {

    background: var(--jaune);

    color: var(--noir);

    transform: scale(1.04);
}

/* =======================================================
   SÉPARATEUR
======================================================= */

.bulle-separation {

    width: 120px;

    height: 2px;

    background: #ddd;

    margin: auto;
}

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

@media(max-width:900px){

    .page-bulle{

        margin-top:130px;
    }

    .page-bulle h1{

        font-size:2.2rem;
    }

    .bulle-info{

        padding:25px;
    }

    .bulle-info h2{

        font-size:1.5rem;
    }

}

@media(max-width:600px){

    .page-bulle{

        padding:0 15px;
    }

    .page-bulle h1{

        font-size:1.8rem;
    }

    .bulle-info{

        padding:20px;
    }

    .bulle-info h2{

        font-size:1.3rem;
    }

    .bulle-info .pdf-btn{

        width:100%;

        justify-content:center;
    }

}