/* ========== Variables globales ========== */
:root {
  --bg: #0b0f12;
  --text: #dfe7ee;
  --muted: #9fb0bb;
  --accent: #1de0b0;
  --ring: #16c784;
  --shadow: 0 10px 30px rgba(0,0,0,.4);
  --gallery-accent: #f3c623; /* couleur spéciale pour Galerie */
  --services-color: #e03c8a;
  --contact-color: #1db0e0;
  --home-color: #ffdc64;
}

*, *:before, *:after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { text-decoration: none; color: inherit; transition: all .3s ease; }

/* ========== HERO BACKGROUND ========== */
.hero {
  min-height: 100svh;
  background:
    radial-gradient(80vmax 60vmax at 70% 40%, rgba(31, 216, 179, 0.18), transparent 60%),
    radial-gradient(40vmax 40vmax at 10% 90%, rgba(31, 216, 179, 0.10), transparent 60%),
    linear-gradient(180deg, #0b0f12 0%, #0a0e10 100%);
  animation: bgMove 12s ease-in-out infinite alternate;
}
@keyframes bgMove {
  from { background-position: 0 0, 0 0, 0 0; }
  to   { background-position: 30px -40px, -20px 30px, 0 0; }
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
  position: relative;
}

/* ========== Topbar ========== */
.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255, .04);
  border: 1px solid rgba(255,255,255,.08);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: all .3s ease;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ring);
  box-shadow: 0 0 0 4px rgba(22,199,132,.18);
}
.badge:hover { transform: translateY(-2px) scale(1.02); }

/* Galerie bouton */
.gallery-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:10px 16px;
  border-radius:999px;
  background: rgba(243,198,35,0.15);
  border:1px solid rgba(243,198,35,0.4);
  font-weight:700;
  font-size:14px;
  color: var(--gallery-accent);
  box-shadow: 0 8px 25px rgba(243,198,35,0.2);
  transition: all 0.3s ease;
}
.gallery-link span {
  animation: sparkle 1.5s ease-in-out infinite alternate;
}
.gallery-link:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(243,198,35,0.25);
}
@keyframes sparkle {
  from { transform: translateY(0px); opacity:1; }
  to   { transform: translateY(-2px); opacity:0.8; }
}

/* À propos bouton */
.about-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:10px 16px;
  border-radius:999px;
  background: rgba(29,224,176,0.12);
  border:1px solid rgba(29,224,176,0.4);
  font-weight:700;
  font-size:14px;
  color: var(--accent);
  box-shadow: 0 8px 25px rgba(29,224,176,0.2);
  transition: all 0.3s ease;
}
.about-link:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(29,224,176,0.2);
}

/* Services bouton */
.services-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(224,60,138,0.15);
  border: 1px solid rgba(224,60,138,0.4);
  font-weight: 700;
  font-size: 14px;
  color: var(--services-color);
  box-shadow: 0 8px 25px rgba(224,60,138,0.2);
  transition: all 0.3s ease;
}

.services-link:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(224,60,138,0.25);
}

/* Contact bouton */
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(29,176,224,0.15);
  border: 1px solid rgba(29,176,224,0.4);
  font-weight: 700;
  font-size: 14px;
  color: var(--contact-color);
  box-shadow: 0 8px 25px rgba(29,176,224,0.2);
  transition: all 0.3s ease;
}

.contact-link:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(29,176,224,0.25);
}

/* Accueil bouton */
.home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 220, 100, 0.15);
  border: 1px solid rgba(75, 228, 106, 0.4);
  font-weight: 700;
  font-size: 14px;
  color: var(--home-color);
  box-shadow: 0 8px 25px rgba(255, 220, 100, 0.2);
  transition: all 0.3s ease;
}

.home-link:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(203, 180, 106, 0.25);
}

/* Langues */
.lang {
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:600;
  font-size:14px;
  color:var(--muted);
}
.lang select {
  background:transparent;
  color:inherit;
  border:none;
  outline:none;
  font-weight:600;
}

/* ========== SECTION A PROPOS ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}

.about-text h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--accent);
}
.about-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: var(--muted);
}

/* Actions (retour + whatsapp) */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}
.back-link {
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  transition: all 0.3s ease;
}
.back-link:hover {
  background: rgba(29,224,176,0.15);
  color: var(--accent);
}

/* WhatsApp */
.whatsapp {
  display:inline-flex;
  align-items:center;
  gap:12px;
  border:none;
  border-radius:9999px;
  padding:14px 20px;
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:700;
  font-size:16px;
  box-shadow: var(--shadow);
  outline: 1px solid rgba(255,255,255,.08);
  transition: all 0.3s ease;
}
.whatsapp:hover {
  background: rgba(29,224,176,.12);
  outline-color: var(--accent);
  transform: translateY(-3px) scale(1.02);
}
.whatsapp svg { width:22px; height:22px; }

/* Images */
.about-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-images img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transform: scale(0.96);
  opacity: 0;
  transition: all 1s ease;
}
.about-images img.fade-in {
  opacity: 1;
  transform: scale(1);
}
.about-images img.delay { transition-delay: 0.4s; }
.about-images img.delay2 { transition-delay: 0.8s; }

/* ========== Menu mobile ========== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 32px;
  height: 32px;
  gap: 5px;
  z-index: 10001; /* Au-dessus du menu mobile */
}
.menu-toggle span {
  display: block;
  height: 4px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Menu mobile */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 220px;
  background: rgba(11,15,18,0.95); /* Fond plus opaque pour mieux voir les liens */
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  padding: 80px 20px 20px;
  gap: 20px;
  transition: right 0.4s ease;
  z-index: 10000;
}

.nav-mobile a {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: block;
}
.nav-mobile a:hover {
  background: rgba(29,224,176,0.2);
  transform: translateX(-3px);
}

/* Afficher menu */
.nav-mobile.active {
  right: 0;
}

/* Forcer couleur pour les liens du menu mobile */
.nav-mobile a.home-link,
.nav-mobile a.gallery-link,
.nav-mobile a.about-link,
.nav-mobile a.services-link,
.nav-mobile a.contact-link {
  color: #fff;
}

/* ========== Responsive ========== */
@media(max-width: 900px){
  .about-grid { grid-template-columns: 1fr; }
  .about-images { flex-direction: row; flex-wrap: wrap; }
  .about-images img { width: 48%; }
  
  /* Cibler uniquement les liens de navigation principaux, pas tous les liens */
  .topbar > .topbar-links > a { 
    display: none; 
  }
  .menu-toggle { 
    display: flex; 
  }
}

/* Styles pour les liens de la topbar */
.topbar-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
/* ===== FOOTER STYLES ===== */
.site-footer {
  padding: 40px 20px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  text-align: center;
  font-family: "Inter", sans-serif;
}

.site-footer .container {
  max-width: 1200px;
  margin-inline: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  border-radius: 50%;
}

.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: #1de0b0;
  transform: scale(1.05);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

/* On remplace la taille en font-size et on cible les images */
.footer-social a img {
  width: 50px;   /* largeur souhaitée */
  height: 50px;  /* hauteur souhaitée */
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer-social a:hover img {
  transform: scale(1.2); /* petit effet au survol */
}


/* Responsive */
@media(max-width: 600px){
  .footer-top {
    flex-direction: column;
    gap: 12px;
  }
  .footer-nav {
    justify-content: center;
  }
}
