

/* RESET */

.ltm-widget *{
  box-sizing:border-box;
  font-family:Arial,sans-serif;
}

/* =========================================
WIDGET
========================================= */

.ltm-widget{
  position:fixed;
  right:20px;
  bottom:20px;
  width:340px;

    background:#141414;background:#111827;


  border-radius:10px;

  overflow:hidden;

  z-index:9999;

  box-shadow:
    0 20px 60px rgba(0,0,0,.35);

  opacity:0;
  visibility:hidden;

  transform:
    translateY(40px);

  transition:
    opacity .7s ease,
    transform .7s ease,
    visibility .7s;

  animation:
    floating 4s ease-in-out infinite;
}

/* Apparition */

.ltm-widget.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* Image */

.ltm-widget-image{
  position:relative;
  height:190px;
  overflow:hidden;
}

.ltm-widget-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;

  transition:transform .5s ease;
}

.ltm-widget:hover
.ltm-widget-image img{
  transform:scale(1.05);
}

/* Content */

.ltm-widget-content{
  padding:22px;
}

.ltm-badge{
  display:inline-flex;

  padding:
    7px 14px;

  border-radius:999px;

  background:
    rgba(255,255,255,.08);

  color:#fff;

  font-size:12px;

  margin-bottom:14px;
}

.ltm-widget-content h3{
  color:#fff;

  font-size:28px;

  line-height:1.1;

  margin-bottom:12px;
}

.ltm-widget-content p{
  color:#cbd5e1;

  font-size:16px;

  line-height:1.6;

  margin-bottom:20px;
}

/* Button */

.ltm-open-btn{
  width:100%;

  border:none;

  background:#fff;

  color:#111827;

  padding:15px;

  border-radius:16px;

  font-size:15px;

  font-weight:700;

  cursor:pointer;

  transition:.3s;
}

.ltm-open-btn:hover{
  transform:translateY(-2px);
  background-color: #cbd5e1;
}

/* Close button 

.ltm-close{
  position:absolute;

  top:14px;
  right:14px;

  width:36px;
  height:36px;

  border:none;

  border-radius:50%;

  background:
    rgba(0,0,0,.5);

  color:#fff;

  font-size:18px;

  cursor:pointer;

  z-index:10;
}*/

/* =========================================
BOUTON FERMER CORRIGÉ
========================================= */

.ltm-close{
position:absolute;

top:14px;
right:14px;

width:36px;
height:36px;

display:flex;
align-items:center;
justify-content:center;

padding:0;

border:none;
border-radius:50%;

background:rgba(0,0,0,.55);

color:#fff;

font-size:22px;
font-weight:400;
line-height:1;

cursor:pointer;

z-index:10;

backdrop-filter:blur(6px);

transition:.3s ease;
}

.ltm-close:hover{
background:rgba(0,0,0,.75);
transform:rotate(90deg);
}

/* MOBILE */

@media(max-width:768px){

.ltm-close{

```
width:30px;
height:30px;

top:10px;
right:10px;

font-size:18px;
```

}

}



/* Floating animation */

@keyframes floating{

  0%,100%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-6px);
  }

}

/* =========================================
POPUP
========================================= */

.ltm-popup{
  position:fixed;

  inset:0;

  background:
    rgba(0,0,0,.82);

  display:flex;

  justify-content:center;
  align-items:center;

  padding:24px;

  z-index:10000;

  opacity:0;
  visibility:hidden;

  transition:.35s ease;
}

/* Popup active */

.ltm-popup.active{
  opacity:1;
  visibility:visible;
}

/* Popup box */

.ltm-popup-box{
  width:100%;
  max-width:980px;

  max-height:90vh;

  overflow:auto;

  background:#111827;

  border-radius:30px;

  padding:36px;

  position:relative;

  animation:popupAppear .35s ease;
}

/* Popup animation */

@keyframes popupAppear{

  from{
    opacity:0;
    transform:
      translateY(20px)
      scale(.96);
  }

  to{
    opacity:1;
    transform:
      translateY(0)
      scale(1);
  }

}

/* =========================================
CROIX POPUP CENTRÉE
========================================= */

.ltm-popup-close{
position:absolute;

top:18px;
right:18px;

width:42px;
height:42px;

display:flex;
align-items:center;
justify-content:center;

padding:0;

border:none;
border-radius:50%;

background:rgba(255,255,255,.08);

color:#fff;

font-size:22px;
line-height:1;

cursor:pointer;

transition:.3s ease;
}

.ltm-popup-close:hover{
background:rgba(255,255,255,.16);
transform:rotate(90deg);
}


