/* global ------------------------------------------------------------------- */
:root {
--s: 14px;
--m: 17px;
--l: 20px;
--xl: 20px;
--2xl: 30px;
--3xl: 35px;
--4xl: 40px;
--5xl: 45px;
--6xl: 50px;
--grand: 1.45em;
--moyen: 1.3em;
--petit: 1.15em;
--vert: #00e094
}


@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-Variable.woff2') format('woff2-variations');
font-weight: 100 900;
font-display: swap;
}


* {
margin: 0;
padding: 0;
box-sizing: border-box;
line-height:var(--moyen);
}


body,html{ 
background: white; 
color: black; 
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 
scroll-behavior: smooth; 
margin:0; 
padding:0; 
font-size:var(--m); 
font-weight:300; 
letter-spacing: 0; 
text-align:center; 
}

a {text-decoration:none; color:black;}

.gris {width:100%; background: rgb(245,245,245); padding:50px 0; }
.blanc {width:100%; background:white; padding:50px 0; }
.noir {width:100%; background:black; padding:50px 0; color:white; }
.noir .bloc {  outline: solid 1px rgba(100,100,100,0.5); }


.wm-titre {
font-size: var(--5xl); 
width: 100%; 
padding: 0 150px 50px 150px;
line-height:var(--petit); 
}

@media (max-width: 800px) {
.wm-titre {
font-size: var(--2xl);
width: 100%; 
padding: 0 20px 50px 20px;
}

}

.nobr {white-space: nowrap;}

/* header ------------------------------------------------------------------- */
#header { 
  position: fixed; 
  background-color: rgba(0, 0, 0, 0.8); 
  color: white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);  
  width: 100%; 
  padding: 0 150px; 
  z-index: 200;  
  outline: solid 1px rgba(100,100,100,0.5);  
}

.header-top {
  height: 70px;
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  line-height: 100%;
}

#header img {
  width: 250px;  
  order: 1;
}

#header #nav {
position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
}

#header #nav a {
  margin: 0 0 0 20px; 
  text-decoration: none; 
  font-size: var(--s); 
  color: white; 
}

#header .btn {
  order: 2;
  background: #00e094;
  color: black;
  text-decoration: none;
  font-size: var(--m);
  border-radius: 50vh;
  line-height: 100%;
  padding: 10px 15px;
  font-weight: 600;
}

#header .btn:hover {outline:solid 2px white;}

.menu-toggle {
  display: none; 
  font-size: var(--2xl); 
  padding-bottom: 7px;
  font-weight: 300;
  cursor: pointer;
}

@media (min-width: 800px) and (max-width: 1350px) {
  #header {  
    padding: 0 20px; 
  }
  
  .header-top {
    height: 55px;
  }
  
  #header img {
    width: 200px;  
  }
}

@media (max-width: 800px) {
  #header { 
    padding: 0;
    transition: height 0.3s ease-in-out;
    overflow: hidden;
    height: 55px;
  }
  
  #header.active {
    height: 100vh;
  }
  
  .header-top {
    height: 55px;
    padding: 0 20px;
  }

  #header img { 
    width: 140px;
    order: 1;
  }

  #header .btn {
    order: 2;
    padding: 9px 15px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  #header #nav {
     position: absolute;
    top: 0; /* aligne en haut */
    left: 0; /* aligne à gauche */
    transform: none; /* supprime la translation centrée */
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    opacity: 0;
    
    pointer-events: none;
    padding: 90px 20px 0 20px;
  }

  #header.active #nav {
    opacity: 1;
    pointer-events: auto;
  }

  #header #nav a {
    display: block; 
    font-size: var(--3xl);
    font-weight: 600;
    margin: 15px 0;
  }
}




/* blocs --------------------------------------------------------- */
.blocs {width:1400px; margin:0 auto;}
@media (max-width: 1400px) {
.blocs {width:100%;}
}

.bloc {
display:inline-block;
position: relative;
width: 280px;
height: 320px;
background-image: grey;
background-size: cover;
background-position: center;
margin:10px; 
border-radius:15px;
}

.bloc .filtre {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%);
border-radius:15px;
}

.bloc .texte {
position: absolute;
width:100%;
height:100%;
padding:35px 30px;
color: white;
text-align:left;
font-size: var(--l);
}

@media (max-width: 600px) {
.bloc {width:calc(100% - 40px); height:200px;}
.bloc .texte {font-size: var(--l); padding:25px 20px;}
}


