@font-face {
  font-family: 'Cinzel';
  src: url('police/Cinzel-VariableFont_wght.ttf');
  font-weight: 600;
}

@font-face {
  font-family: 'ArchivoBlack';
  src: url('police/ArchivoBlack-Regular.ttf');
}

@font-face {
  font-family: 'Outfit';
  src: url('police/Outfit-VariableFont_wght.ttf');
}

@font-face {
  font-family: 'Belanosima';
  src: url('police/Belanosima-SemiBold.ttf');
}

@font-face {
  font-family: 'Copse';
  src: url('police/Copse-Regular.ttf');
}

@font-face {
  font-family: 'DMSans';
  src: url('police/DMSans-VariableFont_opsz,wght.ttf');
}

@font-face {
  font-family: 'IbarraRealNova';
  src: url('police/IbarraRealNova-VariableFont_wght.ttf');
}

@font-face {
  font-family: 'IbarraRealNovaItalic';
  src: url('police/IbarraRealNova-Italic-VariableFont_wght.ttf');
  font-style: italic;
}

@font-face {
  font-family: 'IBMPlexSans';
  src: url('police/IBMPlexSans-VariableFont_wdth,wght.ttf');
}

@font-face {
  font-family: 'PlayfairDisplay';
  src: url('police/PlayfairDisplay-Italic-VariableFont_wght.ttf');
}

@font-face {
  font-family: 'BlackOpsOne';
  src: url('police/BlackOpsOne-Regular.ttf');
}

@font-face {
  font-family: 'Raleway';
  src: url('police/Raleway-VariableFont_wght.ttf');
}

/* ---------- GLOBAL ---------- */

html {
  scrollbar-gutter: stable;
}

[id] {
  scroll-margin-top: var(--navbar-height);
}

:root {
  --navbar-height: 100px;
}

body {
  position: relative;
  background-color: transparent;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-color:#ececec;
  mix-blend-mode: soft-light;
  z-index: -1;
}

@keyframes holo {
  0%,100% { background-position: 0% 50%, 0 0, 0 0; }
  50%      { background-position: 100% 50%, 0 0, 0 0; }
}

main {
  flex: 1;
  margin-top: var(--navbar-height);
}

a {
  text-decoration: none;
  color: inherit;
}

.h1-page {
  background: linear-gradient(to right, #533117, #8f512f);
  padding: 40px 60px;
  border-bottom: 2px solid #a18a75;
  border-radius: 12px;
  max-width: 90%;
  margin: 0 auto 0;
  margin-top: 30px;  
}

.h1-page h1 {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 48px;
  font-weight: 900;
  font-weight: 400;
  margin: 0;
  background: linear-gradient(to right, #f7f5f4, #c7b9ab);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2, h1, h4 {
  text-align: center;
}

.titre-chapitre {
  font-family: ArchivoBlack;
  margin-top: 80px;
  margin-bottom: 110px;
}

h3 {
  text-align: center;
}

/* ---------- TITRE PRINCIPAL ---------- */

.fond-titre-bois {
  position: relative;
  min-height: 870px;
  overflow: hidden;
  isolation: isolate;
}

.fond-titre-bois::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3; 
  background-color: #000000; 
  pointer-events: none;
}

.fond-titre-bois::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;

  background: url("image/extension2.webp") no-repeat center 20%;
  background-size: cover;
  opacity: 0.75;
}

.overlay-gradient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    #252525d7,
    transparent
  );
}

.titre-bois {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 130px;
}

.titre-principal {
  background-color: white;
  font-family: 'Cinzel', 'Georgia', serif;
  text-align: left;
  font-size: clamp(50px, 20vw, 100px);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0) 100%
  );
}

.sc-bois-logo {
  font-size: 55px;
  font-family: 'BlackOpsOne', monospace;
  position: relative;
  top: auto;
  left: auto;
  display: flex;
  margin-top: 10px;
}

.sc-bois-logo2 {
  font-size: 26px;
  font-family: 'Raleway', sans-serif;
  font-synthesis: none;
  position: relative;
  top: auto;
  left: auto;
  display: flex;
}

.logo-accueil {
  width: 170px;
  height: auto;
  z-index: 1;
  position: relative;
  top: -28px;
  left: -10px;
  transform: none;
}

.logo-titre-groupe {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;margin: 20px;
}

.RGE-titre img {
  position: relative;
  left: auto;
  top: auto;
  width: 110px;
}

.titre-bois p {
  color: white;
  margin: 0;
  right: 40px;
}

.texte-h1-1 p,
.texte-h1-2 p {
  white-space: nowrap;
}

.texte-h1-1 {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  font-size: clamp(24px, 6vw, 31px);
  text-align: center;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
  margin: 10px;
}

.texte-h1-2 {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  font-size: clamp(24px, 6vw, 31px);
  text-align: center;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}

.text-accueil-localisation {
  margin: 40px;
}

.texte-h1-contact {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  font-size: clamp(17px, 6vw, 24px);
  text-align: center;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}
