html{ visibility: hidden; }
html.ready{ visibility: visible; }

@font-face{
  font-family:"Louis George Cafe";
  src:url("../fonts/LouisGeorgeCafe-Regular.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Louis George Cafe";
  src:url("../fonts/LouisGeorgeCafe-Bold.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}



:root {
  --or: #CAAE84;
  --bleu: #152B46;
  --beige: #E3DBCF;

  --titre: "Asul", serif;
  --sous-titre: "Louis George Cafe", serif;
  --texte: "Poppins", sans-serif;

  --rayon: 14px;
}


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


body{
  background: var(--beige);
  color: var(--bleu);
  font-family: var(--texte);
}

html, body{
  overflow-x: hidden;
}

img, video{
  max-width: 100%;
  height: auto;
}

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



.nav-bar{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-button{
  background: var(--bleu);
  padding: 8px 30px;
  display: flex;
  gap: 16px;
border-bottom-right-radius: 999px;
border-top-right-radius: 999px;
}

.nav-button a{
  font-family: var(--texte);
  font-size: 14px;
  color: var(--or);
  padding: 8px 10px;
  border-radius: 999px;
  transition: background .2s ease, transform .15s ease;
}

.nav-button a:hover{
color: var(--or);  
transform: translateY(-1.5px);
}

.lien-actif{
  color: var(--beige) !important;
  font-weight: 700;
}

.logo-img{
  height: 120px; 
  width: auto;
  display: block;
}



.titre-hero{
  font-family: var(--titre);
  font-size: 90px;
  letter-spacing: 2px;
  color: var(--or);
}

.sous-titre-hero{
  font-family: var(--titre);
  font-size: 20px;
  color: var(--bleu);
  margin-bottom: 16px;
  margin-left: 8px;
}

.texte-hero{
  font-family: var(--titre);
  font-size: 16px;
  line-height: 1.45;
  color:var(--bleu);

  background: rgba(202,174,132,0.18);
  padding: 16px 18px;
  border-radius: var(--rayon);
  max-width: 620px;
}

.bouton-cv{
  display: inline-block;
  margin-top: 25px;
  font-family: var(--titre);
  font-size: 16px;

  border: 1px solid var(--or);
  padding: 7px 20px;
  border-radius: 999px;
  color: var(--or); 
  transition: transform .15s ease, background .2s ease;
}

.bouton-cv:hover{
  transform: translateY(-1px);
  color: var(--beige);
  background-color: var(--or);

}

.hero{
  position: relative;              
  padding: 70px 36px 40px;         
  min-height: 430px;               
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.bloc-texte{
  width: min(720px, 100%);
  text-align: left;
  margin-top: 10px;                
}

.polaroid{
  position: absolute;              
  width: 380px;                    
  height: auto;
  background: transparent;
  padding: 0;
  border: 0;
  display: block;
}

.polaroid-gauche{
    left: 7px;
    top: 8px;
    transform: rotate(-5deg);
}

.polaroids-droite{
  position: absolute;
  right: 110px;
  top: 70px;                       
  width: 380px;
  height: 360px;
}

.polaroid-droite-1{
  position: absolute;
  right: -45px;
  top: -143px;
  transform: rotate(10deg);
  width: 380px;
}

.polaroid-droite-2{
  position: absolute;
  right: 34px;                     
  top: 61px;                     
  transform: rotate(-6deg);
  width: 340px;
}



.bandeau{
  margin-top: 100px;
  background: var(--bleu);
  overflow: hidden;
  padding: 16px 0;          
}

.bandeau-ruban{
  display: flex;
  width: max-content;
  animation: defilement 55s linear infinite; 
}

.bandeau-contenu{
  display: flex;
  white-space: nowrap;
}

.bandeau-texte{
  font-family: var(--texte);
  font-size: 15px;          
  color: var(--or);
  letter-spacing: .2px;
  padding-right: 0px;      
}

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



.section-video{
  padding: 60px 60px 40px;
  gap: 80px;
  align-items: start;
}


.titre-section{
  font-family: var(--titre);
  color: var(--or);
  font-size: 38px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.sous-texte-video{
  font-family: var(--titre);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--bleu);

  background: rgba(202,174,132,0.18);
  padding: 16px 18px;
  border-radius: 18px;

  max-width: 360px;  
}

.video-container{
  grid-column: 1 / -1;   
  margin: 40px auto 0;   
  max-width: 860px;
}


.video-container video{
  width: 100%;
  border-radius: var(--rayon);
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
  background: #000;
}




.meilleurs-projets{
  background: var(--beige);
  padding: 54px 60px 56px;
  position: relative;
  isolation: isolate; 
}

.meilleurs-projets::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  width: auto;
  transform: none;
  top: 14px;
  height: 420px;   
  background: var(--bleu);
  z-index: -1;
}


.titre-section-clair{
  color: var(--or);
  margin-bottom: 40px;
}

.gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 10px 0 26px;

  max-width: 1183px;
  margin: 0 auto;          
  max-height: 681px;
}

.gallery div{
  overflow: hidden;
  border-radius: 10px;
  transition: transform .2s ease;
}

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

.gallery img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease, filter .25s ease;
}

.gallery div:hover img{
  transform: scale(1.04);
  filter: brightness(1.06);
}

.gallery .large{
  grid-column: span 2;
}

.img-centre{
  object-position: center bottom;
}

.img-centre-3{
  object-position: center 23%;
}

.voir-tout {
  justify-content: center;
  display: flex;
}
.voir-tout a{
  margin-top: 15px;
  font-family: var(--titre);
  font-size: 16px;
  border: 1px solid var(--or);
  padding: 9px 20px;
  border-radius: 999px;
  color: var(--or); 
  transition: transform .15s ease, background .2s ease;
}

.voir-tout a:hover{
  transform: translateY(-1.5px);
  color: var(--beige);
  background-color: var(--or);

}


.footer-custom{
  background: var(--bleu);
  color: var(--or);
  font-family: var(--texte);
  padding: 15px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  border-top: 1px solid rgba(227,219,207,0.08);
   box-shadow: 0 -8px 18px rgba(0,0,0,0.18);
}

.footer-left{
  font-size: 14px;
  margin-left: 20px;
}

.footer-right{
  display: flex;          
  align-items: center;    
  gap: 16px;              
}


.footer-right img{
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.footer-right a:hover img{
  transform: scale(1.1);
}


.burger{
  display: none;
  background: var(--bleu);
  border: 1px solid rgba(202,174,132,0.35);
  border-radius: 999px;
  padding: 12px 14px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.burger-line{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--or);
  border-radius: 999px;
}
.burger-line + .burger-line{ margin-top: 6px; }


.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 998;
}


.nav-bar{
  display: flex;
  align-items: center;
  justify-content: space-between; 
  position: relative;
}

.burger{
  display: none;
  background: var(--bleu);
  border: 1px solid rgba(202,174,132,0.35);
  border-radius: 999px;
  padding: 12px 14px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.burger-line{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--or);
  border-radius: 999px;
}
.burger-line + .burger-line{ margin-top: 6px; }

.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 998;
}

.polaroids-mobile{
  display: none;
}


@media (max-width: 980px){

  .nav-bar{
    justify-content: space-between;   
    align-items: center;              
    padding: 14px;
    height: 74px;     
  }

  .logo{
    position: relative;
    z-index: 997;
    display: flex;                    
    align-items: center;   
    margin-left: auto;              
  }

  .logo-img{
    display: block;
    margin-top: 18px;
  }

  .burger{
    box-shadow: none;
    display: block;
    position: fixed;
    left: 14px;
    top: 14px;
    z-index: 1000;
    margin: 11px 10px 10px 20px;
  }

  .nav-button{
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;              
    height: auto;           
    width: min(280px, 80vw);

    background: var(--bleu);
    padding: 90px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;

    transform: translateX(-110%);
    transition: transform .25s ease;
    z-index: 999;

    border-right: 1px solid rgba(202,174,132,0.18);
    box-shadow: 18px 0 40px rgba(0,0,0,0.18);
    border-radius: 0;
  }

  .nav-button a{
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    font-size: 15px;
    color: var(--or);
  }

  body.menu-open .nav-button{
    transform: translateX(0);
  }

  body.menu-open .nav-overlay{
    opacity: 1;
    pointer-events: auto;
  }

  .hero{
    padding: 24px 16px 20px;
    min-height: auto;
  }

  .bloc-texte{
    width: 100%;
    text-align: center;
  }

  .titre-hero{
    font-size: 50px;
  }

  .sous-titre-hero{
    margin-bottom: 14px;
    color: var(--or);
    margin-left: -185px;
    margin-top: -8px;
    font-weight: 100;
  }

  .polaroids-mobile{
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 190px;
    margin: 12px auto 18px;
    display: block; 
    top: -30px;
  }

  .polaroids-mobile .polaroid{
    position: absolute; 
    top: 20px;
    width: 160px;
    height: auto;
  }

  .polaroid-m1{
    left: 0;
    transform: rotate(-10deg);
    z-index: 1;
  }

  .polaroid-m2{
    left: 50%;
    top: 0;
    transform: translateX(-50%) rotate(0deg);
    z-index: 3;
  }

  .polaroid-m3{
    right: 0;
    transform: rotate(10deg);
    z-index: 2;
  }

  .texte-hero{
    text-align: left;
    font-size: 15px;
  }

  .polaroid-gauche,
  .polaroids-droite{
    display: none;
  }

  .bouton-cv {
    color: var(--beige);
    background-color: var(--or);
  }

  .bandeau {
    margin-top: 10px;
  }

  .section-video{
    padding: 28px 16px 26px;  
  }

  .titre-section {
    font-size: 25px;
    margin-top: 10px;
  }

  .video-container{
    max-width: 100%;
  }

  .meilleurs-projets{
    padding: 34px 16px 40px;
  }

  .meilleurs-projets::before{
    height: 320px; 
    top: 10px;
  }

  .gallery{
    padding: 0 12px;
    margin-left: 0;       
    max-width: 100%;
    max-height: none;     
    grid-template-columns: 1fr; 
    gap: 12px;
  }

  .gallery .large{
    grid-column: auto;
  }

  .voir-tout a{
    margin-top: 30px;
    color: var(--beige);
    background-color: var(--or);
  }

  .footer-custom{
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 18px 12px;
  }

  .footer-right{
    order: 1;                 
    justify-content: center;
    width: 100%;
  }

  .footer-left{
    order: 2;                 
    margin-left: 0;
    width: 100%;
    font-size: 13px;
  }
}


@media (max-width: 340px){

  .titre-hero{
    font-size: 40px;
  }

  .sous-titre-hero{
    font-size: 16px;
    margin-left: -154px;
  }

  .polaroids-mobile{
    max-width: 310px;
    height: 165px;
  }

  .polaroids-mobile .polaroid{
    width: 135px;
  }

  .texte-hero{
    font-size: 14px;
  }


  .nav-bar{
    height: 74px;
    padding: 12px 12px;
  }

  .logo-img{
    height: 90px;
  }

  .burger{
    width: 49px;
    height: 42px;
    padding: 0;
  }

  .burger-line{
    width: 15px;
    height: 2px;
    margin-left: 16px;
  }
}

@media (max-width: 1400px){

  .hero{
    padding: 60px 24px 40px;
  }

  .gallery{
    margin-left: auto;   
    margin-right: auto;  
    max-width: 1183px;   
  }
  .bloc-texte{
    width: min(640px, 100%);
    margin-top: 0;
  }

  .polaroid{ width: 320px; }

  .polaroid-gauche{
    left: 8px;
    top: 28px;
  }

  .polaroids-droite{
    right: 40px;
    top: 86px;
    width: 320px;
    height: 320px;
  }

  .polaroid-droite-1{
    right: -25px;
    top: -120px;
    width: 320px;
  }

  .polaroid-droite-2{
    right: 20px;
    top: 52px;
    width: 290px;
  }
}

@media (min-width: 700px) and (max-width: 980px){

  .bloc-texte{
    text-align: left;
    max-width: 680px;
    margin: 0 auto;
  }

  .titre-hero{
    text-align: center;
  }

  .sous-titre-hero{
    text-align: center;
    margin-left: 0;
  }

  .texte-hero{
    max-width: 680px;
    margin: 0 auto;
  }

  .polaroids-mobile{
    max-width: 520px;
    height: 220px;
    top: -10px;
  }

  .polaroids-mobile .polaroid{
    width: 185px;
  }

    .bouton-cv{
    display: block;
    width: fit-content;
    margin: 22px auto 0;
    text-align: center;
  }

  .gallery{
    grid-template-columns: repeat(3, 1fr);
    padding: 10px 0 26px;
    margin-left: 0;      
    max-width: 100%;
    max-height: none;
    gap: 16px;
  }

  .gallery .large{
    grid-column: span 2; 
  }
}

@media (max-width: 1200px) and (min-width: 981px){

  .hero{
    padding: 56px 20px 36px;
  }

  .bloc-texte{
    width: min(560px, 100%); 
  }

  .polaroid{
    width: 280px;
  }

  .polaroid-gauche{
    left: 0;
    top: 40px;
  }

  .polaroids-droite{
    right: 10px;
    top: 110px;
    width: 280px;
    height: 280px;
  }

  .polaroid-droite-1{
    right: -10px;
    top: -110px;
    width: 280px;
  }

  .polaroid-droite-2{
    right: 10px;
    top: 58px;
    width: 255px;
  }
}
