
:root{
  --c-bg:#16528C; --c-primary:#16528C; --c-warm:#FFBF66; --c-cta:#F99BE8; --c-fond: #161624;
  --c-text: #2B2C3D ;--c-muted:#6B7C80; --c-card:#FFFFFF; --c-border:#E3EEF0;
  --page-bg:#F7FBFC; --header-bg:linear-gradient(180deg, #F9FCFD 0%, #F2F8F9 100%);
  --shadow:0 8px 22px rgba(16,24,40,.06);

  
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');


/* Cache visuel + hors accessibilité */
.honeypot {
  position: absolute !important;
  left: -10000px !important;  /* hors écran */
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;      /* compat vieux navigateurs */
  clip-path: inset(50%) !important;    /* moderne */
  white-space: nowrap !important;
}

/* ===== Reset simple ===== */
*{box-sizing:border-box}
html,body{height:100%}
img{max-width:100%;display:block}
a{color:var(--c-primary);text-decoration:none}


/* 1) Reset + fond global */
html {
  height: 100%;

  background: var(--page-bg);  
  scroll-padding-top: 80px;
  scroll-behavior: smooth;    /* évite le liseré blanc sur overscroll */
}
body {
  font-family: "Inter", system-ui, sans-serif;
  
  color: var(--page-bg);
  min-height: 100vh;
  height: auto;

                /* crée un contexte pour le ::after */
   
  margin: 0;         /* marge en haut et en bas */
  background: #F7FBFC;     
                 /* assure l’empilement au-dessus du bg */
}




.wrapper{
  margin: 0 var(--wrapper-x);
  width: calc(100% - var(--wrapper-x) * 2); /* même largeur que wrapper */
  
  border-radius: 12px; /* angles arrondis */
  /*box-shadow: 0 8px 20px rgba(0,0,0,.1);*/
  z-index: 0;
  position: relative;
   
}



/* isole le body (évite que des transforms ancêtres créent des contextes bizarres) */
body { isolation: isolate; }


/* PRELOADER plein écran au-dessus de tout */
#preloader{
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  display: grid; place-items: center;
  background: var(--c-bg);              /* opaque = on ne voit rien bouger dessous */
  z-index: 2147483647;               /* très au-dessus de tout */
  pointer-events: all;               /* capte tous les clics */
  transition: opacity .2s ease, visibility .2s ease;
}

/* spinner */
#preloader .spinner{
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.25);
  border-top-color: var(--c-cta);
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* disparition douce */
#preloader.hidden{
  opacity: 0; visibility: hidden;
}

/* Preloader au-dessus de tout tant qu’il est visible */
#preloader{

  z-index: 9999;
}

/* Quand on le cache, il ne doit PLUS capter les clics */
#preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Optionnel : si tu utilises preloading pour bloquer, ok,
   mais il faut bien l’enlever (ton JS le fait). */
body.preloading{
  overflow: hidden;
}


















/* ===== Navbar ===== */


/* Contenu centré et limité */



/* Brand + logo */
.brand{
  width: 60px;   /* largeur fixe */
  height: 60px; 

}

.brand img:hover {
  transform: rotate(-5deg) scale(1.05);
}


:root { --nav-x: 100px; }          /* marge l&r desktop */
@media (max-width:900px){
  :root { --nav-x: 1px; }        /* marge l&r mobile */
}


/* Navbar */
.navbar {
  position: fixed;
  left: 0;   /* colle au même décalage que le nav */
  right: 0;  /* idem à droite */
  height: 60px;
  z-index: 999;
  background-color:   rgba(255, 255, 255, 0);

  padding: 0px var(--nav-x);

  



}



/* Navbar */
.navbar.scrolled {

  
  background: #161624d6;
  color : white; 

}






/* corrige ce bloc : padding: 0 auto; est invalide */
.nav-wrapper{
  margin: 0 auto;
  height: 100%;                 /* espace interne */
  display: flex;
  align-items: center;
  justify-content: space-between;
             /* garde l’alignement du contenu */
}



.nav-links{
  margin: auto;
  display:flex;
  gap:28px;
  align-items:center;   /* centre verticalement */
  justify-content:center; /* centre horizontalement si besoin */
  
  
}


.nav-links a{

    color : var(--c-text);
  text-decoration:none;transition:.2s;
  font-weight: 800;

}
.nav-links a:hover{color:var(--c-muted)}

.navbar.scrolled .nav-links a{

  color : white;

}

.btn-nav{
  text-decoration: none;
  background: var(--c-bg) ;color: white !important;
  padding:.3rem 1rem;border-radius:5px;border:1px solid transparent;
  box-shadow:var(--shadow);
}

