@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Merriweather:wght@300;700&display=swap');

:root{
  --brand-brown: #6b3f21; /* headline / dark */
  --brand-light-brown: #8b5e34; /* CTA brown */
  --brand-green: #6b8a2f; /* green CTA */
  --beige: #f3e9d7; /* page background */
  --muted:#6f6b64;
  --brand-brown-dark: #4f2e17;
  --nav-font-size: 1rem;
  --radius:0.875rem;
  --max-width:73.75rem; /* 1180px */
}

*{box-sizing:border-box}
body{
  font-family: 'Merriweather', Georgia, serif;
  margin:0;
  color:#222;
  background:var(--beige);
  -webkit-font-smoothing:antialiased;
}

main{padding:1.75rem;max-width:var(--max-width);margin:0rem auto}

/* Navbar */
.site-nav{
  background:transparent;
  padding-top:0.625rem
}
.site-nav .nav-container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0.5rem 0.75rem;
  display:flex;
  align-items:center;
  gap:1.125rem

}
.brand{display:inline-flex;align-items:center;text-decoration:none}
.brand .logo{width:8.375rem;height:8.375rem;border-radius:50%;display:block;border:0.125rem solid rgba(107,63,33,0.06);background:transparent}

.nav-menu{list-style:none;margin:0;padding:0;display:flex;gap:2.25rem;align-items:center;flex:1;justify-content:flex-start;margin-left:0.375rem}
.nav-menu a,.nav-menu .dropbtn{color:var(--brand-brown);text-decoration:none;font-weight:700;padding:0.375rem 0.25rem;font-size:var(--nav-font-size);font-family:'Merriweather', Georgia, serif}
.nav-menu a:hover,.nav-menu .dropbtn:hover{color:var(--brand-brown-dark)}
.nav-menu .dropbtn{background:transparent;border:none;cursor:pointer}
.nav-menu .dropbtn{display:inline-flex;align-items:center}
.nav-menu .dropbtn::before{content:"▾";display:inline-block;margin-right:0.5rem;color:var(--brand-brown);font-size:0.875rem;transform:translateY(0.0625rem)}
.nav-menu li:hover .dropbtn::before{transform:translateY(0.0625rem) rotate(180deg);color:var(--brand-brown-dark)}
.nav-menu li{position:relative}
.dropdown-menu{position:absolute;top:calc(100% + 0.125rem);left:0;background:white;color:#222;border-radius:0.625rem;box-shadow:0 0.625rem 1.875rem rgba(30,30,30,0.12);opacity:0;transform:translateY(0.5rem);pointer-events:none;transition:all .12s ease;padding:0.375rem 0;list-style:none;margin:0.125rem 0;padding-left:0;z-index:60;white-space:nowrap;width:auto;min-width: max(120%, 10rem)}
.dropdown-menu a{display:block;padding:0.625rem 0.875rem;color:var(--brand-brown);text-decoration:none;font-family:'Merriweather', Georgia, serif;font-weight:700;font-size:1rem}
.dropdown-menu a:hover{background:#f6f6f6;color:var(--brand-brown)}
.nav-menu li:hover .dropdown-menu,.nav-menu li:focus-within .dropdown-menu,.nav-menu li.open .dropdown-menu,.dropdown-menu:hover{opacity:1;transform:none;pointer-events:auto}

.nav-ctas{
  display:flex;
  gap:0.75rem;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  padding:0.625rem 1.125rem;
  border-radius:1.5rem;
  text-decoration:none;
  font-weight:700;
  font-size:var(--nav-font-size);
  font-family:'Merriweather',Georgia, serif
}

.btn-primary{
  background:var(--brand-light-brown);
  color:#fff;
  box-shadow:0 6px 18px rgba(139,94,52,0.18)
}

.btn-success{
  background:var(--brand-green);
  color:#fff
}

/* Hover / focus effects for top-right CTAs */
.nav-ctas .btn{transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease,color .15s ease}
.nav-ctas .btn-primary:hover,.nav-ctas .btn-primary:focus{background:var(--brand-brown-dark);transform:translateY(-3px);box-shadow:0 14px 30px rgba(79,46,23,0.18)}
.nav-ctas .btn-primary:active{transform:translateY(-1px)}
.nav-ctas .btn-success:hover,.nav-ctas .btn-success:focus{background:#557824;transform:translateY(-3px);box-shadow:0 14px 30px rgba(86,122,40,0.18)}
.nav-ctas .btn-success:active{transform:translateY(-1px)}
.nav-ctas .btn:focus-visible{outline:3px solid rgba(106,138,47,0.15);outline-offset:4px}

.nav-toggle{display:none;background:transparent;border:none;color:var(--brand-brown);font-size:2rem;padding:0.375rem}

/* Hero */
.hero{padding-top:0rem;padding-bottom:2.5rem;text-align:center}
.hero .hero-title{font-family:'Playfair Display', Georgia, serif;color:var(--brand-brown);font-weight:900;font-size:3.5rem;letter-spacing:0.125rem;margin:0 0 0rem}
.hero .hero-lead{max-width:51.25rem;margin:0 auto;color:var(--muted);font-size:1.125rem;margin-top:3rem;line-height:2em;font-weight: 500;color:rgb(68, 65, 65);}
.hero .hero-media{margin-top:1.75rem;justify-content:center;width: 100%;}
.hero .hero-media img{width:42.5rem;max-width:92%;border-radius:0.875rem;box-shadow:0 1.125rem 2.5rem rgba(50,40,30,0.12)}
.hero .hero-sub-title{font-family:'Playfair Display', Georgia, serif;color:var(--brand-brown);font-weight:300;font-size:3.5rem;letter-spacing:0.125rem;margin:0 0 0rem}

/* Image container for scaling effect */
.image-container {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

/* Section générique */
.section {
  position: relative;
}

/* Couleurs alternées */
.section--light {
  background-color: var(--beige);
}

.section--dark {
  background-color: #f6f2e8;
}

/* Contenu centré */
.section-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}


/* small helpers */
a{color:inherit}

@media(max-width:980px){
  .hero .hero-title{font-size: clamp(2rem, 5vw, 3rem)}
  .nav-toggle{display:inline-flex;margin-left:auto}
  /* Hide inline nav titles and CTAs on tablet — only logo + hamburger remain */
  .nav-menu{display:none}
  .nav-ctas{display:none}

  /* RIGHT-SIDE DRAWER */
  .nav-menu{position:fixed;top:0;right:0;height:100vh;width:80vw;background:#fff;box-shadow:-1.125rem 0 2.5rem rgba(10,10,10,0.12);display:flex;flex-direction:column;gap:0.5rem;padding:1.5rem 1.25rem;transform:translateX(100%);transition:transform .28s cubic-bezier(.2,.9,.2,1);z-index:120}
  .nav-menu.show{transform:translateX(0)}
  .nav-menu .nav-item{width:100%}
  .nav-menu a,.nav-menu .dropbtn{display:block;padding:0.9rem 0.75rem;font-size:clamp(1.1rem,4vw,1.4rem);color:var(--brand-brown)}
  .nav-menu .dropbtn{background:transparent;text-align:left;width:100%;border:none}
  .nav-menu .dropbtn{position:relative}
  /* move caret to right for drawer layout */
  .nav-menu .dropbtn::before{display:none}
  .nav-menu .dropbtn::after{content:"▾";position:absolute;right:0.75rem;color:var(--brand-brown);font-size:1rem;transform:translateY(0.125rem);transition:transform .12s ease}
  .nav-item.open > .dropbtn::after{transform:translateY(0.125rem) rotate(180deg)}

  /* Drawer header row: keep logo and close icon aligned */
  .nav-container{position:relative}
  .nav-drawer-header{display:flex;align-items:center;justify-content:space-between;padding:0.375rem 0}
  .nav-drawer-header .menu-left{display:flex;align-items:center;gap:0.75rem}
  .nav-drawer-header .menu-title{flex:1;text-align:center;font-weight:700;font-size:clamp(1.25rem,4.5vw,1.8rem);color:var(--brand-brown);font-family:'Playfair Display', Georgia, serif}
  .nav-drawer-header + .drawer-sep{height:1px;background:rgba(0,0,0,0.06);margin:0.6rem 0}

  /* Dropdowns in drawer: collapsed by default, expand when .open */
  .dropdown-menu{position:static;background:transparent;box-shadow:none;padding:0;margin:0;display:none;white-space:normal}
  .nav-item.open > .dropdown-menu{display:block;background:transparent;padding:0;margin:0}
  .dropdown-menu a{padding:0.875rem 1.375rem;font-size:clamp(1.05rem,3.8vw,1.25rem)}

  /* CTAs shown at bottom of drawer when open — target via sibling selector */
  .nav-menu.show ~ .nav-ctas{display:flex;flex-direction:column;gap:0.625rem;position:fixed;right:0;bottom:1.75rem;width:80vw;padding:0 1.125rem;z-index:121}
  .nav-menu.show ~ .nav-ctas .btn{width:100%;justify-content:center}

  /* Overlay handled via JS class .drawer-open on body */
  body.drawer-open{overflow:hidden}
  .drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.42);z-index:110;opacity:0;transition:opacity .18s ease}
  .drawer-overlay.show{opacity:1}

  /* Slightly smaller logo on tablet widths */
  .brand .logo{width:7.5rem;height:7.5rem}
}

@media(max-width:560px){
  .hero .hero-title{font-size: clamp(1.5rem, 6vw, 2.5rem)}
  .hero .hero-lead{padding:0 1.125rem}
  .brand .logo{width:6rem;height:6rem}
}

/* === FULL WIDTH SECTIONS SYSTEM === */

/* Les sections prennent toute la largeur de l'écran */
.section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .section {
    padding: 64px 16px;
  }

  .section-content {
    max-width: 100%;
  }
}

/* Style pour chaque bloc de personne */
.person {
  display: flex;
  align-items: stretch; /* Étire les éléments enfants pour qu'ils prennent toute la hauteur */
  margin-bottom: 4rem;
  gap: 1rem; /* Espacement entre l'image et le texte */
}

/* Style pour la photo */
.person__photo {
  width: 100%;
  max-width: 200px; /* Largeur maximale pour éviter que l'image soit trop grande */
  height: auto; /* La hauteur s'adapte automatiquement */
  aspect-ratio: 1; /* Force un ratio 1:1 pour un carré */
  border-radius: 0.875rem;
  object-fit: cover; /* Ajuste l'image pour remplir la zone */
  flex: 0 0 auto; /* Empêche l'image de s'étirer horizontalement */
  margin-right: 1rem;
}

/* Style pour le texte à côté de la photo */
.person__info {
  flex: 1; /* Prend tout l'espace restant */
  display: flex;
  flex-direction: column;
}

/* Style pour le paragraphe de description */
.person__description {
  margin: 0; /* Supprime les marges par défaut */
}

/* Responsive pour mobile et tablette */
@media (max-width: 768px) {
  .person {
    flex-direction: column; /* Affiche l'image au-dessus du texte sur mobile/tablette */
  }

  .person__photo {
    max-width: 150px; /* Réduit la taille de l'image sur mobile/tablette */
    margin-bottom: 1rem; /* Espacement sous l'image */
  }
}


/* Carroussel notre histoire */
.timeline-container {
    padding: 20px;
    text-align: center;
}

.timeline-container h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: #5e3023;
    margin-bottom: 30px;
}

