
/* ============================================================
   CONSUEL-RDC — ACCUEIL V3
   Ce fichier surcharge uniquement la présentation.
   Les sessions, permissions, routes et traitements PHP restent
   gérés par index.php.
============================================================ */

:root{
  --v3-navy:#062856;
  --v3-navy-2:#031d41;
  --v3-blue:#073dab;
  --v3-blue-light:#2b73dd;
  --v3-yellow:#ffbf00;
  --v3-ink:#071c4b;
  --v3-muted:#5b6880;
  --v3-line:#d8e2f0;
  --v3-soft:#f5f8fd;
  --v3-shadow:0 18px 52px rgba(5,41,91,.12);
  --v3-radius:18px;
  --max:1400px;
}

body{
  color:var(--v3-ink);
  background:#fff;
}

body::before{
  content:"☎  +243 900 000 000      ✉  contact@consuel-rdc.cd      ⌖  Kinshasa, RDC";
  min-height:42px;
  justify-content:flex-start;
  padding:8px max(24px,calc((100vw - var(--max))/2 + 18px));
  background:linear-gradient(90deg,#052960,#061f4d);
  font-size:12px;
  letter-spacing:0;
  text-transform:none;
}

.wrap{
  max-width:var(--max);
  padding:0 22px 30px;
}

/* Header */
.topbar{
  grid-template-columns:82px minmax(0,1fr) 82px;
  gap:18px;
  padding:18px 22px;
  border:0;
  border-radius:0;
  color:var(--v3-ink);
  background:#fff;
  box-shadow:none;
}

.topbar::before{display:none}

.logoBox{
  width:72px;
  height:72px;
}

.logo{
  filter:drop-shadow(0 5px 10px rgba(5,41,91,.13));
}

.brand{
  text-align:left;
}

.noticeMarquee{
  display:none;
}

.brand h1{
  color:var(--v3-navy);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:clamp(29px,3vw,40px);
  font-weight:950;
  letter-spacing:-.035em;
}

.brand .subline{
  margin-top:4px;
  color:#18386b;
  font-size:13px;
  white-space:normal;
}

.brand p{
  margin-top:3px;
  color:#667085;
  font-size:12px;
}

/* Navigation */
.v3Nav{
  position:relative;
  z-index:20;
  display:flex;
  align-items:center;
  gap:5px;
  min-height:64px;
  padding:8px 12px;
  border-top:1px solid #edf1f6;
  border-bottom:1px solid #e8edf4;
  background:#fff;
}

.v3Nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 14px;
  border-radius:8px;
  color:#071d50;
  font-size:13px;
  font-weight:850;
  transition:.2s ease;
}

.v3Nav a:hover{
  color:var(--v3-blue);
  background:#eff5ff;
}

.v3NavSpacer{flex:1}

.v3NavOutline{
  border:1px solid #9bb8e7;
  color:var(--v3-blue)!important;
  background:#fff;
}

.v3NavPrimary{
  color:#fff!important;
  background:linear-gradient(135deg,#0647c6,#052e96);
  box-shadow:0 8px 20px rgba(5,61,171,.18);
}

/* Hero */
.hero{
  min-height:480px;
  margin-top:0;
  overflow:hidden;
  border:0;
  border-radius:18px;
  background:var(--v3-navy);
  box-shadow:var(--v3-shadow);
}

.heroSlidesV3 .heroSlide{
  opacity:1;
  background-position:right center;
  background-size:58% 100%;
  background-repeat:no-repeat;
  filter:none;
}

.heroShade{
  background:
    linear-gradient(90deg,
      rgba(4,34,76,1) 0%,
      rgba(5,44,94,.98) 36%,
      rgba(5,44,94,.79) 51%,
      rgba(5,44,94,.04) 67%,
      rgba(5,44,94,0) 100%);
}

.heroInner{
  z-index:4;
  min-height:480px;
  gap:13px;
  padding:36px 54% 32px 42px;
}

.heroActionsTop{
  order:10;
  max-height:92px;
  overflow:auto;
  margin-top:5px;
  padding:10px 0 0;
  border-top:1px solid rgba(255,255,255,.15);
  border-bottom:0;
  scrollbar-width:thin;
}

.heroActionsTop .btn{
  min-height:35px;
  padding:7px 10px;
  font-size:11px;
}

.heroV3Label{
  color:var(--v3-yellow);
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
}

.hero h2{
  max-width:610px;
  margin:0;
  color:#fff;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:clamp(39px,4.7vw,64px);
  line-height:1.02;
  font-weight:950;
  letter-spacing:-.045em;
}

.hero h2 span{
  color:var(--v3-yellow);
}

.hero h2::after{
  content:"";
  display:block;
  width:48px;
  height:4px;
  margin-top:17px;
  border-radius:99px;
  background:var(--v3-yellow);
}

.hero .sub{
  display:-webkit-box;
  max-width:590px;
  max-height:100px;
  overflow:hidden;
  color:rgba(255,255,255,.88);
  font-size:13px;
  line-height:1.62;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
}

.hero .pills,
.hero .dots,
.heroInner > div:last-child{
  display:none!important;
}

.heroV3MainActions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:5px 0 3px;
}

