/* === GLOBAL === */
body {
  font-family: 'Poppins', sans-serif;
  background-color: white;
  color: #333;
}
.hero-banner {
  background-color: #fff5f7; /* fond doux rose pâle */
  padding: 50px 20px;
  margin: 20px auto;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(128, 0, 32, 0.07);
  max-width: 1100px;
  text-align: center;
}

.hero-content h1 {
  font-size: 2em;
  color: #800020;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content .btn {
  background-color: #800020;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.hero-content .btn:hover {
  background-color: #b22234;
}
h1, h2 {
  text-align: center;
  color: #800020;
  margin-bottom: 10px;
}

footer {
  text-align: center;
  padding: 20px 0 10px 0;
  color: #888;
  font-size: 0.95em;
  background: #fff;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(128, 0, 32, 0.07);
  padding: 10px 0;
  margin-bottom: 30px;
}

header img {
  border-radius: 50%;
}

.logo {
  width: 60px;
  height: auto;
  margin-left: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #800020;
  font-weight: 500;
  transition: color 0.2s;
}

nav ul li a:hover {
  color: #b22234;
}

/* === BOUTON === */
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 24px;
  background: #800020;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.btn:hover {
  background: #b22234;
}

/* === FORMULAIRE === */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 30px auto;
  background: #fff;
  padding: 24px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(128, 0, 32, 0.07);
}

form label {
  margin-bottom: 4px;
  font-weight: 500;
}

form input,
form textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

form button[type="submit"] {
  align-self: flex-end;
  padding: 10px 24px;
  background: #800020;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

form button[type="submit"]:hover {
  background: #b22234;
}

/* === SECTIONS GÉNÉRALES === */
section {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(128, 0, 32, 0.07);
  background: #fff;
  padding: 30px 20px;
  text-align: center;
}

/* === PAGE PRODUITS === */
.produits-section {
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.produits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.carte-produit {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(128, 0, 32, 0.07);
  padding: 16px;
  text-align: center;
  transition: transform 0.3s ease;
}

.carte-produit:hover {
  transform: translateY(-5px);
}

.carte-produit img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}

.carte-produit h2 {
  color: #800020;
  margin: 10px 0 8px;
}

.carte-produit p {
  font-size: 0.95em;
  color: #333;
}

/* === RUBRIQUE À PROPOS === */
.apropos-container {
  width: 100%;
  max-width: 1200px; 
  padding: 20px 40px; /* légèrement réduit pour suivre la compacité */
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(128, 0, 32, 0.07);
}

.apropos-img {
  width: 50%;
  max-width: 480px;
  object-fit: cover;
  height: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.apropos-text {
  width: 40%;
  max-width: 500px;
  text-align: justify;
}

.apropos-text h1,
.apropos-text h2 {
  font-size: 2em;
  color: #800020;
  margin-bottom: 15px;
}

.apropos-text p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

/* === BLOC CONTACT === */
.bloc-contact {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px 40px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.07);
  border-radius: 12px;
}

.contact-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-img {
  width: 45%;
  max-width: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.contact-text-form {
  width: 50%;
}

.contact-text-form h2,
.contact-title {
  color: #800020;
  font-size: 2em;
  margin-bottom: 10px;
}

.contact-text-form p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .apropos-container,
  .contact-container {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    gap: 30px;
  }

  .apropos-img,
  .contact-img {
    width: 100%;
    max-width: 90%;
  }

  .apropos-text,
  .contact-text-form {
    width: 100%;
    text-align: justify;
  }

  .contact-text-form form {
    margin: 0 auto;
  }
}

/* === SERVICES === */
.services-section {
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.carte-service {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(128, 0, 32, 0.07);
  padding: 16px;
  text-align: center;
  transition: transform 0.3s ease;
}
.carte-service img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}

.carte-service h2 {
  color: #800020;
  margin: 10px 0 8px;
}

.carte-service p {
  font-size: 0.95em;
  color: #333;
}
.carte-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.carte-lien {
  text-decoration: none;
  color: inherit;
}

.carte {
  width: 250px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.07);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.carte:hover,
.carte-service:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 6px 18px rgba(128, 0, 32, 0.15);
  transition: all 0.3s ease;
}

.carte img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.carte h3 {
  margin: 12px;
  font-size: 1.1em;
  color: #800020;
}
footer {
  text-align: center;
  padding: 20px 0 10px 0;
  color: #888;
  font-size: 0.95em;
  background: #fff;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

footer .social-icons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

footer .social-icons img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

footer .social-icons img:hover {
  transform: scale(1.15);
}
.contact-info {
  width: 45%;
}

.contact-info h2 {
  font-size: 2em;
  color: #800020;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #444;
}

.contact-details {
  list-style: none;
  padding: 0;
  font-size: 1em;
  color: #555;
}

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.contact-details li img {
  width: 20px;
  margin-right: 10px;
}

.contact-form-wrapper {
  width: 50%;
}

/* Responsive version */
@media (max-width: 768px) {
  .contact-info,
  .contact-form-wrapper {
    width: 100%;
  }
}
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #800020;
  margin-right: 20px;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 10px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  header div {
    justify-content: space-between;
  }
}
