:root {
  --bois-fonce: #8d6849;
  --bois-clair: #b68e66;
  --blanc: #ffffff;
  --gris-clair: #f8f6f3;
  --ombre: 0 2px 8px rgba(80,60,40,0.12);
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--gris-clair);
  color: #473626;
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  background: var(--bois-clair);
  text-align: center;
  padding: 20px 0 20px 0;
  font-family: 'Georgia', serif;
  font-size: 2.3em;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: var(--blanc);
  position: relative;
  z-index: 10;
}

.header-separator {
  width: 260px;
  margin: 8px auto 8px auto;
  border: none;
  border-top: 2.8px solid var(--blanc);
  opacity: 0.7;
}

.header-subtitle {
  color: var(--blanc);
  font-family: 'Georgia', serif;
  font-size: 0.7em;
  text-align: center;
  letter-spacing: 1.3px;
  font-weight: bold;
  margin: 0;
}

.logo-alone {
  position: absolute;
  left: 10%;
  top: 5%;
  width: 130px;
  height: 100px; 
}

header h1 {
  margin: 0;
  font-size: 0.7em;
  font-family: 'Georgia', serif;
  color: var(--blanc);
  font-weight: bold;
  text-align: center;
  letter-spacing: 1.3px;
  line-height: 1.1;
  text-shadow: 0 1px 4px #86674620;
}

nav {
  background: var(--bois-clair);
  padding: 12px 0;
  border: none;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

nav a {
  color: var(--blanc);
  text-decoration: none;
  margin: 0 18px;
  font-size: 1.13em;
  padding: 7px 16px;
  border-radius: 18px;
  transition: background 0.18s, color 0.18s;
  display: inline-block;
  font-family: 'Segoe UI', sans-serif;
}
nav a:hover, nav a.active {
  background: var(--bois-fonce);
  color: var(--blanc);
}
  
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0;             
  top: 100%;
  width: 100%;
  background: var(--bois-clair, #b8936a);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  z-index: 100;
  border-radius: 18px;
  overflow: hidden;
}

.dropdown-content a {
  color: var(--blanc);
  width: 100%; 
  box-sizing: border-box;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 18px;
  padding-right: 0; 
  margin-left: 0;   
  margin-right: 0;
  text-decoration: none;
  display: block;
  font-size: 1em;
  transition: background 0.15s;
}

.dropdown-content a:hover {
  background: #a07a54;
}

.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content {
  display: block;
}

.dropdown.open .dropbtn {
  background: var(--bois-fonce);
  color: var(--blanc);
}

.dropbtn {
  position: relative;
  cursor: pointer;
  padding-left: 16px;   
  padding-right: 12px;  
  padding-top: 7px;
  padding-bottom: 4px;
}

.dropdown-arrow {
  font-size: 1.2em;
  margin-left: 0px;
  vertical-align: middle;
  transition: transform 0.2s;
}


/* Slider */
.hero-slider {
  position: relative;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  left: 0;        
  overflow: hidden;
  height: 65vh;
  min-height: 260px;
  max-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center; 
  border: none;
}
.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s;
}
.hero-slider .slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  background: rgba(80,70,60,0.77);
  color: var(--blanc);
  padding: 32px 48px;
  border-radius: 13px;
  max-width: 750px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(60,40,20,0.09);
}
.slide-overlay h2 {
  margin: 0 0 10px 0;
  font-size: 2em;
  font-family: 'Georgia', serif;
  font-weight: 400;
  letter-spacing: 1px;
}
.slide-overlay h3 {
  margin: 0 0 14px 0;
  font-size: 1.25em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}
.slide-overlay p {
  font-size: 1.05em;
  line-height: 1.6;
  margin: 0;
}
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 4;
}
.slider-dots .dot {
  display: inline-block;
  width: 17px; height: 10px;
  margin: 0 3px;
  border-radius: 5px;
  background: var(--blanc);
  opacity: 0.45;
  transition: opacity 0.22s;
  cursor: pointer;
}
.slider-dots .dot.active {
  opacity: 1;
  background: var(--blanc);
  box-shadow: 0 0 4px var(--blanc), 0 0 0 1.5px #888;
}

@media (max-width: 950px) {
  .slide-overlay { padding: 15px 3vw; max-width: 97vw;}
  .slide-overlay h2 { font-size: 1.1em;}
  .slide-overlay h3 { font-size: 1em;}
  .slide-overlay p { font-size: 0.96em;}
  .slider-dots .dot { width: 8px; height: 8px; }
}
@media (max-width: 700px) {
  header { font-size: 1.25em; padding: 12px 0 6px 0; }
  nav a { font-size: 1em; margin: 0 7px; padding: 7px 9px; }
  .hero-slider { height: 27vh; min-height: 110px; }
  .slide-overlay { padding: 7px 2vw; }
}

#realisations {
  margin: 70px auto 80px auto;
  max-width: 1300px;
  padding: 0 10px;
}

.real-title-highlight {
  border-left: 7px solid var(--bois-clair);
  padding-left: 12px;
  color: var(--bois-fonce);
  font-family: 'Georgia', serif;
  font-size: 1.25em;
}

.real-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 22px;
}

.real-card {
  background: var(--blanc);
  border: 1.5px solid #ece5db;
  border-radius: 10px;
  box-shadow: var(--ombre);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  min-height: 410px;
  transition: box-shadow 0.25s, transform 0.2s;
}

.real-card:hover {
  box-shadow: 0 6px 24px rgba(120,90,60,0.11);
  transform: translateY(-3px) scale(1.025);
  z-index: 1;
}

.real-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
  background: #f7eee3;
  box-shadow: var(--ombre);
}

.real-card h3 {
  margin: 0 0 7px 0;
  font-size: 1.13em;
  color: #222;
  font-weight: bold;
}

.real-card p {
  margin: 0 0 14px 0;
  color: #60503c;
  font-size: 1em;
  flex-grow: 1;
}

.btn-real {
  display: inline-block;
  padding: 7px 18px;
  background: none;
  color: var(--bois-fonce);
  border: 1.3px solid #e3d5c7;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1em;
  font-family: inherit;
  transition: background 0.18s, color 0.18s, border 0.18s;
  cursor: pointer;
  margin-top: 14px;
  box-shadow: none;
}
.btn-real:hover {
  background: var(--bois-clair);
  color: #4a320c;
  border-color: var(--bois-clair);
}


@media (max-width: 1100px) {
  .real-cards { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
}
@media (max-width: 700px) {
  .real-cards { grid-template-columns: 1fr; gap: 18px;}
  .real-card { padding: 12px; min-height: unset; }
  .real-card img { height: 75px; }
}

html {
  scroll-behavior: smooth;
}


.presentation {
  background: #faf7f3;
  margin: 60px auto 30px auto;
  padding: 40px 0 36px 0;
  max-width: 1400px;
  border-radius: 18px;
  box-shadow: 0 3px 32px rgba(100, 74, 49, 0.04);
}

.presentation-head {
  text-align: center;
  margin-bottom: 24px;
}

.presentation-head h2 {
  color: var(--bois-fonce);
  font-size: 2.25em;
  margin: 0;
  font-family: 'Georgia', serif;
  letter-spacing: 0.7px;
  font-weight: bold;
  display: block;
}

.presentation-sousligne {
  margin: 10px auto 0 auto;
  display: inline-block;
  background: var(--bois-clair);
  color: var(--blanc);
  padding: 7px 35px 7px 35px;
  border-radius: 8px;
  font-size: 1.11em;
  letter-spacing: 0.8px;
  font-weight: normal;
  text-align: center;
}

.presentation-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  max-width: 1250px;
  margin: 0 auto;
  flex-wrap: wrap;
  padding: 0 20px;
}

.presentation-text {
  flex: 2 1 340px;
  max-width: 640px;
  color: #5d4831;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.presentation-image {
  flex: 2 1 300px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 320px;
}

.presentation-image img {
  width: 550px;
  max-width: 97vw;
  border-radius: 13px;
  box-shadow: 0 8px 32px rgba(140,115,80,0.09);
  border: 3px solid var(--bois-clair);
  object-fit: cover;
  background: var(--blanc);
  transition: box-shadow 0.25s, transform 0.25s;
}

@media (max-width: 1000px) {
  .presentation-content { flex-direction: column-reverse; gap: 33px;}
  .presentation-image { justify-content: flex-start; }
  .presentation-image img { width: 99vw; max-width: 99vw; }
  .presentation { padding: 20px 0 8px 0; }
  .presentation-head h2 { font-size: 1.2em; }
}
@media (max-width: 600px) {
  .presentation { padding: 8px 0; border-radius: 6px;}
  .presentation-content { padding: 0 3vw; }
  .presentation-image img { width: 97vw; max-width: 97vw; }
}


.slider-contact {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  min-height: 600px;
  height: 60vw;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--blanc);
}

.slider-contact-bg {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.97) saturate(1.01);
}

.slider-contact-content {
  position: relative;
  z-index: 2;
  background: rgba(247, 245, 242, 0.86);
  padding: 48px 55px 44px 48px;
  max-width: 450px;
  margin-left: 15vw;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 8px 28px #0002;
}

.slider-contact-bar {
  width: 65px;
  height: 5px;
  background: var(--bois-fonce);
  border-radius: 4px;
  margin-bottom: 18px;
  margin-top: 2px;
}

.slider-contact-content h2 {
  font-size: 2em;
  font-weight: bold;
  margin: 0 0 10px 0;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: #222;
  letter-spacing: 1px;
}
.slider-contact-content p {
  font-size: 1.3em;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: #222;
  margin: 0 0 32px 0;
  letter-spacing: 0.5px;
}
.slider-contact-btn {
  padding: 12px 38px;
  background: var(--bois-fonce);
  color: var(--blanc);
  font-size: 1.2em;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 28px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.18s;
  box-shadow: 0 2px 8px #0001;
  margin-top: 8px;
  cursor: pointer;
}
.slider-contact-btn:hover {
  background: var(--bois-clair);
}

@media (max-width: 900px) {
  .slider-contact-content { padding: 30px 16px 26px 16px; margin-left: 3vw; }
  .slider-contact { height: 49vw; min-height: 240px;}
  .slider-contact-content h2 { font-size: 1.2em;}
  .slider-contact-content p { font-size: 1em;}
  .slider-contact-bar { width: 32px; height: 3px;}
  .slider-contact-btn { padding: 10px 18px; font-size: 1em;}
}
@media (max-width: 600px) {
  .slider-contact { height: auto; min-height: 220px;}
  .slider-contact-content { max-width: 92vw; margin-left: 0; padding: 12px 2vw 17px 2vw;}
}


.footer-site {
  background: linear-gradient(180deg, #a07e5a 0%, #836849 100%);
  color: rgb(247, 245, 242);
  padding: 46px 0 24px 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1em;
  margin-top: 0;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  margin-bottom: 18px;
}

.footer-col h3 {
  font-family: 'Georgia', serif;
  font-size: 1.22em;
  color: var(--blanc);
  margin-bottom: 14px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 1em;
  color: #f7f5f2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a {
  color: #f7f5f2;
  transition: color 0.18s;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #e4be96;
}

.footer-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;   
  height: 1em;         
  width: 1.5em;        
  margin-right: 4px;
  line-height: 1;
}

.footer-logo {
  width: 120px;
  height: 95px;
}

.footer-brand-text {
  color: #f4f0e6;
  font-size: 1em;
  line-height: 1.6;
  margin-top: 2px;
  text-align: left;
}

@media (max-width: 900px) {
  .footer-container { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-col { min-width: 0; max-width: 98vw; }
  .footer-brand-text { text-align: left; }
}

@media (max-width: 700px) {
  .footer-site { font-size: 0.95em; padding: 24px 0 18px 0;}
  .footer-logo { width: 40px; height: 40px; }
  .footer-col h3 { font-size: 1.02em;}
}

.footer-copyright {  
  font-size: 0.99em;
  background-color:  #70533c;
  color: #e7d1b3;
  letter-spacing: 0.4px;
  font-family: 'Georgia', serif;
  opacity: 1;
  display: flex;
  align-items: center;      
  justify-content: center;
  padding-top: 15px;
  padding-bottom: 15px
}


.footer-dropdown {
  position: relative;
}

.footer-dropbtn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-dropdown-arrow {
  margin-left: 0px;
  font-size: 1.2em;
}

.footer-dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  bottom: 100%;
  background: var(--bois-clair, #b8936a);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  z-index: 10;
  border-radius: 12px;
  overflow: hidden;
}

.footer-dropdown-content li a {
  display: block; 
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  color: var(--blanc);
  text-decoration: none;
  transition: background 0.15s;
  font-size: 1em;
}

.footer-dropdown-content li a:hover {
  background: #a07a54;
  color: var(--blanc);
}

.footer-dropdown.open .footer-dropdown-content {
  display: block;
}

.footer-facebook-ico {
  width: 20px;
  height: 20px;
  display: inline-block;
}




/* Menu Hamburger - caché en grand écran */
.nav-toggle {
  display: none;
  background: var(--bois-clair);
  border: none;
  font-size: 2em;
  color: var(--blanc);
  padding: 10px 15px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1000;
  border-radius: 6px;
}

/* Petits écrans */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: var(--bois-clair);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  nav.nav-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  nav a {
    margin: 10px 0;
    display: block;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    max-width: 90%;
  }
}

/* Fix z-index for burger menu and nav */
.nav-toggle {
  z-index: 999;
}
nav.nav-open {
  z-index: 998;
  position: relative;
}

/* Ajustement du logo en responsive */
@media (max-width: 768px) {
  .logo-alone {
    position: static; /* enlève le positionnement absolu */
    display: block;
    margin: 0 auto 10px auto; /* centre le logo */
    width: 50%; /* ajuste la taille */
    max-width: 180px;
    height: auto;
  }

  header {
    text-align: center;
    padding: 10px 0;
  }

  header h1 {
    font-size: 1.1em;
  }
}