/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* HEADER BUBBLE */
.header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  max-width: 1050px;
 background: rgba(255, 255, 255, 0.50); /* Fond blanc à 75% d'opacité */
    backdrop-filter: blur(12px);          /* Floute ce qui est derrière la bulle */
    -webkit-backdrop-filter: blur(12px);
  border-radius: 38px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  z-index: 1000;
}

/* LOGO */
.logo {
  height: 40px;
}

/* CENTER NAV (BULLE) */
.nav-main {
  background: #f3f3f3;
  padding: 10px 35px;
  border-radius: 40px;
}

.nav-main ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-main a {
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-main a:hover {
  opacity: 0.6;
}

/* RIGHT SIDE */
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-link {
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 500;
}

.lang-select {
  background: #f3f3f3;
  border: none;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
}

/* HAMBURGER */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: #111;
  display: block;
  margin: 6px 0;
}

/* MOBILE MENU */
.nav-mobile {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-main {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav-mobile {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: white;
    border-radius: 30px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  }

  .nav-mobile ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .nav-mobile a {
    text-decoration: none;
    color: #111;
    font-size: 16px;
  }
}

/* ===== MOBILE MENU ===== */
.nav-mobile {
  display: block;              /* IMPORTANT: pour que la transition marche */
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 90%;
  max-width: 520px;
  background: #fff;
  border-radius: 30px;
  padding: 22px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

/* ouvert */
.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center; /* ✅ texte centré */
}

.nav-mobile a {
  text-decoration: none;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  display: block;
  padding: 10px 0;
}

.mobile-divider {
  height: 1px;
  background: #eee;
  margin: 6px 0;
}

/* ✅ Select centré dans mobile */
.nav-mobile .lang-select {
  display: block;
  margin: 0 auto;
  width: 70%;
  max-width: 220px;
  text-align: center;
  background: #f3f3f3;
  border: none;
  border-radius: 18px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-main { display: none; }
  .header-actions { display: none; } /* profil/langue du haut cachés */
  .menu-btn { display: block; }
}
/* ===== ACTIVE LINK (DESKTOP) ===== */
.nav-main a.active {
  background: white;
  padding: 8px 18px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  color: #111;
}

/* ===== ACTIVE LINK (MOBILE) ===== */
.nav-mobile a.active {
  background: #f3f3f3;
  border-radius: 20px;
  padding: 12px 0;
  display: block;
}
/* =========================
   HAMBURGER ANIMATION
========================= */
.menu-btn span {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* état ouvert */
.menu-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  transform: translateY(-8px) rotate(-45deg);
}
/* ===== MOBILE SIZE REDUCTION ===== */
@media (max-width: 600px) {

  /* BULLE HEADER */
  .header {
    width: 92%;
    padding: 7px 12px;
    border-radius: 26px;
    top: 12px;
  }

  /* LOGO */
  .logo {
    height: 30px;   /* avant: 42px */
  }

  /* BOUTON HAMBURGER */
  

  /* BULLE MENU MOBILE */
  .nav-mobile {
    top: 70px;
    width: 92%;
    padding: 16px;
    border-radius: 22px;
  }

  /* LIENS DU MENU */
  .nav-mobile a {
    font-size: 14px;
    padding: 8px 0;
  }

  /* LANG SELECT MOBILE */
  .nav-mobile .lang-select {
    width: 80%;
    font-size: 13px;
    padding: 8px 12px;
  }
}


/* ================================
   FOOTER
================================ */

.site-footer {
    background: black;
    color: #ffffff;
    padding-top: 60px;
}

/* CONTENEUR */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 0 8% 50px;
}

/* COLONNES */
.footer-col h3,
.footer-col h4 {
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5f5;
}

/* LISTES */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #cbd5f5;
}

.footer-col ul li i {
    margin-right: 8px;
    color: #38bdf8; /* bleu moderne */
}

