/* On remet à zéro les styles par défaut du navigateur */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Le body = toute la page */
body {
  background-color: #1a1a14;
  color: #e8e0d0;
  font-family: 'Jost', sans-serif; /* pour les textes courants */
}

/* La section hero prend toute la hauteur de l'écran */
#hero {
  height: 100vh; /* 100% de la hauteur de la fenêtre */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#hero h1 {
  font-size: 5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  font-family: 'Cormorant Garamond', serif; /* pour les grands titres */
}

#hero p {
  margin-top: 1rem;
  font-size: 1.2rem;
  opacity: 1;
}

#hero h1, #hero p, #hero a {
    margin-top: 10rem;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.9),
             0 0 80px rgba(0, 0, 0, 0.7);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.4); /* noir à 40% de transparence */
  backdrop-filter: blur(8px); /* légère impression de verre dépoli */
  min-height: 80px;
}

.intro-page {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  text-align: center;
  margin-bottom: 7rem;
}

/* Le logo à gauche */
nav span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Les liens de navigation */
nav a {
  color: #e8e0d0;
  text-decoration: none; /* enlève le soulignement */
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-left: 2rem;
  opacity: 0.7;
  transition: opacity 0.3s ease; /* animation douce au survol */
}

nav a {
  opacity: 1;
}

nav a:hover {
  opacity: 1;
}

nav a img {
  display: block;
}

nav img {
  height: 100px; /* augmente ce chiffre jusqu'à ce que tu sois satisfaite */
}

.nav-logo {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Le bouton dans le hero */
#hero a {
  margin-top: 15rem;
  padding: 1rem 2.5rem;
  border: 1px solid #e8e0d0;
  color: #1a1a14;
  background-color: #e8e0d0;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

#hero a:hover {
  transform: scale(1.08);
}

#hero {
  overflow: hidden; /* important pour cacher le débordement du zoom */
  background-image: url('PHOTO_ACCUEIL/FOND.webp');
  background-size: cover;
  background-position: center;
  animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.15) translateX(2%); }
}

#hero h1 {
  text-shadow: 
    0 0 10px rgba(0,0,0,1),
    0 0 20px rgba(0,0,0,1),
    0 0 8px rgba(0,0,0,1),
    0 0 8px rgba(0,0,0,1),
    0 0 8px rgba(0,0,0,1),
    0 0 40px rgba(0,0,0,0.8);
}

/* SECTION RÉALISATIONS */
#realisations {
  padding: 8rem 4rem;
  background-color: #1a1a14;
}

#realisations h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 3rem;
}

/* ONGLETS */
.onglets {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.onglet {
  background: none;
  border: none;
  color: #e8e0d0;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.4;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.onglet.actif {
  opacity: 1;
  border-bottom: 1px solid #4a8c5c;
}


.cache {
  display: none;
}

#choix-realisations {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding-top: 145px;
  background-image: url('PHOTO_ACCUEIL/FOND.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.carte-realisation {
  position: relative;
  flex: 1;
  overflow: hidden;
  text-decoration: none;
}

.carte-realisation img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.5);
}

.carte-realisation:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.carte-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #e8e0d0;
  z-index: 1;
}

