@font-face {
    font-family: 'Ampire';
    src: url('police/ampireexpand.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Manolette';
    src: url('police/MANOLETE.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

header {
    background: white;
    padding: 1em 0;
    color: black;
}

body {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        margin: 0; 
        padding: 0;
    }

    * {
        box-sizing: border-box; 
    }
}

.containernav {
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  gap: 200px; 
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; 
}


.logo-nav {
    display: flex;
    align-items: center; 
    gap: 20px;
    height: 100%; 
}

.logo-nav a {
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center; 
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center; 
}

nav ul li {
    position: relative; 
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    transition: color 0.3s;
    line-height: 1; 
    display: flex; 
    align-items: center;
    font-family: 'Poppins', 'sans-serif';
}


nav ul li:nth-child(1) a {
    color: #9307ED;
}



nav ul li:nth-child(2) a {
    color: #FF0000;
}

nav ul li:nth-child(3) a {
    color: #FFD700;
}

nav ul li:nth-child(4) a {
    color: #9307ED;
}

nav ul li:nth-child(5) a {
    color: #FF0000;
}

nav ul li:nth-child(6) a {
    color: #FFD700;
}









nav ul li:nth-child(1) a:hover {
    color: #FF0000;
}

nav ul li:nth-child(2) a:hover {
    color: #FFD700;
}

nav ul li:nth-child(3) a:hover {
    color: #9307ED;
}

nav ul li:nth-child(4) a:hover {
    color: #FF0000;
}

nav ul li:nth-child(5) a:hover {
    color: #FFD700;
}

nav ul li:nth-child(6) a:hover {
    color: #9307ED;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 30px;
    padding: 10px;
}

@media (max-width: 768px) {
    .containernav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .menu-toggle {
        display: block;
        margin-right: 14px;
    }

    .logo-nav {
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    nav {
        width: 100%;
        background-color: white;
        position: relative;
        z-index: 1000;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 115%; 
        right: 15%;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 0;
        margin-top: 0;
    }

    nav ul.active {
        display: flex; 
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        color: #fff;
        text-decoration: none;
    }

    .dropdown-menu {
        display: none;
        flex-direction: column;
        background-color: white;  
        padding-left: 0;
        margin-top: 5px;
    }

    nav ul.active .dropdown-menu {
        display: flex; 
    }

    .dropdown-menu li a {
        color: #fff; 
        padding: 10px 15px;
        text-decoration: none;
        display: block;
        background-color: transparent;
        text-align: center;
        margin-left: 25px;
    }

    .dropdown-menu li a:hover {
        background-color: #444; 
    }

    nav ul li:nth-child(4) {
        margin-top: 80px; 
    }

}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 46%;
    transform: translateX(-50%); 
    margin-left: 0px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 5px;
}

.dropdown-menu li a {
    text-decoration: none;
    color: black;
    display: block;
}

.dropdown-menu li a:hover {
    background-color: white;
}

.dropdown-menu {
    background-color: white !important; 
    border: none !important; 
    box-shadow: none !important; 
}

.dropdown-menu li a {
    text-align: center !important;
    color: #fff; 
    background-color: transparent; 
    padding: 10px 15px; 
    text-decoration: none; 
}

.dropdown-menu li a:hover {
    background-color: white; 
}

.bandeauimagepremierebrigade{
    background-image: url('photo/brigademouvement.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    height: 450px; 
    width: 100%; 
    position: relative; 
}

.bandeau-info-contact-bdk {
    width: 100%;
    background: #FFD700; 
    color: #333;
    text-align: justify;
    padding: 15px 30px;   
    font-family: "Arial", sans-serif;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.bandeau-info-contact-bdk p{
    padding-left: 240px;
    padding-right: 240px;
}

.bandeau-info-contact-bdk a {
    color: #d17c00;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

.bandeau-info-contact-bdk ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.bandeau-info-contact-bdk a:hover {
    text-decoration: underline;
    color: red;
}

@media (max-width: 768px) {
    .bandeau-info-contact-bdk {
        text-align: center; 
        padding: 15px 20px;
        font-size: 18px;
    }

    .bandeau-info-contact-bdk p {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bandeau-info-contact-bdk ul {
        flex-direction: column; 
        gap: 10px;
    }
    
}

@media (max-width: 480px) {
    .bandeau-info-contact-bdk {
        font-size: 16px;
        padding: 10px 15px;
    }

    .bandeau-info-contact-bdk p {
        padding: 0;
        text-align: justify;
    }
}

body {
    margin-top: 70px;
}

.brigade-kiff h1 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 10px;
    color: #FF0000; 
    font-family: 'Manolette', sans-serif;
}

@media (max-width: 768px) {
    .brigade-kiff h1 {
        text-align: center; 
    }
}

.brigade-kiff {
    display: flex;
    justify-content: center; 
    margin: 20px 0; 
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    width: 100%;
}

.left-side {
    width: 40%; 
    margin-right: 20px; 
    margin-top: 20px;
}

.left-side img {
    width: 100%; 
    height: 1300px; 
}

.right-side {
    width: 55%; 
    text-align: left;
}

.right-side .intro h1 {
    font-weight: bold;
    font-family: 'Manolette', 'sans-serif';
}

.right-side .intro p {
    font-size: 1.3rem; 
    line-height: 1.6; 
    font-family: 'Poppins', 'sans-serif';
    text-align: justify;
}

@media (max-width: 768px) {
    .right-side .intro h1 {
    text-align: center;
    font-size: 2.5rem;
  }
  .right-side .intro p {
    text-align: justify;
        text-justify: inter-word;
}
}

@media (max-width: 768px) {
    .brigade-kiff .container {
        display: flex;
        flex-direction: column; 
    }

    .brigade-kiff .left-side {
        order: 2; 
    }

    .brigade-kiff .right-side {
        order: 1; 
    }

    .brigade-kiff .right-side .intro {
        text-align: center;
    }

    .brigade-kiff .left-side img {
        width: 100%;
        height: auto;
    }
}

.right-side .intro-quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 20px;
}

.right-side .gallery {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.right-side .gallery img {
    width: 30%; 
    height: auto; 
}

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column; 
        align-items: center; 
    }

    .left-side, .right-side {
        width: 100%; 
        margin: 0;
    }

    .right-side .gallery {
        flex-direction: column; 
        align-items: center; 
    }

    .right-side .gallery img {
        width: 80%; 
        margin-bottom: 10px; 
    }
}

.paragraphedeuxbrigade{
    padding-top: 30px;
    font-size: 1.3rem; 
    line-height: 1.6; 
    font-family: 'Poppins', 'sans-serif';
    text-align: justify;
}

.brigade-kiff .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.brigade-kiff .gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brigade-kiff .gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .brigade-kiff .gallery {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        gap: 20px; 
    }
    .brigade-kiff .gallery img {
        width: 80%; 
        height: 270px; 
        margin-bottom: 20px; 
    }
}

.text-justify{
    text-align: justify;
}

  .intro-quote {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #9307ED; 
    margin: auto;
    text-align: center;
    position: relative;
    max-width: 600px;
    line-height: 1.4;
    margin-top: -5px;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .intro-quote {
        line-height: 1.2; 
    }
}

  .intro-quote .quote-mark {
    font-size: 3rem;
    font-weight: bold;
    color: #FFD700; 
    position: relative;
    vertical-align: middle;
}

  .charte {
    text-align: center; 
    border-radius: 15px; 
    margin: 2em auto; 
    max-width: 800px; 
}

.charte h3 {
    font-size: 4rem; 
    font-weight: bold; 
    color: #e74c3c; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); 
    font-family: 'Ampire', sans-serif;
    margin-bottom: 20px;
}

.h4charte{
    margin-top: 15px;
    font-family: 'Poppins', sans-serif;
}

.charte p {
    font-size: 1.3rem; 
    line-height: 1.5;
    max-width: 900px; 
    margin: 0 auto; 
    text-align: justify;
    font-family: 'Poppins', 'sans-serif';
}

@media (max-width: 768px) {
    .charte p {
        padding: 0 20px;
    }
}

.ptelechargercharte {
    text-align: center;
    text-decoration: underline;
    color: hsl(0, 0%, 0%) !important;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-direction: column; 
}

.ptelechargercharte a {
    font-family: 'Poppins', "sans-serif";
    color: #FF0000 !important;
    text-decoration: none;
    text-align: center;
    display: inline-block; 
}

.rejoindre-section {
    display: flex;
    justify-content: center;
    background-color: #ffff00;
}

.rejoindre-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%; 
    padding: 20px;
}

.text-side {
    flex: 1;
}

.card-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #9307ED;
    font-family: 'Ampire', 'sans-serif';
    text-align: center;
}