/* Burger */
.burger{
  display:none; flex-direction:column; gap:5px;
  background:transparent; border:0; cursor:pointer;
  width:42px; height:42px; align-items:center; justify-content:center;
}
.burger span{
  width:24px; height:2px; background:var(--c-cta); border-radius:2px;
  transition:transform .3s ease, opacity .2s ease, width .2s ease;
}
.burger span + span{ margin-top:6px; }
/* Burger -> X quand aria-expanded=true (ton JS met déjà l’attribut) */
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; width:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu (fermé par défaut) */
.nav-mobile{
  display:none; flex-direction:column;
  position:fixed; top:0; right:0; height:100vh; width:min(80vw, 360px);
  background: color-mix(in srgb, var(--c-fond) 60%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-left:1px solid var(--c-fond);
  padding: max(16px, env(safe-area-inset-top)) 20px 24px;
  box-shadow:-18px 0 40px rgb(0 0 0 / 14%);
  z-index:1000;
}
/* Ouvert : on garde display:flex et on anime l’entrée */
.nav-mobile.open{
  display:flex;
  animation: navSlideIn .35s cubic-bezier(.22,.61,.36,1) both;
}
/* Overlay visuel (pas cliquable) */
.nav-mobile.open::before{
  content:"";
  position:fixed; inset:0; right:min(80vw, 360px);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
  z-index:-1;
  animation: fadeIn .25s ease both;
}

/* Liens */
.nav-mobile a{
  padding:14px 10px; color:var(--page-bg); text-decoration:none; border-radius:12px;
  transition: background .2s ease, transform .1s ease;
}
.nav-mobile a:hover{ background: rgba(0,0,0,.06); }
.nav-mobile a:active{ transform: scale(.98); }

/* Responsive : on garde ta logique */
@media (max-width:820px){
  .nav-links{display:none}
  .burger{display:flex}
  .btn-nav{display: none;}

}

/* Animations */
@keyframes navSlideIn{
  from{ transform: translateX(12px); opacity:0; }
  to  { transform: translateX(0);     opacity:1; }
}
@keyframes fadeIn{
  from{ opacity:0; }
  to  { opacity:1; }
}









/* bouton principal */
.btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 15px;
  border-radius: 5px;

  background: var(--c-bg);
  color: #fff;
  font-weight: 600;
  text-decoration: none;

  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(22,82,140,.25);
}

/* bouton secondaire */
.btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 15px;
  border-radius: 5px;
  border: 1px solid rgba(22,82,140,.35);
  color: var(--c-bg);
  text-decoration: none;
  font-weight: 600;

  transition: background .15s ease, transform .15s ease;
}

.btn-secondary:hover{
  background: rgba(22,82,140,.06);
  transform: translateY(-2px);
}


@media (max-width: 900px){


  .btn-primary,
  .btn-secondary{
    padding: 12px 18px;        /* boutons plus compacts */
    font-size: 14px;
    border-radius: 4px;
  }

}































.container-1100{
  width: 90%;
  z-index: 2;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 52px);
  box-sizing: border-box;
}
/* ALIGNEMENT GLOBAL DES HEADERS */

section > .container-1100 > header{
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 30px;
  margin: 0;

}

















.hero{
  margin-top: 0;
  position: relative;
  min-height: auto;
  padding-top: 150px ;
  padding-bottom: 50px;
  display: flex;
  align-items: left;
  overflow: hidden;
  max-width: 100%;
}


.hero__bg{
  position: absolute;
  inset: 0;

  /* IMAGE + DARK OVERLAY PLUS LÉGER */
  background-image:
    url("/static/img/hero-bg.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}



/* Container */
.hero__container{
  position: relative;
  z-index: 1;
  margin: 0 auto;
  
}

/* Colonne gauche */
.hero__content{
  text-align: left;
  max-width: 55%;
  
}

/* Typo */
.hero h1{
  font-size: 70px;
  line-height: 1.05;
  font-weight: 750;
  color: var(--c-text);
}

.hero h1 .accent{
  color: var(--c-bg);
}

.hero .subtitle{
  font-size: 35px;
  color: var(--c-text);
}

.hero p.lead{


  color: var(--c-text);
  font-size: 16px;
  line-height: 1.7;
}

/* Badges */
.badges{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: auto;
  margin-bottom: 20px;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  background: #f99be8bb;

  padding: 10px 14px;
  border-radius: 12px;
  font-size: 1.1rem;
  backdrop-filter: blur(8px);
}

.badge-icon{
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Petit footer (gif) */
.hero__footer{
  margin-top: 18px;
  display: flex;
  justify-content: center; /* centrage horizontal */
  align-items: center;     /* centrage vertical si besoin */

  
}

.hero-gif{
  
  width: 150px;
  height: auto;

}

/* Responsive */
@media (max-width: 900px){
  .hero{
    padding-top : 90px;
    min-height: 85vh;
  }

  .hero h1{
    font-size: 50px;
  }
  .hero__bg{
    background-size: cover;

      background-image:
        url("/static/img/hero-bg1.jpg");

  }

  .hero .subtitle{
    font-size: 25px;
  }

  .hero p.lead{
    font-size: 15px;
  }

  .badges{
    display: flex;
    flex-wrap: wrap;

    justify-content: center;   /* centre horizontalement */
    align-items: center;

    gap: 14px 18px;            /* espace vertical + horizontal */

    margin: 18px auto 22px;
    max-width: 700px;          /* évite l’étalement moche */
  }

  .badge{

    font-size: 0.9rem;
    padding: 8px 10px;
  }
  .hero__content{
    text-align: center;
    max-width: 100%;
  }

  .hero p.lead{
    margin-top: 20px ;
  }
  .hero-gif{
  
    width: 150px;
  }



}

.hero__cta{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}

/* bouton principal */
.hero__cta .btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 15px;
  border-radius: 5px;

  background: var(--c-bg);
  color: #fff;
  font-weight: 600;
  text-decoration: none;

  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.hero__cta .btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(22,82,140,.25);
}

/* bouton secondaire */
.hero__cta .btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 15px;
  border-radius: 5px;
  border: 1px solid rgba(22,82,140,.35);
  color: var(--c-bg);
  text-decoration: none;
  font-weight: 600;

  transition: background .15s ease, transform .15s ease;
}

.hero__cta .btn-secondary:hover{
  background: rgba(22,82,140,.06);
  transform: translateY(-2px);
}


@media (max-width: 900px){

  .hero__cta{
    justify-content: center;   /* centre horizontalement */
    text-align: center;
    gap: 12px;
    margin: 20px 0 22px;
  }

  .hero__cta .btn-primary,
  .hero__cta .btn-secondary{
    padding: 12px 18px;        /* boutons plus compacts */
    font-size: 14px;
    border-radius: 4px;
  }

}
























/* =========================
   WHAT I DO (3 colonnes + checks)
   ========================= */

.whatIDo{
  padding: 50px 0 70px;
  background: var(--page-bg);
  border-top : 8px solid var(--c-cta);
  border-bottom : 8px solid var(--c-cta);

}


.whatIDo__title{
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--c-text);
}