/* Title */

.ltm-popup h2{
  color:#fff;

  font-size:38px;

  margin-bottom:28px;
}

/* Gallery */

.ltm-gallery{
  display:grid;

  grid-template-columns:
    repeat(2,1fr);

  gap:18px;

  margin-bottom:30px;
}

/* Card */

.ltm-card{
  position:relative;

  overflow:hidden;

  border-radius:22px;

  background:#1f2937;
}

.ltm-card img{
  width:100%;

  height:260px;

  object-fit:cover;

  display:block;

  transition:transform .5s ease;
}

.ltm-card:hover img{
  transform:scale(1.06);
}

/* Card label */

.ltm-card span{
  position:absolute;

  left:16px;
  bottom:16px;

  background:
    rgba(0,0,0,.45);

  color:#fff;

  padding:
    8px 14px;

  border-radius:999px;

  font-size:15px;

  font-weight:700;
}

/* Link */

.ltm-gallery-link{
  display:flex;

  justify-content:center;
  align-items:center;

  width:100%;

  padding:18px;

  background:#fff;

  color:#111827;

  text-decoration:none;

  border-radius:18px;

  font-weight:700;

  transition:.3s;
}

.ltm-gallery-link:hover{
  transform:translateY(-2px);
}

/* =========================================
RESPONSIVE MOBILE COMPACT
========================================= */

@media(max-width:768px){

.ltm-widget{

```
width:260px;

right:12px;
left:auto;

bottom:12px;

border-radius:10px;
```

}

.ltm-widget-image{
/*height:180px;*/
height:0px;
}

.ltm-widget-content{
padding:14px;
}

.ltm-badge{
font-size:10px;
padding:5px 10px;
margin-bottom:10px;
}

.ltm-widget-content h3{
font-size:28px;
margin-bottom:8px;
}

.ltm-widget-content p{
font-size:16px;
line-height:1.4;
margin-bottom:14px;
}

.ltm-open-btn{
padding:12px;
font-size:13px;
border-radius:12px;
}

.ltm-close{
width:30px;
height:30px;
font-size:15px;
}

/* POPUP */

.ltm-popup{
align-items:flex-end;
padding:10px;
}

.ltm-popup-box{
border-radius:24px 24px 0 0;
padding:20px;
max-height:90vh;
}

.ltm-popup h2{
font-size:24px;
margin-bottom:18px;
}

.ltm-gallery{
grid-template-columns:1fr;
gap:12px;
}

.ltm-card{
border-radius:16px;
}

.ltm-card img{
height:180px;
}

.ltm-card span{
font-size:13px;
padding:6px 12px;
}

.ltm-gallery-link{
padding:14px;
font-size:14px;
border-radius:10px;
}

}

/* =========================================
SMALL MOBILE
========================================= */

@media(max-width:480px){

.ltm-widget{

```
width:220px;

bottom:10px;
right:10px;
```

}

.ltm-widget-image{
/*height:180px;*/
height:0px;
}
}

.ltm-widget-content{
padding:12px;
}

.ltm-widget-content h3{
font-size:28px;
}

.ltm-widget-content p{
font-size:16px;
}

.ltm-open-btn{
padding:10px;
font-size:12px;
}







/* =========================================
PAGE REALISATIONS
========================================= 

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:Arial,sans-serif;
  background:#0f172a;
  color:#fff;
  overflow-x:hidden;
}*/

img{
  width:100%;
  display:block;
}

a{
  text-decoration:none;
}

/* =========================================
HERO
========================================= 

.hero{
  padding:120px 20px 80px;

  text-align:center;

  background:
    linear-gradient(
      rgba(0,0,0,.6),
      rgba(0,0,0,.6)
    ),
    url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?q=80&w=1600');

  background-size:cover;
  background-position:center;
}

.hero h1{
  font-size:64px;
  margin-bottom:20px;
}

.hero p{
  max-width:760px;
  margin:auto;

  color:#cbd5e1;

  font-size:18px;
  line-height:1.7;
}*/

/* =========================================
SECTION
========================================= */

.section{
  padding:80px 20px;
  max-width:1400px;
  margin:auto;
}

.section-title{
  font-size:42px;
  text-align:center;
  margin-bottom:50px;
}

/* =========================================
GALLERY
========================================= */

.gallery{
  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

  gap:24px;
}

.card-realisations{
  background:#111827;

  border-radius:24px;

  overflow:hidden;

  transition:.35s ease;

  box-shadow:
    0 20px 50px rgba(0,0,0,.25);
}

.card:hover{
  transform:translateY(-8px);
}