.heroV3Btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:0 20px;
  border-radius:8px;
  font-size:13px;
  font-weight:900;
  transition:.18s ease;
}

.heroV3Btn:hover{
  transform:translateY(-2px);
}

.heroV3BtnPrimary{
  color:#071b40;
  background:var(--v3-yellow);
  box-shadow:0 10px 24px rgba(255,191,0,.22);
}

.heroV3BtnGhost{
  color:#fff;
  border:1px solid rgba(255,255,255,.62);
  background:rgba(3,28,65,.32);
  backdrop-filter:blur(4px);
}

.limitedNotice{
  padding:10px 12px;
  font-size:11px;
}

/* Statistics */
.v3Stats{
  position:relative;
  z-index:8;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  margin:-48px auto 0;
  width:calc(100% - 170px);
  overflow:hidden;
  border:1px solid #dbe4f0;
  border-radius:15px;
  background:#fff;
  box-shadow:0 16px 35px rgba(6,40,86,.12);
}

.v3Stats article{
  display:flex;
  align-items:center;
  gap:15px;
  min-height:96px;
  padding:17px 24px;
  border-right:1px solid #dfe6f0;
}

.v3Stats article:last-child{border-right:0}

.v3StatIcon{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:44px;
  height:44px;
  border-radius:13px;
  color:#0647c6;
  background:#eef5ff;
  font-size:23px;
  font-weight:950;
}

.v3Stats strong,
.v3Stats small{
  display:block;
}

.v3Stats strong{
  color:#063da8;
  font-size:22px;
  line-height:1.05;
}

.v3Stats small{
  margin-top:4px;
  color:#26395e;
  font-size:10px;
  line-height:1.25;
  font-weight:750;
}

/* Titles and modules */
.v3SectionTitle{
  margin:22px 0 4px;
  text-align:center;
}

.v3SectionTitle span{
  color:var(--v3-yellow);
  font-size:10px;
  font-weight:950;
  letter-spacing:.12em;
}

.v3SectionTitle h2{
  margin:4px 0 0;
  color:#071d50;
  font-size:23px;
}

.grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}

.card{
  min-height:215px;
  padding:0 16px 16px;
  overflow:hidden;
  border:1px solid #dae3ef;
  border-radius:12px;
  box-shadow:0 8px 24px rgba(6,40,86,.055);
}

.card::before{
  height:5px;
  background:var(--v3-blue)!important;
}

.card:hover{
  transform:translateY(-5px);
  border-color:#9ebce5;
  box-shadow:0 18px 35px rgba(6,40,86,.11);
}

.cardTop{
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin:0 -16px;
  padding:20px 16px 10px;
  text-align:center;
}