.whatIDo__subtitle{
  margin: 0;
  line-height: 1.65;
  opacity: .86;
  color: var(--c-text);
}

/* Grid */
.whatIDo__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* Card */
.doCard{
  padding: 22px 22px 24px;
  border-radius: 5px;
  background: #ffffff19;
  border-color: #ffffff5b;
  box-shadow: 0 0 0 1px rgba(22,82,140,.35) inset;
  color : var(--c-text) ;
}

.doCard__title{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--c-text);
}

.doCard__desc{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  opacity: .8;
}

/* List */
.doList{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.doList__item{
  position: relative;
  padding-left: 26px;
  line-height: 1.55;
  font-size: 14px;
  opacity: .9;
  color: var(--c-text);
}

/* check “validé” */
.doList__item::before{
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
}

/* the check mark */
.doList__item::after{
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--c-cta);
  border-bottom: 2px solid var(--c-cta);
  transform: rotate(-45deg);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px){
  .whatIDo{
    text-align: center;
  }

  .whatIDo__grid{
    grid-template-columns: 1fr;
    text-align: left;
  }

  .doCard{
    opacity: .35;
    transform: scale(.96);
    transition: all .35s ease;
  }

  .doCard.is-active{
    opacity: 1;
    transform: scale(1);
  }
  .doCard.is-active{
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
  }
  .doCard{
    transform: translateY(20px) scale(.96);
  }

  .doCard.is-active{
    transform: translateY(0) scale(1);
  }



}




































/* ====== PAINS STICKY (tabs à gauche, contenu à droite) ====== */

.painsSticky{
  width: 100%;
  padding-top: 50px;   /* ↓ moins haut */
  padding-bottom: 18px;/* ↓ moins haut */
  color : var(--page-bg);
  background-color: var(--c-fond);
}

/* Header */
.painsSticky__header{
  text-align: left;
}

.painsSticky__title{
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 800;
  margin: 0 0 8px;   /* ↓ moins haut */
  line-height: 1.10; /* léger compact */
}

.painsSticky__subtitle{
  margin: 0 auto;
  line-height: 1.5;  /* ↓ un peu plus compact */
  opacity: .78;
}

/* Layout desktop */
.painsSticky__wrap{
  display: grid;
  grid-template-columns: 380px 1fr; /* ↓ un peu moins large mais fidèle */
  gap: 18px; /* ↓ moins haut */
  align-items: start;
  box-sizing: border-box;


}

/* ===== Tabs (desktop sticky) ===== */

.painsSticky__tabs{
  position: sticky;
  top: 20vh; /* navbar + marge */
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
}

.painsSticky__tab{
  width: 100%;
  text-align: left;
  font-size: 18px;          /* ↓ un peu plus compact */
  padding: 20px 20px;       /* ↓ beaucoup plus compact */
  border-radius: 5px;

  cursor: pointer;
  border: 1px solid #16538c23;
  background: transparent;
  color: inherit;

  font-weight: 650;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  color : var(--c-text);
  display: flex;
  align-items: center;
  gap: 12px; /* ↓ */
}

.painsSticky__tab:hover{
  background: rgba(255,255,255,.05);
}

.painsSticky__tab.is-active{
  background: #ffffff19;
  border-color: #ffffff5b;
  box-shadow: 0 0 0 1px rgba(22,82,140,.35) inset;
  color : white ;
}

/* Numéro */
.painsSticky__tabNum{
  font-size: 30px;        /* ↓ plus compact */
  font-weight: 900;
  letter-spacing: .10em;  /* ↓ proche du tien */
  color: var(--c-text);
  opacity: .9;
  min-width: 26px;
}

.painsSticky__tab.is-active .painsSticky__tabNum{
  color: var(--c-bg);
  opacity: 1;
}

.painsSticky__tabLabel{
  line-height: 1.15;
}

/* ===== Panels ===== */

.painsSticky__content{
  display: flex;
  flex-direction: column;
  gap: 14px; /* ↓ */
}

.painsSticky__panel{
  position: relative;
  overflow: hidden;
  border-radius: 5px;

  padding: 18px 18px; /* ↓ */
  box-sizing: border-box;

  min-height: 35vh;       /* ✅ au lieu de 35vh = beaucoup moins haut */
  scroll-margin-top: 50px;

  border: 1px solid rgba(255,255,255,.10);


  
}

/* actif */
.painsSticky__panel.is-active{
  background: #ffffff19;
  border-color: #ffffff5b;
  box-shadow: 0 0 0 1px rgba(22,82,140,.35) inset;
  color : white ;
  transform: scale(1);
 
}

/* non actifs : visibles mais atténués */
.painsSticky__panel:not(.is-active){
  opacity: .55;           /* proche du tien */
  transform: scale(.985); /* très léger */
}


