html, body {
  font-family: 'Nunito', Arial, sans-serif;
}

body {
  background-color: #f8f0e3;
  color: #4e3224;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.entete-accueil, .btn-cta {
  user-select: none !important;
  cursor: pointer; /* pointer sur bouton, default sur images, voir plus bas */
}

.entete-accueil {
  cursor: default !important;
  user-select: none !important;
}



/* Navbar */
nav {
  background: linear-gradient(to right, #D8B07D, #A16A3F, #4E3224);
  padding: 8px 0;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo {
  height: 80px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s, transform 0.3s;
  cursor: pointer;
  user-select: none;
}

nav ul li a:hover {
  color: #fff4e0;
  transform: scale(1.1);
}

#nav-links a.active {
  color: #43291a;
  font-weight: bold;
  border-bottom: 2px solid #43291a;
  padding-bottom: 2px;
  background: none;
  border-radius: 0;
}

/* Hero section */
.hero {
  position: relative;
  text-align: center;
  color: white;
  margin-bottom: 40px;
}
.hero img.background {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  filter: brightness(0.7);
}
.hero .texte {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.2em;
}

/* Portrait */
.portrait {
  display: block;
  margin: 0 auto 40px;
  border-radius: 50%;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 4px solid #D8B07D;
}

/* Footer */
footer {
  background-color: #4e3224;
  color: white;
  text-align: center;
  padding: 10px 0;
  margin-top: 60px;
}

/* Bouton Call to Action */
.btn-cta {
  display: inline-block;
  background-color: #A16A3F;
  color: white;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s, transform 0.3s;
  user-select: none !important;
  cursor: pointer;
}

.btn-cta:hover {
  background-color: #4e3224;
  transform: scale(1.05);
}

.entete-accueil {
  text-align: center;
  padding: 40px 20px 20px;
}

.logo-accueil {
  max-width: 160px;
  height: auto;
  margin-bottom: 10px;
}

.titre-principal {
  text-align: center;
  font-size: 38px;
  font-weight: bold;
  margin: 0;
  color: #5f3905;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}
/* 1. LOGO NAVBAR : main */
.navbar-container a,
.navbar-container .logo {
  cursor: pointer !important;
  user-select: none !important;
}

/* 2. LOGO ACCUEIL (grand) : curseur normal partout */
.logo-accueil,
.entete-accueil {
  cursor: default !important;
  user-select: none !important;
}

/* 3. On s'assure que .logo-accueil ne prend pas le pointer ! */
.logo-accueil {
  pointer-events: auto;
}

/* 4. PHOTO (portrait) : normal */
.portrait {
  cursor: default !important;
  user-select: none !important;
}

.skip-btn {
  background: rgba(67,41,26,0.92);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  opacity: 0.88;
  transition: opacity 0.2s, background 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  font-size: 18px;
  padding: 14px 40px;
  margin-bottom: env(safe-area-inset-bottom, 0px);
}

.skip-btn:hover {
  opacity: 1;
  background: rgba(67,41,26,1);
}





/* Responsive */
@media (max-width: 768px) {
  .skip-btn {
    width: 90vw;
    max-width: 320px;
    min-width: 0;
    font-size: 16px;
    padding: 14px 0;
  }


  .menu-toggle {
    display: block;
  }
  #nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  nav ul {
    flex-direction: column;
    gap: 20px;
    padding: 10px 0;
    text-align: left;
  }
  .navbar-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo {
    height: 60px;
    margin-bottom: 10px;
  }
  .hero {
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero img.background {
    width: 100%;
    height: 80px;
    object-fit: cover;
    filter: brightness(0.7);
    transform: scale(2.4);
    transform-origin: center center;
  }
  .hero .texte {
    position: static;
    transform: none;
    margin-top: 80px;
    font-size: 1.4em;
    padding: 0 10px;
    color: #4e3224;
  }
  .portrait {
    width: 120px;
    height: 120px;
  }
  .btn-cta {
    font-size: 16px;
    padding: 10px 20px;
  }
  .titre-principal {
    font-size: 28px;
  }

  section {
    padding: 20px 10px;
  }
  section h1 {
    font-size: 20px;
  }
  section p {
    font-size: 16px;
  }
  nav ul li a {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
  }
  #nav-links {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    width: 100%;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin-top: 10px;
  }
  #nav-links.show {
    max-height: 500px;
    opacity: 1;
  }
}
