@font-face {
  font-family: 'HostGrotesk';
  src: url('/fonts/HostGrotesk-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'HostGrotesk';
  src: url('/fonts/HostGrotesk-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}


p, ul, li {
text-align: justify;
text-justify: inter-word;
}

/* - reset général */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* - mises en page de base */
body {
  font-family: 'HostGrotesk', sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* - variables couleurs */
:root {
  --primary-blue: #0056b3;
  --accent-red: #e31b23;
  --neutral-dark: #333;
  --neutral-light: #fff;
  --border-light: #eaeaea;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}


ul {
    list-style: none;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* SECTION Devenir bénévole */
.devenir-benevole {
    padding: 60px 0;
    text-align: center;
}

.devenir-benevole h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--color-primary);
    font-weight: 700;
}

.devenir-benevole .intro {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: var(--color-text-light);
}

.benevole-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.benevole-text {
    flex: 1 1 500px;
    text-align: left;
}

.benevole-text h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--color-primary);
}

.benevole-text ul {
    margin-bottom: 20px;
    padding-left: 1.2rem;
}

.benevole-text ul li {
    margin-bottom: 10px;
    position: relative;
}

.benevole-text ul li::before {
    content: "•";
    color: var(--color-secondary);
    position: absolute;
    left: -1.2rem;
}

.benevole-text p {
    margin-bottom: 20px;
    font-family: 'HostGrotesk', sans-serif;
}

.benevole-text .btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--color-secondary);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    transition: filter 0.3s ease;
}

.benevole-text .btn:hover {
    filter: brightness(0.9);
}

.benevole-img {
    flex: 1 1 300px;
    text-align: center;
}

.benevole-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.titre-devenir-benevole{
    margin-top: 100px;
}

  /* ========== Header ========== */
  .header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--neutral-light);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
  }
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 10px;
}
  .logo img {
    height: 50px;
  }
  .nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
  }
  .nav ul li a {
    list-style-type: none;
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: 500;
    transition: color 0.3s;
  }
  .nav ul li a:hover {
    list-style-type: none;
    color: var(--primary-blue);
  }
.don-btn {
  text-decoration: none;
  background: #F3F8FF;
  border: 1px solid #3289FF;
  color: #3289FF;
  padding: 7px 15px;
  font-weight: 600;
  transition: background 0.3s;
}
.don-btn:hover {
  background: #006CFE;
  color: #F3F8FF;
}

  /* --- MENU DÉROULANT PRINCIPAL --- */

.main-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.menu-item {
  position: relative;
}

.menu-link {
  text-decoration: none;
  color: var(--neutral-dark);
  font-weight: 500;
  padding: 10px 15px;
  display: block;
  transition: color 0.3s;
}

.menu-link:hover {
  color: var(--primary-blue);
}

/* --- Sous-menu --- */
.submenu {
  list-style: none; 
  padding-left: 0;  
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--neutral-light);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 260px;
  z-index: 999;
}

.submenu li {
  list-style: none;
  width: 100%;
}

.submenu-link {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--neutral-dark);
  font-size: 15px;
  transition: background-color 0.3s, color 0.3s;
}

.submenu-link:hover {
  background-color: #f5f5f5;
  color: var(--primary-blue);
}

/* --- Afficher le sous-menu au survol --- */
.has-dropdown:hover .submenu {
  display: block;
}

/* --- Responsive (mobile-friendly par défaut, ajustable) --- */
@media (max-width: 768px) {
  .main-menu {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .submenu {
    position: static;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .submenu-link {
    padding-left: 25px;
  }
}



/* - footer principal */
.footer-main {
  background: #002666;
  color: #ccc;
  font-size: 0.9rem;
  padding: 40px 0 20px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-col {
  flex: 1 1 200px;
}
.footer-col h3 {
  font-family: 'HostGrotesk', sans-serif;
  font-size: 1.1rem;
  color: #3289FF;
  margin-bottom: 12px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col li + li {
  margin-top: 8px;
}
.footer-col a {
  color: #F3F8FF;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #3289FF;
  text-decoration: underline;
}
.footer-socials {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}
.social-icon {
  display: block;
  width: 28px;
  height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  transition: opacity 0.2s;
}
.social-icon:hover {
  opacity: 0.7;
}
.social-icon.facebook {
  background-image: url('../img/facebook-icon.svg');
}
.social-icon.instagram {
  background-image: url('../img/instagram-icon.svg');
}
.social-icon.linkedin {
  background-image: url('../img/linkedin-icon.svg');
}
.footer-bottom {
  border-top: 1px solid #F3F8FF;
  padding-top: 20px;
  text-align: center;
  color: #F3F8FF;
}

/* - responsive tablettes */
@media (max-width: 1024px) {
  .two-col {
    flex-direction: column;
    text-align: center;
  }
  .assoc-text,
  .assoc-img {
    flex: 1 1 100%;
  }
  .news-grid,
  .engagements {
    flex-direction: column;
    align-items: center;
  }
}

/* - responsive mobiles */
@media (max-width: 768px) {
  .nav ul {
    list-style-type: none;
    flex-direction: column;
    gap: 15px;
  }
  .hero {
    height: calc(100vh - 80px);
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content h2 {
    font-size: 26px;
  }
  .section h2 {
    font-size: 28px;
  }
  .section p,
  .partner-text p,
  .news-content p {
    font-size: 14px;
  }
  .btn,
  .news-btn,
  .partner-link {
    padding: 8px 16px;
    font-size: 14px;
  }
  .partner-entry,
  .partner-entry.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .partner-logo {
    margin-bottom: 20px;
  }
  .actions-ctas {
    flex-direction: column;
    gap: 12px;
  }
}


.container-bouton {
  max-width: 1200px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.don-btn_2 {
  text-decoration: none;
  background: #006CFE;
  color: #F3F8FF;
  padding: 7px 15px;
  font-weight: 600;
  transition: background 0.3s;
}
.don-btn_2:hover {
  background: #3289FF;
}

.don-btn {
  text-decoration: none;
  background: #F3F8FF;
  border: 1px solid #3289FF;
  color: #3289FF;
  padding: 7px 15px;
  font-weight: 600;
  transition: background 0.3s;
}
.don-btn:hover {
  background: #006CFE;
  color: #F3F8FF;
}

.container-bouton-benevole {
  display: flex;
  align-items: center;      
  justify-content: center;  
  gap: 12px;
  width: 100%;             
}


@media (max-width: 640px) {
  .container-bouton-benevole {
    flex-direction: column;
    gap: 10px;             
  }
}