.painsSticky__panel > *{
  position: relative;
  z-index: 2;
}

.painsSticky__panelTitle{
  margin: 0 0 8px;
  font-size: clamp(18px, 2.0vw, 24px);
  line-height: 1.2;
}

.painsSticky__lead{
  margin: 0;
  line-height: 1.45; /* ↓ */
  opacity: .82;
}

.painsSticky__bullets{
  margin: 10px 0 0;
  padding-left: 18px;
}

.painsSticky__bullets li{
  margin: 7px 0;    /* ↓ */
  line-height: 1.35;/* ↓ */
}


/* ===== Responsive : tabs en haut + scroll horizontal ===== */
@media (max-width: 900px){
    /* Header */
  .painsSticky__header{
    text-align: center;
  }

  .painsSticky__wrap{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Tabs en haut, scroll horizontal */
  .painsSticky__tabs{
    position: static;   /* ✅ tu voulais sticky en haut */
    top: 76px;          /* garde ton offset navbar */
    z-index: 30;

    display: flex;
    flex-direction: row;
    gap: 10px;

    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;

    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;

    padding: 8px 12px;
    margin: 0 -16px; /* pour aller aux bords du container */


    scrollbar-width: none;
  }
  .painsSticky__tabs::-webkit-scrollbar{ height: 0; }

  /* Chaque tab = chip */
  .painsSticky__tab{
    flex: 0 0 auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;

    padding: 10px 14px;
    font-size: 15px;
    gap: 10px;
  }

  .painsSticky__tabNum{
    font-size: 18px;
    min-width: 18px;
    letter-spacing: .08em;
  }

  /* Panels en scroll horizontal */
  .painsSticky__content{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    padding: 6px 12px 10px;
    margin: 0 -16px;
    scroll-padding-left: 12px;

    scrollbar-width: none;
  }
  .painsSticky__content::-webkit-scrollbar{ height: 0; }

  .painsSticky__panel{
    scroll-snap-align: start;
    scroll-snap-stop: always;

    min-height: auto;     /* ✅ au lieu de 45vh */
    padding: 14px 14px;   /* ↓ */
    scroll-margin-top: 0;
  }
}

@media (max-width: 768px){
  .painsSticky__content{
    grid-auto-columns: 90%;
  }
  .painsSticky__panel{
    padding: 14px 14px;
  }
}































/* =========================
   PROCESS 
   ========================= */

.process{
  padding: 50px 0;
  background: var(--page-bg);
  border-top: 8px solid var(--c-cta);
}

.process__title{
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  color : var(--c-text);
}

.process__subtitle{
  margin: 0;
  line-height: 1.65;
  opacity: .86;
  color : var(--c-text);
}

/* GRID */
.process__grid{
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* CARD */
.process-step{
  position: relative;
  background:#16538c05 ;
  border-radius: 5px;
  padding: 18px 16px 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  height: auto;
  overflow: visible;
}

.process-step::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 200px at 20% 0%, rgba(22, 82, 140, .10), transparent 60%);
  pointer-events: none;
}

/* NUM BADGE */
.process-step__num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--c-text);
  margin-bottom: 12px;
  font-size: 40px;
}

.process-step h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-text);
}

.process-step p{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: .85;
  color: var(--c-text);
}

