@font-face {
  font-family: 'CenturyGothic';
  src: url('../fonts/centurygothic.otf') format('opentype'),url('../fonts/centurygothic.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CenturyGothic';
  src: url('../fonts/centurygothic_bold.otf') format('opentype'),url('../fonts/centurygothic_bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
 


 #openContact1{ 
  display: none;
  }



section#Partenaires {
    padding: 20px 20px;
}
    :root{
      --brand:#F79232;      /* Couleur principale */
      /* --bg:#111215; */
       --bg:#FFF;         /* Gris foncé pour fond global */
      --fg:#111215;         /* Texte clair */
      --muted:#c9c9c9;      /* Texte mute */
      /* --card:#1A1C20; */
      --card:#FFF;       /* Fond de cartes */
      --radius:1.25rem;     /* Rayon arrondi */
    }
    html,body{height:100%;}
    body{
      
      font-family: 'CenturyGothic', sans-serif;
      background: var(--bg);
      color: var(--fg);
      -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
      scroll-behavior: smooth;
    }

    /* ====== Header ====== */
    .site-header{
     /* backdrop-filter:saturate(180%) blur(8px); 
      background:rgba(17,18,21,.6);*/
       border-bottom:1px solid rgba(255,255,255,.06);
      }    
    .brand-logo{font-weight:800; letter-spacing:.5px; color:var(--fg); text-decoration:none;}
    .brand-logo .dot{color:var(--brand)}

    /* Burger */
    .burger{ --w:33px; --h:4px; --gap:6px; width:44px; height:44px; border:0; outline:none; background:transparent; position:relative; display:inline-grid; place-items:center; border-radius:999px; transition:background .2s ease;}
    .burger:hover{ background:rgba(255,255,255,.06);}
    .burger .lines{ width:var(--w); height:calc(var(--h) * 3 + var(--gap) * 2); position:relative;}
    .burger .line{ position:absolute; left:0; right:0; height:5px; background:#fff; border-radius:2px; transition: transform .35s ease, opacity .2s ease;}
    .burger .line:nth-child(1){ top:0; width: 60%;}
    .burger .line:nth-child(2){ top:calc(var(--h) + var(--gap)); }
    .burger .line:nth-child(3){ top:calc(var(--h)*2 + var(--gap)*2); width: 60%;left: auto;}
    .burger[aria-expanded="true"] .line:nth-child(1){ transform:translateY(calc(var(--gap) + var(--h))) rotate(45deg); width: 100%;}
    .burger[aria-expanded="true"] .line:nth-child(2){ opacity:0; }
    .burger[aria-expanded="true"] .line:nth-child(3){ transform:translateY(calc(-1 * (var(--gap) + var(--h)))) rotate(-45deg);width: 100%;
    right: 1px !important;
    left: auto;}

    .btn-appointment{ border-radius:999px; padding:.55rem 1rem; font-weight:600; background:var(--brand); border:1px solid var(--brand); color:#111; box-shadow:0 6px 16px rgba(247,146,50,.25);}
    .btn-appointment:hover{ filter:brightness(1.05); color:#fff;}

    .header-row{position:relative;}
    .header-row .brand-center{ position:absolute; left:50%; transform:translateX(-50%);}


    .fixed-top {
    position: absolute; 
}
.btn:hover {
    color: #fff; 
}

#footer-orange {
  display: none;            /* caché au départ */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 101%;
  background: #F79232;
  z-index: 9999;
}


    /* ====== Overlay Menu Fullscreen ====== */
    .overlay-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.6); opacity:0; pointer-events:none; transition:opacity .3s ease;}
    .overlay{     z-index: 99;position:fixed; inset:0; display:grid; grid-template-rows:auto 1fr auto; background:linear-gradient(180deg, rgba(26,28,32,.96) 0%, rgba(17,18,21,.98) 100%); transform: translateY(-2%); opacity:0; pointer-events:none; transition: opacity .35s ease, transform .35s ease;}
    .overlay.open, .overlay-backdrop.open{ opacity:1; pointer-events:auto;}
    .overlay.open{ transform:translateY(0);}
    .overlay .menu{ list-style:none; padding:0; margin:0; display:grid; gap:1rem;}
    .overlay .menu a{ display:inline-block; font-size:clamp(1.35rem, 2.2vw, 2rem); font-weight:700; color:#fff; text-decoration:none; padding:.3rem 0; transform:translateY(10px); opacity:0;}
    .overlay.open .menu a{ animation: slideUp .5s ease forwards;}
    .overlay .menu a:nth-child(1){ animation-delay:.05s;}
    .overlay .menu a:nth-child(2){ animation-delay:.10s;}
    .overlay .menu a:nth-child(3){ animation-delay:.15s;}
    .overlay .menu a:nth-child(4){ animation-delay:.20s;}
    .overlay .menu a:nth-child(5){ animation-delay:.25s;}

    @keyframes slideUp{ to{ transform:translateY(0); opacity:1; } }

    .no-scroll{ overflow:hidden; }

    /* ====== Hero ====== */
    .hero{ position:relative; padding-top:7rem; padding-bottom:4rem; overflow:hidden;}
    .hero .glow{ position:absolute; inset:-20% -10% auto auto; width:60vw; height:60vw; background:radial-gradient( circle at 30% 30%, rgba(247,146,50,.35), rgba(247,146,50,0) 55% ); filter:blur(40px); pointer-events:none;}
    .hero h1{ font-weight:800; line-height:1.05; letter-spacing:.2px;}
    .hero p.lead{ color:var(--muted);}
    .chip{ display:inline-flex; align-items:center; gap:.5rem; padding:.375rem .75rem; border-radius:999px; background:rgba(247,146,50,.1); color:#ffcf9e; font-weight:600; border:1px dashed rgba(247,146,50,.45);}

    /* ====== Cards ====== */
    .glass-card{ background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)); border:1px solid rgba(255,255,255,.08); border-radius:var(--radius); box-shadow:0 10px 40px rgba(0,0,0,.35);}
    .card-acc{ transition:transform .25s ease, box-shadow .25s ease;}
    .card-acc:hover{ transform:translateY(-4px); box-shadow: 0 18px 60px rgba(0,0,0,.45);}

    /* ====== Reveal on scroll ====== */
    .reveal{ opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease;}
    .reveal.revealed{ opacity:1; transform:none;}

    /* ====== Gallery ====== */
    .gallery img{ width:100%; height:240px; object-fit:cover; border-radius:14px;}
    .gallery1 img{ width:100%; height:240px; object-fit:cover; border-radius:14px;}

    /* ====== Footer ====== */
    footer{ border-top:1px solid rgba(255,255,255,.06);}

    /* ====== Utilities ====== */
    .text-brand{ color:var(--brand)!important; }
    .bg-brand{ background:var(--brand)!important; }
    .badge-soft{ background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); color:#ddd;}

    @media (max-width: 575.98px){
      .hero{ padding-bottom:2rem; }
      .gallery img{ height:180px; }
    }


#footer-orange p{
  text-align: center;
    font-size: 14px;
}














