/* =========================================================
   STYLE GLOBAL DU SITE LA-CIA
   ========================================================= */

/* --- Structure de base et texte --- */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #f5f5f5;
  line-height: 1.6;
  text-align: center;
  background: black; /* Fond de base, le canvas Matrix vient par-dessus */
}

/* --- Canvas Matrix (en arrière-plan) --- */
#matrix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Placé derrière tout le contenu */
}

/* =========================================================
   EN-TÊTE
   ========================================================= */
header {
  padding: 30px 20px;
}

.logo {
  width: 220px; /* Taille ajustée et lisible */
  margin: 20px 0 10px;
}

h1 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #d4ffd6; /* Vert clair plus doux */
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.25);
}

/* =========================================================
   CONTENU PRINCIPAL
   ========================================================= */
main {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto 50px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  backdrop-filter: blur(4px); /* Effet vitre pour un rendu pro */
}

.intro {
  font-size: 1.2em;
  margin-bottom: 25px;
}

/* --- Liste des domaines d’intervention --- */
ul {
  text-align: left;
  max-width: 700px;
  margin: 20px auto;
  padding: 0;
  list-style-type: none; /* Pas de puces */
}

ul li {
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.3s;
}

ul li:hover {
  background: rgba(255, 255, 255, 0.1); /* léger effet au survol */
}

/* =========================================================
   PIED DE PAGE
   ========================================================= */
footer {
  padding: 25px 0;
  font-size: 0.9em;
  color: #aaa;
}

/* =========================================================
   FORMULAIRE DE CONTACT
   ========================================================= */
#contact {
  margin-top: 60px;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.6);
  padding: 25px;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.15); /* Ombre douce */
}

#contact h2 {
  text-align: center;
  color: #00e676; /* Vert atténué, moins fluo */
  margin-bottom: 20px;
}

/* --- Libellés des champs --- */
#contact label {
  display: block;
  margin-top: 10px;
  text-align: left;
  font-weight: bold;
}

/* --- Champs de texte et zones de saisie --- */
#contact input,
#contact textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  transition: all 0.3s ease;
}

#contact input:focus,
#contact textarea:focus {
  outline: none;
  border-color: #00e676;
  background: rgba(0, 255, 65, 0.1);
  box-shadow: 0 0 6px rgba(0, 255, 65, 0.2);
}

/* --- Zone de texte ajustable --- */
#contact textarea {
  min-height: 100px;
  resize: vertical;
}

/* --- Cases à cocher (besoins) --- */
.besoins {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: flex-start;
  margin-top: 10px;
}

.besoins label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: normal;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.besoins label:hover {
  background: rgba(0, 255, 65, 0.1);
}

/* --- Bouton d’envoi --- */
#contact button {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #00b4d8; /* Bleu pro */
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

#contact button:hover {
  background-color: #0096c7;
  transform: scale(1.02);
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 768px) {
  h1 {
    font-size: 1.6em;
  }

  main {
    padding: 15px;
  }

  #contact {
    max-width: 90%;
  }

  .besoins {
    flex-direction: column;
    gap: 8px;
  }
}
