/* =====================================================
   VARIABLES / PALETTE
===================================================== */
:root {
  --bg-main: #0e1624;
  --bg-card: #141f33;
  --bg-dark: #0b1220;

  --text-main: #f1f5f9;
  --text-muted: #cbd5e1;

  --accent-primary: #3b82f6;
  --accent-secondary: #2563eb;
  --accent-success: #22c55e;
  --accent-warning: #fbbf24;
}

/* =====================================================
   RESET GLOBAL
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background: linear-gradient(180deg, var(--bg-main), var(--bg-dark));
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

html, body {
  min-height: 100%;
  background: linear-gradient(180deg, #0e1624, #0b1220);
}


/* =====================================================
   HEADER
===================================================== */
header {
  background: linear-gradient(90deg, #0e1624, #142b55);
  text-align: center;
  padding: 30px 20px;
}

header h1 {
  margin: 0;
  font-size: 28px;
}

header p {
  margin-top: 8px;
  color: var(--text-muted);
}

/* =====================================================
   LAYOUT SECTIONS
===================================================== */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

/* =====================================================
   BADGES
===================================================== */
.badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.badge {
  background: var(--accent-warning);
  color: #000;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 14px;
}

/* =====================================================
   BOUTONS GÉNÉRAUX
===================================================== */
.btn,
.btn-primary,
.service-btn,
.btn-back {
  border-radius: 30px;
  padding: 14px 26px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
}

.btn-primary,
.service-btn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
}

.btn-primary:hover,
.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59,130,246,.4);
}

.btn-back {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
}

.btn-back:hover {
  background: var(--accent-primary);
  color: white;
}

/* =====================================================
   BOUTONS SERVICES
===================================================== */
.service-button-wrapper {
  display: inline-block;
  margin: 10px;
}

/* =====================================================
   TOOLTIP
===================================================== */
.service-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid var(--accent-primary);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}

.service-button-wrapper:hover .service-tooltip {
  opacity: 1;
}

/* =====================================================
   PRICE BOX / TARIFS
===================================================== */
.price-box {
  display: none;
  max-width: 900px;
  margin: 30px auto;
  padding: 30px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-dark));
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,.6);
}

.price-box h2,
.price-box h3 {
  color: white;
  text-align: center;
  margin-bottom: 20px;
}

.price-box ul {
  list-style: none;
  padding: 0;
}

.price-box li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--text-muted);
}

.price-box strong {
  color: var(--accent-warning);
}

/* =====================================================
   SIMULATEUR
===================================================== */
.simulator {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-dark));
  padding: 25px;
  border-radius: 18px;
  max-width: 420px;
  margin: 30px auto;
}

select {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: #000;
  color: white;
  border: 1px solid var(--accent-primary);
  margin-bottom: 12px;
}

#price {
  color: var(--accent-warning);
  font-weight: bold;
  font-size: 22px;
  text-align: center;
}

/* =====================================================
   PRODUITS
===================================================== */
.products {
  text-align: left;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.product-card {
  width: 240px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-dark));
  border-radius: 18px;
  padding: 18px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.5);
  transition: .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card h3 {
  color: white;
  margin: 10px 0;
}

.product-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.product-details {
  display: none;
  margin-top: 12px;
}

.product-card.active .product-details {
  display: block;
}

/* =====================================================
   ABOUT PAGE
===================================================== */
.about-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 45px 35px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-dark));
  border-left: 6px solid var(--accent-primary);
  border-radius: 18px;
  text-align: center;
}

.about-section h1 {
  margin-bottom: 15px;
}

.about-section p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================================================
   FORMULAIRE
===================================================== */
.contact {
  max-width: 800px;
  margin: 60px auto;
  padding: 45px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-dark));
  border-radius: 24px;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: #000;
  border: 1px solid #333;
  color: white;
  margin-bottom: 18px;
}

.contact input:focus,
.contact textarea:focus {
  border-color: var(--accent-primary);
  outline: none;
}

/* =====================================================
   WHATSAPP
===================================================== */
/* WHATSAPP BUTTON */
  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 14px;
  }

  .whatsapp-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
  }
/* ===== WHATSAPP ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  padding: 16px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,.4);
  transition: .3s ease;
  z-index: 1000;
}
.whatsapp-btn:hover { transform: scale(1.1); }

.whatsapp-icon {
  width: 26px;
  height: 26px;
}
.floating-back {
  position: fixed;
  bottom: 95px;
  right: 28px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  padding: 14px 22px;
  border-radius: 40px;
  font-weight: bold;
  color: #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,.5);
  z-index: 999;
}


/* =====================================================
   FOOTER
===================================================== */
footer {
  background: #000;
  text-align: center;
  padding: 30px 15px;
  color: var(--text-muted);
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  header h1 {
    font-size: 22px;
  }

  .product-grid {
    justify-content: center;
  }

  .product-card {
    width: 100%;
  }

  .about-section {
    padding: 30px 20px;
  }

  .contact {
    padding: 30px 20px;
  }
}