.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { 
    color: #111215;
}

.titreivoire{
    height: 90px;
    line-height: 60px;
}

  #top{
    background-color: #fff;
  }
  /* S'assure que #about accepte l'image en fond proprement */
#about{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

  :root{
    --brand:#F79232;
    --text:#fff;
    --shadow: rgba(0,0,0,.55);
    --thumb-border:#fff;
    --slide-duration: 6500ms; /* durée d’affichage d’un slide */
    --title-anim: 600ms;      /* anim titre/desc */
    --thumb-shift: 900ms;     /* anim déplacement d’une vignette */
  }

  *{box-sizing:border-box}
  html,body{height:100%;margin:0;background:#111;color:var(--text);font-family:'CenturyGothic', sans-serif}
  .section-slider{position:relative;min-height:100vh;overflow:hidden}

  /* --- Slides --- */
  .slides{
    position:relative;height:100vh;width:100%;overflow:hidden;z-index: 9;
  }
  .slide{
    position:absolute;inset:0;display:grid;grid-template-rows:auto 1fr;padding:clamp(16px,4vw,40px);
    opacity:0;transform:scale(1.02);transition:opacity .6s ease, transform .8s ease;
    background-size:cover;background-position:center;
  }
  .slide::before{
    content:"";position:absolute;inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.55));
    pointer-events:none;
  }
  .slide.active{opacity:1;transform:scale(1)}
  .slide .content{    position: absolute;
    z-index: 2;
    display: grid;
    gap: clamp(16px, 2vw, 24px);
     bottom: 0vh;
    padding: 30px;}
  /* Row 1: deux colonnes texte */
  .row-1{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,24px);
  }
  .kard{
    background:rgba(0,0,0,.35);backdrop-filter:saturate(1.2) blur(1px);
    border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:clamp(12px,2vw,18px);
    box-shadow:0 10px 30px var(--shadow);
  }
  .kard1{ 
  }
  .kard h4{margin:.2rem 0 .4rem;font-size:clamp(18px,2.2vw,24px);color:var(--brand)}
  .kard p{margin:0;line-height:1.5;font-size:clamp(14px,1.4vw,16px)}

  /* Row 2: 50/50 */
  .row-2{
    display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2vw,24px);align-items:end
  }
  .left-info{padding:clamp(12px,2vw,18px);position: relative;
    top: 0px;}
  .slide-title{margin:0;line-height:1.1;font-weight:800;letter-spacing:.2px;
    font-size:clamp(26px,4vw,40px);text-shadow:0 8px 32px var(--shadow);
  }
  .slide-desc{margin:.6rem 0 0;max-width:60ch;opacity:.9;font-size:clamp(14px,1.6vw,16px)}
  .title-wrap{overflow:hidden}
  .title-enter{animation:slideUpIn var(--title-anim) ease both}
  .title-leave{animation:slideUpOut var(--title-anim) ease both}

  @keyframes slideUpIn{
    from{transform:translateY(110%);opacity:0}
    to{transform:translateY(0);opacity:1}
  }
  @keyframes slideUpOut{
    from{transform:translateY(0);opacity:1}
    to{transform:translateY(-110%);opacity:0}
  }


  .btn-perso {
    background: #fff;
    border-radius: 10px !important;
    color: #333;
    padding: 8px 25px;
    font-size: 16px;
}

  .btn-perso-propos {
    background: #fff;
    border-radius: 10px !important;
    color: #333;
    padding: 8px 25px;
    font-size: 16px;
}

  .btn-perso-propos:hover {
    background: #F79232 !important; 
    color: #FFF; 
    border:1px solid #F79232 !important;
}