.timeline {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Pour un défilement fluide sur iOS */
}

.timeline-item {
    flex: 0 0 80%; /* Largeur initiale des éléments */
    scroll-snap-align: start;
    background-color: #f9f4e6;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 280px; /* Largeur minimale pour les mobiles */
}

.timeline-year {
    font-weight: bold;
    font-size: 1.5rem;
    color: #5e3023;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: #5e3023;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

/* Responsive */
@media (min-width: 768px) {
    .timeline-item {
        flex: 0 0 30%; /* Largeur des éléments sur les grands écrans */
    }
}

/* Intro Insécurité alimentaire */
/* Section des compétences */
.competences-section {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

/* Titre principal */
.competences-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--brand-brown);
  margin-bottom: 30px;
}

/* Grille des compétences */
.competences-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Élément de compétence */
.competence-item {
  display: flex;
  align-items: center; /* Centre verticalement les éléments */
  gap: 15px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 20px; /* Augmente le padding pour un meilleur centrage */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-height: 80px; /* Hauteur minimale pour garantir un centrage visible */
}

/* Numéro de compétence */
.competence-number {
  background-color: var(--brand-brown);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

/* Titre de compétence */
.competence-title {
  margin: 0;
  font-size: 1.1rem;
  color: var(--brand-brown);
  text-align: left;
  font-weight: 600;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .competences-grid {
    grid-template-columns: 1fr; /* Une seule colonne sur mobile */
  }
}

/* Section Nutrition */
.nutrition-section {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--brand-brown);
  margin-bottom: 30px;
}

