* { 
    margin: 0;
    padding: 0; 
    box-sizing: border-box; 
}
main{
    flex: 1;
    
}
body { 
    font-family: 'DM Sans', sans-serif;
    background: #f5f8fc; 
    color: #1a2a3a; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 40px;
    background: #fff;
    border-bottom: 1px solid #dce8f5;
    
}
nav img {
    height: 52px;
    border-radius: 6px;
}
nav h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 44px;
    margin-left: 16px;
    
}
nav h1 span { color: #2e7fc4; }
nav div {
    display: flex;
    gap: 32px;
}
nav div a {
    font-size: 17px;
    text-transform: uppercase;
    color: #6a8aaa;
    text-decoration: none;
    transition: color .2s;
}
nav div a:hover { color: #2e7fc4; }
.banneriere {
    width: 100%;
    position: relative;
    overflow: hidden;
    max-height: 480px;
}
.banneriere img {
    width: 100%;
    object-fit: cover;
    object-position: bottom 40%;
    display: block;
    filter: brightness(0.92);
}
.banneriere::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #f5f8fc);
}
.banner-badge {
    position: absolute;
    bottom: 32px;
    left: 40px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border: 1px solid #dce8f5;
    border-radius: 6px;
    padding: 13px 22px;
    display: flex;
    align-items: center;
    gap: 13px;
    z-index: 2;
}
.banner-badge span {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.banner-badge .sub {
    font-size: 11px;
    color: #7a9ab8;
    font-weight: 400;
    display: block;
    margin-top: 2px;
}
.hero {
    background: #fff;
    padding: 64px 40px 48px;
    border-top: 1px solid #dce8f5;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}
.hero-tag {
    font-size: 18px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2e7fc4;
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    gap: 11px;
}
.hero-tag::before {
    content: '';
    display: block;
    width: 28px;
    height: 1.5px;
    background: #2e7fc4;
}
.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 6vw, 88px);
    line-height: 0.92;
    letter-spacing: 0.04em;
}
.hero-sub {
    font-size: 15px;
    line-height: 1.8;
    color: #5a7a96;
    max-width: 640px;
    margin-top: 24px;
}
.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid #dce8f5;
}
.stat-n {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 38px;
    letter-spacing: 0.04em;
    color: #2e7fc4;
}
.stat-l {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8aaac4;
    margin-top: 3px;
}

.reels {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 64px 40px;
    background: #ffffff;
    border-top: 1px solid #dce8f5;
    gap: 40px;
}
.reels iframe {
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(46,127,196,0.07);
    flex-shrink: 0;
}
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 58px;
    line-height: 0.92;
    letter-spacing: 0.04em;
   

}
.reels-sub {
    font-size: 35px;
    color: #5a7a96;
    margin-top: 8px;
}



.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 58px;
    line-height: 0.92;
    letter-spacing: 0.04em;
   

}


h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 88px;
    text-align: center;
    margin-top: 30px;
}

.confidentialite {
    margin: 0 auto;
    padding: 64px 40px;
}
.confi-block {
      margin-bottom: 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid #dce8f5;
}
.confi-block ul li {
      font-size: 18px;
      color: #5a7a96;
      padding-left: 16px;
      position: relative;
}
.confi-block p{
    font-size : 19px;

}

.cookies {
    margin: 0 auto;
    padding: 64px 40px;
}
.cookies-block {
      margin-bottom: 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid #dce8f5;
}
.cookies-block ul li {
      font-size: 18px;
      color: #5a7a96;
      padding-left: 16px;
      position: relative;
}
.cookies-block p{
    font-size : 19px;

}
.cookie-table th {
      background: #eaf3fb;
      color: #1a2a3a;
      font-weight: 500;
      padding: 12px 16px;
      text-align: left;
      border: 1px solid #dce8f5;
    }
    .cookie-table td {
      padding: 12px 16px;
      border: 1px solid #dce8f5;
      color: #5a7a96;
      vertical-align: top;
    }
.mentions {
    margin-left: 15px;
}
footer {
    display: flex;
    align-items: center; 
    justify-content: center; 
    position: relative; 
    padding: 20px;
    background-color: #2e7fc4; 
    
}

footer img {
    position: absolute;
    left: 20px; 
    height: 50px; 
    width: auto;
}

footer p {
    text-align: center;
   
}
footer .social {
    position: absolute;
    right: 80px;
    height: 50px;
}


.services-texte{
    font-size: 25px;
    color : #5a7a96;
    margin-top: 8px;
}
.services {
    padding: 40px;
    background: #f5f8fc;
    border-top: 1px solid #dce8f5;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.services-left {
    width: 100%;
    margin-bottom: 0;
}
.services-photos {
    display: flex;
    gap: 16px;
    width: 100%;
}
.services-photos img {
    flex: 1;
    width: 0;
    height: 490px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
}
.services-nav {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    width: 100%;
}
.services-nav button {
    background: #2e7fc4;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
}
.services-nav span {
    font-size: 14px;
    color: #5a7a96;
}
.services-photos-wrap {
    width: 100%;
    overflow: hidden;
}

