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

:root{
  --blue:#1a56db;
  --blue-dark:#123a99;
  --blue-light:#eef2ff;
  --ink:#111827;
  --gray:#4b5563;
  --gray-light:#6b7280;
  --bg-alt:#f7f9ff;
  --bg-alt2:#eef1f7;
  --border:#e5e7eb;
  --white:#ffffff;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink);background:#fff;font-size:16px;line-height:1.5;}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
ul{list-style:none;}
button{font-family:inherit;cursor:pointer;}

.wrap{max-width:1240px;margin:0 auto;padding:0 24px;}

/* ---------- Header / Nav ---------- */
header.site-header{position:sticky;top:0;z-index:200;background:#fff;border-bottom:1px solid var(--border);}
.nav-inner{max-width:1240px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 24px;height:76px;position:relative;}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:22px;color:var(--blue);letter-spacing:-0.5px;}
.logo svg{width:34px;height:34px;}
.nav-toggle-checkbox{display:none;}
.nav-links{display:flex;align-items:center;gap:34px;}
.nav-item{position:relative;height:76px;display:flex;align-items:center;}
.nav-item > a{font-size:14.5px;font-weight:500;color:#374151;padding:6px 0;}
.nav-item > a.active{color:var(--blue);border-bottom:2px solid var(--blue);}
.nav-item:hover > a{color:var(--blue);}
.mega{position:absolute;top:76px;left:50%;transform:translateX(-50%);background:#fff;border:1px solid var(--border);border-top:3px solid var(--blue);border-radius:0 0 12px 12px;box-shadow:0 18px 40px rgba(17,24,39,0.12);padding:26px 34px;display:none;gap:48px;white-space:nowrap;}
.nav-item:hover .mega{display:flex;}
.mega-col h5{font-size:11px;text-transform:uppercase;letter-spacing:1.2px;color:var(--gray-light);font-weight:700;margin-bottom:12px;}
.mega-col a{display:block;font-size:14.5px;color:#374151;font-weight:500;padding:6px 0;}
.mega-col a:hover{color:var(--blue);}
.btn-nav{background:var(--blue);color:#fff;font-size:14px;font-weight:600;padding:11px 22px;border-radius:7px;border:none;}
.btn-nav:hover{background:var(--blue-dark);}
.btn-nav-mobile{display:none;}
.burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:26px;height:22px;background:none;border:none;padding:0;cursor:pointer;}
.burger span{display:block;height:2px;width:100%;background:var(--ink);border-radius:2px;transition:transform .2s ease,opacity .2s ease;}

@media (max-width:900px){
  .nav-inner{height:64px;padding:0 20px;}
  .logo-img{height:32px;}
  .btn-nav-desktop{display:none;}
  .burger{display:flex;}
  .nav-toggle-checkbox:checked ~ .burger span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .nav-toggle-checkbox:checked ~ .burger span:nth-child(2){opacity:0;}
  .nav-toggle-checkbox:checked ~ .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
  .nav-links{display:none;position:absolute;top:64px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 20px;border-bottom:1px solid var(--border);box-shadow:0 16px 28px rgba(17,24,39,0.1);max-height:calc(100vh - 64px);overflow-y:auto;}
  .nav-toggle-checkbox:checked ~ .nav-links{display:flex;}
  .nav-item{height:auto;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--border);}
  .nav-item:last-of-type{border-bottom:none;}
  .nav-item > a{padding:15px 0;}
  .mega{position:static;transform:none;display:block !important;border:none;box-shadow:none;border-radius:0;padding:0 0 14px 10px;background:none;white-space:normal;}
  .mega-col a{padding:9px 0;}
  .btn-nav-mobile{display:block;margin-top:16px;text-align:center;}
}

/* ---------- Buttons ---------- */
.btn-primary{display:inline-flex;align-items:center;gap:8px;background:var(--blue);color:#fff;font-size:15px;font-weight:600;padding:14px 28px;border-radius:8px;border:none;}
.btn-primary:hover{background:var(--blue-dark);}
.btn-outline{display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--ink);font-size:15px;font-weight:600;padding:14px 28px;border-radius:8px;border:1px solid var(--border);}
.btn-outline:hover{border-color:var(--blue);color:var(--blue);}
.btn-white{display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--blue);font-size:15px;font-weight:700;padding:14px 28px;border-radius:8px;border:none;}

/* ---------- Page hero (section headers reused across pages) ---------- */
.page-hero{background:linear-gradient(160deg,#f5f7ff 0%,#eef2ff 60%,#e7edff 100%);padding:64px 0 56px;}
.eyebrow{display:inline-block;background:rgba(26,86,219,0.09);color:var(--blue);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;padding:7px 16px;border-radius:20px;margin-bottom:22px;}
.page-hero h1{font-size:46px;font-weight:800;line-height:1.12;color:var(--ink);letter-spacing:-1.2px;max-width:760px;}
.page-hero h1 span{color:var(--blue);}
.page-hero p.lead{font-size:17px;color:var(--gray);line-height:1.75;max-width:620px;margin-top:20px;}
.hero-split{display:grid;grid-template-columns:1.1fr 0.9fr;gap:56px;align-items:center;}
.hero-media{border-radius:14px;overflow:hidden;height:340px;}

/* ---------- Generic placeholder media block ---------- */
.media-ph{background:linear-gradient(135deg,#dbe4f9,#c7d4f4);border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#5b76ad;text-align:center;padding:20px;min-height:260px;}
.media-ph svg{width:40px;height:40px;stroke:#5b76ad;}
.media-ph span{font-size:12.5px;font-weight:600;max-width:220px;}
.media-ph.portrait{aspect-ratio:3/4;min-height:380px;}

/* ---------- Sections ---------- */
section{padding:76px 0;}
.section-alt{background:var(--bg-alt);}
.section-alt2{background:var(--bg-alt2);}
.eyebrow-line{display:flex;align-items:center;gap:12px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:var(--blue);margin-bottom:18px;}
.eyebrow-line::after{content:'';flex:1;height:1px;background:var(--border);max-width:400px;}
h2.section-title{font-size:32px;font-weight:800;color:var(--ink);letter-spacing:-0.6px;line-height:1.2;margin-bottom:16px;}
h2.section-title span{color:var(--blue);}
p.section-sub{font-size:15.5px;color:var(--gray);line-height:1.8;max-width:680px;margin-bottom:44px;}

/* ---------- Cards grids ---------- */
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:12px;overflow:hidden;}
.card{background:#fff;padding:34px 28px;}
.card .num{font-size:36px;font-weight:800;color:var(--blue);opacity:0.2;margin-bottom:14px;}
.card h3{font-size:16.5px;font-weight:700;color:var(--ink);margin-bottom:12px;line-height:1.4;}
.card p{font-size:14px;color:var(--gray);line-height:1.75;}
.card-icon{width:50px;height:50px;border-radius:10px;background:var(--blue-light);display:flex;align-items:center;justify-content:center;margin-bottom:18px;}
.card-icon svg{width:24px;height:24px;stroke:var(--blue);fill:none;stroke-width:1.8;}

/* ---------- Numbered domain blocks ---------- */
.domain-block{display:grid;grid-template-columns:280px 1fr;gap:48px;padding:46px 0;border-bottom:1px solid var(--border);}
.domain-block:last-child{border-bottom:none;}
.domain-num{font-size:44px;font-weight:800;color:#c7d2e8;line-height:1;}
.domain-block h3{font-size:24px;font-weight:800;color:var(--ink);margin-top:8px;}
.domain-block .bar{width:44px;height:3px;background:var(--blue);margin:16px 0;}
.domain-body p{font-size:15px;color:var(--gray);line-height:1.85;max-width:760px;}
.tag-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;}
.tag{font-size:12px;font-weight:600;color:var(--blue);background:var(--blue-light);padding:6px 14px;border-radius:20px;}

/* ---------- Steps / process ---------- */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative;}
.steps::before{content:'';position:absolute;top:26px;left:26px;right:26px;height:2px;background:repeating-linear-gradient(to right,var(--blue) 0,var(--blue) 8px,transparent 8px,transparent 18px);}
.step{padding-right:20px;}
.step-dot{width:52px;height:52px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center;margin-bottom:22px;position:relative;z-index:1;}
.step-dot span{font-size:18px;font-weight:800;color:#fff;}
.step h3{font-size:15.5px;font-weight:700;color:var(--ink);margin-bottom:8px;}
.step p{font-size:13.5px;color:var(--gray-light);line-height:1.7;}

/* ---------- Stats ---------- */
.stats-bar{background:var(--bg-alt2);padding:56px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:40px;text-align:left;}
.stat-num{font-size:42px;font-weight:800;color:var(--blue);letter-spacing:-1px;}
.stat-label{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:0.6px;color:var(--ink);margin-top:8px;}
.stat-desc{font-size:13.5px;color:var(--gray-light);margin-top:6px;line-height:1.6;}

/* ---------- CTA band ---------- */
.cta-band{background:var(--blue);padding:64px 0;}
.cta-band .eyebrow-inv{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:rgba(255,255,255,0.6);margin-bottom:14px;}
.cta-band h2{font-size:28px;font-weight:800;color:#fff;max-width:600px;margin-bottom:16px;letter-spacing:-0.4px;}
.cta-band p{font-size:15.5px;color:rgba(255,255,255,0.8);max-width:600px;line-height:1.8;margin-bottom:30px;}

.cta-box-section{background:var(--bg-alt);padding:70px 0;}
.cta-box{background:#fff;border:1px solid #e0e6ff;border-radius:16px;padding:48px;display:grid;grid-template-columns:1fr auto;gap:36px;align-items:center;}
.cta-box h2{font-size:24px;font-weight:800;color:var(--ink);margin-bottom:10px;}
.cta-box p{font-size:14.5px;color:var(--gray);line-height:1.75;}

/* ---------- News / actu cards ---------- */
.actu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
.actu-card{border:1px solid var(--border);border-radius:12px;overflow:hidden;}
.actu-img{height:170px;}
.actu-card .body{padding:22px;}
.actu-date{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--blue);margin-bottom:10px;}
.actu-card h3{font-size:16px;font-weight:700;color:var(--ink);line-height:1.4;margin-bottom:8px;}
.actu-card p{font-size:13.5px;color:var(--gray-light);line-height:1.65;}
.actu-feature{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--border);border-radius:14px;overflow:hidden;margin-bottom:40px;}
.actu-feature .media-ph{border-radius:0;min-height:100%;}
.actu-feature .body{padding:40px;display:flex;flex-direction:column;justify-content:center;}
.badge-tag{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;background:var(--blue-light);color:var(--blue);padding:5px 12px;border-radius:6px;text-transform:uppercase;letter-spacing:0.5px;width:max-content;margin-bottom:14px;}
.badge-tag + .actu-date{display:inline-block;margin-left:10px;}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:1.2fr 0.8fr;gap:40px;align-items:start;}
.form-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:36px;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px;}
.field label{display:block;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:0.6px;color:var(--gray);margin-bottom:10px;}
.field input,.field textarea,.field select{width:100%;background:#f3f4f6;border:1px solid var(--border);border-radius:8px;padding:13px 14px;font-size:14.5px;color:var(--ink);font-family:inherit;}
.field select{appearance:none;background-image:url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%236b7280%22 stroke-width=%222%22><path d=%22M6 9l6 6 6-6%22/></svg>');background-repeat:no-repeat;background-position:right 14px center;background-size:16px;padding-right:40px;}
.field textarea{resize:vertical;min-height:130px;}
.field{margin-bottom:22px;}
.info-card{background:var(--blue);color:#fff;border-radius:14px;padding:36px;}
.info-card h3{font-size:18px;font-weight:800;margin-bottom:26px;}
.info-item{display:flex;gap:14px;margin-bottom:24px;}
.info-item svg{width:20px;height:20px;stroke:#fff;flex-shrink:0;margin-top:2px;}
.info-item strong{display:block;font-size:14.5px;font-weight:700;margin-bottom:4px;}
.info-item span,.info-item a{font-size:14px;color:rgba(255,255,255,0.85);line-height:1.6;}
.info-divider{height:1px;background:rgba(255,255,255,0.25);margin:6px 0 24px;}
.social-row{display:flex;gap:10px;}
.social-row a{width:36px;height:36px;border-radius:8px;background:rgba(255,255,255,0.15);display:flex;align-items:center;justify-content:center;}
.social-row svg{width:16px;height:16px;stroke:#fff;}

/* ---------- Footer ---------- */
footer.site-footer{background:#0c1b3d;}
.footer-top{padding:60px 0 44px;display:grid;grid-template-columns:1.3fr 1fr 1fr 1.1fr;gap:40px;}
.footer-brand .logo{display:block;margin-bottom:20px;}
.footer-contact-line{font-size:13.5px;color:rgba(255,255,255,0.65);line-height:1.8;}
.footer-col h4{font-size:11.5px;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:1.3px;margin-bottom:20px;}
.footer-col ul{display:flex;flex-direction:column;gap:11px;}
.footer-col a{font-size:14px;color:rgba(255,255,255,0.65);}
.footer-col a:hover{color:#fff;}
.footer-newsletter-text{font-size:13.5px;color:rgba(255,255,255,0.65);line-height:1.6;margin-bottom:16px;}
.footer-newsletter-form{display:flex;flex-direction:column;gap:10px;}
.footer-newsletter-form input{background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.18);border-radius:8px;padding:11px 14px;font-size:13.5px;font-family:inherit;color:#fff;}
.footer-newsletter-form input::placeholder{color:rgba(255,255,255,0.45);}
.footer-newsletter-form button{width:max-content;padding:10px 20px;font-size:13.5px;}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.12);padding:22px 0;display:flex;justify-content:space-between;align-items:center;gap:24px;font-size:13px;color:rgba(255,255,255,0.55);}
.footer-bottom-left{display:flex;align-items:center;gap:24px;flex-wrap:wrap;}
.footer-bottom .links{display:flex;gap:24px;}
.footer-bottom .links a{color:rgba(255,255,255,0.55);}
.footer-bottom .links a:hover{color:#fff;}
.logo-img{height:38px;width:auto;display:block;}
.logo-img-white{filter:brightness(0) invert(1);height:44px;}
.social-row-footer a{background:rgba(255,255,255,0.1);}
.social-row-footer a:hover{background:rgba(255,255,255,0.2);}
.social-row-footer svg{stroke:#fff;}
@media (max-width:900px){
  .footer-top{grid-template-columns:1fr 1fr;}
  .footer-bottom{flex-direction:column;align-items:flex-start;}
}

/* ---------- Utilities ---------- */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.mt-40{margin-top:40px;}
.link-row{display:flex;align-items:center;gap:0;margin-top:26px;}
.link-row a{font-size:14px;color:var(--gray-light);font-weight:500;padding:0 16px;border-right:1px solid #d1d5db;}
.link-row a:first-child{padding-left:0;}
.link-row a:last-child{border-right:none;}
.link-row a:hover{color:var(--blue);}

@media (max-width:900px){
  .card-grid,.actu-grid,.stats-bar,.steps{grid-template-columns:1fr;}
  .hero-split,.grid-2,.domain-block,.contact-grid,.actu-feature,.cta-box,.form-row{grid-template-columns:1fr;}
  .page-hero{padding:44px 0 40px;}
  .page-hero h1{font-size:28px;letter-spacing:-0.6px;}
  section{padding:52px 0;}
  h2.section-title{font-size:26px;}
  .wrap{padding:0 20px;}
  .hero-media,.media-ph{min-height:200px;}
  .steps::before{display:none;}
  .domain-block{padding:32px 0;}
  .cta-inner,.cta-box{padding:28px;}
  .actu-feature .body{padding:26px;}
  .form-card{padding:24px;}
}

/* ---------- Points clés dynamiques au survol (façon cdc.sn) ---------- */
.pc-row{display:flex;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#fff;margin:28px 0 4px;}
.pc-item{flex:1;border-right:1px solid var(--border);position:relative;}
.pc-item:last-child{border-right:none;}
.pc-q{width:100%;text-align:left;background:none;border:none;font-family:inherit;padding:16px 18px;font-size:13.5px;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:10px;cursor:default;line-height:1.35;}
.pc-num{font-size:11px;font-weight:800;color:var(--blue);opacity:.4;flex-shrink:0;}
.pc-a{max-height:0;opacity:0;overflow:hidden;transition:max-height .25s ease,opacity .2s ease,padding .25s ease;padding:0 18px;}
.pc-a p{font-size:13px;color:var(--gray);line-height:1.65;padding-bottom:0;}
.pc-item:hover,.pc-item:focus-within{background:var(--blue-light);}
.pc-item:hover .pc-q,.pc-item:focus-within .pc-q{color:var(--blue);}
.pc-item:hover .pc-num,.pc-item:focus-within .pc-num{opacity:1;}
.pc-item:hover .pc-a,.pc-item:focus-within .pc-a{max-height:220px;opacity:1;padding:0 18px 16px;}
@media (max-width:900px){
  .pc-row{flex-direction:column;}
  .pc-item{border-right:none;border-bottom:1px solid var(--border);}
  .pc-item:last-child{border-bottom:none;}
}