.nutrition-content {
  margin-bottom: 40px;
  text-align: left;
}

.nutrition-text h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  color: var(--brand-brown);
  margin-bottom: 15px;
}

.nutrition-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Impact Section */
.impact-section {
  margin-bottom: 40px;
  text-align: left;
}

.impact-section h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  color: var(--brand-brown);
  margin-bottom: 15px;
}

/* Actions Grid */
.actions-section {
  margin-bottom: 40px;
  text-align: center;
}

.actions-section h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  color: var(--brand-brown);
  margin-bottom: 20px;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.action-card {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.action-card h4 {
  font-size: 1.3rem;
  color: var(--brand-brown);
  margin-bottom: 10px;
}

.action-card p {
  margin: 0;
  line-height: 1.5;
}

/* Bilan Grid */
.bilan-section {
  margin-bottom: 40px;
  text-align: left;
}

.bilan-section h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  color: var(--brand-brown);
  margin-bottom: 20px;
}

.bilan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.bilan-card {
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bilan-success {
  background-color: rgba(173, 230, 173, 0.3);
}

.bilan-failure {
  background-color: rgba(255, 173, 173, 0.3);
}

.bilan-card h4 {
  font-size: 1.3rem;
  color: var(--brand-brown);
  margin-bottom: 10px;
}

.bilan-card p {
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .actions-grid, .bilan-grid {
    grid-template-columns: 1fr;
  }
}

/* === GALLERY INSECURITE ALIMENTAIRE SECTION === */
/* Section de la galerie */
.gallery-section {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

/* Titre de la galerie */
.gallery-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--brand-brown);
  margin-bottom: 10px;
}