.carte-overlay h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.carte-overlay p {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

#page-creation {
  padding: 8rem 4rem 4rem 4rem;
  background-image: 
    linear-gradient(
      to bottom,
      rgba(26, 35, 20, 0.4) 0px,
      rgba(26, 35, 20, 0.5) 100px,
      rgba(26, 35, 20, 0.7) 200px,
      rgba(26, 35, 20, 0.95) 350px,
      rgba(26, 35, 20, 1) 100%
    ),
    url('PHOTO_ACCUEIL/FOND.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
#page-creation h1 {
  padding-top: 3rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 4rem;
}

.grille-sliders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.slider-comparaison {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: ew-resize;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  margin-bottom: 3rem;
}

.img-apres {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  filter: contrast(1.1) saturate(1.1);
}

.img-avant-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.img-avant {
  display: block;
  width: 100%;
  height: auto;
  filter: contrast(1.1) saturate(1.1);
}

.separateur {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: #e8e0d0;
  cursor: ew-resize;
}

.separateur::after {
  content: '〈 〉';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #e8e0d0;
  color: #1a1a14;
  padding: 0.5rem 0.8rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* ============ SEO ============ */
.seo-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

#apropos {
  min-height: 100vh;
  padding: 10rem 4rem 6rem 4rem;
  background-image: 
    linear-gradient(
      to bottom,
      transparent 0px,
      rgba(26, 35, 20, 0.3) 100px,
      rgba(26, 35, 20, 0.85) 300px,
      rgba(26, 35, 20, 0.95) 100%
    ),
    url('PHOTO_ACCUEIL/FOND.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#apropos h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 4rem;
}

.apropos-contenu {
  max-width: 700px;
  margin: 0 auto;
}

.apropos-contenu h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  color: #4a8c5c;
}

.apropos-contenu p {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  opacity: 0.85;
  margin-bottom: 1.8rem;
}

#contact {
  min-height: 100vh;
  padding: 10rem 4rem 6rem 4rem;
  background-image: 
    linear-gradient(
      to bottom,
      transparent 0px,
      rgba(26, 35, 20, 0.3) 100px,
      rgba(26, 35, 20, 0.85) 300px,
      rgba(26, 35, 20, 0.95) 100%
    ),
    url('PHOTO_ACCUEIL/FOND.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#contact h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 4rem;
}

.contact-contenu {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.contact-texte {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.contact-intro {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

.contact-tel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: #e8e0d0;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.contact-tel:hover {
  color: #4a8c5c;
}

.contact-horaires {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
  line-height: 2;
}

.contact-carte {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
}

.photo-equipe {
  width: 100%;
  max-width: 600px;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 2rem auto 3rem auto;
}

#mentions {
  min-height: 100vh;
  padding: 10rem 4rem 6rem 4rem;
  background-image: 
    linear-gradient(
      to bottom,
      transparent 0px,
      rgba(26, 35, 20, 0.3) 100px,
      rgba(26, 35, 20, 0.85) 300px,
      rgba(26, 35, 20, 0.95) 100%
    ),
    url('PHOTO_ACCUEIL/FOND.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#mentions h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 4rem;
}

.mentions-contenu {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.photo-equipe {
  width: 100%;
  max-width: 600px;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 2rem auto 3rem auto;
  border-radius: 50px; /* ajuste ce chiffre selon le rendu voulu */
}
.mentions-bloc h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #4a8c5c;
  margin-bottom: 1rem;
}

.mentions-bloc p {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.7;
}

.mentions-bloc a {
  color: #e8e0d0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.mentions-bloc a:hover {
  opacity: 1;
}

footer {
  text-align: center;
  padding: 2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

footer a {
  color: #e8e0d0;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  nav {
    padding: 1.2rem 1.5rem;
  }

  nav img {
    height: 70px;
  }

  nav a {
    font-size: 0.85rem;
    margin-left: 1rem;
  }

  #page-creation h1 {
    font-size: 2.5rem;
  }

  .carte-overlay h2 {
    font-size: 2.5rem;
  }
  #choix-realisations {
    height: calc(100vh - 60px);
    margin-top: -37px;
  }
    .carte-overlay h2 {
    text-shadow: 
    0 0 2px rgba(0,0,0,1),
    0 0 4px rgba(0,0,0,1),
    0 0 6px rgba(0,0,0,1),
    0 0 10px rgba(0,0,0,1),
    0 0 20px rgba(0,0,0,1),
    0 0 40px rgba(0,0,0,0.9);
  }

@media (max-width: 768px) {
  .carte-overlay::after {
    content: 'Découvrir';
    display: inline-block;
    margin-top: 3.5rem;
    padding: 0.8rem 2rem;
    background-color: rgba(232, 224, 208, 0.4);
    color: #1a1a14;
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
}

  .carte-overlay p {
    text-shadow: 
    0 0 2px rgba(0,0,0,1),
    0 0 4px rgba(0,0,0,1),
    0 0 6px rgba(0,0,0,1),
    0 0 10px rgba(0,0,0,1),
    0 0 20px rgba(0,0,0,1),
    0 0 40px rgba(0,0,0,0.9);
  }

  #apropos {
    padding: 8rem 1.5rem 4rem 1.5rem;
  }

  #apropos h1 {
    font-size: 2rem;
  }

  #contact {
    padding: 8rem 1.5rem 4rem 1.5rem;
  }

  .contact-tel {
    font-size: 2rem;
  }

  .contact-carte iframe {
    height: 300px;
  }

  #mentions {
    padding: 8rem 1.5rem 4rem 1.5rem;
  }
}