.contact-accueil a {
  position: relative;
  color: #ffffff;
  text-decoration: none;
}

.contact-accueil {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  font-size: clamp(20px, 6vw, 25px);
  text-align: center;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
  margin: 10px;
}

.contact-accueil a:hover {
  color: #689732;
}

.contact-accueil img {
  vertical-align: middle;
  position: relative;
  margin-right: 5px;
  top: -2px;
  padding: 3px;
  background-color: #689732;
}

.style-gras {
  font-weight: 500;
}

/* ---------- NAV-BAR ---------- */

ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}

nav a {
  cursor: pointer;
  padding: 11px 10px;
  font-family: 'Outfit', sans-serif;
  color: rgb(109, 95, 77);
  display: inline-block;
  font-size: 21px;
  position: relative;
  font-weight: 600;
}

.nav-item span {
  color: rgb(109, 95, 77);
  font-size: 20px;
  -webkit-text-stroke: 0.5px currentColor;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0%;
  width: 0%;
  height: 2px;
  background-color: #13c013;
  transition: width 0.3s ease, transform 0.3s ease;
}

.sous-menu a {
  color: #ffffff;
}

.sous-menu a::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  width: 0%;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease, transform 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav img {
  width: 250px;
  height: auto;
}

header {
  position: fixed;
  width: 100%;
  background-color: white;
  background-size: cover, auto;
  background-repeat: no-repeat, repeat;
  z-index: 1000;
}

li.nav-item {
  position: relative;
}

.sous-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  white-space: nowrap;
  background-color: rgb(68, 133, 43);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
  padding: 8px 0;
  height: 0;
  overflow: hidden;
}

.sous-menu a {
  display: block;
  padding: 6px 16px;
}

.nav-item:hover .sous-menu {
  display: block;
  height: auto;
}

/* ---------- MENU BURGER ---------- */

#burger-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  pointer-events: none;
}

#menu-burger-input {
  display: none;
}

.menu-icon {
  position: fixed;
  top: 5px;
  right: 5px;
  cursor: pointer;
  font-size: 30px;
  color: black;
  padding: 0 5px;
  border-radius: 5px;
  display: flex !important;
  pointer-events: all;
  flex-direction: column;
  gap: 6px;
  pointer-events: all;
  z-index: 10000;
  background-color: #ffffff;
}

.background-burger {
  background-color: #13c013;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.menu-burger {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 1360px;
  bottom: 0;
  pointer-events: all;
  flex-direction: column;
  background: rgba(75, 47, 24, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 250px 50px 50px 100px;
  align-items: flex-start;
  gap: 80px;
}

.menu-burger a:hover {
  color: #86b650;
}

.menu-burger a {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  text-align: left;
  font-size: 27px;
}

.menu-burger ul {
  flex-direction: column;
  align-items: flex-start;
  padding-left: 20px;
  margin-top: 25px;
}

.nav-item-burger span {
  cursor: pointer;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 27px;
}

.nav-item-burger span:hover {
  color: #86b650;
}

.nav-item-burger .sous-menu-burger a {
  font-size: 18px;
}

/* ---------- DEFILEMENT AUTOMATIQUE SOUS MENU SERVICE ---------- */

.sous-menu-services {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-out;
  display: flex;
  flex-direction: column;
}

.sous-menu-services.ouvert {
  max-height: 360px;
  transition: max-height 0.9s ease-in;
}

/* ---------- DEFILEMENT AUTOMATIQUE SOUS MENU ENTREPRISE ---------- */

.sous-menu-entreprise {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  display: flex;
  flex-direction: column;
}

.sous-menu-entreprise.ouvert {
  max-height: 80px;
  transition: max-height 0.5s ease-in;
}

/* ---------- ACCUEIL ---------- */

/* ---------- PESENTATION ---------- */

.container-presentation-background {
  background-color: #ffffff;
}

.container-presentation-entreprise {
  font-family: 'Cormorant Garamond', serif;
  font-size: 35px;
}

.presentation-entreprise {
  margin: 0;
  padding: 40px;
}

.localisation-sc-bois-accueil {
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: clamp(500px, 55vw, 950px) 1fr;
  grid-template-rows: auto auto auto;
}

.image-arriere {
  position: relative;
  grid-column: 1;
  grid-row: 1 / 3;
  z-index: 1;
  width: clamp(500px, 55vw, 950px);
  height: 100%;
  min-height: 850px;
  background-image: url('image/construction-bois.webp');
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 0, 90% 0, 70% 100%, 25% 100%);
  -webkit-mask-image: linear-gradient(to top, black 40%, transparent 100%);
  mask-image: linear-gradient(to top, black 40%, transparent 100%);
}

.bloc-droite-presentation{
  grid-column: 2;
  grid-row: 1;

  display: flex;
  justify-content: space-between;
}

.image-annecy {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  padding: 20px;
}

.image-annecy img {
  width: clamp(280px, 30vw, 500px);
  height: 300px;
  object-fit: cover;
}

.localisation-texte-haut {
  margin-top: 50px;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  font-size: 22px;
  background-image: url('image/fond-service.webp');
  padding-left: 30px;
  max-width: 350px;
  font-family: 'Cormorant Garamond', serif;
  align-self: start;
}

.localisation-texte-bas {
  grid-column: 2;
  grid-row: 2;
  padding: 0 30px 30px;
  font-size: 22px;
  font-family: 'Cormorant Garamond', serif;
  background-image: url('image/fond-service.webp');
  border-radius: 10px;
  margin:50px;
}

.localisation-texte-bas p {
  position: relative;
  top: 40px;
}

/* ---------- NOS VALEURS ---------- */

.container-valeur {
  background: linear-gradient(#b6976d, #8b7a59);
  padding: 30px;
}

.valeur-alignement {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  position: relative;
  right: 48px;
}

.valeur {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 22px;
  color: #ffffff;
}

.valeur-item {
  width: 80px;
  height: auto;
}

/* ---------- COMMENT NOUS CONSTRUISONS ---------- */

.construction {
  background-color: white;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

.accueil-construction {
  font-family: 'Cormorant Garamond', serif;
  font-size: 45px;
  margin: 30px;
  width: 100%;
  padding-top: 30px;
}

.construction-gauche {
  width: 55%;
  flex: 55;
  margin-top: 45px;
}

.construction-droite {
  width: 45%;
  padding: 0 40px;
  flex: 45;
  flex-direction: column;
  justify-content: center;
}

.equipe-construction {
  width: 100%;
}

.image-equipe {
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
  display: block;
}

.image-construction {
  width: 100%;
  height: auto;
  clip-path: polygon(0 23%, 100% 0, 100% 100%, 0 100%);
  margin-top: -153px;
  display: block;
}

.image-construction-charpente {
  width: 100%;
  height: auto;
  margin-top: 20px;
}

.certificat-RGE-construction {
  text-align: center;
  margin: 0 auto;
  margin-top: 65px;
  margin-bottom: 45px;
}

.certificat-RGE-construction img {
  width: 16%;
  height: auto;
}

/*-------------- NOS TRAVEAUX TEXTE --------------*/

.presentation {
  font-family: 'Cormorant Garamond', serif;
  font-size: 45px;
  position: relative;
  z-index: 0;
}

.construction-presentation {
  width: 100%;
}

.construction p:not(.text-accueil2):not(.presentation p):not(.texte-fin-presentation){
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  margin-bottom: 20px;
}

.text-accueil2 {
  text-align: left;
  margin-top: 50px;
  font-size: 45px;
}

.materiaux-presentation {
  font-size: 57px;
  color:#388b38;
  font-weight: 700;
}

.realisation-text {
  font-size: 65px;
}

.texte-fin-presentation {
  margin-top: 200px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  text-align: center;
}

/*-------------- PRESENTATION SERVICES --------------*/

.titre-chapitre h2 {
  border-bottom: 3px solid #99653e;
  color: #422b1c;
  padding-bottom: 8px;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.55;
  color: #2e1a0e;
  max-width: 520px;
  margin: 0 auto;
}

/*-------------- BUTTON REALISATION --------------*/

.btn-realisation {
  display: inline-block;
  padding: 12px 24px;
  background: #3fa126;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.bouton-realisation {
  text-align: center;
  margin: 100px 0 60px 0;
}

.bouton-realisation-extension {
  position: relative;
  text-align: right;
  right: 330px;
  bottom: 70px;
  font-size: 25px;
}

.bouton-realisation-façade {
  text-align: center;
  margin: 30px 0 60px 0;
  font-size: 25px;
}

/* ---------- PHOTO NOS SERVICES ---------- */

.container-service {
  display: flex;
  background-image: url('image/fond-service.webp');
  background-size: 500px 300px;
  background-size: 50%;
  height: auto;
  margin: 0px auto 0 auto;
  align-items: flex-start;
  overflow: hidden;
  width: 100vw;
  max-width: 100%;
  box-sizing: border-box;
}

.container-service-horizontal {
  display: flex;
  background-image: url('image/fond-service.webp');
  height: auto;
  margin: 0px auto 0 auto;
  overflow: hidden;
  width: 100vw;
  max-width: 100%;
  box-sizing: border-box;
  flex-direction: column;
}

.background-service p {
  padding: 10px;
}

/* ---------- CHARPENTE ---------- */

.galerie-charpente {
  flex: 0 0 50%;
  width: 50%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.texte-container-charpente {
  flex: 0 0 50%;
  font-size: 25px;
  position: relative;
  top: 90px;
  padding: 40px;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.texte-container-charpente p {
  font-family: 'Cormorant Garamond', serif;
}

.image-charpente img{
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.colonne-charpente {
  display: flex;
  gap: 10px;
  width: 100%;
  height: auto;
}

.colonne-charpente img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ---------- ISOLATION ---------- */

.galerie-isolation {
  flex: 0 0 50%;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.texte-container-isolation {
  flex: 0 0 50%;
  font-size: 25px;
  padding: 40px;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.texte-container-isolation p {
  font-family: 'Cormorant Garamond', serif;
}

.colonne-isolation {
  display: flex;
  gap: 10px;
  width: 100%;
  height: auto;
}

.colonne-isolation img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.image-label {
  position: relative;
  flex: 1;
}

.image-label span {
  position: absolute;
  bottom: 10px; 
  left: 10px; 
  padding: 6px 14px;
  background: #2e721e;
  color: white;
  border-radius: 5px;
  font-size: 16px;
}

/* ---------- MENUISERIE ---------- */

.galerie-menuiserie {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: auto auto;  
  width: 100%;
  background-image: url('image/fond-service.webp');
}

.colonne-gauche {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.colonne-menuiserie .vitrage-menuiserie {
  width: 100%;
  height: 410px;
  object-fit: cover;
}

.porte-description {
  display: flex;
  align-items: center;
  gap: 25px;
}

.porte-description a {
  margin: 40px;
  font-size: 25px;
}

.porte-description p {
  font-family: 'Cormorant Garamond', serif !important;
}

.colonne-menuiserie .porte-menuiserie {
  width: 250px;  
  height: 400px;
  object-fit: cover;
  flex-shrink: 0;
}

.porte-description p {
  width: 300px;
  padding-left: 30px;
}

.colonne-droite {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.texte-menuiserie-haut {
  padding: 40px;
  flex: 1;
  margin-top: 40px;
}

.texte-menuiserie-haut p {
  font-family: 'Cormorant Garamond', serif !important;
}

.escalier-menuiserie {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.porte-description p,
.texte-menuiserie-haut p,
.escalier-description p {
  font-family: 'Urbanist', sans-serif;
  word-break: break-word;
  font-size: 20px;
}

/* ---------- EXTENSION ---------- */

.galerie-extension {
  display: flex;
  gap: 10px;
  min-width: 0;
}

.texte-container-extension{
  position: relative;
  top: 20px;
  display: flex;
  flex-direction: row;
  min-width: 0;
  font-size: 25px;
  padding: 20px;
  box-sizing: border-box;
  width: 50%;
}

.texte-container-extension p {
  font-family: 'Cormorant Garamond', serif;
}

.image-extension {
  display: flex;
  width: 50%;
  gap: 10px;
}

.image-extension img {
  width: 100%;
  height: 530px;
  object-fit: cover;
}

.colonne-extension {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 50%;
}

.colonne-extension img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ---------- HABILLAGE DE FAÇADE ---------- */

.galerie-façade {
  display: flex;
  gap: 10px;
  align-items: stretch;
  justify-content: center;
}

.galerie-façade img {
  height: 300px;
  object-fit: cover;
  width: 33%;
}

.text-façade {
  font-family: 'DMSans', sans-serif;
  text-align: center;
  font-size: 22px;
  margin: 20px;
  font-family: 'Cormorant Garamond', serif;
}

.facade {
  flex: 1;
  width: 480px;
  height: 349px;
}

.facade2 {
  flex: 1;
  width: 590px;
  height: auto;
}

.facade3 {
  flex: 1;
  width: 574px;
  height: auto;
}

.facade,
.facade2,
.facade3 {
  width: 33%;
}

/* ---------- NOTRE ÉQUIPE ---------- */

.img-equipe {
  display: flex;
  flex-direction: column;
}

.equipe1,
.equipe2 {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 90%;
  margin: 0 auto 40px auto;
  background-image: url('image/fond-service.webp');;

  padding: 30px;
  border-radius: 12px;
}

.equipe1 {
  flex-direction: row;
}

.equipe2 {
  flex-direction: row-reverse;
}

.equipe1 img,
.equipe2 > img {
  width: 50%;
  height: auto;
}

.equipe1 p,
.equipe2 p {
  width: 50%;
  font-size: 20px;
  font-family: 'Cormorant Garamond', serif;
}

.equipe2 p {
  width: 30%;
}

.certificat-RGE {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20%;
}

.certificat-rge {
  width: 150px;
  height: auto;
}

/* ---------- NOS REALISATIONS ---------- */

.titre-realisation h3 {
  font-family: 'IbarraRealNova', serif;
  color: #ffffff;
  background: linear-gradient(
    to right,
    #569c3a,
    #6aa85c 40%,
    #5a9a67 70%,
    #54b65c
  );
  border-radius: 30px;
  padding: 7px 20px;

  width: fit-content;
  margin: 70px auto;
}

.case-realisation {
  max-width: 60%;
  margin: 0 auto;
  width: 100%;
} 

.img-realisation {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.img-realisation img {
  flex: 1;
  min-width: 0;
  height: 300px;
  border-radius: 10px;
  object-fit: cover;
}

.galerie-realisation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 90%;
  margin: 0 auto 40px auto;

  background: linear-gradient(
    135deg,
    #ffffff,
    #ffffff,
    #ffffff,
    #ffffff

  );
  padding: 15px;
  border-radius: 12px;
}

.galerie-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.galerie-item img:hover {
  opacity: 0.85;
}

#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

#lightbox.actif {
  display: flex;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

#prev, #next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 8px;
}
#prev { left: 20px; }
#next { right: 20px; }

.titre-travaux h2 {
  border-bottom: 2px solid #65c72c;
  color: #422b1c;
  padding-bottom: 8px;
  font-size: 35px;
}

/* ---------- CONTACT ---------- */

form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.h-contact {
  font-size: 40px;
  font-family: Copse;
  padding: 20px;
}

.h2-contact {
  font-size: 35px;
  font-family: DMSans;
  position: relative;
  padding-bottom: 8px;
  padding: 20px;
}

.h2-contact::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 3px; 
  background-color: #3a2e24;
}

.contact {
  display: flex;
  gap: 40px;
  max-width: 100%;
  width: 100%;
  padding: 20px;
  align-items: flex-start;
  box-sizing: border-box;
  flex: 1;
  height: auto;
  background-image: url('image/fond-service.webp');
}
 
.tab-contact {
  background: linear-gradient(to right, #3a1f0a, #6b3a1f);
  margin-left: auto;
  padding: 30px;
  border-radius: 12px;
  flex: 1 1 auto;
  height: auto;
  max-width: 890px;
}

.contact-info {
  min-width: 200px;
  font-size: 20px;
  margin-top: 60px;
  margin-left: 180px;
}

.contact-text {
  flex: 1;
}

.notre-localisation {
  width: clamp(600px, 80vw, 1100px);
  height: auto;
  border: 1px solid rgb(145, 108, 63);
  display: block;
  margin: 0 auto;
}

.notre-localisation-lien {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.contact-description {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  width: 100%;
  max-width: 500px;
}

/* FORMULAIRE */

.text-formulaire {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alignement-formulaire {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.alignement-formulaire input:not([type="checkbox"]) {
  flex: 1;
  min-width: 45%;
  border: 1px solid #000000;
  border-radius: 8px;
  padding: 10px 14px;
  box-sizing: border-box;
}

input:not([type="checkbox"]) {
  border: 1px solid #000000;
  border-radius: 8px;
  padding: 10px 14px;
  box-sizing: border-box;
  resize: none;
}

textarea {
  border: 1px solid #ffffff;
  border-radius: 8px;
  padding: 14px;
  box-sizing: border-box;
  resize: none;
  height: 200px;
  font-size: 14px;
}

.text-formulaire button {
  border: 1px solid #000000;
  border-radius: 8px;
  padding: 8px 11px;
  box-sizing: border-box;
  align-self: flex-end;
  cursor: pointer;
}

.information-légale-formulaire {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  color: #ffffff;
}

.information-légale-formulaire input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  cursor: pointer;
}

/* ---------- FOOTER ---------- */

.footer {
  background: linear-gradient(
    to right,
    #4b2f18,
    #3a2e24,
    #493826,
    #574330,
    #5e3b1e
  );
  color: rgb(255, 255, 255);
  padding: 25px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 110px;
  margin-top: 100px;
}

.icon {
  width: 40px;
  height: 40px;
}

.footer-icones {
  display: flex;
  gap: 10px;
}

.footer-plan {
  align-items: flex-start;
  margin-left: 0;
}

.footer-plan a {
  font-family: 'Cormorant Garamond', serif;
}

.footer-plan .plan-du-site {
  margin: 10px 0;
  font-family: 'Outfit', sans-serif;
}

.footer-plan p {
  margin: 6px 0;
}

.footer-plan a,
.footer-text a,
.mentions-legales a {
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-plan a:hover,
.footer-text a:hover,
.mentions-legales a:hover {
  color: #86b650;
}

.footer-plan a {
  font-family: 'Copse', sans-serif;
}

.footer-contact-tel {
  margin-top: 15px;
}

.footer-text {
  text-align: left;
}

.footer-text p {
  margin: 4px 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

.footer-reseaux {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: "Copse", sans-serif;
}

.footer-logo img {
  width: auto;
  height: 70px;
  transition: transform 0.5s ease;
}

.footer-logo img:hover {
  transform: scale(1.02);
}

.footer-reseaux img {
  transition: transform 0.5s ease;
}

.footer-reseaux img:hover {
  transform: scale(1.1);
}

.certificat-RGE img,
.RGE-titre img,
.certificat-rge-construction {
  transition: transform 0.5s ease;
}

.certificat-RGE img:hover,
.RGE-titre img:hover,
.certificat-rge-construction:hover {
  transform: scale(1.03);
}

.mentions-legales {
  display: flex;
  gap: 20px;
  margin-top: 0;
}

/* ----------- MENTIONS LEGALES ------------- */

.mentions-legales-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 20px;
}

.politique-confidentialite-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 20px;
}

/* --------------------------------- RESPONSIVE --------------------------------------- */

@media (max-width: 1100px) {

  header {
    display: none;
  }

  main {
    margin-top: 0;
  }

  #burger-container {
    display: block !important;
    pointer-events: none;
  }

  .menu-burger {
    display: none;
    right: 0;
    padding: 100px 40px 50px 40px;
    gap: 40px;
  }

  #menu-burger-input:checked ~ .menu-burger {
    display: flex;
  }

  /* ---- ACCUEIL ---- */

   .fond-titre-bois {
    min-height: 680px;
  }
 
  .logo-accueil {
    left: auto;
    transform: none;
    top: auto;
    width: 130px;
  }
 
  .logo-fond-accueil {
    left: 50%;
    top: 170px;
    width: 240px;
  }
 
  .sc-bois-logo {
    font-size: 40px;
    left: auto;
    transform: none;
    top: auto;
    justify-content: center;
    white-space: nowrap;
  }
 
  .sc-bois-logo2 {
    font-size: 20px;
    left: auto;
    transform: none;
    top: auto;
    justify-content: center;
    white-space: nowrap;
  }
 
  .texte-h1-1,
  .texte-h1-2 {
    left: auto;
    transform: none;
    top: auto;
    white-space: normal;
    text-align: center;
    font-size: clamp(16px, 3.5vw, 26px);
    width: 90%;
  }

  .texte-h1-1 p,
  .texte-h1-2 p {
    white-space: normal;
  }
  
  .texte-h1-contact {
    left: auto;
    transform: none;
    top: auto;
    font-size: clamp(14px, 3vw, 20px);
    white-space: normal;
    text-align: center;
    width: 90%;
  }
 
  .contact-accueil {
    left: auto;
    transform: none;
    top: auto;
    font-size: clamp(14px, 3vw, 20px);
    white-space: normal;
    text-align: center;
    width: 90%;
  }
 
  .RGE-titre img {
    left: auto;
    transform: none;
    top: auto;
    width: 90px;
    display: block;
    margin: 15px auto 0;
  }

  /* ---- PRESENTATION ---- */
  
  .localisation-sc-bois-accueil {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .image-arriere {
    display: none;
  }

  .bloc-droite-presentation {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    align-items: center;
  }

  .localisation-texte-haut {
    margin-left: 180px;
    margin-bottom: 30px;
    max-width: 100%;
    padding: 20px;
    font-size: 18px;
  }

  .image-annecy img {
    width: 100%;
    height: 220px;
  }

  .localisation-texte-bas {
    grid-column: 1;
    grid-row: 2;
    margin: 20px;
    font-size: 18px;
  }

  /* ---- CONSTRUCTION ---- */

  .construction {
    flex-direction: column;
  }

  .construction-gauche,
  .construction-droite {
    width: 100%;
    flex: none;
    padding: 0 20px;
  }

  .presentation {
    font-size: 32px;
    white-space: normal;
  }

  .materiaux-presentation {
    font-size: 38px;
  }

  .realisation-text {
    font-size: 48px;
  }

  .texte-fin-presentation {
    top: 0;
    font-size: 28px;
    margin: 30px 0;
  }

  /* ---- SERVICES ---- */

  .container-service {
    flex-direction: column;
  }

  .galerie-charpente,
  .texte-container-charpente,
  .texte-container-isolation {
    flex: none;
    width: 100%;
  }

  .texte-container-charpente {
    top: 0;
  }

  .colonne-charpente {
    flex-direction: column;
  }

  .colonne-charpente img {
    width: 100%;
    height: 220px;
  }

  .colonne-isolation {
    flex-direction: column;
  }

  .colonne-isolation img {
    width: 100%;
    height: 220px;
  }

  /* Menuiserie */
  .galerie-menuiserie {
    grid-template-columns: 1fr;
  }

  .colonne-gauche {
    grid-column: 1;
    grid-row: auto;
  }

  .colonne-droite {
    grid-column: 1;
    grid-row: auto;
  }

  /* ---- EXTENSION ---- */
  .galerie-extension {
    flex-direction: column;
  }

  .image-extension,
  .colonne-extension {
    width: 100%;
  }

  .image-extension img {
    height: 280px;
  }

  .texte-container-extension {
    width: 100%;
    top: 0;
  }

  .bouton-realisation-extension {
    right: 0;
    bottom: 0;
    text-align: center;
  }

  /* Façade */
  .galerie-façade {
    flex-direction: column;
    align-items: center;
  }

  .facade, .facade2, .facade3 {
    width: 100%;
    height: auto;
  }

  /* ---- ÉQUIPE ---- */
  .equipe1 {
    flex-direction: column;
  }

  .equipe2 {
    flex-direction: column;
  }

  .equipe1 img,
  .equipe2 > img {
    width: 100%;
  }

  .equipe1 p,
  .equipe2 p {
    width: 100%;
  }

  .equipe2 p {
    width: 100%;
  }

  .certificat-RGE {
    width: 100%;
    justify-content: center;
  }

  /* ---- RÉALISATIONS ---- */
  .case-realisation {
    max-width: 95%;
  }

  .galerie-realisation {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---- CONTACT ---- */
  .contact {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .contact-info {
    margin-left: 0;
    margin-top: 0;
  }

  .tab-contact {
    flex: none;
    width: 90%;
    margin-right: 40px;
    box-sizing: border-box;
  }

  .h2-contact::after {
    display: none;
  }

  .notre-localisation {
    width: 85%;
  }

  /* ---- FOOTER ---- */

  .footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
 
  .footer-logo {
    width: 100%;
  }
 
  .footer-text,
  .footer-reseaux {
    width: auto;
  }
 
  .footer-plan{
    display: none;
  }
 
  .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
 
  .footer-text {
    text-align: center;
  }
 
  .mentions-legales {
    margin-right: 0;
  }
 
  /* ---- VALEURS ---- */
  .valeur-alignement {
    right: 0;
  }
}

@media (max-width: 576px) {
 
  /* ---- STRUCTURE GENERALE ---- */
 
  .h1-page {
    padding: 20px 20px;
    max-width: 92%;
    margin-top: 20px;
  }
 
  .h1-page h1 {
    font-size: 28px;
    line-height: 1.3;
  }
 
  .titre-chapitre {
    margin-top: 40px;
    margin-bottom: 40px;
  }
 
  .titre-chapitre h2 {
    font-size: 22px;
    max-width: 90%;
    line-height: 1.4;
  }

  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }
 
  /* ---- MENU BURGER ---- */
 
  .menu-icon {
    font-size: 24px;
  }
 
  .menu-burger {
    padding: 90px 25px 40px 25px;
    gap: 28px;
  }
 
  .menu-burger a {
    font-size: 20px;
  }
 
  .nav-item-burger span {
    font-size: 20px;
  }
 
  .nav-item-burger .sous-menu-burger a {
    font-size: 15px;
  }
 
  /* ---- ACCUEIL / HERO ---- */
 
  .fond-titre-bois {
    min-height: 620px;
  }
 
  .titre-bois {
    padding-top: 90px;
    width: 100%;
  }
 
  .logo-titre-groupe {
    margin: 10px;
    gap: 8px;
  }
 
  .logo-accueil {
    width: 90px;
    top: 0;
    left: 0;
  }
 
  .sc-bois-logo {
    font-size: 28px;
    top: auto;
    margin-top: 0;
    left: auto;
    transform: none;
    position: static;
  }
 
  .sc-bois-logo2 {
    font-size: 15px;
    top: auto;
    left: auto;
    transform: none;
    position: static;
  }
 
  .texte-h1-1,
  .texte-h1-2,
  .texte-h1-contact,
  .contact-accueil,
  .RGE-titre img {
    position: static;
    left: auto;
    transform: none;
    top: auto;
  }


  .texte-h1-1,
  .texte-h1-2,
  .texte-h1-1 p,
  .texte-h1-2 p,
  .texte-h1-contact,
  .contact-accueil {
    white-space: normal;
    overflow-wrap: break-word;
  }
 
  .texte-h1-1,
  .texte-h1-2 {
    font-size: 15px;
    width: 100%;
    margin: 6px 0;
    padding: 0 12px;
    box-sizing: border-box;
  }
 
  .text-accueil-localisation {
    margin: 20px 10px;
  }
 
  .texte-h1-contact {
    font-size: 13px;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
 
  .contact-accueil {
    font-size: 13px;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
    margin: 10px auto;
  }
 
  .contact-accueil p {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
 
  .contact-accueil img {
    width: 20px;
    height: 20px;
  }
 
  .RGE-titre img {
    width: 70px;
    margin: 10px auto 0;
    display: block;
  }
 
  /* ---- PRESENTATION ENTREPRISE ---- */
 
  .container-presentation-entreprise {
    font-size: 24px;
  }
 
  .presentation-entreprise {
    padding: 25px 15px;
  }
 
  .localisation-texte-haut {
    margin-left: 0;
    margin: 0 auto 20px;
    padding: 15px;
    font-size: 15px;
    text-align: center;
    max-width: 100%;
  }
 
  .image-annecy {
    justify-content: center;
  }
 
  .image-annecy img {
    height: 160px;
  }
 
  .localisation-texte-bas {
    margin: 15px;
    padding: 0 15px 15px;
    font-size: 15px;
  }
 
  .localisation-texte-bas p {
    top: 15px;
  }
 
  /* ---- VALEURS ---- */
 
  .container-valeur {
    padding: 15px;
  }
 
  .valeur-alignement {
    flex-wrap: wrap;
    gap: 20px;
    right: 0;
  }
 
  .valeur {
    font-size: 16px;
  }
 
  .valeur-item {
    width: 55px;
  }
 
  /* ---- COMMENT NOUS CONSTRUISONS ---- */
 
  .accueil-construction {
    font-size: 26px;
    margin: 15px;
    padding-top: 15px;
  }
 
  .construction-gauche,
  .construction-droite {
    padding: 0 15px;
  }
 
  .construction p:not(.text-accueil2):not(.presentation p):not(.texte-fin-presentation) {
    font-size: 17px;
  }
 
  .presentation {
    font-size: 22px;
  }
 
  .text-accueil2 {
    font-size: 22px;
    margin-top: 25px;
  }
 
  .materiaux-presentation {
    font-size: 26px;
  }
 
  .realisation-text {
    font-size: 30px;
  }
 
  .image-construction {
    margin-top: -60px;
  }
 
  .certificat-RGE-construction img {
    width: 34%;
  }
 
  .texte-fin-presentation {
    font-size: 20px;
    margin: 20px 0;
  }
 
  /* ---- SERVICES : textes et galeries ---- */
 
  .texte-container-charpente,
  .texte-container-isolation {
    padding: 20px;
    font-size: 17px;
  }
 
  .image-charpente img {
    height: 220px;
  }
 
  .colonne-charpente img,
  .colonne-isolation img {
    height: 150px;
  }
 
  .image-label span {
    font-size: 13px;
    padding: 4px 10px;
  }
 
  .bouton-realisation {
    margin: 40px 0 30px 0;
  }
 
  /* Menuiserie */
  .colonne-menuiserie .vitrage-menuiserie {
    height: 240px;
  }
 
  .porte-description {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
 
  .porte-description a {
    margin: 15px;
  }
 
  .colonne-menuiserie .porte-menuiserie {
    width: 100%;
    height: 220px;
  }
 
  .porte-description p {
    width: 100%;
    padding-left: 15px;
    box-sizing: border-box;
  }
 
  .texte-menuiserie-haut {
    padding: 20px;
    margin-top: 0;
  }
 
  .escalier-menuiserie {
    height: 220px;
  }
 
  .porte-description p,
  .texte-menuiserie-haut p,
  .escalier-description p {
    font-size: 15px;
  }
 
  /* Extension */
  .galerie-extension {
    flex-direction: column;
  }
 
  .image-extension,
  .colonne-extension {
    width: 100%;
  }
 
  .image-extension img {
    height: 220px;
  }
 
  .colonne-extension img {
    height: 150px;
  }
 
  .texte-container-extension {
    width: 100%;
    font-size: 17px;
    padding: 15px;
  }
 
  .bouton-realisation-extension {
    font-size: 18px;
  }
 
  /* Façade */
  .text-façade {
    font-size: 16px;
    margin: 15px;
  }
 
  .galerie-façade img,
  .facade, .facade2, .facade3 {
    height: 200px;
  }
 
  .bouton-realisation-façade {
    font-size: 18px;
  }
 
  /* ---- EQUIPE ---- */
 
  .equipe1,
  .equipe2 {
    max-width: 100%;
    padding: 15px;
    margin: 0 auto 20px auto;
  }
 
  .equipe1 img,
  .equipe2 > img {
    height: auto;
  }
 
  .equipe1 p,
  .equipe2 p,
  .equipe2 p {
    width: 100%;
    font-size: 16px;
  }
 
  .certificat-rge {
    width: 100px;
  }
 
  /* ---- REALISATIONS ---- */
 
  .titre-realisation h3 {
    font-size: 16px;
    margin: 35px auto;
    padding: 6px 16px;
  }
 
  .case-realisation {
    max-width: 100%;
  }
 
  .img-realisation img {
    height: 160px;
  }
 
  .galerie-realisation {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 94%;
    padding: 10px;
  }
 
  /* ---- CONTACT ---- */
 
  .h-contact {
    font-size: 24px;
    padding: 15px;
  }
 
  .h2-contact {
    font-size: 20px;
    padding: 15px;
  }
 
  .contact {
    padding: 15px;
    gap: 15px;
  }
 
  .contact-info {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-size: 16px;
  }
 
  .tab-contact {
    width: 100%;
    margin: 0;
    padding: 18px;
    box-sizing: border-box;
  }
 
  .contact-description {
    font-size: 18px;
    max-width: 100%;
  }
 
  .notre-localisation {
    width: 100%;
  }
 
  /* Formulaire : on empile les champs, plus de min-width:45% */
  .alignement-formulaire input:not([type="checkbox"]) {
    min-width: 100%;
  }
 
  textarea {
    height: 140px;
  }
 
  .footer {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 20px 15px;
    text-align: center;
    margin-top: 60px;
  }
 
  .footer-plan {
    display: none;
  }
 
  .footer-text {
    text-align: center;
  }
 
  .footer-reseaux {
    margin-top: 0;
  }
 
  .mentions-legales {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
 
  /* ---- MENTIONS LEGALES / CONFIDENTIALITE ---- */
 
  .mentions-legales-text,
  .politique-confidentialite-text {
    max-width: 92%;
    font-size: 16px;
    padding: 0 10px;
  }
 
  /* ---- LIGHTBOX ---- */
 
  #prev, #next {
    font-size: 22px;
    padding: 8px 12px;
  }
 
  #prev { left: 8px; }
  #next { right: 8px; }
}