/* Sous-titre de la galerie */
.gallery-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 30px;
  font-style: italic;
}

/* Grille de la galerie */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

/* Élément de la galerie */
.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 200px; /* Hauteur fixe pour uniformiser les images */
}

/* Effet de zoom au survol */
.gallery-item:hover {
  transform: scale(1.03);
}

/* Image dans la galerie */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* Insertion profesionnels */
/* Section du projet d'éducation */
.education-project {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: left;
}

.project-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  color: var(--brand-brown);
  margin-bottom: 30px;
  text-align: center;
}

.project-section {
  margin-bottom: 30px;
}

.section-subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  color: var(--brand-green);
  margin-bottom: 15px;
}

.project-content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Tableau des données */
.data-table-container {
  overflow-x: auto;
  margin: 30px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.data-table th, .data-table td {
  padding: 12px 15px;
  text-align: center;
}

.data-table thead {
  background-color: var(--brand-brown);
  color: #fff;
}

.data-table tbody tr:nth-child(even) {
  background-color: #f9f4e6;
}

.data-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.data-table tbody tr:hover {
  background-color: #f1ebe1;
}

/* Visualisation des données */
.data-visualization {
  margin: 30px 0;
  text-align: center;
}

.chart-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 200px; /* Hauteur fixe pour le conteneur */
  margin: 30px auto;
  gap: 20px;
  border: 1px solid #ddd; /* Bordure pour visualiser le conteneur */
  padding: 10px;
  width: 100%;
  max-width: 600px;
}

