/* =========================================================
   SOLUTION TECHNOLOGIE HUB — Global Stylesheet
   Bootstrap 5 + Custom Palette Navy/Apricot
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:           #0D1F3C;
  --navy-deep:      #071428;
  --navy-mid:       #1A3C6E;
  --navy-light:     #2E6BAD;
  --apricot:        #FFAA5B;
  --apricot-dark:   #E8893A;
  --apricot-glow:   rgba(255,170,91,0.15);
  --white:          #FFFFFF;
  --off-white:      #F7F9FC;
  --gray-light:     #E8EDF5;
  --gray-mid:       #9AAAB8;
  --gray-text:      #4A5568;
  --dark-text:      #1A202C;
  --font-display:   'Poppins', sans-serif;
  --font-body:      'Inter', sans-serif;
  --ease:           cubic-bezier(0.4,0,0.2,1);
  --dur:            0.3s;
  --shadow-sm:      0 2px 8px rgba(13,31,60,0.08);
  --shadow-md:      0 8px 32px rgba(13,31,60,0.12);
  --shadow-lg:      0 20px 60px rgba(13,31,60,0.18);
  --shadow-apricot: 0 8px 32px rgba(255,170,91,0.3);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-full:    999px;
}

/* ── Reset complémentaire + Sekirite Bò Dwat ── */
/* GWO REMÈD RADIKAL POU ANPECHE OVERFLOW */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  width: 100%;
}

* {
  max-width: 100% !important;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background: var(--white);
  overflow-x: hidden; /* BLOKE VYE ESPAS BLAN SOU MOBIL */
  width: 100%;
}
img { max-width: 100%; display: block; height: auto; }
a  { text-decoration: none; color: inherit; }

/* ── Section padding ── */
.section      { padding: 100px 0; }
.section--dark  { background: var(--navy-deep); }
.section--navy  { background: var(--navy); }
.section--light { background: var(--off-white); }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 64px; padding: 0 15px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header h2 span { color: var(--apricot); }
.section-header p { font-size: 1.05rem; color: var(--gray-text); max-width: 560px; margin: 0 auto; }
.section--dark .section-header h2,
.section--navy .section-header h2 { color: var(--white); }
.section--dark .section-header p,
.section--navy .section-header p  { color: var(--gray-mid); }

/* ── Buttons ── */
.btn-primary-st {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--apricot);
  color: var(--navy-deep);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  box-shadow: var(--shadow-apricot);
}
.btn-primary-st:hover {
  background: var(--apricot-dark);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,170,91,0.4);
}
.btn-outline-st {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-outline-st:hover {
  border-color: var(--apricot);
  color: var(--apricot);
  transform: translateY(-2px);
}
.btn-outline-navy-st {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy-mid);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.btn-outline-navy-st:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-whatsapp-st {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  background: #25D366;
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}
.btn-whatsapp-st:hover {
  background: #1ebe5d;
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Page Header ── */
.page-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding: 160px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23FFAA5B' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .breadcrumb-st,
.page-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
}
.page-header .breadcrumb-st a,
.page-header .breadcrumb a { 
  color: var(--gray-mid); 
  transition: color var(--dur);
}
.page-header .breadcrumb-st a:hover,
.page-header .breadcrumb a:hover {
  color: var(--apricot);
}
.page-header .breadcrumb-st span,
.page-header .breadcrumb span {
  color: var(--apricot);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}
.page-header h1 span { color: var(--apricot); }
.page-header p {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--gray-mid);
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.6;
  padding: 0 20px;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: var(--apricot-glow);
  border-radius: 50%;
  top: -200px; right: -100px;
  filter: blur(80px);
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}
.cta-banner p {
  color: var(--gray-mid);
  margin-bottom: 36px;
  font-size: 1.05rem;
  position: relative;
  padding: 0 15px;
}