.ico{
  width:64px;
  height:64px;
  border-radius:50%;
  background:linear-gradient(135deg,#0a56ca,#052f8c);
}

.ico.hasLogo{
  width:100%;
  height:88px;
  padding:7px 15px;
  border:0;
  border-radius:0;
  background:#fff!important;
}

.ico.hasLogo img{
  object-fit:contain;
  border-radius:0;
}

.card h3{
  color:#08225a;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:16px;
  font-weight:900;
  white-space:normal;
}

.card p{
  color:#596982;
  font-size:11px;
  line-height:1.5;
}

.card .go{
  justify-content:center;
  margin-top:auto;
  padding-top:11px;
  border-top:0;
  color:#0749c6;
  font-size:13px;
}

.card .go .btnPrimary{
  width:auto!important;
  min-width:31px;
  height:31px!important;
  min-height:31px!important;
  color:#0749c6!important;
  background:transparent!important;
}

/* Note and assistance */
.v3BottomRow{
  display:grid;
  grid-template-columns:1.45fr 1fr;
  gap:20px;
  margin-top:18px;
}

.v3PilotNote,
.v3Assistance{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:72px;
  padding:14px 18px;
  border-radius:12px;
}

.v3PilotNote{
  color:#122c5e;
  background:#edf3fc;
}

.v3PilotNote > span{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:38px;
  height:38px;
  border-radius:50%;
  color:#fff;
  background:#0647c6;
  font-size:22px;
  font-family:Georgia,serif;
  font-weight:900;
}

.v3PilotNote p{
  margin:0;
  font-size:11px;
  line-height:1.45;
}

.v3Assistance{
  color:#fff;
  background:linear-gradient(135deg,#05295e,#06358c);
}

.v3AssistanceIcon{
  font-size:31px;
}

.v3Assistance span b,
.v3Assistance span small{
  display:block;
}

.v3Assistance span small{
  margin-top:3px;
  color:rgba(255,255,255,.75);
  font-size:10px;
}

.v3Assistance strong{
  margin-left:auto;
  padding:11px 17px;
  border-radius:7px;
  color:#061d46;
  background:var(--v3-yellow);
  font-size:12px;
  white-space:nowrap;
}

/* Partners & footer */
.carousel{
  margin-top:22px;
  border-radius:14px;
}

.carouselHead h3{
  color:#071d50;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-weight:900;
}

.small{
  margin-top:25px;
}

/* Responsive */
@media(max-width:1120px){
  .heroInner{padding-right:48%}
  .heroSlidesV3 .heroSlide{background-size:54% 100%}
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .v3Stats{width:calc(100% - 50px)}
}

@media(max-width:850px){
  body::before{
    justify-content:center;
    text-align:center;
  }

  .topbar{
    grid-template-columns:70px 1fr;
  }

  .topbar > .logoBox:last-child{display:none}

  .v3Nav{
    overflow:auto;
    justify-content:flex-start;
    white-space:nowrap;
  }

  .v3NavSpacer{display:none}

  .hero{
    min-height:700px;
  }

  .heroSlidesV3 .heroSlide{
    top:330px;
    background-position:center;
    background-size:cover;
  }

  .heroShade{
    background:
      linear-gradient(180deg,
        rgba(4,34,76,1) 0,
        rgba(5,44,94,.99) 320px,
        rgba(5,44,94,.25) 505px,
        rgba(5,44,94,.08) 100%);
  }

  .heroInner{
    min-height:700px;
    padding:30px 25px 345px;
  }

  .hero .sub{max-height:82px}

  .v3Stats{
    grid-template-columns:repeat(2,1fr);
    width:calc(100% - 28px);
    margin-top:-30px;
  }

  .v3Stats article{
    border-bottom:1px solid #dfe6f0;
  }

  .grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .v3BottomRow{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .wrap{padding:0 10px 25px}

  .topbar{
    grid-template-columns:58px 1fr;
    padding:14px 8px;
  }

  .logoBox{
    width:55px;
    height:55px;
  }

  .brand h1{
    font-size:24px;
  }

  .brand .subline{
    font-size:10px;
  }

  .brand p{display:none}

  .hero{
    border-radius:12px;
  }

  .heroInner{
    padding:25px 18px 345px;
  }

  .hero h2{
    font-size:39px;
  }

  .heroV3MainActions{
    display:grid;
  }

  .heroV3Btn{
    width:100%;
  }

  .heroActionsTop{
    display:none;
  }

  .v3Stats{
    grid-template-columns:1fr;
  }

  .v3Stats article{
    min-height:70px;
    border-right:0;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .v3Assistance{
    align-items:flex-start;
    flex-wrap:wrap;
  }

  .v3Assistance strong{
    width:100%;
    margin:0;
    text-align:center;
  }
}

/* ============================================================
   CONSUEL-RDC V3.1.1 — CORRECTION EFFECTIVE
============================================================ */
.hero{min-height:610px}
.heroInner{min-height:610px;gap:9px;padding:26px 57% 78px 40px}
.hero h2{font-size:clamp(36px,4.05vw,56px);line-height:1.01}
.hero .sub{display:-webkit-box;max-height:72px;overflow:hidden;margin:0;font-size:12px;line-height:1.48;-webkit-box-orient:vertical;-webkit-line-clamp:4}
.heroActionsTop{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;max-height:none;overflow:visible;margin:2px 0 0;padding:8px 0 0;border-top:1px solid rgba(255,255,255,.15);border-bottom:0}
.heroActionsTop .btn{width:100%;min-width:0;min-height:34px;padding:6px;font-size:10.25px;line-height:1.1;white-space:normal;text-align:center}
.heroActionsTop .v3QrFull{grid-column:1/-1;min-height:40px;color:#fff;border-color:#159447;background:linear-gradient(135deg,#159447,#087537);box-shadow:0 9px 20px rgba(9,117,55,.22);font-size:11.5px;font-weight:900}
.v3Stats{margin-top:-42px}
.card.isNEC .cardTop{gap:4px}
.card.isNEC .ico.hasLogo{width:100%;height:126px;padding:6px 16px}
.card.isNEC .ico.hasLogo img{width:100%;height:100%;object-fit:contain}
.card.isNEC .cardTop>div:last-child{width:100%}
.card.isNEC p{max-width:230px;margin:4px auto 0;text-align:center}
@media(max-width:1120px){.hero{min-height:650px}.heroInner{min-height:650px;padding-right:51%;padding-bottom:78px}.heroActionsTop{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.hero{min-height:835px}.heroInner{min-height:835px;padding:26px 22px 390px}.heroActionsTop{grid-template-columns:repeat(2,minmax(0,1fr))}.hero .sub{-webkit-line-clamp:3;max-height:55px}.v3Stats{margin-top:-34px}}
@media(max-width:560px){.hero{min-height:845px}.heroInner{min-height:845px;padding:22px 15px 365px}.heroActionsTop{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.heroActionsTop .btn{font-size:9.8px}.heroActionsTop .v3QrFull{grid-column:1/-1}}
