 :root{
      --red:#e30613;         /* Rouge logo */
      --red-700:#b2050f;
      --ink:#0b0f14;         /* Noir profond */
      --ink-2:#131923;
      --muted:#6b7280;       /* Gris texte */
      --bg:#ffffff;
      --bg-soft:#f4f6f8;
      --radius:18px;
      --shadow:0 10px 30px rgba(0,0,0,.08);
      --shadow-2:0 18px 50px rgba(0,0,0,.12);
      --max:1200px;
    }





html, body, a, p ,h1, h2, h3, div, .cta, .btn{
font-family:system-ui;

}



    /* Reset léger */
    *,*::before,*::after{box-sizing:border-box}
    html,body{margin:0;padding:0}
    body{
      color:#111827; background:var(--bg);
      line-height:1.4;
    }
    img{max-width:100%; display:block}



    @media (min-width: 980px){
            .hidepc{
                display:none !important;
            }
    }

    @media (max-width: 980px){
            .hidemobil{
                display:none;
            }
    }




li {
  list-style-type: none;
}


    /* Header */
    .header{
      position:sticky; top:0; z-index:50;
      background:#fff; backdrop-filter:saturate(180%) blur(6px);
      border-bottom:1px solid #e5e7eb;
    }



    .header.scrolled{ box-shadow: var(--shadow) }


    .nav{
      max-width:var(--max); margin:0 auto; padding:14px 20px;
      display:flex; align-items:center; justify-content:space-between; gap:10px;
    }




    .brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink)}


    .brand img{width:150px; object-fit:contain}



    .brand span{font-weight:800; letter-spacing:.2px}

    .menu{display:flex; gap:28px; align-items:center}
    .menu a{
      color:#1f2937; text-decoration:none; font-weight:600; font-size:15px;
    }
    .menu a:hover{color:var(--red)}


    .cta{
      background:var(--red); color:#fff; border:none; border-radius:12px;
      padding:10px 16px; font-weight:700; cursor:pointer;
      box-shadow:0 8px 20px rgba(227,6,19,.18);

    }
    .cta:hover{background:var(--red-700)}


.phone{
    display:flex;
    justify-content:center;
    gap:7px;
    align-items:center;

}