.btn-perso-orange {
    background: #F79232;
    border-radius: 10px !important;
    color: #fff;
    padding: 8px 25px;
    font-size: 16px;
}

.btn-perso-orange-full {
    background: #F79232;
    border-radius: 10px !important;
    color: #fff;
    padding: 8px 25px;
    font-size: 16px;
    width:100%;
}

.btn-perso-black {
    background: #333;
    border-radius: 10px !important;
    color: #fff;
    padding: 8px 25px;
    font-size: 16px;
}

  /* --- Thumbs --- */
  .thumbs{
    position:relative;height:clamp(120px,32vh,300px);display:flex;    overflow: hidden;
    /* align-items:center; */
    justify-content:flex-start;
    padding:clamp(8px,1.5vw,12px);padding: 20px;
  }
  .thumb-track{
    position:relative;display:flex;gap:clamp(8px,1.5vw,12px);
    will-change:transform;
  }
  .thumb{
    position:relative;flex:0 0 auto;aspect-ratio:16/10;width:clamp(130px,18vw,240px);
    border-radius:14px;overflow:hidden;
    /* box-shadow:0 10px 24px var(--shadow); */
    transform-origin:center;transition:transform .25s ease, filter .25s ease, opacity .25s ease;
    outline:4px solid transparent;
  }
  .thumb img{width:100%;height:100%;object-fit:cover;display:block}
  .thumb.is-active{
    transform:scale(1.08);
    outline:4px solid var(--thumb-border);
    z-index:2;
  }
  .thumb.is-far{transform:scale(.9);filter:grayscale(.1) contrast(.95) brightness(.95);opacity:.95;bottom: -20px;}

  /* Défilement à gauche d’une vignette (one step) */
  .shift-left{transition:transform var(--thumb-shift) ease; transform:translateX(calc(-1 * (clamp(130px,18vw,240px) + clamp(8px,1.5vw,12px))))}

  /* Dots / pagination optionnelle */
  .dots{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:8px;z-index:3;display: none;}
  .dot{width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.35)}
  .dot.active{background:#fff}

  /* --- Responsive --- */
  @media (max-width: 980px){
    .row-1,.row-2{grid-template-columns:1fr}
    .thumbs{justify-content:flex-start}
  }


  /* Progress bar sous les thumbs */
.progress-wrap{ margin-top: 10px; }
.progress{
  height: 6px;
  background: rgba(255,255,255,.25); /* gris doux */
  border-radius: 999px;
  overflow: hidden;
}
.progress .bar{
  width: 0%;
  height: 100%;
  background: var(--brand); /* orange #F79232 */
  transition: width var(--slide-duration) linear;
}


#hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

/* Chaque calque correspond à une image */
#hero::before,
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: slider 8.8s infinite;
  opacity: 0;
}