.chart-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  height: 100%; /* Prend toute la hauteur du conteneur parent */
  justify-content: flex-end; /* Aligne les barres en bas */
}

.chart-bar {
  width: 60px;
  background-color: var(--brand-green);
  border-radius: 5px 5px 0 0;
  transition: height 0.5s ease;
}

.chart-bar.data-2021 {
  height: 82px; /* 41% de 200px */
}

.chart-bar.data-2022 {
  height: 54px; /* 27% de 200px */
}

.chart-bar.data-2023 {
  height: 16px; /* 8% de 200px */
}

.chart-bar.data-2024 {
  height: 2px;  /* 1% de 200px */
}

.chart-item p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--brand-brown);
}


/* Responsive */
@media (max-width: 768px) {
  .chart-container {
    flex-wrap: wrap;
    height: auto;
  }

  .chart-item {
    margin: 10px;
  }

  .data-table th, .data-table td {
    padding: 8px 10px;
  }
}


/* Formation numérique */

/* Section du projet numérique */
.digital-project {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.project-header {
  margin-bottom: 30px;
}

.project-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  color: var(--brand-brown);
  margin-bottom: 10px;
}

.project-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  font-style: italic;
}

.project-intro {
  margin-bottom: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.project-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Cartes de détails */
.project-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.detail-card {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.detail-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.detail-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  color: var(--brand-brown);
  margin-bottom: 10px;
}

/* Défis et solutions */
.project-challenges {
  margin-top: 40px;
}

.project-challenges h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  color: var(--brand-brown);
  margin-bottom: 20px;
}

.challenge-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.challenge-icon {
  display: flex;
  align-items: center; /* Centre verticalement */
  justify-content: center; /* Centre horizontalement */
  font-size: 2rem;
  width: 50px; /* Largeur fixe pour l'icône */
  height: 50px; /* Hauteur fixe pour l'icône */
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(107, 63, 33, 0.1); /* Fond léger pour l'icône */
}

.challenge-content h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--brand-brown);
  margin-bottom: 10px;
  margin-top: 0;
}

.challenge-content p {
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .project-details {
    grid-template-columns: 1fr;
  }
}


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Merriweather:wght@300;700&display=swap');

:root {
  --brand-brown: #6b3f21;
  --brand-light-brown: #8b5e34;
  --brand-green: #6b8a2f;
  --beige: #f3e9d7;
  --muted: #6f6b64;
  --brand-brown-dark: #4f2e17;
  --nav-font-size: 1rem;
  --radius: 0.875rem;
  --max-width: 73.75rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Merriweather', Georgia, serif;
  margin: 0;
  color: #222;
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
}

main {
  padding: 1.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Section Infos Pratiques Bénin */
.benin-info {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: left;
}

.page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--brand-brown);
  text-align: center;
  margin-bottom: 30px;
}

.summary {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.summary h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  color: var(--brand-brown);
  margin-top: 0;
  margin-bottom: 15px;
}

.summary ul {
  list-style: none;
  padding: 0;
}

.summary li {
  margin-bottom: 10px;
}

.summary a {
  color: var(--brand-green);
  text-decoration: none;
}

.summary a:hover {
  text-decoration: underline;
}

