/* ============================================
   IFT Agency — style.css
   Innovative Forward Tech · ift.net
   ============================================ */

/* ─── VARIABLES & RESET ─── */
*,*::before,*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:       #0A1628;
  --navy-mid:   #111e35;
  --navy-light: #1B2B4B;
  --cyan:       #00C8FF;
  --cyan-dim:   rgba(0, 200, 255, 0.12);
  --orange:     #FF6B35;
  --white:      #F5F7FF;
  --muted:      rgba(245, 247, 255, 0.5);
  --border:     rgba(0, 200, 255, 0.15);
}

html { scroll-behavior: smooth; }

body {
  background:   var(--navy);
  color:        var(--white);
  font-family:  'DM Sans', sans-serif;
  font-weight:  400;
  line-height:  1.7;
  overflow-x:   hidden;
}


/* ─── NAVIGATION ─── */
nav {
  position:        fixed;
  top: 0; left: 0; right: 0;
  z-index:         100;
  padding:         20px 6%;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  background:      rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom:   0.5px solid var(--border);
}

.nav-logo {
  display:     flex;
  align-items: center;
  gap:         10px;
}

.logo-badge {
  width:        36px;
  height:       36px;
  background:   var(--cyan);
  border-radius: 8px;
  display:      flex;
  align-items:  center;
  justify-content: center;
  font-family:  'Syne', sans-serif;
  font-weight:  800;
  font-size:    13px;
  color:        var(--navy);
  letter-spacing: -0.5px;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size:   18px;
  color:       var(--white);
}

.logo-text em {
  color:      var(--cyan);
  font-style: normal;
}

.logo-text .logo-sub {
  font-weight: 300;
  opacity:     0.6;
}

.nav-links {
  display:     flex;
  align-items: center;
  gap:         32px;
}

.nav-links a {
  color:           var(--muted);
  text-decoration: none;
  font-size:       14px;
  font-weight:     400;
  transition:      color 0.2s;
}

.nav-links a:hover { color: var(--cyan); }

.nav-cta {
  background:      var(--cyan);
  color:           var(--navy);
  font-weight:     500;
  font-size:       14px;
  padding:         9px 22px;
  border-radius:   8px;
  text-decoration: none;
  font-family:     'DM Sans', sans-serif;
  transition:      opacity 0.2s;
}

.nav-cta:hover { opacity: 0.85; }


/* ─── HERO ─── */
.hero {
  min-height:     100vh;
  display:        flex;
  flex-direction: column;
  justify-content: center;
  padding:        120px 6% 80px;
  position:       relative;
  overflow:       hidden;
}

.hero-grid {
  position:         absolute;
  inset:            0;
  background-image: linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size:  60px 60px;
  pointer-events:   none;
}