.adhesionqr {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Poppins', 'sans-serif';
}

.adhesionqrr{
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Poppins', 'sans-serif';
}

.card-link {
    color: #FF0000;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

.image-side {
    flex: 0 0 40%; 
}

.image-side img {
    width: 300px; 
    height: 200px;
}

@media screen and (max-width: 768px) {
    .rejoindre-content {
        flex-direction: column;
        align-items: center;
    }

    .text-side, .image-side {
        width: 100%; 
    }

    .image-side img {
        max-width: 100%; 
        height: auto; 
        margin-top: 20px; 
    }
}

.adhesionqr::after {
  content: " 👉"; 
}

@media (max-width: 768px) {
  .adhesionqr::after {
    content: " 👇"; 
  }
}

.brigademedia{
    text-align: center;
}

.titrebrigademedia{
    padding-top: 50px;
    margin-bottom: 5px;
    font-family: 'Manolette','sans-serif';
    font-size: 2.5rem;
    color:#9307ED;
    padding-bottom: 5px;
}

@media (max-width: 1024px) {
    .titrebrigademedia {
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    .titrebrigademedia {
        padding-top: 20px;
        font-size: 2.5rem; 
    }
}

@media (max-width: 480px) {
    .titrebrigademedia {
        padding-top: 15px;
        font-size: 2.2rem; 
    }
}

.paragraphemediabrigade{
    display: flex;
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    font-size: 1.2rem;
    justify-content: center;
    text-align:center ;
    padding-bottom: 10px;
}

.paragraphemediabrigade a{
    text-decoration: underline;
    color:#e74c3c;
}

.partenaires {
    text-align: center; 
  }
  
  .partenaires h3 {
    font-family: 'Manolette','sans-serif';
    font-size: 2.5rem;
    color:#FF0000;
    padding-bottom: 5px;
    padding-top: 50px;
  }
  

@media (max-width: 1024px) {
    .partenaires h3 {
        padding-top: 15px;
    }
}

@media (max-width: 768px) {
    .partenaires h3 {
        padding-top: 15px; 
    }
}

.partenaires {
  margin-bottom: 50px; 
}

.partenaires .logos {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 65px; 
  flex-wrap: nowrap; 
}

.partenaires .logos img {
  max-height: 90px; 
  width: auto;      
}


@media (max-width: 1024px) {
  .partenaires .logos {
    flex-direction: column; 
    gap: 20px;  
    flex-wrap: wrap; 
  }

  .partenaires .logos img {
    max-height: 80px;    
  }
}

@media (max-width: 480px) {
  .partenaires .logos img {
    max-height: 70px;   
  }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-family: Arial, sans-serif;
    z-index: 9999; 
    display: none; 
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
}

.cookie-banner a {
    color: #FFD700;
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #FFD700;
    color: #333;
    border: none;
    padding: 8px 15px;
    margin: 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.cookie-banner button:hover {
    background-color: #FFB400;
}

.cookie-banner button#accept-cookies {
    background-color: #4CAF50; 
}

.cookie-banner button#accept-cookies:hover {
    background-color: #45a049;
}

.cookie-banner button#decline-cookies {
    background-color: #F44336; 
}

