* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}
body {
  background: #f4f7fc;
  color: #1e2a3a;
}
a {
  text-decoration: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER / NAV */
header {
  background: #0b1a2e;
  color: white;
  padding: 12px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.logo-placeholder {
  width: 54px;
  height: 54px;
  background: #2a4b6e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffd966;
  overflow: hidden;
}
.logo-placeholder img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.brand {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.brand span {
  color: #ffd966;
}
/* filiale tag */
.filiale-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1f3a5a;
  padding: 4px 14px 4px 10px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffd966;
  border: 1px solid #ffd96655;
  margin-left: 8px;
  letter-spacing: 0.3px;
}
.filiale-tag i {
  font-size: 0.9rem;
  color: #ffd966;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 4px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  transition: 0.3s;
}
nav ul li a {
  color: #f0f4fa;
  font-weight: 500;
  transition: 0.3s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav ul li a:hover, nav ul li a.active {
  border-bottom-color: #ffd966;
  color: #ffd966;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  nav ul {
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #0b1a2e;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
    transition: max-height 0.4s ease, padding 0.3s;
    border-radius: 0 0 24px 24px;
  }
  nav ul.open {
    max-height: 400px;
    padding: 20px 20px 30px;
  }
  nav ul li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #1f3750;
  }
  nav ul li:last-child {
    border-bottom: none;
  }
  .header-inner {
    flex-wrap: nowrap;
  }
  .filiale-tag {
    font-size: 0.65rem;
    padding: 2px 10px 2px 8px;
  }
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background: #128C7E;
}

/* HERO MTS */
.mts-hero {
  background: url(image/aurg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  padding: 40px 0 30px;
  border-radius: 0 0 40px 40px;
  margin-bottom: 30px;
  box-shadow: inset 0 -4px 12px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.mts-hero::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 217, 102, 0.05);
  border-radius: 50%;
}
.mts-hero-content {
    background: #0b1a2ea4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.mts-hero-text h1 {
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.mts-hero-text h1 i {
  color: #ffd966;
}
.mts-hero-text p {
    text-align: center;
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 550px;
  margin: 12px 0 18px;
  line-height: 1.6;
}
.mts-hero-badge {
  display: inline-block;
  background: #ffd966;
  color: #0b1a2e;
  padding: 6px 22px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
.mts-hero-image {
  background: rgba(255,215,0,0.06);
  padding: 16px 24px;
  border-radius: 30px;
  border: 1px dashed #ffd96688;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mts-hero-image img {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
@media (max-width: 700px) {
  .mts-hero-content {
    flex-direction: column;
    text-align: center;
  }
  .mts-hero-text p {
    max-width: 100%;
  }
  .mts-hero-image img {
    max-width: 140px;
  }
}

/* section title */
.section-title {
  font-size: 1.9rem;
  font-weight: 600;
  margin: 40px 0 24px;
  color: #0b1a2e;
  position: relative;
  padding-bottom: 12px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  background: #ffd966;
  border-radius: 4px;
}
.section-title i {
  color: #ffd966;
  margin-right: 8px;
}

/* CARDS GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin: 20px 0 40px;
}
.card {
  background: white;
  padding: 20px 18px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: 0.3s ease;
  border: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.07);
  border-color: #ffd966;
}
.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
  background: #e9eef3;
  cursor: pointer;
  transition: 0.3s;
}
.card-img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.card p {
  color: #3e4f5e;
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}
.card .badge {
  background: #ffd966;
  color: #0b1a2e;
  padding: 4px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-block;
  margin-top: 12px;
  align-self: flex-start;
}

/* BOUTONS */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: white;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: 0.3s;
  margin-top: 16px;
  align-self: flex-start;
  cursor: pointer;
}
.btn-wa:hover {
  background: #128C7E;
  transform: scale(1.02);
}
.btn-wa i {
  font-size: 1.3rem;
}

/* BOUTON VOIR AFFICHE */
.btn-affiche {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0b1a2e;
  color: #ffd966;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid #ffd96655;
  transition: 0.3s;
  margin-top: 10px;
  cursor: pointer;
  align-self: flex-start;
}
.btn-affiche:hover {
  background: #ffd966;
  color: #0b1a2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 217, 102, 0.4);
}
.btn-affiche i {
  font-size: 0.9rem;
}

/* MODAL AFFICHE */
.affiche-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 26, 46, 0.92);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.affiche-modal.show {
  display: flex;
}
.affiche-modal-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}
.affiche-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  border-radius: 16px;
  object-fit: contain;
}
.affiche-modal-close {
  position: absolute;
  top: -18px;
  right: -18px;
  background: #ffd966;
  color: #0b1a2e;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: 0.3s;
}
.affiche-modal-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: #fff;
}
.affiche-modal-caption {
  text-align: center;
  color: #0b1a2e;
  font-weight: 600;
  padding: 10px 6px 4px;
  font-size: 1rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Mecanisme */
.mecanisme {
  background: white;
  border-radius: 28px;
  padding: 30px 32px;
  margin: 30px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
  border-left: 8px solid #ffd966;
}
.mecanisme ol {
  list-style-position: inside;
  line-height: 2.2;
  font-weight: 500;
  padding-left: 8px;
}
.mecanisme ol li {
  border-bottom: 1px solid #f0f4f8;
  padding: 4px 0;
}

/* vente directe */
.vente-directe {
  margin-top: 40px;
}

footer {
  background: #0b1a2e;
  color: #b8c9dd;
  padding: 40px 0 20px;
  margin-top: 50px;
  border-radius: 40px 40px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 {
  color: white;
  margin-bottom: 16px;
}
.footer-grid i {
  margin-right: 8px;
  color: #ffd966;
}
.footer-grid a {
  color: #b8c9dd;
}
.footer-grid a:hover {
  color: #ffd966;
}
.copyright {
  border-top: 1px solid #263b50;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* responsive */
@media (max-width: 500px) {
  .mts-hero-text h1 {
    font-size: 1.6rem;
  }
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .affiche-modal-close {
    top: -12px;
    right: -12px;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}
@media (max-width: 400px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* utilitaires */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.flex-center { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }