/* GLOBAL */
body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(to bottom, #fdfbfb, #ebedee);
  color: #333;
}

/* HEADER BANDEAU SUR FOND BLANC */
.header-bandeau {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #ffffff; /* Fond blanc */
  color: #333; /* Texte général foncé */
  border-bottom: 2px solid #ffeaa7; /* Séparation */
}

.header-left img {
  height: 80px; /* taille normale */
  object-fit: contain;
  transition: transform 0.3s ease; /* pour un zoom fluide */
}

.header-left img:hover {
  transform: scale(1.7); /* grossit le logo de 20% au survol */
}


.header-center ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-center a {
  text-decoration: none;
  color: #4ECDC4; /* Menu bleu turquoise */
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s;
}

.header-center a:hover {
  color: #ff6b6b; /* survol rouge corail */
}

.header-right .btn-header {
  background-color: #ff6600;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.header-right .btn-header:hover {
  background-color: #e65c00;
}

/* NAVIGATION ET LOGO (ANCIENNE STRUCTURE) */
.logo-img {
  height: 250px;
  max-height: 260px;
  object-fit: contain;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  text-decoration: none;
  color: #4ECDC4;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff6b6b;
}

.burger {
  display: none;
  font-size: 1.5em;
  color: #333;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 5em 2em;
  background: linear-gradient(to right, #ffecd2, hsl(187, 94%, 81%));
  color: #2d3436;
  border-bottom: 2px solid #ffeaa7;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2em;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  color: #2d3436;
}

/* FEATURES SECTION */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  padding: 3em;
  background-color: #ffffffcc;
  border-top: 2px solid #ffeaa7;
  border-bottom: 2px solid #ffeaa7;
}

.feature {
  text-align: center;
  padding: 1.5em;
  border: 2px solid #4ecdc4;
  border-radius: 12px;
  background: #f1fafa;
  transition: transform 0.2s ease-in-out;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: #ff6b6b;
}

/* FOOTER */
footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
  color: #666;
  border-top: 2px solid #ffeaa7;
}

/* CONTACT FORM */
.contact-section {
  max-width: 600px;
  width: 100%;
  padding: 2em;
  background: #f9f9f9;
  border: 2px solid #4ecdc4;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 1.5em;
  color: #2d3436;
  font-size: 2em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact-form label {
  font-weight: bold;
  color: #4ecdc4;
  text-align: left;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  font-family: 'Quicksand', sans-serif;
  resize: vertical;
}

.contact-form button {
  padding: 0.75em;
  background-color: #4ecdc4;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  text-transform: uppercase;
}

.contact-form button:hover {
  background-color: #38b2ac;
}

/* BOUTONS DANS LES H3 */
.feature h3 .btn-link {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.8em 1.4em;
  background-color: #f1f1f1;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  text-align: center;
}

.feature h3 .btn-link:hover {
  background-color: #ddd;
  transform: translateY(-3px);
}

/* FIGURES */
figure {
  text-align: center;
  margin: 2em 0;
}

figure img {
  max-width: 60%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

figure img:hover {
  transform: scale(1.05);
}

figcaption {
  font-size: 0.95rem;
  color: #333;
  margin-top: 0.5em;
  font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .burger { display: block; }
  nav { display: none; width: 100%; background-color: #ffffffee; }
  nav.active { display: block; }
  nav ul { flex-direction: column; text-align: center; }
  nav ul li { margin: 1em 0; }
  .logo-img { height: 50px; max-height: 60px; }
  .contact-section { margin: 2em 1em; padding: 1.5em; }
  figure img { max-width: 90%; }

  /* Responsive header bandeau */
  .header-bandeau {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    gap: 10px;
  }

  .header-center ul {
    flex-direction: column;
    gap: 10px;
  }

  .header-right .btn-header {
    align-self: stretch;
    text-align: center;
  }
}
