/* === BASE === */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f9f9ff;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

h1, h2, h3 {
  margin: 0 0 15px;
}

/* === HEADER === */
.header {
  background: #000;
  color: white;
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 70px;
  width: auto;
}

.logo-text {
  font-size: 26px;
  font-weight: bold;
  color: white;
  transition: color 0.3s ease;
}

.logo-group:hover .logo-text {
  color: #00aaff;
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: #00aaff;
}

.burger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
}

/* === HERO === */
.hero {
  background: linear-gradient(to right, #000, #0050a3);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
}

.btn {
  background: #00aaff;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn1 {
  background: #00aaff;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
}


.btn:hover {
  background: #008ecc;
}

/* === POURQUOI MECE === */
.why {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.reasons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.reason {
  background: #e7f5ff;
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.reason h3 {
  color: #007acc;
}

.reason p {
  color: #444;
}

/* === SERVICES === */
.services {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: #e7f5ff;
  padding: 25px;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* === TARIFS === */
.pricing {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.pricing-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-card {
  background: #e7f5ff;
  padding: 25px;
  border-radius: 12px;
  width: 206px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.pricing-card.featured {
  border: 2px solid #00aaff;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card .price {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
}

.pricing-card ul li {
  margin: 5px 0;
}

/* Logos de paiement */
.logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.logos img {
  height: 40px;
  object-fit: contain;
}

/* === CONTACT === */
.contact {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
}

.contact-infos {
  flex: 1;
  background: #e7f5ff;
  padding: 20px;
  border-radius: 12px;
  min-width: 250px;
  max-width: 400px;
}

/* === RENDEZ-VOUS === */
.rendezvous {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.rendezvous h2 {
  font-size: 32px;
  color: #000;
  margin-bottom: 10px;
}

.rendezvous p {
  color: #555;
  font-size: 16px;
  margin-bottom: 30px;
}

.rdv-form {
  max-width: 500px;
  margin: auto;
  background: #f9f9ff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.rdv-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.rdv-form input,
.rdv-form textarea,
.rdv-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  background: #fff;
  transition: all 0.2s ease;
}

.rdv-form input:focus,
.rdv-form textarea:focus,
.rdv-form select:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
  outline: none;
}

.rdv-form button {
  width: 100%;
  padding: 14px;
  background: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.rdv-form button:hover {
  background: #005bbf;
}

/* === POPUP CONFIRMATION === */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: 350px;
  max-width: 90%;
  animation: fadeIn 0.3s ease-in-out;
}

.popup-content h3 {
  color: #007bff;
  margin-bottom: 10px;
}

.popup-content p {
  color: #444;
  font-size: 15px;
  margin-bottom: 20px;
}

.popup-content .btn {
  background: #007bff;
  padding: 10px 20px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.popup-content .btn:hover {
  background: #005bbf;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* === FOOTER === */
.footer {
  background: #000;
  color: white;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer h3, .footer h4 {
  margin-bottom: 10px;
}

.footer p,
.footer li {
  color: #ccc;
}

.footer a {
  color: #00aaff;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #777;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 15px;
    border-radius: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .burger {
    display: block;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* === PAGE 404 === */
.error404 {
  background: #f9f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

.error-section {
  text-align: center;
}

.error-section h1 {
  font-size: 120px;
  color: #00aaff;
}

.error-section p {
  font-size: 18px;
  color: #444;
}