.info-section {
  margin-bottom: 50px;
}

.info-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--brand-brown);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--brand-green);
  padding-bottom: 10px;
}

.info-content {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Suppression des puces pour toutes les listes */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Ajoute un peu d'espacement entre les éléments de la liste */
ul li {
  margin-bottom: 10px;
}

.benin-landscape {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.landscape-item {
  background-color: rgba(249, 244, 230, 0.8);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
}

.landscape-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--brand-brown);
  margin-bottom: 10px;
}

.formality-card, .health-card, .logistic-card, .preparation-card {
  background-color: rgba(249, 244, 230, 0.8);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Pour les listes dans les cartes spécifiques */
.formality-card ul, .health-card ul, .logistic-card ul, .preparation-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Pour les listes dans les cartes spécifiques */
.formality-card li, .health-card li, .logistic-card li, .preparation-card li {
  margin-bottom: 8px;
}

.budget-table {
  overflow-x: auto;
  margin: 20px 0;
}

.budget-table table {
  width: 100%;
  border-collapse: collapse;
}

.budget-table th, .budget-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.budget-table th {
  background-color: var(--brand-brown);
  color: white;
}

.budget-table tr:nth-child(even) {
  background-color: rgba(249, 244, 230, 0.5);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist-item {
  background-color: rgba(249, 244, 230, 0.8);
  border-radius: 5px;
  padding: 10px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .benin-landscape, .checklist-grid {
    grid-template-columns: 1fr;
  }
}


/*info benin checklist*/
/* Checklist design */
.checklist-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
}

.checklist-item {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.checklist-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.checklist-icon {
  font-size: 1.5rem;
  margin-right: 10px;
  color: var(--brand-green);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist-text {
  font-size: 1rem;
  color: var(--brand-brown);
  flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .checklist-container {
    grid-template-columns: 1fr;
  }
}


/* === Tourisme solidaire === */
/* Summary Section */
.summary-section {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.summary-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--brand-brown);
  margin-bottom: 20px;
}

.summary-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-list li a {
  color: var(--brand-green);
  text-decoration: none;
  font-size: 1.1rem;
}

.summary-list li a:hover {
  text-decoration: underline;
}

/* Presentation Section */
.presentation-section {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.presentation-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--brand-brown);
  margin-bottom: 20px;
}

.presentation-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.presentation-content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.presentation-image {
  margin-top: 20px;
}

.presentation-image img {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Infos Section */
.infos-section {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.infos-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--brand-brown);
  margin-bottom: 20px;
}

.infos-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.info-card {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.info-card i {
  font-size: 2rem;
  color: var(--brand-green);
  margin-bottom: 10px;
}

.info-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--brand-brown);
  margin-bottom: 10px;
}

/* Encadrement Section */
.encadrement-section {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.encadrement-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--brand-brown);
  margin-bottom: 20px;
}

.encadrement-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.contact-card {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-card i {
  font-size: 2rem;
  color: var(--brand-green);
  margin-bottom: 10px;
}

.contact-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--brand-brown);
  margin-bottom: 10px;
}


/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .infos-container {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    width: 100%;
    left: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd) {
    text-align: left;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }
}

/* Programme Section */
.programme-section {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.programme-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--brand-brown);
  margin-bottom: 40px;
}

/* Treasure Map */
.treasure-map {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0;
}

.map-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
  z-index: 2;
}

.step-icon {
  font-size: 2rem;
  color: var(--brand-green);
  margin-bottom: 10px;
  background-color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.step-date {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  color: var(--brand-brown);
  margin-bottom: 10px;
}

.step-content {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
}

.step-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--brand-brown);
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .step-content {
    max-width: 100%;
  }
}

/* Import des polices */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Merriweather:wght@300;700&display=swap');

