
:root{
  --footer-bg: #0e1a1b;      /* fond sombre chic */
  --footer-text: #e8f1f0;    /* texte principal */
  --footer-muted: #b8c7c5;   /* texte secondaire */
  --footer-accent: #27c4a0;  /* accent (vert/eau) */
  --footer-border: rgba(255,255,255,0.08);
}

/* Styles généraux */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #0a6e3a;
            --secondary-color: #f5a623;
            --accent-color: #1a936f;
            --light-color: #f8f9fa;
            --dark-color: #212529;
            --text-color: #333;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: #fafafa;
            overflow-x: hidden;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* En-tête */
        header {
            background-color: #e69500;
            box-shadow: var(--shadow);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            transition: var(--transition);
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo-img {
            height: 50px;
            transition: var(--transition);
        }

        /* Bouton de retour */
        .back-button {
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 4px;
            font-weight: 600;
            transition: var(--transition);
            margin-bottom: 20px;
            text-decoration: none;
        }

        .back-button:hover {
            background-color: var(--accent-color);
            transform: translateY(-3px);
            box-shadow: var(--shadow);
        }

        /* Titre de la galerie */
        .gallery-header {
            text-align: center;
            margin: 100px 0 40px;
        }

        .gallery-header h1 {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .gallery-header h1::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--secondary-color);
            border-radius: 2px;
        }

        .gallery-header p {
            font-size: 1.2rem;
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Galerie principale */
        .gallery-container {
            position: relative;
            margin: 30px auto;
            max-width: 1000px;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: var(--shadow);
        }

        .main-gallery {
            display: flex;
            transition: transform 0.5s ease;
        }

        .gallery-slide {
            min-width: 100%;
            position: relative;
        }

        .gallery-slide img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            display: block;
        }

        .slide-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: white;
            padding: 20px;
        }

        .slide-info h3 {
            font-size: 1.5rem;
            margin-bottom: 5px;
        }

        /* Navigation de la galerie */
        .gallery-nav {
            display: flex;
            justify-content: center;
            margin: 20px 0;
        }

        .gallery-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #ccc;
            margin: 0 5px;
            cursor: pointer;
            transition: var(--transition);
        }

        .gallery-dot.active {
            background-color: var(--primary-color);
            transform: scale(1.2);
        }

        .gallery-controls {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            padding: 0 20px;
            pointer-events: none;
        }

        .gallery-controls button {
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            pointer-events: auto;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .gallery-controls button:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

        /* Index des images */
        .gallery-index {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
            margin: 40px 0;
        }

        .index-item {
            height: 120px;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow);
            opacity: 0.7;
        }

        .index-item:hover, .index-item.active {
            opacity: 1;
            transform: translateY(-5px);
        }

        .index-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Pied de page */
        footer {
            background-color: #0a6e3a;
            color: white;
            padding: 40px 0 20px;
            margin-top: 60px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 30px;
        }

        .footer-col h3 {
            font-size: 1.5rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--secondary-color);
        }

        .copyright {
            text-align: center;
            padding: 20px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .gallery-header h1 {
                font-size: 2rem;
            }
            
            .gallery-slide img {
                height: 350px;
            }
            
            .gallery-index {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            }
        }

        @media (max-width: 576px) {
            .gallery-header h1 {
                font-size: 1.8rem;
            }
            
            .gallery-slide img {
                height: 300px;
            }
            
            .gallery-controls button {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
            
            .index-item {
                height: 80px;
            }
        }
    

        
footer{
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 0 24px;
  position: relative;
  overflow: hidden;
}

/* décor léger */
footer::before{
  content:"";
  position:absolute;
  inset:-40% -20% auto auto;
  width:420px;
  height:420px;
  border-radius:50%;
  background: radial-gradient(closest-side, rgba(39,196,160,0.15), transparent 70%);
  pointer-events:none;
}

/* wrapper générique si tu utilises déjà .container sur le site */
footer .container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* grille principale */
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* logo/description + contact */
  gap: 32px;
  align-items: start;
}

/* colonnes */
.footer-col{
  min-width: 0;
}

/* logo */
.footer-logo{
  width: 160px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  margin-bottom: 12px;
}

/* texte description */
.footer-col p{
  color: var(--footer-muted);
  line-height: 1.6;
  margin: 8px 0 0;
  font-size: 0.98rem;
}

/* titres */
.footer-col h3{
  font-size: 1.1rem;
  letter-spacing: .3px;
  margin: 6px 0 14px;
  color: var(--footer-text);
  position: relative;
}

/* petite barre d’accent sous le titre */
.footer-col h3::after{
  content:"";
  display:block;
  width: 44px;
  height: 3px;
  background: var(--footer-accent);
  border-radius: 999px;
  margin-top: 10px;
}

/* lignes contact */
.contact-info{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--footer-muted);
  border-bottom: 1px solid var(--footer-border);
}

.contact-info:last-child{
  border-bottom: none;
}

/* icônes FA */
.contact-info i{
  font-size: 1rem;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(39,196,160,0.12);
  color: var(--footer-accent);
  flex-shrink: 0;
}

/* texte contact */
.contact-info span{
  font-size: 0.98rem;
  word-break: break-word;
}

/* barre copyright */
.copyright{
  border-top: 1px solid var(--footer-border);
  margin-top: 28px;
  padding-top: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  color: var(--footer-muted);
  font-size: 0.92rem;
}

/* cœur animé légèrement au survol */
.copyright i.fa-heart{
  transition: transform .2s ease;
}
.copyright i.fa-heart:hover{
  transform: scale(1.15);
  color: var(--footer-accent);
}

/* états interactifs (si email/téléphone deviennent liens) */
footer a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color .2s ease, border-color .2s ease, opacity .2s ease;
}
footer a:hover{
  color: var(--footer-text);
  border-color: var(--footer-accent);
  opacity: .95;
}

/* =========================
   Responsive
   ========================= */

/* tablettes */
@media (max-width: 900px){
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-logo{
    width: 150px;
  }
  .copyright{
    grid-template-columns: 1fr;
    text-align: center;
    row-gap: 6px;
  }
}

/* petits mobiles */
@media (max-width: 480px){
  footer{
    padding: 40px 0 20px;
  }
  .contact-info{
    gap: 10px;
    padding: 9px 0;
  }
  .footer-col h3{
    font-size: 1.02rem;
  }
  .footer-col p,
  .contact-info span{
    font-size: 0.95rem;
  }
}