/* === RESET & GLOBAL STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* Fond d'écran */
body {
  background: url('../../bg.jpg') no-repeat center center/cover;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Overlay sombre */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(28,28,28,0.8);
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.nav-logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
}
.menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}
.nav-links {
  list-style: none;
  display: flex;
}
.nav-links li {
  margin: 0 15px;
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #f39c12;
}

/* === SECTION CLIENT === */
/* La zone client-main est scrollable (navbar et footer fixes) */
.client-main {
  height: calc(100vh - 110px); /* 50px navbar + 60px footer */
  margin-top: 50px;
  margin-bottom: 60px;
  overflow-y: auto;
  position: relative;
  z-index: 5;
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.client-container {
  background: rgba(28,28,28,0.85);
  padding: 30px;
  border-radius: 8px;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  color: #fff;
  text-align: center;
}

/* Titre de la page */
.page-title {
  font-family: 'Sawarabi Gothic', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}

/* Boutons d'action */
.button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.action-btn {
  background: #f39c12;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}
.action-btn:hover {
  background: #d78b0e;
}

/* Carte contenant les formulaires */
.forms-card {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  position: relative;
  min-height: 200px;
}

/* Formulaires */
form {
  text-align: left;
  margin: 0 auto;
  max-width: 400px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
form h2 {
  font-family: 'Sawarabi Gothic', sans-serif;
  font-size: 1.6rem;
  color: #f39c12;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.95rem;
  font-weight: bold;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
}
.form-group input {
  height: 35px;
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.submit-btn {
  width: 100%;
  padding: 12px;
  background: #f39c12;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.submit-btn:hover {
  background: #d78b0e;
}

/* Masqué par défaut */
.hidden {
  display: none;
}

/* === FOOTER === */
.footer {
  background: rgba(28,28,28,0.8);
  color: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer p {
  margin-bottom: 5px;
  font-size: 0.9rem;
  text-align: center;
}
.social-icons {
  display: flex;
  gap: 15px;
}
.social-icons a img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}
.social-icons a:hover img {
  transform: scale(1.1);
}
.social-icons a.fb-icon img {
  filter: brightness(0) saturate(100%) invert(39%) sepia(97%) saturate(1797%) hue-rotate(200deg) brightness(92%) contrast(101%);
}
.social-icons a.mail-icon img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(7486%) hue-rotate(354deg) brightness(96%) contrast(107%);
}
.social-icons a.wp-icon img {
  filter: brightness(0) saturate(100%) invert(66%) sepia(48%) saturate(442%) hue-rotate(78deg) brightness(91%) contrast(88%);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    background: rgba(28,28,28,0.8);
    flex-direction: column;
    align-items: center;
    display: none;
  }
  .nav-links li {
    margin: 10px 0;
  }
  .nav-links.active {
    display: flex;
    animation: slideDown 0.5s ease;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