.cookie-banner button#decline-cookies:hover {
    background-color: #da190b;
}

@media (max-width: 600px) {
    .cookie-banner p {
        font-size: 12px;
    }
    
    .cookie-banner button {
        padding: 6px 12px;
        font-size: 12px;
    }
}

.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cookie-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-content button {
    background: #008cba;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
}

.cookie-content button:hover {
    background: #005f73;
}

.articles-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: auto;
  margin-left: 40px auto;   
  max-width: 1200px;  
  padding: 0 20px;   
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  max-height: 350px;   
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .card img {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .card img {
    height: 120px;
  }
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-align: center;
}

.card-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}

.read-more {
  display: block;            
  width: max-content;        
  margin: 12px auto 0;     
  font-size: 0.85rem;      
  color: #9307ED;    
  background: #fff;         
  padding: 6px 12px;        
  border: 2px solid #9307ED; 
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08); 
  text-align: center;
}

.read-more:hover {
  color: #9307ED;       
  border-color: #FF0000;    
  transform: translateY(-2px); 
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
    text-align: center;
    padding: 20px 10px;
    border-bottom: 1px solid black; 
}

.footer-section {
    min-width: 180px;
}

.footer-logo img {
    width: 100px;
    height: auto;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links ul li a {
    color: black;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-links ul li:nth-child(1) a {
    color: #9307ED; 
}

.footer-links ul li:nth-child(2) a {
    color: #FF0000; 
}

.footer-links ul li:nth-child(3) a {
    color: #FFD700; 
}

.footercontact{
    padding-top: 16px;
}

.footercontact a {
    color: black;            
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footercontact a:hover {
    color: #FF0000;   
}

.footer-links ul li a:hover {
    color: #FFD700;
}

.footer-map iframe {
    width: 100%;
    max-width: 250px;
    height: 150px;
    border-radius: 8px;
    padding-top: 10px;
}

.footer-socials p {
    font-size: 1rem;
    margin-top: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 8px;
}

.social-icons a {
    color: black;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #FFD700;
    transform: scale(1.2);
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }

    .footer-map iframe {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-map iframe {
        margin: 0 auto;
    }
}

.textefooterbas{
    text-align: center;
    padding-top: 5px;
}