/* Variables CSS */
:root {
  --brand-brown: #6b3f21;
  --brand-light-brown: #8b5e34;
  --brand-green: #6b8a2f;
  --beige: #f3e9d7;
  --muted: #6f6b64;
  --brand-brown-dark: #4f2e17;
  --nav-font-size: 1rem;
  --radius: 0.875rem;
  --max-width: 73.75rem;
}

/* Reset et styles de base */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Merriweather', Georgia, serif;
  margin: 0;
  color: #222;
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
}


/* Section de contact */
.contact-section-container {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0px 20px;
  background-color: var(--beige);
}

.contact-content-container {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.contact-page-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--brand-brown);
  font-weight: 900;
  font-size: 3.5rem;
  letter-spacing: 0.125rem;
  margin: 0 0 2rem;
  text-align: center;
}

.contact-intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-email-link {
  color: var(--brand-green);
  text-decoration: none;
}

.contact-email-link:hover {
  text-decoration: underline;
}

/* Cartes de contact */
.contact-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px auto;
  max-width: var(--max-width);
  padding: 0 20px;
}

.contact-card-item {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-card-header {
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 2rem;
  color: var(--brand-green);
  margin-bottom: 10px;
}

.contact-location-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  color: var(--brand-brown);
}

.contact-card-body {
  text-align: left;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-info-icon {
  font-size: 1.2rem;
  color: var(--brand-green);
  margin-right: 10px;
}

.contact-person-info {
  margin-bottom: 20px;
}

.contact-person-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  color: var(--brand-brown);
  margin-bottom: 5px;
}

.contact-person-role {
  margin-bottom: 5px;
  color: var(--muted);
}

.contact-phone-number {
  margin: 0;
}

/* Formulaire de contact */
.contact-form-container {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 40px auto;
}

.contact-form-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  color: var(--brand-brown);
  margin-bottom: 20px;
  text-align: center;
}

.form-input-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-input-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--brand-brown);
}

.form-input-field,
.form-textarea-field {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Merriweather', Georgia, serif;
}

.form-textarea-field {
  resize: vertical;
}

.contact-submit-btn {
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-page-title {
    font-size: 2rem;
  }

  .contact-cards-container {
    grid-template-columns: 1fr;
  }

  .contact-form-container {
    margin: 20px auto;
    padding: 20px;
  }
}

/* Section Newsletter */
    .newsletter-section {
      width: 100%;
      background-color: var(--brand-brown);
      color: white;
      padding: 40px 0;
    }

    .newsletter-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
    }

    .newsletter-content {
      text-align: center;
    }

    .newsletter-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 2rem;
      margin-bottom: 10px;
    }

    .newsletter-subtitle {
      font-size: 1.1rem;
      margin-bottom: 20px;
      opacity: 0.9;
    }

    .newsletter-form {
      max-width: 500px;
      margin: 0 auto;
    }

    .newsletter-form-group {
      display: flex;
      gap: 0;
    }

    .newsletter-input {
      flex: 1;
      padding: 12px 15px;
      border: none;
      border-radius: 4px 0 0 4px;
      font-size: 1rem;
      min-width: 250px;
    }

    .newsletter-button {
      background-color: var(--brand-green);
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 0 4px 4px 0;
      font-weight: 700;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .newsletter-button:hover {
      background-color: #5a7525;
    }

    .newsletter-message {
      margin-top: 15px;
      padding: 10px;
      border-radius: 4px;
      display: none;
      background-color: rgba(255, 255, 255, 0.9);
      color: var(--brand-brown);
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
    }

    .newsletter-message.success {
      display: block;
      background-color: rgba(107, 138, 47, 0.2);
      color: var(--brand-green);
    }

    .newsletter-message.error {
      display: block;
      background-color: rgba(221, 47, 47, 0.2);
      color: #d32f2f;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .newsletter-form-group {
        flex-direction: column;
      }

      .newsletter-input,
      .newsletter-button {
        border-radius: 4px;
        width: 100%;
      }

      .newsletter-button {
        margin-top: 10px;
      }
    }