/* Hover (desktop) */
@media (hover:hover){
  .process-step{
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .process-step:hover{
    transform: translateY(-2px);
    border-color: rgba(22, 82, 140, .35);
    box-shadow: 0 16px 36px rgba(0,0,0,.10);
  }
}

/* =========================
   BREAKPOINTS
   ========================= */

/* <= 1100px : 2 colonnes */


/* <= 680px : 1 colonne + meilleur confort mobile */
@media (max-width: 900px){
  .process{
    text-align: left;
  }
  .process__header{
    text-align: center;
  }
  .process__grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-step{
    border-radius: 5px;
    padding: 16px 14px 14px;
  }
  .process-step__num{
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
  .process-step h3{
    font-size: 15px;
  }
  .process-step p{
    font-size: 14px;
  }
}


/* =========================
   PROCESS IMAGE ARROWS
   ========================= */

.process-step{
  position: relative;
}

/* Desktop : flèche horizontale */
.process-step:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 50%;
  right: -48px;
  transform: translateY(-50%);

  width: 70px;
  height: 70px;

  background-image: url("/static/img/arrow-right.gif");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  pointer-events: none;
}


/* =========================
   MOBILE (1 colonne)
   ========================= */


 
@media (max-width: 900px){

  .process-step{ position: relative; }

  /* IMPORTANT : reset + position verticale sur le même sélecteur */
  .process-step:not(:last-child)::after{
    top: auto !important;      /* annule top:50% */
    right: auto !important;    /* annule right:-xx */
    left: 50%;
    bottom: -55px;             /* place la flèche SOUS la card */

    transform: translateX(-50%);

    width: 80px;
    height: 80px;

    background-image: url("/static/img/arrow-down.gif");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    pointer-events: none;
  }

  /* espace pour éviter le chevauchement avec la card suivante */
  .process__grid{ row-gap: 38px; }
}

.process-card:nth-child(1){
  transform: translateY(0);
}

.process-card:nth-child(2){
  transform: translateY(24px);
}

.process-card:nth-child(3){
  transform: translateY(8px);
}

.process-card:nth-child(4){
  transform: translateY(32px);
}
@media (max-width: 900px){
  .process-card{
    transform: none !important;
  }
}






























/* =========================
   BENEFITS DEFINITIONS (accordion + image sync)
   ========================= */

.benefitsDefs{
  padding: 50px 0;
  background: var(--c-fond);
  border-top: 8px solid var(--c-cta);
}



.benefitsDefs__title{
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  color : white;
}

.benefitsDefs__subtitle{
  margin: 0;
  line-height: 1.65;
  opacity: .86;
  color : white;
}


/* =========================
   LEFT: Accordion list
   ========================= */

.benefitsDefs__list{
  border-top: 1px solid whitesmoke;
}

.benefitsDefs__item{
  border-bottom: 1px solid whitesmoke;
}

/* button row */
.benefitsDefs__btn{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 18px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;

  color : white;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
}

/* hover micro feedback */
.benefitsDefs__btn:hover{
  opacity: .92;
}

/* focus accessible */
.benefitsDefs__btn:focus-visible{
  outline: 3px solid whitesmoke;
  outline-offset: 8px;
  border-radius: 12px;
}

.benefitsDefs__btn > span:first-child{
  line-height: 1.2;
}

/* + / - icon */
.benefitsDefs__icon{
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  opacity: .9;
}

.benefitsDefs__icon::before,
.benefitsDefs__icon::after{
  content:"";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: whitesmoke;
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.benefitsDefs__icon::after{
  transform: translate(-50%, -50%) rotate(90deg);
}

/* open -> "-" */
.benefitsDefs__item.is-open .benefitsDefs__icon::after{
  opacity: 0;
}

/* panel text */
.benefitsDefs__panel{
  padding: 0 0 18px;
  color : white;
  opacity: .86;
  line-height: 1.75;
  font-size: 15px;
}

/* optional: tiny indent like screenshot */
.benefitsDefs__panel{
  padding-left: 0;
}

/* =========================
   RIGHT: Image sticky
   ========================= */

.benefitsDefs__media{
  position: sticky;
  top: 80px; /* adapte à ta navbar */
  align-self: start;
}

.benefitsDefs__mediaCard{
  border-radius: 18px;
  background: white;
  overflow: hidden;

  border: 1px solid var(--c-border, #E3EEF0);
  box-shadow: 0 18px 55px rgba(0,0,0,.08);
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 980px){
  .benefitsDefs__header{
    text-align: center;
  }


  .benefitsDefs__media{
    position: relative;
    top: auto;
    order: -1; /* image en haut */
  }

  .benefitsDefs__list{
    order: 0;  /* liste en dessous */
  }


  .benefitsDefs__btn{
    font-size: 18px;
    padding: 16px 0;
  }
}

































/* =========================
   USE CASES — BUSINESS SCROLL
   ========================= */

.usecases{
  padding: 50px 0;
  background: var(--page-bg);
  color: var(--c-text);
  border-top: 8px solid var(--c-cta);
}

/* HEADER */



.usecases__title{

  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-text);
}

.usecases__subtitle{
  margin: 0;
  line-height: 1.65;
  opacity: .86;
  color: var(--c-text);
}

/* =========================
   HORIZONTAL SCROLL RAIL
   ========================= */

.usecases__scroll{
  width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 420px);
  gap: 18px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: thin;
  scrollbar-color: rgba(22,82,140,.35) transparent;
}

/* Webkit scrollbar */

.usecases__scroll::-webkit-scrollbar{
  height: 9px;
}

.usecases__scroll::-webkit-scrollbar-thumb{
  background: rgba(22,82,140,.25);
  border-radius: 999px;
}

.usecases__scroll::-webkit-scrollbar-track{
  background: transparent;
}

/* =========================
   USE CASE CARD
   ========================= */

.usecase-card{
  scroll-snap-align: start;

  background: #fff;
  border: 1px solid var(--c-border, #E3EEF0);
  border-radius: 5px;

  padding: 33px;

  box-shadow: 0 14px 40px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease;

  display: flex;
  flex-direction: column;
}

.usecase-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

/* TITLE */

.usecase-card__title{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-text);
}

/* TEXT */

.usecase-card__text{
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  opacity: .85;
  color: var(--c-text);
}

.usecase-card__solution{
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  opacity: .92;
  color: var(--c-text);
}

/* =========================
   LIST WITH CHECKS
   ========================= */

.usecase-card__list{
  margin: 0 0 12px;
  padding: 0;
  list-style: none;

  display: grid;
  gap: 8px;
}

.usecase-card__list li{
  position: relative;
  padding-left: 22px;

  font-size: 13px;
  line-height: 1.5;
  opacity: .9;
  color: var(--c-text);
}

/* check icon */

.usecase-card__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 6px;

  width: 12px;
  height: 6px;

  border-left: 2px solid var(--c-primary, #16528C);
  border-bottom: 2px solid var(--c-primary, #16528C);

  transform: rotate(-45deg);
}

/* =========================
   TAG
   ========================= */

.usecase-card__tag{
  margin-top: auto;

  display: inline-block;
  align-self: flex-start;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;

  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(22,82,140,.1);
  color: var(--c-primary, #16528C);
  border: 1px solid rgba(22,82,140,.2);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px){


  .usecases__header{
    text-align: center;
  }

  .usecases__scroll{
    grid-auto-columns: 86%;
    gap: 14px;
  }



}

@media (max-width: 480px){

  .usecases__scroll{
    grid-auto-columns: 92%;
  }

}












/* =====================================================
   CONTACT CTA
   ===================================================== */

.contactCta{
  border-top : 8px solid var(--c-cta);
  background: var(--page-bg);
  color: var(--c-text);
  padding: 64px 0 80px;
}

/* Header */
.contactCta__header{
  margin-bottom: 28px;
}

.contactCta__title{
  margin: 0 0 10px;
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.contactCta__subtitle{
  margin: 0;
  line-height: 1.7;
  opacity: 0.85;
}

/* =====================================================
   GRID
   ===================================================== */

.contactCta__grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 900px){
  .contactCta__grid{
    grid-template-columns: 1fr;
  }
  /* Header */
  .contactCta__header{
    text-align: center;
  }
}

/* =====================================================
   MAIN CARD
   ===================================================== */

.contactCta__card{
  border: 1px solid var(--c-cta);
  border-radius: 5px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contactCta__cardTitle{
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.contactCta__text{
  margin: 0;
  line-height: 1.7;
  opacity: 0.9;
}

/* List */
.contactCta__list{
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
  opacity: 0.9;
}

.contactCta__list li{
  margin: 6px 0;
}

/* Actions */
.contactCta__actions{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 520px){
  .contactCta__actions{
    flex-direction: column;
  }
}

/* =====================================================
   SIDE BLOCK
   ===================================================== */

.contactCta__sideBox{
  background :#16538caa;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 5px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contactCta__sideTitle{
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

/* Mini list */
.contactCta__mini{
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
  opacity: 0.9;
}

.contactCta__mini li{
  margin: 6px 0;
}

/* Note */
.contactCta__note{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

/* =====================================================
   HOVER (très léger)
   ===================================================== */

.contactCta__card:hover,
.contactCta__sideBox:hover{
  border-color: var(--c-cta);
  transition: border-color 160ms ease;
}


































/* =========================
   CONTACT CTA SECTION
   ========================= */


.section-contact{
  background: var(--page-bg);
  color: var(--c-text);
  padding: 65px 0 72px;
  height: 85vh;

}

/* Titre */
.section-contact h2{

  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-align: center;
  color: var(--c-bg);
}

.contact-intro{
  padding-bottom: 20px;
  line-height: 1.7;
  opacity: 0.85;
  text-align: center;
}

/* Layout */
.contact-simple{
  display: flex;
  justify-content: center;
}

/* Carte */
.contact-card{
  background: var(--c-fond);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 5px;
  padding: 34px;
  width: 100%;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color : white;
}

/* Header */
.contact-header{
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-avatar{
  width: 100px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-cta);
}

.contact-header h3{
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.contact-role{
  margin: 4px 0 0;
  font-size: 14px;
  opacity: 0.85;
}

/* Liste */
.contact-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-list li{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.contact-list .icon{
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.contact-list a{
  color: white;
  text-decoration: none;

}

.contact-list a:hover{
  color: var(--c-cta);
}

/* CTA */
.contact-cta{
  margin-top: 6px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px){
  .contact-cta{
    flex-direction: column;
  }
  .contact-card{
  max-width: 90%;
  }


}














































/*---------Offres---------------*/




/* =========================
   ========================= */

.page-offre .navbar {
  background-color: var(--page-bg);
  backdrop-filter: blur(8px);
  color : var(--c-text)
}

.page-offre .navbar.scrolled {
  background: #ffffffcf;
  color : var(--c-text);
}
.page-offre .navbar.scrolled .nav-links a{ 

  color : var(--c-text);

}
/* =================================================
   PAGE OFFRE — CSS SIMPLE & PREMIUM
   ================================================= */

.offre {
  background: var(--c-fond);

  padding: 95px 0 72px;
}



.offre__title {
  color: var(--c-bg);
  margin: 0 0 10px;

  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
}

.offre__subtitle {
  margin: 0;
  max-width: 820px;
  line-height: 1.7;
  opacity: .85;
}

/* Section titles */
.offre__h2 {
  padding-top: 30px;
  margin: 28px 0 12px;
  color: var(--c-bg);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
}

/* =================================================
   MODALITÉS
   ================================================= */


.offre__modalitesGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 10px;

}

.offre__modalitesGrid p {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .offre__modalitesGrid {
    grid-template-columns: 1fr;
  }
  .offre__modalitesGrid p:last-child {
    border-bottom: none;
  }
}

/* =================================================
   FORFAITS
   ================================================= */

.offre__cards {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .offre__cards {
    grid-template-columns: 1fr;
  }
}


/* Card */
.offreCard {
  padding: 18px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.035);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offreCard__top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.offreCard__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.offreCard__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.offreCard__price {
  margin: 4px 0 0;
  font-weight: 800;
}

.offreCard__desc {
  margin: 0;
  line-height: 1.65;
  opacity: .9;
}

.offreCard__list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
  opacity: .9;
}

/* =================================================
   TJM
   ================================================= */

.offre__tjm {
  margin-top: 24px;
}

.tjmCard {
  padding: 18px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.03);
  display: flex;
  gap: 14px;
  align-items: center;
  width:fit-content;
}

.tjmCard__icon {
  width: 34px;
  height: 34px;
}

.tjmCard__price {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.tjmCard__muted {
  margin: 6px 0 0;
  opacity: .85;
  line-height: 1.6;
}

/* =================================================
   CTA FINAL
   ================================================= */

.offre__finalCta {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.2);
  gap: 16px;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
}

.offre__finalText {
  line-height: 1.6;
  opacity: .9;

}







































/* =====================================================
   BASE SECTIONS
   ===================================================== */

#skills{
  background: var(--page-bg);
  color: var(--c-text);
  padding-top: 85px;
}
.experience{
  background: var(--page-bg);
  color: var(--c-text);
  padding-top: 40px;

}
#education {
  background: var(--page-bg);
  color: var(--c-text);
  padding : 40px 0;
}



/* =====================================================
   TITRES DE SECTION
   ===================================================== */

.section-head {
  margin-bottom: 20px;
}

.section-head h2,
.experience-section h2 {
  margin: 0 0 10px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--c-bg);
}

.section-head .subtitle {
  margin: 0;
  line-height: 1.7;
  opacity: 0.85;
}

/* =====================================================
   SKILLS
   ===================================================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}


@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.skill-card {
  background: #16538c00;
  border: 1px solid #16538c6b;
  border-radius: 5px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.skill-card p {
  margin: 0;
  line-height: 1.7;
  opacity: 0.9;
}

/* tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tags span {
  border: 1px solid var(--c-cta);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12.5px;
  color: var(--c-text);
  background: transparent;
}

/* =====================================================
   EXPERIENCE
   ===================================================== */

.experience-section {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.experience-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .experience-cards {
    grid-template-columns: 1fr;
  }
}

.experience-card {
  background: #16538c00;
  border: 1px solid #16538c6b;
  border-radius: 5px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.exp-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.company {
  font-size: 14px;
  opacity: 0.8;
}

.exp-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  opacity: 0.75;
}

.badge-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.experience-card p {
  margin: 0;
  line-height: 1.7;
  opacity: 0.9;
}

.experience-card ul {
  margin: 6px 0 0;
  padding-left: 18px;
  line-height: 1.7;
  opacity: 0.9;
}

/* =====================================================
   EDUCATION
   ===================================================== */

.education-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .education-cards {
    grid-template-columns: 1fr;
  }
}

.education-card {
  background: #16538c00;
  border: 1px solid #16538c6b;
  border-radius: 5px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.education-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.edu-meta {
  font-size: 13px;
  opacity: 0.75;
}

.edu-desc {
  line-height: 1.7;
  opacity: 0.9;
}

/* =====================================================
   HOVER (sobre, premium)
   ===================================================== */

.skill-card:hover,
.experience-card:hover,
.education-card:hover {
  border-color: var(--c-cta);
  transform: translateY(-2px);
  transition: transform 160ms ease, border-color 160ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .skill-card:hover,
  .experience-card:hover,
  .education-card:hover {
    transform: none;
    transition: none;
  }
}

















































































































































































/* ===== Section About ===== */
#about {
  padding-top: 65px;
  color: var(--c-text);
  text-align: center;
  background-color: var(--c-fond);
  
  

}
.page-about .navbar{
  background: var(--c-fond);
  color : white;
}
.page-about .navbar .nav-links a{
  color : white;
}

/* Cadre ondulé pour .about-intro */
.about-intro{

  height: 80vh;
  position: relative;
  border-radius: 18px;
  padding: 100px 150px;
  color: var(--c-card);
  overflow: visible;     
  display: flex;
  align-items: center;   /* aligne en haut */
  gap: 30px; 
  text-align: justify;  



}
.about-intro::before {

   
  content: "";
  position: absolute;
  inset: 0px;
  background: var(--c-cta);
   z-index: 0;
  background: url("/static/img/fond5.jpg") center center no-repeat;
  background-size: cover;
  opacity: 0.6;

}



.about-intro > *{ position: relative; z-index: 1; }

/* Fallback anciens navigateurs : simple bord arrondi */
@supports not (mask: url("")) {
  .about-intro::before{ display:none; }
  .about-intro{ border: 3px solid var(--c-cta); }
}


.about-photo img {
  width: 600px;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
  border: 3px solid var(--c-bg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: var(--c-cta);
}





/* Mobile large */
@media (max-width: 900px){

  .about-intro{
    display: flex;
    flex-direction: column;   /* Par défaut : en colonne */
    padding: 60px 22px;
    gap: 18px;
    align-items: center;
    height: fit-content;
  
  }
  .about-photo img{
    width: 230px;
    max-width: 100%;
    border-radius: 5px;
  }

  /* Cadre ondulé : un peu plus “souple” pour s’adapter au petit écran */
  .about-intro::before{
    inset: 0; 
    mask-size: 160% 140%;
    -webkit-mask-size: 160% 120%;
  
  }

 
}





























/*--------foooter--------------*/


.site-footer {
  border-top : 8px solid var(--c-cta);
  background: var(--c-fond);
  color: var(--c-bg);
  padding-top: 40px; 
  z-index: 999;

}


.footer-content {
  display: flex;
  flex-direction: column;      /* texte au-dessus, liens en dessous */
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  color : var(--page-bg);
}

.footer-content a {
  color: var(--c-bg);
}


/* 4) Liens du footer */
.footer-links {
  padding-top: 20px;
  display: flex;
  gap: 12px;
}

.footer-links a {
  display: inline-flex;        /* clic confortable */
  align-items: center;
  justify-content: center;
}

/* images sans espace de baseline */
.footer-links img {
  width: 22px;
  height: 22px;
  display: block;              /* évite l’espace sous l’image */
  transition: opacity .2s ease;
}
.footer-links img:hover { opacity: .7; }

/* 5) iOS safe area (évite un liseré sur iPhone avec barre gestuelle) */
.site-footer {
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}


















































































































































/* =========================
   Sections légales communes
   ========================= */
.legal-section,
.privacy-section{
  
  background: var(--c-card);
  color: var(--c-text);
  padding: 90px clamp(30px, 6vw, 100px)  ;
  padding-bottom: 40px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;



}





.legal-section .container,
.privacy-section .container{
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px);
}

/* =========================
   Titres & sous-titres
   ========================= */
.legal-section h1,
.privacy-section h1{
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: .2px;
  color: var(--c-text);
}

.legal-section h2,
.privacy-section h2{
  font-size: clamp(16px, 2vw, 20px);
  margin: 28px 0 10px;
  color: var(--c-text);
  position: relative;
}

.legal-section h2::after,
.privacy-section h2::after{
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--c-cta), transparent);
  border-radius: 2px;
}

/* =========================
   Paragraphe & listes
   ========================= */
.legal-section p,
.privacy-section p,
.legal-section li,
.privacy-section li{
  color: var(--c-dim);
  line-height: 1.7;
  font-size: 16px;
}

.legal-section ul,
.privacy-section ul{
  padding-left: 1.2rem;
  margin: 8px 0 18px;
}

.legal-section li,
.privacy-section li{
  margin: 6px 0;
}

/* =========================
   Blocs d'info (cartes)
   ========================= */
.legal-section p strong,
.privacy-section p strong{
  color: var(--c-text);
}

.legal-section .info,
.privacy-section .info{
  background: var(--page-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 10px 0 18px;
}

/* =========================
   Liens
   ========================= */
.legal-section a,
.privacy-section a{
  color: var(--c-cta);
  text-decoration: none;
  border-bottom: 1px dashed var(--c-cta);
  transition: color .2s ease, border-color .2s ease;
}

.legal-section a:hover,
.privacy-section a:hover{
  color: var(--c-bg);
  border-bottom-color: var(--c-border);
}

/* =========================
   Grille info (optionnel)
   ========================= */
.legal-section .grid,
.privacy-section .grid{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px){
  .legal-section .grid,
  .privacy-section .grid{
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================
   Éléments de contact (email / tel)
   ========================= */
.legal-section .contact-list,
.privacy-section .contact-list{
  display: grid;
  gap: 10px;
}

.legal-section .contact-item,
.privacy-section .contact-item{
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--page-bg);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 10px 12px;
}

.legal-section .contact-item svg,
.privacy-section .contact-item svg{
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  opacity: .9;
}

/* =========================
   Petits détails d’UI
   ========================= */
.legal-section .badge,
.privacy-section .badge{
  display: inline-block;
  font-size: 12px;
  letter-spacing: .3px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  color: var(--c-dim);
  margin: 0 6px 6px 0;
  background: var(--page-bg);
}

.legal-section .note,
.privacy-section .note{
  font-size: 14px;
  color: var(--c-dim);
  background: var(--c-card);
  border: 1px solid rgba(78,163,255,.25);
  border-radius: 12px;
  padding: 10px 12px;
}

/* =========================
   Accessibilité
   ========================= */
.legal-section a:focus,
.privacy-section a:focus{
  outline: 2px dashed var(--c-cta);
  outline-offset: 2px;
}

.legal-section h2:focus,
.privacy-section h2:focus{
  outline: none; /* titres ne doivent pas prendre le focus par défaut */
}




























/* Préloader */
#preloader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--c-bg); /* couleur de fond */
  z-index: 99999;
  transition: opacity .2s ease, visibility .2s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

#preloader .spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--c-cta);
  animation: spin .6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}































































/* ===== Sections ===== */
.section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: auto  ;

  background-color: var(--page-bg);

  padding: 70px 0px;
      
}



.scroll-x-projets {
  display: flex;             /* met les cartes côte à côte */
  overflow-x: auto;          /* active le scroll horizontal */
  overflow-y: hidden;        /* empêche le scroll vertical */
  gap: 22px;                 /* espace entre les cartes */
  padding: 10px 0px;
  background: var(--page-bg);
  width: 85vw;
  scroll-behavior: smooth;   /* défilement fluide */
  position: relative;

  
}

.scroll-x-projets::-webkit-scrollbar {
  height: 8px;               /* hauteur de la barre de scroll */
}
.scroll-x-projets::-webkit-scrollbar-thumb {
  background: var(--c-border);
  border-radius: 4px;
}
.scroll-x-projets::-webkit-scrollbar-track {
  background: var(--c-cta);
}



/* ===== Grilles / Cards ===== */
.grid {
  
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  max-width: 8vw ; 
  padding: auto 20px;
}
.card {
  
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 5px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 400px;
  height: auto;
  flex-shrink: 0;
  
}
.card__body { padding: 16px; }
.card h3 { margin: .2rem 0 .4rem; font-size: 20px; }
.card p { margin: 0 0 .6rem; }


.section h2{
  text-align:center;font-size: 32px;margin: auto;
  color : var(--c-bg); padding-bottom: 1vh; 
  
}
.section .section-sub{
  text-align:center;max-width:820px;margin:auto; padding-bottom: 5vh;
  color : var(--c-bg);
  
}


@media (max-width: 900px){
  .section h2{
    font-size: 26px;
    padding: 0;
    }
  .section .section-sub{
    padding: 30px 10px;

  }
  .scroll-x-projets {
    margin: auto;
    width: 78vw;
  }
  .card {
    min-width: 350px;
    max-height: 500px ;

  
}



    
}



/* ===== Project card ===== */
.proj__media {
  height: 170px;
  background: var(--page-bg);
  overflow: hidden;
  border-bottom: 3px solid var(--c-cta);
}
.proj__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--c-primary);
}

.card__actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

/* ===== Compétences ===== */
/* Section */











