.phone img{
width:20px;
}


    /* Burger */
    .burger{display:none; border:1px solid #e5e7eb; background:#fff; border-radius:12px; padding:10px}
    .burger svg{display:block}

    @media (max-width: 980px){
      .menu{display:none}
      .burger{display:block}
      .mobile{display:grid; gap:10px; padding:12px 20px; border-top:1px solid #e5e7eb}
      .mobile a{padding:10px 6px; text-decoration:none; color:#111827; font-weight:600}
      .mobile .cta{width:100%}
      .mobile.hidden{display:none}
    }



/* Conteneur du mega menu full width sous le header */
.mega-menu {
  position: absolute;    
  top: 100%;        
  left: 0;
  width: 100%;       
  background-color: #fff;
  display: none;
  z-index: 999;
}

/* Contenu centré avec max-width et grid */
.mega-menu .wrap {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
 padding: 20px;
}

/* Cards du mega menu */
.mega-menu .card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 30px;
  text-decoration: none;
  color: #000;
  background-color: #f9f9f9;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}





/* Image à droite */
.mega-menu .card .card-img {
  max-width: 120px;
  object-fit: cover;
  border-radius: 4px;
}

/* Hover sur les cards */
.mega-menu .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Affichage au hover sur le lien "Services" (utile pour CSS fallback) */
.menu .mega-menu-link:hover + .mega-menu {
  display: block;
}

/* Option responsive pour mobile : empilement vertical */
@media (max-width: 900px) {
  .mega-menu .wrap {
    grid-template-columns: 1fr; /* une colonne */
  }

  .mega-menu .card {
    flex-direction: column;
    align-items: flex-start;
  }

  .mega-menu .card .card-img {
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
  }
}






































    /* Hero */
    .hero{
      position:relative; min-height:78vh; display:grid; place-items:center; overflow:hidden;
      background: radial-gradient(1200px 600px at 80% -10%, rgba(227,6,19,.25), transparent 60%),
                  linear-gradient(180deg, #0d1117 0%, #0f141b 100%);
      color:#fff;
    }
    .hero::after{
      content:""; position:absolute; inset:0;
      background:url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=1800&auto=format&fit=crop') center/cover no-repeat;
      mix-blend:overlay; opacity:.22;
      filter:contrast(105%) saturate(105%);
    }
    .hero-inner{
      position:relative; z-index:1; max-width:var(--max); width:100%;
      padding:90px 20px 60px; display:grid; gap:24px; text-align:center;
    }
    .kicker{
      display:inline-flex; align-items:center; gap:10px;
      background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.15);
      padding:8px 12px; border-radius:999px; margin:0 auto;
      font-size:13px; letter-spacing:.3px;
    }
    .kicker .dot{width:8px; height:8px; border-radius:999px; background:#22c55e; box-shadow:0 0 0 4px rgba(34,197,94,.15)}
    .hero h1{font-size: clamp(32px, 5vw, 56px); line-height:1.05; margin:10px 0 0; font-weight:900}
    .hero p{max-width:820px; margin:10px auto 0; color:#d1d5db; font-size: clamp(16px, 2vw, 20px)}
    .hero-actions{display:flex; gap:12px; justify-content:center; margin-top:22px}
    .btn{
      border-radius:12px; padding:14px 18px; font-weight:800; cursor:pointer; border:1px solid transparent;    
    }
    .btn-primary{background:var(--red); color:#fff; box-shadow:0 12px 28px rgba(227,6,19,.22)}
    .btn-primary:hover{background:var(--red-700)}
    .btn-ghost{background:transparent; color:#fff; border-color:rgba(255,255,255,.25)}
    .btn-ghost:hover{background:rgba(255,255,255,.08)}






/* SLIDER*/

    .logo-slider {
  overflow: hidden;
  background: #fff; /* fond du slider */
  padding: 20px 0;
}

.slider-track {
  display: flex;
  width: calc(200%); /* nécessaire pour le scroll infini */
  animation: scroll 30s linear infinite;
}

.slider-track img {
  width:190px; /* adapte selon la taille souhaitée */
  margin: 0 40px;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


@media screen and (max-width:989px){

  .slider-track img {
  width: 180px; /* adapte selon la taille souhaitée */
  margin: 0 40px;
  object-fit: contain;
}


}

















    /* Section */
    section{scroll-margin-top:90px}
    .wrap{max-width:var(--max); margin:0 auto; padding:80px 20px}
    .section-title{font-size:clamp(26px, 3.6vw, 38px); font-weight:900; margin:0 0 18px}
    .section-sub{color:var(--muted); max-width:820px}





    /* Services */
    .grid{display:grid; gap:18px}
    .grid-3{grid-template-columns:repeat(3,1fr)}
    @media (max-width: 1020px){ .grid-3{grid-template-columns:repeat(2,1fr)} }
    @media (max-width: 680px){ .grid-3{grid-template-columns:1fr} }

    .card{
      background:#fff; border:1px solid #e5e7eb; border-radius:var(--radius);
      padding:22px; box-shadow:var(--shadow); transition:transform .25s ease, box-shadow .25s ease;
    }
    .card:hover{transform:translateY(-4px); box-shadow:var(--shadow-2)}
    .icon{
      width:48px; height:48px; display:grid; place-items:center; border-radius:12px;
      background:rgba(227,6,19,.08); color:var(--red); font-size:24px; margin-bottom:10px;
    }
    .card h3{margin:8px 0 6px; font-size:18px}
    .card p{margin:0; color:#4b5563}


.servicesproposes a{
    text-decoration:none;
    color:inherit;
}










    /* A PROPOS */
    .pills{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
    .pill{
      background:var(--ink); color:#fff; border-radius:999px; padding:10px 14px; font-weight:800;
    }
.reverse{
  background-color:white !important; color:black !important;box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.reversered{
  background-color:white !important; color:var(--red-700) !important;box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}


.pilla{
  font-style:italic;
  font-weight:bold;
  opacity:0.5;
}

.pilla:before{
content:"◼"
}



#about{
    display:flex;
    justify-content:center;
    padding:4%;
        background-color:#F9F9F9;
}

.splitapropos{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:50px;
    max-width:var(--max);

}

.propos,
.imageentreprise{
width:50%;
}

.batiment{
border-radius:30px;
}


.diplome {
  border-radius: 3px;
  width: 50%;
  margin-top: -160px;
  margin-left: 350px;
  transform: rotate(10deg);
  transition: transform 0.3s ease; /* transition ici pour tout le transform */
  cursor: pointer;
}

.diplome:hover {
  transform: rotate(12deg) scale(1.5);
}





@media screen and (max-width:989px){
.splitapropos{
    display:block;
}
.propos,
.imageentreprise{
width:100%;
}


.diplome{
border-radius:3px;
width: 45%;
margin-top: -60px;
margin-left: 52%;
transform: rotate(10deg);
margin-bottom: 30px;
}


}














    /* Contact */
    .contact{
      background:linear-gradient(180deg,#0b0f14, #121821);
      color:#fff;
    }
    .contact .row{display:grid; grid-template-columns:1.1fr .9fr; gap:24px}
    @media (max-width: 960px){ .contact .row{grid-template-columns:1fr} }

    .form{
      background:#fff; color:#111827; border-radius:16px; padding:20px; box-shadow:var(--shadow);
      border:1px solid #e5e7eb;
    }
    .field{display:grid; gap:6px}
    .field input, .field textarea{
      border:1px solid #e5e7eb; border-radius:10px; padding:12px 12px; font:inherit;
      outline:none; transition:border-color .2s ease, box-shadow .2s ease;
      background:#fff;
    }
    .field input:focus, .field textarea:focus{
      border-color:var(--red); box-shadow:0 0 0 4px rgba(227,6,19,.15)
    }
    .grid-2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
    @media (max-width: 560px){ .grid-2{grid-template-columns:1fr} }

    .contact-card{
      background:rgba(255,255,255,.06);
      border:1px solid rgba(255,255,255,.14);
      padding:20px; border-radius:16px;
    }
    .contact-card a{color:#fff; text-decoration:none}
    .contact-card a:hover{text-decoration:underline}

















  /* BADGES - Tableau tarifs */

.tarifs-container {
  color: white;
  font-size: 15px;
  opacity: 0.9;
  width: fit-content;
  margin: 20px auto;
}




/* Table principale */
.tarifs-table {
  border-collapse: separate; /* important pour le border-radius */
  border-spacing: 0;
  width: 100%;
  color: white;
  background-color: #000;
  border-radius: 10px; /* coins arrondis */
  overflow: hidden;
}

/* Cellules */
.tarifs-table th,
.tarifs-table td {
  border: 1px solid #333;
  padding: 10px 15px;
  text-align: left;
}

/* En-têtes */
.tarifs-table th {
  background-color: #111111;
  font-weight: bold;
}

/* Lignes alternées */
.tarifs-table tr:nth-child(even) td {
  background-color: #1a1b1d;
}

/* Coins arrondis visibles */
.tarifs-table thead th:first-child {
  border-top-left-radius: 10px;
}
.tarifs-table thead th:last-child {
  border-top-right-radius: 10px;
}
.tarifs-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}
.tarifs-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

/* Texte sous le tableau */
.info-tarifs {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
  color: #ddd;
  text-align: left;
}

@media (max-width: 768px) {
.tarifs-container {
  font-size: 10px;
}

}









.page-banner {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-color: rgba(0,0,0,0.5); /* overlay noir semi-transparent */
}

.page-banner h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  margin: 0;
}












/*MULTICOLUMNS*/

.contact-block-container {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #000; /* fond noir global */
}

.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #fff;
  padding: 40px 20px;
  max-width: var(--max, 1200px);
  justify-content: center;
}

.contact-item {
  flex: 1 1 calc(25% - 20px); /* 4 colonnes sur grand écran */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #4E4E4E;
border-radius: 20px;
background-color:#1A1A1A;
}

.contact-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
}

.contact-item:hover {
opacity:0.9;
}

.contact-item p {
  margin: 0;
}


.zones{
 margin-top: 35px;
    opacity: 0.8;
}


.zones h4{
    margin-bottom:3px !important;
}

.big{
    font-size:25px;
}
/* --- Responsive --- */
@media (max-width: 768px) {
  .contact-item {
    flex: 1 1 100%; /* 1 colonne sur mobile */
  }
}





/*pages*/

@media screen and (min-width:989px){
.portecontainer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:50px;
}

.partleft{
  width:60%;
}


.rightpart{
  width:35%;
}

.rightpart img{
  width:100%;
  border-radius:20px;
}
}











    /* Footer */
    footer{
      background:#000; color:#9ca3af; padding:28px 20px; text-align:center; border-top:1px solid #111;
    }
    footer a{color:#d1d5db; text-decoration:none}
    footer a:hover{text-decoration:underline}