/* ==========================================================
   SMARTNEL — STYLE SPÉCIFIQUE À LA PAGE À PROPOS
   À lier APRÈS index.css (il utilise ses variables, son en-tête,
   son pied de page et le bouton WhatsApp) :
   <link rel="stylesheet" href="../CSS/index.css">
   <link rel="stylesheet" href="../CSS/about.css">
   ========================================================== */

/* ---------- EN-TÊTE DE LA PAGE ---------- */
.page-intro {
  padding: calc(var(--header-h) + 90px) 5% 70px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,174,239,.22), transparent 62%);
}
.intro-content { max-width: 820px; margin: auto; animation: aboutFadeUp .8s ease both; }

.page-intro h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.15;
  letter-spacing: -.01em; margin-bottom: 22px;
}
.page-intro p { color: var(--text); font-size: 1.08rem; max-width: 700px; margin: 0 auto; }

/* ---------- NOTRE HISTOIRE ---------- */
.about-section { width: min(92%, var(--container)); margin: 0 auto; padding: 70px 0 40px; }

.about-content {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 60px;
}

.about-text h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.2; margin-bottom: 26px; }
.about-text h2::after {
  content: ""; display: block; width: 64px; height: 4px; margin-top: 14px;
  border-radius: 4px; background: var(--gradient);
}
.about-text p { color: var(--text); margin-bottom: 18px; }

.about-image {
  position: relative; display: grid; place-items: center; padding: 50px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--gradient-soft); border: 1px solid var(--border);
}
.about-image::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,174,239,.38), transparent 70%); filter: blur(24px);
}
.about-image img {
  position: relative; width: 70%; max-width: 360px;
  animation: floating 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,174,239,.3));
}

/* ---------- MISSION / VISION / VALEURS ---------- */
.mision-vision-values {
  width: min(92%, var(--container)); margin: 0 auto; padding: 60px 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px;
}

.mvv-item {
  background: var(--bg-card);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .4s, border-color .4s, box-shadow .4s;
}
.mvv-item:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 0 30px rgba(0,174,239,.22); }

.mvv-item .mvv-icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px;
  border-radius: 18px; font-size: 1.7rem; color: var(--primary);
  background: var(--gradient-soft); border: 1px solid var(--border);
  transition: background .4s, color .4s, transform .4s;
}
.mvv-item:hover .mvv-icon { background: var(--gradient); color: var(--on-primary); transform: rotate(-6deg) scale(1.05); }

.mvv-item h3 { font-size: 1.3rem; margin-bottom: 12px; }
.mvv-item p { color: var(--text); font-size: .98rem; }
.mvv-item ul { list-style: none; display: grid; gap: 10px; }
.mvv-item li { color: var(--text); font-size: .98rem; }

/* ---------- STATISTIQUES ---------- */
.stats-section {
  width: min(92%, var(--container)); margin: 0 auto; padding: 50px 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
}
.stat-box {
  text-align: center; padding: 38px 20px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: transform .3s, border-color .3s;
}
.stat-box:hover { transform: translateY(-6px); border-color: var(--primary); }
.stat-box h2 {
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-box p { color: var(--text); margin-top: 6px; }

/* ---------- CE QUE NOUS FAISONS ---------- */
.services-preview { width: min(92%, var(--container)); margin: 0 auto; padding: 80px 0 50px; }

.services-preview > h2 {
  text-align: center; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.2; margin-bottom: 46px;
}
.services-preview > h2::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 14px auto 0;
  border-radius: 4px; background: var(--gradient);
}

.services-preview .services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px;
}

.service-item {
  text-align: center; padding: 34px 22px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: transform .4s, border-color .4s, box-shadow .4s;
}
.service-item:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 0 26px rgba(0,174,239,.22); }

.service-item .service-icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 18px; font-size: 1.7rem; color: var(--primary);
  background: var(--gradient-soft); border: 1px solid var(--border);
  transition: background .4s, color .4s, transform .4s;
}
.service-item:hover .service-icon { background: var(--gradient); color: var(--on-primary); transform: rotate(-6deg) scale(1.05); }
.service-item h3 { font-size: 1.05rem; line-height: 1.35; }

/* ---------- APPEL À L'ACTION ---------- */
.cta-section {
  width: min(92%, var(--container)); margin: 50px auto 100px;
  padding: 64px 40px; text-align: center; border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(41,216,255,.25), transparent 50%),
    linear-gradient(135deg, rgba(0,174,239,.22), rgba(6,20,66,.8));
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
}
.cta-section h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.2; margin-bottom: 14px; }
.cta-section p { color: var(--text); max-width: 560px; margin: 0 auto 32px; }

.cta-section .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; border-radius: 50px; text-decoration: none; font-weight: 600;
  background: var(--gradient); color: var(--on-primary); box-shadow: var(--glow);
  transition: transform .3s, box-shadow .3s;
}
.cta-section .btn:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,174,239,.5); }

/* ---------- BOUTON WHATSAPP (0985569495) ----------
   Déjà défini dans index.css : ce bloc est identique et sert de
   sécurité si index.css n'est pas chargé. */
.whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff; font-size: 1.9rem; text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  animation: pulse 2s infinite; transition: transform .3s;
}
.whatsapp:hover { transform: scale(1.1); }

/* ---------- ANIMATIONS ---------- */
@keyframes aboutFadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes floating { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.6), 0 10px 25px rgba(0,0,0,.35); }
  70%  { box-shadow: 0 0 0 20px rgba(37,211,102,0), 0 10px 25px rgba(0,0,0,.35); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 25px rgba(0,0,0,.35); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .about-image { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
}

@media (max-width: 576px) {
  .page-intro { padding-top: calc(var(--header-h) + 50px); }
  .about-section { padding-top: 40px; }
  .about-image { padding: 36px; }
  .mvv-item { padding: 30px 24px; }
  .services-preview { padding-top: 50px; }
  .cta-section { padding: 46px 24px; margin-bottom: 80px; }
  .whatsapp { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}