/* =========================================================
   Easy Promo — Feuille de style globale
   Africa Solutions IT
   ========================================================= */

:root {
  /* Palette principale */
  --brand:        #0d3b66;   /* bleu profond  */
  --brand-2:      #1d6fb8;   /* bleu éclatant */
  --accent:       #ff8c42;   /* orange chaud  */
  --accent-2:     #ffd23f;   /* jaune doré    */
  --ink:          #16202e;
  --muted:        #5b6b7e;
  --line:         #e6ecf3;
  --bg:           #ffffff;
  --bg-soft:      #f5f8fc;

  /* Accents par marque */
  --school:       #2ec4b6;
  --university:   #7b2cbf;
  --industry:     #ef476f;
  --conferences:  #118ab2;

  --radius:       18px;
  --radius-sm:    12px;
  --shadow:       0 18px 40px -18px rgba(13, 59, 102, .35);
  --shadow-soft:  0 10px 30px -16px rgba(13, 59, 102, .25);
  --maxw:         1180px;
  --font:         'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Utilitaires ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: rgba(29,111,184,.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
h1, h2, h3 { line-height: 1.18; font-weight: 700; color: var(--ink); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.section-lead { color: var(--muted); max-width: 640px; margin-inline: auto; font-size: 1.05rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 24px -10px rgba(255,140,66,.7); }
.btn--primary:hover { background: #ff7a26; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--dark { background: var(--brand); color: #fff; }
.btn--dark:hover { background: var(--brand-2); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.18rem; color: var(--brand); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-2), var(--accent));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: var(--shadow-soft);
}
.brand small { display: block; font-size: .62rem; letter-spacing: .18em; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px; border-radius: 10px; font-size: .94rem; font-weight: 500; color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.active { background: var(--bg-soft); color: var(--brand-2); }
.nav-links .btn { margin-left: 8px; padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(120deg, rgba(10,47,84,.90), rgba(29,111,184,.72)),
              url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80') center/cover;
  padding: 110px 0 120px;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--accent-2); }
.hero p { font-size: 1.12rem; color: rgba(255,255,255,.9); max-width: 540px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__art {
  border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6);
  transform: rotate(1.5deg); border: 6px solid rgba(255,255,255,.15);
}
.hero__art img { aspect-ratio: 4/3; object-fit: cover; }
.hero__stats { display: flex; gap: 36px; margin-top: 42px; flex-wrap: wrap; }
.hero__stats div strong { display: block; font-size: 1.9rem; color: var(--accent-2); }
.hero__stats div span { font-size: .9rem; color: rgba(255,255,255,.85); }

/* ---------- Marques (cartes) ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.brand-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg); box-shadow: var(--shadow-soft); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.brand-card__img { aspect-ratio: 16/11; overflow: hidden; }
.brand-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.brand-card:hover .brand-card__img img { transform: scale(1.07); }
.brand-card__body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.brand-tag {
  display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; padding: 5px 11px; border-radius: 999px;
  color: #fff; margin-bottom: 12px;
}
.brand-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.brand-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.brand-card a.more { margin-top: 16px; font-weight: 600; color: var(--brand-2); display: inline-flex; gap: 6px; }
.tag-school      { background: var(--school); }
.tag-university  { background: var(--university); }
.tag-industry    { background: var(--industry); }
.tag-conferences { background: var(--conferences); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-soft);
  transition: transform .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--brand-2); }
.service-ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand-2), var(--accent)); color: #fff;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .93rem; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { position: relative; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-soft); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 14px 16px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(13,59,102,.85));
}

/* ---------- Étapes / Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--bg); border-radius: var(--radius); padding: 28px 22px; border: 1px solid var(--line); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 22px;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800; box-shadow: var(--shadow-soft);
}
.step h3 { font-size: 1.08rem; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- Bannière CTA ---------- */
.cta-banner {
  position: relative; color: #fff; border-radius: 26px; overflow: hidden;
  background: linear-gradient(120deg, rgba(13,59,102,.86), rgba(255,140,66,.70)),
              url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80') center/cover;
  padding: 60px 48px; text-align: center; box-shadow: var(--shadow);
}
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.92); max-width: 620px; margin: 0 auto 26px; }
.cta-banner .hero__cta { justify-content: center; }

/* ---------- Page header (sous-pages) ---------- */
.page-hero {
  color: #fff; padding: 96px 0 80px; position: relative;
  background-size: cover; background-position: center;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(13,59,102,.78), rgba(13,59,102,.30)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 14px; max-width: 720px; }
.page-hero p { color: rgba(255,255,255,.92); max-width: 620px; font-size: 1.08rem; }
.crumbs { font-size: .88rem; color: rgba(255,255,255,.8); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* page-hero variantes */
.ph-school      { background-image: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1600&q=80'); }
.ph-university  { background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=80'); }
.ph-industry    { background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=1600&q=80'); }
.ph-conferences { background-image: url('https://images.unsplash.com/photo-1505373877841-8d25f7d46678?auto=format&fit=crop&w=1600&q=80'); }
.ph-services    { background-image: url('https://images.unsplash.com/photo-1626785774573-4b799315345d?auto=format&fit=crop&w=1600&q=80'); }
.ph-contact     { background-image: url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?auto=format&fit=crop&w=1600&q=80'); }

/* ---------- Split (texte + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 14px; }
.feature-list { display: grid; gap: 12px; margin-top: 18px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.feature-list .ck {
  flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--school);
  color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 700; margin-top: 3px;
}

/* ---------- Offres / Pricing-like (non interactif) ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
}
.offer.featured { border-color: var(--accent); box-shadow: var(--shadow); transform: scale(1.02); }
.offer h3 { font-size: 1.25rem; margin-bottom: 6px; }
.offer .price { font-size: 2rem; font-weight: 800; color: var(--brand); margin: 8px 0 4px; }
.offer .price small { font-size: .8rem; font-weight: 500; color: var(--muted); }
.offer ul { display: grid; gap: 10px; margin: 18px 0 24px; }
.offer li { display: flex; gap: 10px; color: var(--muted); font-size: .94rem; }
.offer li::before { content: '✓'; color: var(--school); font-weight: 800; }
.offer .btn { margin-top: auto; justify-content: center; }
.badge-pop { align-self: flex-start; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-soft); margin-bottom: 18px;
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-card .ci {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--accent));
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card a, .contact-card p { color: var(--muted); }
.contact-card a:hover { color: var(--brand-2); }
.contact-card.wa .ci { background: linear-gradient(135deg, #25d366, #128c7e); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line); min-height: 320px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cdd7e3; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer a { color: #cdd7e3; font-size: .93rem; line-height: 2; transition: color .15s ease; }
.footer a:hover { color: var(--accent-2); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand small { color: #8da2b8; }
.footer p { font-size: .92rem; color: #9fb0c2; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: #8da2b8;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; font-size: 1.05rem;
}
.footer__social a:hover { background: var(--accent); color: #fff; }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.7);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .brands-grid, .services-grid, .steps, .offers { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 22px; gap: 4px;
    box-shadow: var(--shadow-soft); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .brands-grid, .services-grid, .steps, .offers, .gallery, .footer__grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 24px; }
}