/* ── Stats Bar KOREKSYON MOBIL ── */
.stats-bar { background: var(--navy); padding: 48px 0; }
.stat-item { text-align: center; padding: 16px 10px; }
.stat-item .number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--apricot);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .label {
  font-size: 0.82rem;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (min-width: 768px) {
  .stat-item:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.1);
  }
}
@media (max-width: 767px) {
  .stat-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .stat-item:nth-child(3), .stat-item:nth-child(4) {
    border-bottom: none;
  }
}

/* ── Divider apricot ── */
.divider-apricot {
  width: 60px; height: 4px;
  background: var(--apricot);
  border-radius: 2px;
  margin: 0 auto 24px;
}
.divider-apricot--left { margin-left: 0; }

/* ── Scroll Reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 1050;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: all var(--dur) var(--ease);
}
.whatsapp-float:hover {
  color: var(--white);
  transform: scale(1.1);
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar-st {
  background: transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  padding: 0 !important;
  height: 76px;
}
.navbar-st.scrolled {
  background: rgba(7,20,40,0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.navbar-st .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.navbar-st .logo-icon {
  width: 38px; height: 38px;
  background: var(--apricot);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy-deep);
  flex-shrink: 0;
}
.navbar-st .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.2;
}
.navbar-st .logo-text span {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--apricot);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.navbar-st .nav-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8) !important;
  padding: 8px 14px !important;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.navbar-st .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px;
  width: 0; height: 2px;
  background: var(--apricot);
  transition: width var(--dur) var(--ease);
  border-radius: 1px;
}
.navbar-st .nav-link:hover,
.navbar-st .nav-link.active { color: var(--white) !important; }
.navbar-st .nav-link:hover::after,
.navbar-st .nav-link.active::after { width: calc(100% - 28px); }
.navbar-st .nav-cta {
  background: var(--apricot) !important;
  color: var(--navy-deep) !important;
  border-radius: var(--radius-full) !important;
  padding: 9px 20px !important;
  font-weight: 600 !important;
  margin-left: 8px;
}
.navbar-st .nav-cta::after { display: none !important; }
.navbar-st .nav-cta:hover {
  background: var(--apricot-dark) !important;
  transform: translateY(-1px);
}
.navbar-st .navbar-toggler {
  border: none !important;
  box-shadow: none !important;
  padding: 6px;
}
.navbar-st .navbar-toggler-icon {
  filter: invert(1);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--navy-deep);
  color: var(--white);
  padding-top: 80px;
}
.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-brand .logo-icon {
  width: 40px; height: 40px;
  background: var(--apricot);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy-deep);
  flex-shrink: 0;
}
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.footer-brand .logo-text span {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--apricot);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-brand p {
  color: var(--gray-mid);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  font-size: 0.9rem;
  transition: all var(--dur) var(--ease);
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-socials a:hover {
  background: var(--apricot);
  color: var(--navy-deep);
  border-color: var(--apricot);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--gray-mid);
  font-size: 0.88rem;
  transition: color var(--dur) var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a i { font-size: 0.65rem; color: var(--apricot); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-item i { color: var(--apricot); margin-top: 2px; font-size: 0.88rem; flex-shrink: 0; }
.footer-contact-item span { color: var(--gray-mid); font-size: 0.86rem; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { color: var(--gray-mid); font-size: 0.82rem; margin: 0; }
.footer-bottom p span { color: var(--apricot); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  color: var(--gray-mid);
  font-size: 0.82rem;
  transition: color var(--dur) var(--ease);
}
.footer-legal a:hover { color: var(--apricot); }

/* ── KOREKSYON MEDIA QUERIES ── */
@media (max-width: 991px) {
  .navbar-st .navbar-collapse {
    background: rgba(7,20,40,0.98);
    backdrop-filter: blur(16px);
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-radius: 0 0 16px 16px;
  }
  .navbar-st .nav-link::after { display: none; }
  .navbar-st .nav-cta { margin-left: 0; margin-top: 8px; display: block; width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .page-header { padding: 130px 0 60px; }
}

@media (max-width: 576px) {
  .section { padding: 48px 0; }
  .page-header { padding: 125px 0 50px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}