.promotion {
    padding: 20px 40px;
    background:  #f5f8fc;
    gap:40px
}

.prom-texte {
    justify-content: left;
    font-size: 27px;
    margin-top: 16px;
    margin-bottom: 32px;
    color: #5a7a96;
}
.promotion-contenue img {
    display: block;
    margin: auto;


}

            
.contact-form {
            background: rgba(255,255,255,0.75);
            border: 1px solid rgba(26,15,233,0.12);
            border-radius: 16px;
            padding: 26px 40px;
            margin:auto;
            max-width: 700px;
            
        }
 
        .form-group {
            margin-bottom: 22px;
        }
 
        .form-group label {
            display: block;
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 17px;
            color: #1a1a2e;
            margin-bottom: 8px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid rgba(26,15,233,0.12);
            border-radius: 8px;
            background: rgba(255,255,255,0.8);
            color:  #1a1a2e;
            font-family: 'Barlow', sans-serif;
            font-size: 15px;
           
        }
.boutton {
    width: 100%;
    color:white;
    border-radius: 8px;
    background-color:  #2e7fc4;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 35px;
    border: none;
    margin-top: 14px;
}
.map {
    display: flex;
   flex-direction: column;
   align-items: center;
    padding: 34px 40Px;
    gap:40px
}
.map h2 {
    text-align: center;
    color:  #5a7a96;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 35px;

}
.map iframe {
    border-radius: 15px;
}
#banniere-cookies {
    position: fixed;
    inset:0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}
#popup-cookies {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2d2d2d;
    color: #fff;
    border-radius: 12px;
    padding: 48px 40px 40px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    z-index: 9999;
}
#fermer-cookies {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
#popup-icones {
    font-size: 32px;
    margin-bottom: 20px;
}
#popup-texte {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 28px;
    color: #fff;
}
#popup-boutons {
    display: flex;
    justify-content: center;
    gap: 12px;
}
#popup-boutons button:first-child {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
}
#popup-boutons button:last-child {
    background: #2d8a2d;
    color: #2d2d2d;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
}
#popup-modifier {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2d2d2d;
    color: #fff;
    border-radius: 12px;
    padding: 48px 40px 40px;
    max-width: 500px;
    width: 90%;
    z-index: 9999;
}
#popup-modifier h3 {
    font-size: 20px;
    margin-bottom: 24px;
    text-align: center;
}
#fermer-modifier {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.cookie-ligne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cookie-ligne strong {
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}
.cookie-ligne p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.cookie-ligne input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}
#popup-modifier button:last-child {
    display: block;
    width: 100%;
    margin-top: 24px;
    background: #2e7fc4;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
}

.testimonial-section {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 80px auto;
  overflow: hidden;
}


.avis {
    padding: 64px 40px;
    background:  #ffffff;
    gap:40px
}
.avis p {
    color: #5a7a96;
    font-size : 24px;
    gap: 12px;
}
.carousel {
   position: relative;
   height: 250px;
}
.card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 60%;
  padding: 25px;
  border-radius: 20px;
  background: white;
  text-align: center;
  transform: translateX(-50%) scale(0.7);
  opacity: 0;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card.active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
}

.card.left {
  transform: translateX(-130%) scale(0.8);
  opacity: 0.5;
  filter: blur(2px);
  z-index: 2;
}

.card.right {
  transform: translateX(30%) scale(0.8);
  opacity: 0.5;
  filter: blur(2px);
  z-index: 2;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: black;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 4;
}

.left { left: 10px; }

.right { right: 10px; }


.apparaitre {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 2.5s ease, transform 2.5s ease;
}
.apparaitre.visible {
    opacity: 1;
    transform: translateY(0);
}

.realisation { background: #fff; }
.realisation-hero {
    background: #f5f8fc;
    border-bottom: 1px solid #dce8f5;
    padding: 48px 40px 40px;
}
.hero-tag {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2e7fc4;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: #2e7fc4;
}
.realisation-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 64px;
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 12px;
    text-align: left;
    margin-top: 0;
}
.realisation-hero p { font-size: 16px; color: #5a7a96; }
.grille-section { padding: 40px; }
.photo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.dossier {
    background: #fff;
    border: 1px solid #dce8f5;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}
.dossier:hover { border-color: #2e7fc4; }
.dossier-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.dossier-img i { font-size: 48px; opacity: 0.5; }
.badge-nb {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #2e7fc4;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
}
.dossier-body { padding: 16px 20px; }
.dossier-titre {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 0.04em;
    color: #1a2a3a;
    margin-bottom: 4px;
}
.dossier-desc { font-size: 13px; color: #7a9ab8; }
.dossier-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #dce8f5;
}
.dossier-voir { font-size: 13px; color: #2e7fc4; }
#btn-retour {
    background: none;
    border: 1px solid #dce8f5;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    color: #1a2a3a;
    margin-bottom: 20px;
}
#images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}
#images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}
#images img:hover { transform: scale(1.03); }
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
#lb-img {
    max-width: 80%;
    max-height: 85vh;
    border-radius: 6px;
    object-fit: contain;
}
.lb-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    flex-shrink: 0;
}
.lb-btn:hover { background: rgba(255,255,255,0.3); }



.page-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    text-align: center;
    padding: 48px 40px;
}
.err-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 160px;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #dce8f5;
}

.err-titre {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    letter-spacing: 0.04em;
    color: #1a2a3a;
    margin-bottom: 12px;
}
.err-texte {
    font-size: 16px;
    color: #5a7a96;
    line-height: 1.7;
    margin-bottom: 32px;
}
.err-btns { 
    display: flex; 
    gap: 12px; 
}
.btn-primary {
    background: #2e7fc4;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}
.btn-secondary {
    background: transparent;
    color: #2e7fc4;
    border: 1px solid #2e7fc4;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}



/* ── RESPONSIVE MOBILE ── */
@media (max-width: 768px) {
 
  /* NAV */
  nav {
    flex-wrap: wrap;
    padding: 14px 20px;
    gap: 12px;
  }
  nav h1 { font-size: 28px; margin-left: 10px; padding-top: 32px; }
  nav img { height: 40px; }
  nav div { gap: 16px; }
  nav div a { font-size: 13px; }
 
  /* BANNIERE */
  .banneriere { max-height: 270px; }
  .banner-badge { max-height: 50px;max-width: 220px;left: 16px; bottom: 16px; padding: 10px 14px; }
  .span {font-size: 3px;}
  /* HERO */
  .hero { padding: 40px 20px 32px; }
  .hero h1 { font-size: clamp(48px, 12vw, 72px); }
  .hero-tag { font-size: 13px; }
  .hero-sub { font-size: 14px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat-n { font-size: 30px; }
 
  /* SERVICES */
  /* SERVICES MOBILE — carrousel avec flèches */
.services {
    flex-direction: column;
    padding: 40px 20px;
}
.services-left { width: 100%; }

  .services-photos {
    display: flex;
    flex-wrap: nowrap !important;
    width: 600%;
    transition: transform 0.4s ease;
  }
  .services-photos img {
    width: calc(100% / 6);
    min-width: calc(100% / 6);
    flex: none;
    height: 745px;
    object-fit: cover;
    object-position: center;
  }
  .services-photos-wrap {
    width: 100%;
    overflow: hidden;
  }

.services-nav { display: flex; }

 
  /* REELS */
  .reels {
    flex-direction: column;
    padding: 40px 20px;
    align-items: center;
  }
  .reels iframe { width: 100%; max-width: 320px; }
  .reels-sub { font-size: 18px; }
 
  /* PROMOTION */
  .promotion { padding: 40px 20px; }
  .promotion-contenue { flex-direction: column; }
  .promotion-contenue img { width: 100%; height: auto; }
  .prom-texte { font-size: 16px; }
 
  /* AVIS */
  .avis { padding: 40px 20px; }
  .avis p { font-size: 16px; }
  .testimonial-section { margin: 40px auto; }
  .carousel { height: 320px; }
  .card { width: 85%; }
 
  /* FOOTER */
  footer {
    flex-direction: column;
    padding: 32px 20px;
    gap: 16px;
    text-align: center;
  }
  footer img {
    position: static;
    height: 40px;
  }
  footer .social {
    position: static;
    height: auto;
  }
  footer p { font-size: 13px; }
 
  /* PAGE 404 */
  .err-num { font-size: 100px; }
  .err-titre { font-size: 28px; }
  .err-btns { flex-direction: column; align-items: center; }
 
  /* COOKIES */
  #popup-cookies { padding: 32px 20px; width: 95%; }
  #popup-modifier { padding: 32px 20px; width: 95%; }
  #popup-boutons { flex-direction: column; }
  #popup-boutons button { width: 100%; }
 
  /* CONTACT */
  
  .contact-body { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-header h1 { font-size: 28px; margin-top: 0;}
  .map { padding: 20px; }
 
  /* GALERIE PROJETS */
    .photo {
        grid-template-columns: 1fr;
    }
    .dossier-img { height: 140px; }
    .dossier-img i { font-size: 36px; }
    .dossier-titre { font-size: 22px; }
    .grille-section { padding: 20px; }
    .realisation-hero { padding: 32px 20px; }
    .realisation-hero h1 { font-size: 48px; }

    #images {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    #images img { height: 180px; }

    #btn-retour { margin-left: 0; }

    /* LIGHTBOX */
    #lightbox { gap: 12px; padding: 0 8px; }
    #lb-img { max-width: 90%; max-height: 75vh; }
    .lb-btn { width: 36px; height: 36px; font-size: 16px; }

    .map iframe {
    width: 100%;
    height: 300px;
}

}