.card-image{
  height:260px;
  overflow:hidden;
}

.card-image img{
  height:100%;
  width:100%;
  object-fit:cover;

  cursor:pointer;

  transition:transform .5s ease;
}

.card:hover img{
  transform:scale(1.08);
}

.card-content{
  padding:24px;
}

.card-content h3{
  font-size:24px;
  margin-bottom:12px;
}

.card-content p{
  color:#cbd5e1;

  font-size:15px;
  line-height:1.6;
}

/* =========================================
BEFORE AFTER
========================================= */

.before-after{
  margin-top:100px;
}

.before-after-grid{
  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(500px,1fr));

  gap:30px;
}

.ba-card{
  background:#111827;

  border-radius:15px;

  overflow:hidden;

  box-shadow:
    0 20px 50px rgba(0,0,0,.25);
}

.ba-images{
  display:grid;
  grid-template-columns:1fr 1fr;
}

.ba-image{
  position:relative;
  height:320px;
  overflow:hidden;
}

.ba-image img{
  height:100%;
  width:100%;
  object-fit:cover;

  cursor:pointer;
}

.label{
  position:absolute;

  top:14px;
  left:14px;

  background:rgba(0,0,0,.6);

  padding:8px 14px;
color: #fff;
  border-radius:999px;

  font-size:13px;
  font-weight:700;
}

.ba-content{
  padding:24px;
}

.ba-content h3{
  font-size:26px;
  margin-bottom:10px;
}

.ba-content p{
  color:#cbd5e1;
  line-height:1.6;
}

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

.cta{
  padding:100px 20px;
}
.cta-box{
  max-width:900px;
  margin:auto;

  background:#111827;

  border-radius:30px;

  padding:60px 30px;

  text-align:center;
}

.cta h2{
  font-size:48px;
  margin-bottom:20px;
}

.cta p{
  color:#cbd5e1;

  font-size:18px;
  line-height:1.7;

  margin-bottom:30px;
}

.cta a{
  display:inline-flex;

  justify-content:center;
  align-items:center;

  background:#fff;
  color:#111827;

  padding:18px 34px;

  border-radius:18px;

  font-weight:700;

  transition:.3s ease;
}

.cta a:hover{
  transform:translateY(-3px);
}
*/

/* =========================================
LIGHTBOX
========================================= */

.lightbox{
  position:fixed;
  inset:0;

  background:rgba(0,0,0,.94);

  display:flex;
  justify-content:center;
  align-items:center;

  padding:30px;

  z-index:99999;

  opacity:0;
  visibility:hidden;

  transition:.35s ease;
}

.lightbox.active{
  opacity:1;
  visibility:visible;
}

.lightbox img{
  max-width:95%;
  max-height:90vh;

  border-radius:22px;

  object-fit:contain;

  animation:zoom .35s ease;
}

@keyframes zoom{

  from{
    transform:scale(.92);
    opacity:0;
  }

  to{
    transform:scale(1);
    opacity:1;
  }

}

.lightbox-close{
  position:absolute;

  top:24px;
  right:24px;

  width:46px;
  height:46px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:none;
  border-radius:50%;

  background:rgba(255,255,255,.12);

  color:#fff;

  font-size:24px;

  cursor:pointer;

  transition:.3s ease;
}

.lightbox-close:hover{
  transform:rotate(90deg);
  background:rgba(255,255,255,.2);
}

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

@media(max-width:768px){

  .hero{
    padding:90px 20px 70px;
  }

 

  .hero p{
    font-size:16px;
  }

  .section{
    padding:60px 16px;
  }

  .section-title{
    font-size:32px;
    margin-bottom:36px;
  }

  .gallery{
    grid-template-columns:1fr;
    gap:18px;
  }

  .card-image{
    height:220px;
  }

  .card-content{
    padding:18px;
  }

  .before-after{
    margin-top:70px;
  }

  .before-after-grid{
    grid-template-columns:1fr;
  }

  .ba-images{
    grid-template-columns:1fr;
  }

  .ba-image{
    height:220px;
  }

  .ba-content{
    padding:18px;
  }

  .cta{
    padding:70px 16px;
  }

  .cta-box{
    padding:40px 20px;
    border-radius:24px;
  }

  .cta h2{
    font-size:34px;
  }

  .cta p{
    font-size:16px;
  }

  .cta a{
    width:100%;
  }

  .lightbox{
    padding:14px;
  }

  .lightbox img{
    max-width:100%;
    border-radius:16px;
  }

  .lightbox-close{
    top:14px;
    right:14px;

    width:40px;
    height:40px;

    font-size:20px;
  }

}