.blocs .bloc.camera {background: url('/img/blocs/camera.avif') center center / cover no-repeat;}
.blocs .bloc.alarm {background: url('/img/blocs/alarm.avif') center center / cover no-repeat;}
.blocs .bloc.acces {background: url('/img/blocs/acces.avif') center center / cover no-repeat;}
.blocs .bloc.incendie {background: url('/img/blocs/incendie.avif') center center / cover no-repeat;}
.blocs .bloc.brouillard {background: url('/img/blocs/brouillard.avif') center center / cover no-repeat;}
.blocs .bloc.sos {background: url('/img/blocs/sos.avif') center center / cover no-repeat;}

.blocs .bloc.image-digital1 {background: url('/img/blocs/capture-verticale-d-une-main-feminine-tenant-un-smartphone-et-un-ordinateur-portable.avif') center bottom / cover no-repeat;}
.blocs .bloc.image-digital2 {background: url('/img/blocs/Home_ITO_Ps_5a5aac3fda.avif') center center / cover no-repeat;}
.blocs .bloc.image-digital3 {background: url('/img/blocs/local.avif') center center / cover no-repeat;}


/* blocs2 -------------------------------------------------------- */

.blocs2 {
display: flex;
gap: 20px;
flex-wrap: wrap;
width: 1100px;
margin: 70px auto 0 auto;
font-weight:400;
justify-content: center;
}

.blocs2-sous-titre {
width:100%;
margin: -20px 0 120px 0;
padding: 0 20px;
font-size: var(--2xl);
}

.blocs2 .button-card {
width: 320px;
height: 150px;
background: rgb(245,245,245);
border-radius: 15px;
position: relative;
overflow: visible;
cursor: pointer;
color: black;
text-decoration: none;
display: flex;
align-items: flex-end;
padding: 20px;
box-sizing: border-box;
}

.blocs2 .button-card:hover {outline:solid 2px var(--vert);}

.blocs2 .image-container {
position: absolute;
top: -70px;
left: 50%;
transform: translateX(-50%);
background-position: bottom;
background-size: contain;
background-repeat: no-repeat;
width:160px;
height:140px;
}

.blocs2 .button-content {
display: flex;
justify-content: space-between;
align-items: flex-end;
width: 100%;
}

.blocs2 .button-text {
font-size: var(--l);
text-align:left;
width:100%;
padding-right:30px;
}

.blocs2 .grand {font-weight:700; margin-top:10px;   }
.blocs2 .petit {font-size:var(--s); margin-top:10px;  }

.blocs2 .arrow-circle {
width: 40px;
height: 40px;
background: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
flex-shrink: 0;
color: black;
}

@media (max-width: 1100px) {
.blocs2 {
width: 100%;
flex-direction: column;
align-items: center;
margin: 0 auto 0 auto;
}

.blocs2-sous-titre {
margin-bottom:40px;
}

.blocs2 .button-card {
width: calc(100% - 40px);
align-items: flex-start;
padding: 20px;
}

.blocs2 .image-container {
left: 20px;
top: 50%;
transform: translateY(-50%);
width: 100px;
height: 100px;
background-position: center;
}

.blocs2 .button-content {
margin-left: 120px;
flex-direction: column;
align-items: flex-end;
justify-content: space-between;
height: 100%;
}

.blocs2 .button-text {
text-align:right;
padding-right:0;
}
}

@media (max-width: 800px) {

.blocs2-sous-titre {
font-size: var(--xl);
}

}



.blocs2 .image-container.maison { background-image: url('/img/quote/maison.avif'); }
.blocs2 .image-container.appartement { background-image: url('/img/quote/appartement.avif'); }
.blocs2 .image-container.entreprise { background-image: url('/img/quote/entreprise.avif'); }
.blocs2 .image-container.image-rdv { background-image: url('/img/contact-icons/judge_12691741.svg'); }
.blocs2 .image-container.image-tel { background-image: url('/img/contact-icons/call-center_9216150.svg'); }
.blocs2 .image-container.image-devis { background-image: url('/img/contact-icons/report_12448249.svg'); }



/* footer ------------------------------------------------------------------- */

#footer .button-card {background:white; height:230px;}
#footer .arrow-circle {background:rgb(245,245,245);}
#footer .gris {margin-bottom:50px;}
#footer .page {display:block; width:950px; padding-bottom:10px; margin:0 auto 10px auto; text-align:left; border-bottom:solid 2px rgb(245,245,245);} 

@media (max-width: 1000px) {

#footer .page {
width:calc(100% - 40px);
}

}




#footer .pagination button {
width: 40px;
height: 40px;
border-radius: 50%;
border: none;
background-color: rgba(245,245,245);
color:black;
font-size: var(--l);
margin:20px 3px 0 3px;
}

#legal {font-size: var(--s); width:950px; margin:50px auto 120px auto; text-align:left;}
@media (max-width: 1000px) { #legal {width:calc(100% - 40px); margin:50px auto 180px auto; }}