/* on ajoute 4 calques via plusieurs backgrounds avec animation steps */
#hero {
  background-image: url("../img/IMG_9359.jpg"),
                    url("../img/ivoire-electric-image-202511.jpg"),
                    url("../img/ivoire-electrique-cote-divoire-2.jpg"),
                    url("../img/ivoire-electrique-cote-divoire-liste-image-vge-02.jpg");
  background-size: cover;
  background-position: center;
  animation: bgslide 8.8s infinite;
}

/* 8.8s = 4 images × 2.2s chacune */
@keyframes bgslide {
  0%, 22%   { background-image: url("../img/IMG_9359.jpg"); }
  25%, 47%  { background-image: url("../img/ivoire-electric-image-202511.jpg"); }
  50%, 72%  { background-image: url("../img/ivoire-electrique-cote-divoire-2.jpg"); }
  75%, 100% { background-image: url("../img/ivoire-electrique-cote-divoire-liste-image-vge-02.jpg"); }
}

  .text-secondary { 
    color: #111 !important;
}


.titreivoire{
  /* --- Image de fond derrière le texte --- */
  --bg-url: url("../img/apropos.png");  /* ← remplace par ton image */
  --brand: #F79232;
color:#F79232;
  position: relative;
  display: inline-block;        /* pour que les traits partent des bords du titre */
  padding: .6rem 1.25rem;       /* espace pour bien voir l'image derrière */
  margin: 1.5rem auto;
  background-image: var(--bg-url);
  background-repeat: no-repeat; /* no repeat demandé */
  background-position: center center;
  background-size: 140px auto;  /* ajuste la taille du logo/visuel derrière */

  /* Optionnel : lisibilité sur image */
  /* text-shadow: 0 2px 10px rgba(0,0,0,.25); */
}

/* Séparateurs gauche/droite */
.titreivoire::before,
.titreivoire::after{
  content:"";
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  height:2px;
  width: clamp(40px, 5vw, 160px);     /* longueur responsive des traits */
  background: #F79232;
}

/* à gauche (collé au bord gauche du titre) */
.titreivoire::before{
  right: 100%;
  margin-right: 12px;
  /* sens du dégradé inversé pour le côté gauche */
  background: #F79232;
}

/* à droite (collé au bord droit du titre) */
.titreivoire::after{
  left: 100%;
  margin-left: 12px;
  background: #F79232;
}

/* Ajustements mobiles */
@media (max-width: 480px){
  .titreivoire{
    background-size: 100px auto;
    padding: .5rem 1rem;
  }
  .titreivoire::before,
  .titreivoire::after{
    width: clamp(28px, 12vw, 80px);
  }
}