.hero-glow {
  position:       absolute;
  top: -10%; right: -5%;
  width:          600px;
  height:         600px;
  background:     radial-gradient(ellipse, rgba(0,200,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow2 {
  position:       absolute;
  bottom: -20%; left: -5%;
  width:          500px;
  height:         500px;
  background:     radial-gradient(ellipse, rgba(255,107,53,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  display:        inline-flex;
  align-items:    center;
  gap:            8px;
  background:     var(--cyan-dim);
  border:         0.5px solid var(--border);
  border-radius:  100px;
  padding:        6px 16px;
  margin-bottom:  28px;
  font-size:      13px;
  color:          var(--cyan);
  font-weight:    500;
  letter-spacing: 0.05em;
  animation:      fadeUp 0.6s ease both;
}

.hero-eyebrow::before {
  content:       '';
  width:         6px;
  height:        6px;
  background:    var(--cyan);
  border-radius: 50%;
  animation:     pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

h1 {
  font-family:    'Syne', sans-serif;
  font-weight:    800;
  font-size:      clamp(38px, 5.5vw, 72px);
  line-height:    1.05;
  letter-spacing: -1.5px;
  max-width:      820px;
  animation:      fadeUp 0.7s 0.1s ease both;
}

h1 .accent  { color: var(--cyan); }
h1 .accent2 { color: var(--orange); }

.hero-sub {
  font-size:     clamp(16px, 1.8vw, 19px);
  color:         var(--muted);
  font-weight:   300;
  max-width:     560px;
  margin-top:    24px;
  line-height:   1.7;
  animation:     fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display:     flex;
  align-items: center;
  gap:         16px;
  margin-top:  40px;
  animation:   fadeUp 0.7s 0.3s ease both;
  flex-wrap:   wrap;
}

.btn-primary {
  background:      var(--cyan);
  color:           var(--navy);
  font-family:     'Syne', sans-serif;
  font-weight:     700;
  font-size:       15px;
  padding:         14px 32px;
  border-radius:   10px;
  text-decoration: none;
  transition:      transform 0.2s, opacity 0.2s;
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity:   0.92;
}

.btn-secondary {
  background:      transparent;
  color:           var(--white);
  font-size:       15px;
  padding:         14px 28px;
  border-radius:   10px;
  text-decoration: none;
  border:          0.5px solid rgba(245, 247, 255, 0.25);
  transition:      border-color 0.2s, color 0.2s;
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color:        var(--cyan);
}

.hero-stats {
  display:       flex;
  gap:           40px;
  margin-top:    64px;
  padding-top:   40px;
  border-top:    0.5px solid var(--border);
  animation:     fadeUp 0.7s 0.4s ease both;
  flex-wrap:     wrap;
}

.stat-item .num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size:   32px;
  color:       var(--cyan);
}

.stat-item .lbl {
  font-size:  13px;
  color:      var(--muted);
  margin-top: 2px;
}


/* ─── SECTIONS COMMUNES ─── */
section { padding: 90px 6%; }

.section-tag {
  font-size:      11px;
  font-weight:    500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color:          var(--cyan);
  margin-bottom:  16px;
}

h2 {
  font-family:    'Syne', sans-serif;
  font-weight:    800;
  font-size:      clamp(28px, 3.5vw, 46px);
  line-height:    1.1;
  letter-spacing: -0.8px;
}

.section-sub {
  font-size:   17px;
  color:       var(--muted);
  font-weight: 300;
  max-width:   540px;
  margin-top:  16px;
  line-height: 1.7;
}


/* ─── PROBLÈME / SOLUTION ─── */
.problem { background: var(--navy-mid); }

.problem-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   60px;
  align-items:           center;
  margin-top:            56px;
}

.problem-list {
  display:        flex;
  flex-direction: column;
  gap:            20px;
}

.problem-item {
  display:       flex;
  gap:           16px;
  align-items:   flex-start;
  padding:       20px;
  background:    rgba(255, 107, 53, 0.06);
  border:        0.5px solid rgba(255, 107, 53, 0.2);
  border-radius: 12px;
}

.problem-icon {
  width:           40px;
  height:          40px;
  background:      rgba(255, 107, 53, 0.15);
  border-radius:   8px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
  font-size:       18px;
}

.problem-text strong {
  font-weight:  500;
  font-size:    15px;
  display:      block;
  color:        var(--white);
}

.problem-text span {
  font-size: 13px;
  color:     var(--muted);
}

.solution-card {
  background:    var(--navy-light);
  border:        0.5px solid var(--border);
  border-radius: 16px;
  padding:       32px;
  position:      relative;
  overflow:      hidden;
}

.solution-card::before {
  content:    '';
  position:   absolute;
  top: 0; left: 0; right: 0;
  height:     2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.solution-headline {
  font-family:  'Syne', sans-serif;
  font-weight:  700;
  font-size:    22px;
  line-height:  1.3;
  margin-bottom: 20px;
}

.solution-points {
  display:        flex;
  flex-direction: column;
  gap:            12px;
}

.solution-point {
  display:     flex;
  gap:         10px;
  align-items: flex-start;
  font-size:   14px;
  color:       var(--muted);
}

.solution-point::before {
  content:     '✓';
  color:       var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
  margin-top:  1px;
}


/* ─── SERVICES / PACKS ─── */
.services-header {
  display:         flex;
  justify-content: space-between;
  align-items:     flex-end;
  flex-wrap:       wrap;
  gap:             20px;
  margin-bottom:   48px;
}

.services-hint {
  color:      var(--muted);
  font-size:  14px;
  max-width:  260px;
  text-align: right;
}

.packs-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   20px;
}

.pack-card {
  background:    var(--navy-light);
  border:        0.5px solid var(--border);
  border-radius: 16px;
  padding:       32px;
  position:      relative;
  transition:    transform 0.25s, border-color 0.25s;
  cursor:        default;
}

.pack-card:hover {
  transform:    translateY(-4px);
  border-color: var(--cyan);
}

.pack-card.featured {
  border-color: var(--cyan);
  background:   linear-gradient(135deg, var(--navy-light), rgba(0,200,255,0.05));
}

.pack-card.featured::before {
  content:        'Recommandé';
  position:       absolute;
  top:            -1px;
  left:           50%;
  transform:      translateX(-50%);
  background:     var(--cyan);
  color:          var(--navy);
  font-size:      11px;
  font-weight:    700;
  letter-spacing: 0.08em;
  padding:        4px 16px;
  border-radius:  0 0 10px 10px;
  font-family:    'Syne', sans-serif;
}

.pack-icon {
  width:           44px;
  height:          44px;
  border-radius:   10px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       20px;
  margin-bottom:   20px;
}

.pack-icon--cyan   { background: rgba(0, 200, 255, 0.1); }
.pack-icon--cyan2  { background: rgba(0, 200, 255, 0.15); }
.pack-icon--orange { background: rgba(255, 107, 53, 0.1); }

.pack-name {
  font-family:   'Syne', sans-serif;
  font-weight:   700;
  font-size:     20px;
  margin-bottom: 6px;
}

.pack-tagline {
  font-size:     13px;
  color:         var(--muted);
  margin-bottom: 20px;
  font-style:    italic;
}

.pack-price {
  font-family:   'Syne', sans-serif;
  font-weight:   800;
  font-size:     30px;
  color:         var(--cyan);
  margin-bottom: 4px;
}

.pack-price small {
  font-size:   14px;
  color:       var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
}

.pack-recurrence {
  font-size:     12px;
  color:         var(--muted);
  margin-bottom: 24px;
}

.pack-features {
  display:        flex;
  flex-direction: column;
  gap:            10px;
}

.pack-feature {
  display:     flex;
  gap:         10px;
  font-size:   14px;
  color:       rgba(245, 247, 255, 0.75);
  align-items: flex-start;
}

.pack-feature::before {
  content:     '→';
  color:       var(--cyan);
  flex-shrink: 0;
}

.pack-cta {
  display:         block;
  text-align:      center;
  margin-top:      28px;
  padding:         12px;
  border-radius:   8px;
  text-decoration: none;
  font-weight:     500;
  font-size:       14px;
  transition:      all 0.2s;
}

.pack-cta--outline {
  border: 0.5px solid var(--border);
  color:  var(--white);
}

.pack-cta--outline:hover {
  border-color: var(--cyan);
  color:        var(--cyan);
}

.pack-cta--filled {
  background:  var(--cyan);
  color:       var(--navy);
  font-weight: 600;
}

.pack-cta--filled:hover { opacity: 0.88; }


/* ─── POURQUOI IFT ─── */
.why { background: var(--navy-mid); }

.why-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   20px;
  margin-top:            48px;
}

.why-card {
  padding:       28px;
  border:        0.5px solid var(--border);
  border-radius: 14px;
  transition:    border-color 0.25s;
}

.why-card:hover { border-color: var(--cyan); }

.why-num {
  font-family:   'Syne', sans-serif;
  font-weight:   800;
  font-size:     44px;
  color:         var(--cyan);
  opacity:       0.25;
  line-height:   1;
  margin-bottom: 12px;
}

.why-title {
  font-family:   'Syne', sans-serif;
  font-weight:   700;
  font-size:     17px;
  margin-bottom: 8px;
}

.why-text {
  font-size:   14px;
  color:       var(--muted);
  line-height: 1.65;
}


/* ─── MOBILE MONEY ─── */
.mm-section {
  background:    linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-top:    0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.mm-inner {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   60px;
  align-items:           center;
}

.mm-badges {
  display:    flex;
  gap:        12px;
  flex-wrap:  wrap;
  margin-top: 32px;
}

.mm-badge {
  background:      var(--cyan-dim);
  border:          0.5px solid var(--border);
  border-radius:   100px;
  padding:         8px 20px;
  font-size:       14px;
  font-weight:     500;
  color:           var(--cyan);
  display:         flex;
  align-items:     center;
  gap:             6px;
}

.mm-visual {
  background:    var(--navy);
  border:        0.5px solid var(--border);
  border-radius: 20px;
  padding:       28px;
  position:      relative;
  overflow:      hidden;
}

.mm-visual::after {
  content:        '';
  position:       absolute;
  inset:          0;
  background:     linear-gradient(135deg, transparent 60%, var(--cyan-dim));
  pointer-events: none;
}

.mm-amount {
  font-family:    'Syne', sans-serif;
  font-weight:    800;
  font-size:      42px;
  color:          var(--white);
  letter-spacing: -1px;
}

.mm-label {
  font-size:     13px;
  color:         var(--muted);
  margin-bottom: 20px;
}

.mm-detail {
  font-size:  13px;
  color:      var(--muted);
  margin:     4px 0 24px;
}

.mm-methods {
  display:        flex;
  flex-direction: column;
  gap:            10px;
}

.mm-method {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  padding:         12px 16px;
  background:      var(--navy-light);
  border-radius:   10px;
  font-size:       14px;
}

.mm-method-name {
  color:       var(--white);
  font-weight: 500;
}

.mm-method-status {
  color:       var(--cyan);
  font-size:   12px;
  display:     flex;
  align-items: center;
  gap:         4px;
}

.mm-method-status::before {
  content:       '';
  width:         6px;
  height:        6px;
  background:    var(--cyan);
  border-radius: 50%;
}


/* ─── CONTACT ─── */
.contact { text-align: center; }

.contact-box {
  max-width:     600px;
  margin:        48px auto 0;
  background:    var(--navy-light);
  border:        0.5px solid var(--border);
  border-radius: 20px;
  padding:       48px 40px;
  position:      relative;
  overflow:      hidden;
}

.contact-box::before {
  content:    '';
  position:   absolute;
  top: 0; left: 0; right: 0;
  height:     2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.contact-box h3 {
  font-family:   'Syne', sans-serif;
  font-weight:   800;
  font-size:     26px;
  margin-bottom: 12px;
}

.contact-box p {
  color:         var(--muted);
  font-size:     15px;
  margin-bottom: 28px;
}

.contact-links {
  display:         flex;
  gap:             12px;
  justify-content: center;
  flex-wrap:       wrap;
}

.contact-link {
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
  padding:         12px 24px;
  border-radius:   10px;
  text-decoration: none;
  font-weight:     500;
  font-size:       14px;
  transition:      all 0.2s;
}

.wa-link {
  background: #25D366;
  color:      #fff;
}

.wa-link:hover { opacity: 0.88; }

.email-link {
  border: 0.5px solid var(--border);
  color:  var(--white);
}

.email-link:hover {
  border-color: var(--cyan);
  color:        var(--cyan);
}


/* ─── FOOTER ─── */
footer {
  background:      var(--navy-mid);
  border-top:      0.5px solid var(--border);
  padding:         40px 6%;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  flex-wrap:       wrap;
  gap:             20px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size:   16px;
}

.footer-logo em {
  color:      var(--cyan);
  font-style: normal;
}

.footer-logo .footer-sub {
  font-weight: 300;
  opacity:     0.5;
}

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  font-size:       13px;
  color:           var(--muted);
  text-decoration: none;
  transition:      color 0.2s;
}

.footer-links a:hover { color: var(--cyan); }

.footer-copy {
  font-size: 12px;
  color:     var(--muted);
}


/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity:    0;
  transform:  translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity:   1;
  transform: none;
}


/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .problem-grid,
  .packs-grid,
  .why-grid,
  .mm-inner      { grid-template-columns: 1fr; }

  nav .nav-links { display: none; }

  h1             { font-size: 36px; }

  .hero-stats    { gap: 24px; }
  .stat-item .num { font-size: 26px; }

  .services-hint { text-align: left; }

  footer {
    flex-direction: column;
    text-align:     center;
  }

  .footer-links {
    flex-wrap:       wrap;
    justify-content: center;
  }
}
