:root {
  --green: #2ecc71;
  --black: #111;
}

body {
  background-color: var(--black);
  font-family: "Open Sans", sans-serif;
  margin: 0;
  color: rgb(195, 163, 163);
  
}

/* ========== info-item ========== */
.contact-infos {
  background-color: #fff;

  
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  
  gap: 2rem;
  margin-bottom: 2rem;
  padding-top: 12rem;
  padding-bottom: 5rem;
}

.info-item {
  display: flex;
  justify-content: left;
  align-items: center;
  text-align: left;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #dddddd;
  background-color: rgba(0,0,0,0.05);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.info-item:hover {
  transform: translateY(-2px);
}

.info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
}

.info-item h3 {
  margin: 0;
  color: #0b6823;
  font-size: 1.1rem;
}

.info-item p, .info-item a {
  margin: 0;
  font-size: 1rem;
  color: #333;
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

/* Responsive : 3 colonnes en desktop */
@media (min-width: 768px) {
  .contact-infos {
    flex-direction: row;
    justify-content: space-between;
  }

  .info-item {
    flex: 1;
  }
}


/* ========== HONEYPOT PERMET DE MASQUER LE CHAMP  ========== */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


.form-section {
  padding: 8rem 1rem;
  text-align: center;
}

.form-section h2 {
  color: var(--green);

  margin-bottom: 2rem;
  animation: fadeInDown 0.6s ease-out;
}

.formulaire {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 500px;
  margin: 0 auto;
  padding: 1rem;
}

.formulaire label {
  text-align: left;
  font-weight: bold;

  color: #ccc;
}

.formulaire input,
.formulaire textarea {
  padding: 0.8rem 1rem;
  border: 2px solid var(--green);
  background: #222;
  color: white;
  border-radius: 8px;

  transition: 0.3s;
}

.formulaire input:focus,
.formulaire textarea:focus {
  outline: none;
  box-shadow: 0 0 10px var(--green);
  transform: scale(1.02);
}

.formulaire button {
  background: var(--green);
  color: black;
  border: none;
  padding: 1rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: 0.3s;
}

.formulaire button:hover {
  background: #27ae60;
  transform: scale(1.05);
}

/* ========== demande acceptation cookies ========== */
.form-warning {
  color: #ff4747;
  background-color: #fff0f0;
  border: 1px solid #ffcccc;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  display: none;
  font-size: 0.9rem;
}


/* ========== confirmation message envoyé ========== */
.confirmation-message {
  display: none;
  text-align: center;
  background-color: #e6ffe6;
  padding: 2rem;
  margin-top: 2rem;
  border-left: 5px solid #28a745;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 8px;
  animation: fadeIn 0.6s ease-in-out;
  color: #2e7d32;
}

.confirmation-message.show {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== case à cocher acceptation po de confidentialité (cookies) ========== */

.form-warning {
  display: none;
  color: red;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}


/* ========== FAQ ========== */
.faq-section {
  padding: 2rem;
  background-color: #f5f5f5;
}

.faq-section h2 {
  text-align: center;
  color: #0b6823;
  margin-bottom: 1.5rem;

}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem;
  color: #0b6823;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question .arrow {
  transition: transform 0.3s ease;
}

.faq-item.open .arrow {
  transform: rotate(180deg); /* flèche vers le haut */
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem;
  color: #333;
  animation: fadeIn 0.3s ease-in-out;
}

.faq-item.open .faq-answer {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