/** CAROUSEL  */
:root{
    --item-w: clamp(110px, 12vw, 170px);
    --item-gap: clamp(12px, 2vw, 24px);
    --scale-active: 1.85;
    --duration: 600ms;
    --easing: cubic-bezier(.2,.7,.2,1);
    --ring:#fff; --ring-shadow: rgba(0,0,0,.25);
    --caption-fg:#111; --caption-muted:#666;
    --bg:#FFF; --panel:#171a21;
    --brand:#F79232;
  }
  *{box-sizing:border-box}
  body{margin:0;background:var(--bg);color:#fff;font-family:'CenturyGothic', sans-serif}

  .carousel{ position:relative; padding:18px clamp(36px,5vw,60px);/* background:linear-gradient(180deg,#12151b,#0e1015);
    border:1px solid #1f232e; border-radius:20px; box-shadow:0 10px 30px rgba(0,0,0,.25) inset, 0 10px 30px rgba(0,0,0,.15);*/ }
  .viewport{ overflow:hidden; }

  .track{ display:ruby; align-items:center; gap:var(--item-gap); will-change:transform;
    transition:transform var(--duration) var(--easing); }

  .item{width:20%; flex:0 0 var(--item-w); height:clamp(70px,9vw,110px); display:grid; place-items:center;
    filter:grayscale(100%) brightness(.9) contrast(.9); opacity:.6; transform:scale(0.8) translateZ(0);
    transition:transform var(--duration) var(--easing), filter var(--duration), opacity var(--duration); position:relative; }
  .item img{ max-width:54%; max-height:54%; object-fit:contain; display:block; }

  /* >>> Limiter l’affichage à 5 éléments visibles <<< */
  .track .item:nth-child(n+6){ display:none; }

  /* 3e = actif */
  .item.active{ filter:none; opacity:1; transform:scale(var(--scale-active)); }
  .item.active::after{  position:absolute; inset:-6px; border-radius:16px;
    box-shadow:0 0 0 5px var(--ring), 0 8px 22px var(--ring-shadow); pointer-events:none; opacity:.12; }

  .nav{ position:absolute; inset:0; display:flex; align-items:center; justify-content:space-between; pointer-events:none; }
  .btn0{ pointer-events:auto; display:grid; place-items:center; width:44px; height:44px; border-radius:50%;
    background:#0b0d12; border:1px solid #242a36; box-shadow:0 6px 16px rgba(0,0,0,.35); cursor:pointer; user-select:none;
    transition:transform .15s ease, background .2s ease, border-color .2s ease; }
  .btn:hover{  background:#121722;   }
  .btn0 svg{ width:22px; height:22px; fill:#9bb0d3 }

  .panel{     background: #fff;
    border: 1px solid #22273420;
    border-radius: 16px;
    padding: 16px 18px;
    display: grid
;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: center;
    margin: 0 auto;
    width: 300px;}
  .panel .logo{ width:64px; height:64px; display:grid; place-items:center; background:#0e121a; border:1px solid #222734; border-radius:12px; }
  .panel .logo img{ max-width:80%; max-height:80%; object-fit:contain }
  .panel h3{ margin:0 0 4px 0; font-size:clamp(16px,2.2vw,20px) }
  .panel p{ margin:0; color:#c6cfde; font-size:clamp(13px,1.8vw,15px); line-height:1.45 }
  .panel .tag{ display:inline-block; margin-left:8px; font-size:12px; color:#fff; background:var(--brand);
    padding:.2rem .5rem; border-radius:999px; }

  @media (max-width:520px){ .item.active::after{display:none} }









:root{ 
    /* Durées & easing */
    --speed:420ms;--border:#232b3a;
    --easing: cubic-bezier(.22,.75,.14,1); /* un peu ressort */
  }
  *{box-sizing:border-box}
  body{margin:0; font-family:'CenturyGothic', sans-serif; background:var(--bg); color:var(--fg)}
  .acc-wrap{max-width:min(900px,92vw); margin:40px auto}

  .accordion{
    border:none;
    border-radius:var(--radius);
    overflow:hidden;
    /* background:linear-gradient(180deg,#141821,#10131a); */
    /* box-shadow:0 10px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.02); */
  }

  .acc-item + .acc-item{ border-top:1px solid #c8c8c8; }

  .acc-btn{
    width:100%; display:flex; align-items:center; justify-content:space-between;
    gap:12px; padding:18px 18px; background:transparent; color:inherit; border:0; cursor:pointer;
    text-align:left; font-size:1rem; font-weight:600;
    transition: background-color 160ms ease;
  }
  .acc-btn:focus-visible{ outline:2px solid var(--brand); outline-offset:-2px; border-radius:8px }

  .acc-title{ display:block; }
  .acc-sub{ display:block; font-weight:500; font-size:.9rem; color:var(--muted) }

  /* Icône totalement à droite */
  .acc-icon{
    flex:0 0 auto; width:22px; height:22px; display:grid; place-items:center;
    transition: transform var(--speed) var(--easing), opacity 180ms ease;
    opacity:.9;
  }
  .acc-btn[aria-expanded="true"] .acc-icon{ transform:rotate(180deg); opacity:1; }
  .acc-btn[aria-expanded="true"] .acc-icon svg{ color:#F79232 }

  /* Panneau : animation de hauteur + masquage propre */
  .acc-panel{
    overflow:clip; /* évite le scroll pendant l’anim */
    max-height:0;
    transition:max-height var(--speed) var(--easing), clip-path var(--speed) var(--easing);
    will-change:max-height;
    background:var(--card);

    /* petit “rideau” qui s’ouvre (optionnel mais ajoute de la douceur) */
    clip-path: inset(0 0 100% 0 round 0);
  }
  .acc-panel.open{
    clip-path: inset(0 0 0% 0 round 0);
  }

  /* Contenu interne : fondu + slide */
  .acc-panel-inner{
    padding:0 18px 18px 18px; color:#7f7f7f; line-height:1.55;

    opacity:0;
    transform: translateY(-4px);
    transition: opacity var(--speed) var(--easing), transform var(--speed) var(--easing);
  }
  .acc-panel.open .acc-panel-inner{
    opacity:1;
    transform: translateY(0);
  }

  /* Accent visuel au survol & ouvert */
  .acc-item:hover .acc-btn{ background:rgba(255,255,255,.02) }
  .acc-btn[aria-expanded="true"]{ color:#F79232 }

  /* Accessibilité : réduire les animations si l’utilisateur le demande */
  @media (prefers-reduced-motion: reduce){
    .acc-btn, .acc-icon, .acc-panel, .acc-panel-inner{ transition: none !important; }
  }










  .form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-bottom: 1px solid #ccc !important;
    border-radius: 0px;
    outline: 0;
    /* box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25); */
}

.rs {
    color:#F79232 !important
}
.rs img {
  margin-right: 10px;
    height: 20px;
    color:#F79232
}
.rs-left img {
     margin-right: 10px;
    height: 18px;
    color: #FFF;
    position: relative;
    top: -1px;
    left: 6px;
    
}
.rs-left   {
  text-decoration: none !important;
  color: #fff !important;
    display: block;
    margin-bottom: 16px;
}

/* Optionnel : évite le flash au chargement */
#div_presentation, #div_mission, #div_vision { display:none; opacity:0; }

/* Bouton actif */
.btn-perso.active{
  background:#F79232; border-color:#F79232; color:#111!important;
}

/* Réduit les anims si demandé par l’utilisateur */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}







/* Animation fluide */

.div-overlay{
      position: absolute;
    width: 100%;
    padding: 10px;
}
.gallery-item-produit{
  display:block; position: relative;
  border-radius:10px;
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
  opacity:1; visibility:visible; transform:scale(1);
}
.gallery-item-produit.is-hiding{
  opacity:0; transform:scale(.98);
}
.gallery-item-produit.is-hidden{            /* appliqué après l’anim */
  display:none !important;
}

/* Bouton actif (optionnel) */
.filter-btn.active{
  background:#F79232; border-color:#F79232; color:#111 !important;
}


.row.g-3.gallery1.expanded {
    height: auto !important;
}


/* Grille existante : rien à changer côté HTML */
  .gallery1 .gallery-item-produit{
    position: relative;
    overflow: hidden;
    border-radius: 14px;           /* joli arrondi, optionnel */
    isolation: isolate;            /* pour gérer les effets */
    height:254px;
  }

  .gallery1 .gallery-item-produit img{
    width: 100%;
    aspect-ratio: 1 / 1;   /* carré */
  object-fit: cover;      /* recadre sans déformer */
  display: block;
  border-radius: 12px;    /* optionnel */
   
    transition: transform .45s cubic-bezier(.2,.7,.2,1),
                filter .45s cubic-bezier(.2,.7,.2,1);
    will-change: transform, filter;
  }

  /* Overlay plein écran, caché par défaut */
  .gallery1 .div-overlay{
    position: absolute;
    inset: 0;
    padding: 18px;
    display: grid;
    align-content: end;            /* texte en bas; changez en 'center' si besoin */
    gap: 12px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.15));
    backdrop-filter: blur(2px);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s ease, transform .35s ease, backdrop-filter .35s ease;
    pointer-events: none;          /* ne bloque pas la souris quand caché */
    z-index: 2;
  }

  /* Joli titre/texte dans l'overlay */
  .gallery1 .div-overlay .divdutitre h2{
        font-size: clamp(16px, 2.4vw, 16px);
    margin: 0 0 6px 0;
    background: #F79232;
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
    color:#fff;
  }
  .gallery1 .div-overlay .divdutitre p{
        margin: 0;
    opacity: .9;
    color: #fff !important;
    font-size: 13px;
  }

  /* Boutons dans l'overlay */
  .gallery1 .div-overlay .btn{
    pointer-events: auto;  
    position: absolute;
    right: 6px;
    top: 15px;
            /* activable quand overlay visible */
  }

  /* Effet au survol / focus (clavier) */
  .gallery1 .gallery-item-produit:hover .div-overlay,
  .gallery1 .gallery-item-produit:focus-within .div-overlay,
  .gallery1 .gallery-item-produit.show-overlay .div-overlay{  /* classe pour mobile (JS optionnel) */
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Zoom subtil de l'image quand overlay apparaît */
  .gallery1 .gallery-item-produit:hover img,
  .gallery1 .gallery-item-produit:focus-within img,
  .gallery1 .gallery-item-produit.show-overlay img{
    transform: scale(1.24);
    filter: brightness(.95) contrast(1.05);
  }

  /* Option : légère ombre autour de la tuile */
  .gallery1 .gallery-item-produit{
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transition: box-shadow .35s ease;
  }
  .gallery1 .gallery-item-produit:hover,
  .gallery1 .gallery-item-produit:focus-within,
  .gallery1 .gallery-item-produit.show-overlay{
    box-shadow: 0 10px 28px rgba(0,0,0,.14);
  }












  /* --- Image viewport & transitions --- */
  .ps-viewport{
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;          /* adapte le ratio si besoin */
    overflow: hidden;
    border-radius: 10px;
    background:#111;
  }
  .ps-image{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;
    opacity:0; transform: scale(1.015);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
    display:block;
  }
  .ps-image.ps-show{
    opacity:1; transform: scale(1);
  }

  /* --- Texte & transitions --- */
  .ps-copy #ps-title,
  .ps-copy #ps-text,
  .ps-copy #ps-cta{
    opacity:0; transform: translateY(6px);
    transition: opacity .45s ease, transform .45s ease;
    will-change: opacity, transform;
  }
  .ps-copy.ps-show #ps-title,
  .ps-copy.ps-show #ps-text,
  .ps-copy.ps-show #ps-cta{
    opacity:1; transform: translateY(0);
  }
  .ps-copy #ps-text{ transition-delay: .06s; }
  .ps-copy #ps-cta{ transition-delay: .12s; }

  /* --- Controls --- */
  .ps-prev, .ps-next{
    position:absolute; top:50%; transform:translateY(-50%);
    width:42px; height:42px; border:none; border-radius:50%;
    background:rgba(0,0,0,.4); color:#fff; font-size:28px; line-height:1;
    display:grid; place-items:center; cursor:pointer;
    transition: background .25s ease, transform .2s ease;
    z-index:2;
  }
  .ps-prev{ left:10px; }
  .ps-next{ right:10px; }
  .ps-prev:hover, .ps-next:hover{ background:rgba(0,0,0,.6); transform:translateY(-50%) scale(1.05); }

  /* --- Dots --- */
  .ps-dots{ display:flex; gap:10px; }
  .ps-dot{
    width:10px; height:10px; border-radius:50%;
    background:#bbb; cursor:pointer; border:0;
  }
  .ps-dot[aria-selected="true"]{ background:#F79232; }

  /* Pause curseur */
  #projectSlider:hover .ps-viewport{ cursor:pointer; }

/* Mini styles utiles pour l’effet */
.ps-viewport{position:relative;overflow:hidden;border-radius:12px;min-height:340px;background:#000}
.ps-media{position:absolute;inset:0;width:100%;height:100%;
  /* object-fit:cover; */
  opacity:0;transition:opacity .45s ease}
.ps-show{opacity:1}
.ps-prev,.ps-next{
  position:absolute;top:50%;transform:translateY(-50%);
  background:rgba(0,0,0,.45);color:#fff;border:0;border-radius:50%;width:38px;height:38px;line-height:38px;
}
.ps-prev{left:10px} .ps-next{right:10px}
.ps-dot{width:10px;height:10px;border-radius:50%;border:0;background:#fff3;margin-right:8px}
.ps-dot[aria-selected="true"]{background:#fff}






  /* Bouton flottant */
  .go-top{
    position: fixed;
    right: 16px; bottom: 70px;
    width: 48px; height: 48px;
    border: 0; border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    cursor: pointer; z-index: 999;
    opacity: 0; transform: translateY(8px) scale(.96);
    transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
    pointer-events: none; /* non cliquable tant qu’invisible */
  }
  .go-top:hover{ box-shadow: 0 12px 30px rgba(0,0,0,.24); }
  .go-top.show{
    opacity: 1; transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  /* Option: mode sombre éventuel */
  @media (prefers-color-scheme: dark){
    .go-top{ box-shadow: 0 10px 24px rgba(0,0,0,.4); }
  }














  :root{
    --bg: rgba(17,18,21,.4);
    --panel:#fff;
    --brand:#F79232;  /* adapte à ta charte */
    --fg:#111;
    --muted:#666;
    --radius:16px;
    --shadow: 0 20px 60px rgba(0,0,0,.25);
  }
  .btn-contact{
    padding:.8rem 1.2rem;border:0;border-radius:999px;
    background:var(--brand);color:#fff;font-weight:600;cursor:pointer;
    box-shadow:0 6px 16px rgba(247,146,50,.35);
    transition:transform .15s ease;
  }
  .btn-contact:hover{ transform: translateY(-1px); }
/* Overlay */
  .overlay-modal{
    position:fixed; inset:0; display:none; place-items:center;
    background:var(--bg); backdrop-filter: blur(6px);
    z-index: 10000;
  }
  .overlay-modal.active{ display:grid; animation: fadeIn .18s ease-out; }

  /* Modal */
  .modal-modal{
    width:min(720px,92vw); max-height:88vh; overflow:auto;
    background:var(--panel); color:var(--fg); border-radius:var(--radius);
    box-shadow:var(--shadow); padding:3.25rem 2.25rem 4rem;
    animation: pop .18s var(--cubic, cubic-bezier(.2,.7,.2,1));
  }
  @keyframes fadeIn{ from{opacity:0} to{opacity:1} }
  @keyframes pop{
    from{ transform:translateY(6px) scale(.98); opacity:0 }
    to{ transform:translateY(0) scale(1); opacity:1 }
  }

  .modal-modal h3{ margin: .25rem 0 1rem; font: 700 1.35rem/1.2 system-ui, sans-serif; }
  .close{
    position:absolute; right:.6rem; top:.6rem; border:0; background:#0000;
    font-size:1.1rem; cursor:pointer; color:#999; transition:opacity .15s;
  }
  .close:hover{ opacity:.7; }

  .form{ display:block; }
  .row-modal{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
  .field{ display:flex; flex-direction:column; gap:.4rem;    margin-bottom: 14px; }
  label{ font:600 .9rem/1.2 system-ui; color:#222; }
  input, textarea{
    border:1px solid #e6e6e6; border-radius:12px; padding:.75rem .9rem;    background: #cccccc90;
    font: 500 .95rem/1.3 system-ui; outline: none; transition: border-color .15s, box-shadow .15s;
  }
  input:focus, textarea:focus{
    border-color: color-mix(in oklab, var(--brand) 55%, #ccc);
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 18%, #fff);
  }

  .actions{ display:flex; justify-content:flex-start; gap:10px; margin-top:.6rem; }
  .btn{
    padding:.7rem 1rem; border-radius:10px; border:1px solid transparent; cursor:pointer; font-weight:600;
  }
  .btn.primary{ background:var(--brand); color:#fff; }
  .btn.ghost{ background:#fff; color:#333; border-color:#e6e6e6; }
  .hint{ margin:.5rem 0 0; color:var(--muted); font-size:.85rem; }

  /* Responsive */
  @media (max-width: 640px){
    .row-modal{ grid-template-columns: 1fr; }
    .modal-modal{ padding:1rem .9rem .8rem; }
  }















  .overlay-produit {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  display: none; place-items: center;
  z-index: 9999;
}
.overlay-produit.active { display: grid; animation: fadeIn .2s ease-out; }

.popup {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  width: min(600px, 90vw);
  max-height: 90vh; overflow:auto;
  animation: pop .2s ease-out;
}
.close {
  position: absolute; top: 15px; right: 20px;
  background: none; border: none; font-size: 1.3rem;
  cursor: pointer; color: #666;
}
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
@keyframes pop { from{transform:scale(.95);opacity:0;} to{transform:scale(1);opacity:1;} }