/* LIENS */
.footer-col ul li a {
    text-decoration: none;
    color: #cbd5f5;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

/* SOCIAL */
.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background: #38bdf8;
    color: #020617;
    transform: translateY(-4px);
}
.footer-container {
  column-gap: 100px; /* avant 40px */
}

/* BAS */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 8%;
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* MOBILE */
@media (max-width: 768px) {

    .footer-container {
        padding: 0 6% 40px;
    }

    .footer-bottom {
        padding: 18px 6%;
    }
}

/* ANIMATIONS */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

   
/* --- TABLETTES (Largeur max 1024px) --- */
@media (max-width: 1024px) {


    /* FOOTER */
    .footer-col h3, .footer-col h4 {
        font-size: 1.1rem; /* Titre footer */
    }

    .footer-col p, .footer-col ul li {
        font-size: 1rem; /* On remonte à 16px au lieu de 0.95rem */
    }
    
    .footer-bottom {
        font-size: 0.85rem; /* Texte secondaire (minimum 13px-14px) */
    }
}

/* --- OPTIMISATION PETITS MOBILES (ex: 360px) --- */
@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .about__title {
        font-size: 1.5rem;
    }
}

  /* --- STYLES GÉNÉRAUX --- */
        .service-section {
            background-color: #0a0a0a;
            color: #ffffff;
            padding: 100px 8%;
            font-family: 'Inter', sans-serif;
            position: relative;
            z-index: 10;
        }

        .service-header {
            text-align: center;
            margin-bottom: 70px;
        }

        .service-subtitle {
            color: #dfb66e;
            text-transform: uppercase;
            letter-spacing: 5px;
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 15px;
            display: block;
        }

        .service-title {
            font-size: clamp(1.8rem, 5vw, 2.8rem);
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: -1px;
        }

        /* --- GRID (DESKTOP) --- */
        .service-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur PC */
            gap: 30px;
            max-width: 1300px;
            margin: 0 auto;
        }

        .service-card {
            background-color: #141414;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
            border: 1px solid rgba(255,255,255,0.03);
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
        }

        .service-card:hover {
            transform: translateY(-12px);
            border-color: rgba(223, 182, 110, 0.4);
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        }

        .service-img-wrapper {
            width: 100%;
            height: 260px;
            overflow: hidden;
        }

        .service-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 1.2s ease;
        }

        .service-card:hover .service-img-wrapper img {
            transform: scale(1.1);
        }

        .service-body {
            padding: 40px;
            flex-grow: 1;
        }

        .service-number {
            font-size: 0.75rem;
            color: #dfb66e;
            font-weight: 800;
            margin-bottom: 15px;
            display: block;
            letter-spacing: 2px;
        }

        .service-card h4 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .service-card p {
            font-size: 1rem; /* 16px minimum pour l'accessibilité mobile */
            color: #a0a0a0;
            line-height: 1.7;
            margin-bottom: 25px;
        }
        .service-link-btn::after {
            content: "→";
            transition: transform 0.3s ease;
        }
        .service-link-btn {
            color: #dfb66e;
            font-size: 0.8rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 2px;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: auto;
        }

        /* --- MODIFICATIONS MOBILE (FORCE 1 COLONNE) --- */
        @media (max-width: 900px) {
         
            .service-grid {
                grid-template-columns: 1fr; /* Force une seule case par ligne */
                gap: 40px;
            }

            .service-section {
                padding: 80px 20px;
            }

            .service-card {
                max-width: 500px; /* Évite que la carte soit trop large sur tablette */
                margin: 0 auto;  /* Centre la carte */
            }

            .service-img-wrapper {
                height: 230px; /* Hauteur adaptée pour mobile */
            }

            .service-body {
                padding: 30px;
            }
        }
        
        /* Animation d'apparition */
        .reveal-hidden { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
        .reveal-visible { opacity: 1; transform: translateY(0); }

       

     