/* =====================================================
   IMUNIA — Page de présentation
   Font: Poppins | Palette: Navy #0d2b5e | Green #27ae60
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

.im-page { font-family: 'Poppins', sans-serif; }

/* ── Variables ── */
.im-page {
    --im-navy:   #0d2b5e;
    --im-blue:   #1565C0;
    --im-green:  #27ae60;
    --im-green2: #2ecc71;
    --im-ai-bg:  #040d21;
    --im-light:  #f5f8fa;
    --im-white:  #ffffff;
}

/* ── Helpers ── */
.im-green-text { color: var(--im-green); }
.im-navy-text  { color: var(--im-navy); }
.text-white-60 { color: rgba(255,255,255,.65); }
.im-section-label {
    font-size: 12px; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--im-green);
    display: block; margin-bottom: 10px;
}
.im-section-title {
    font-size: 40px; font-weight: 800; line-height: 1.2;
    color: var(--im-navy); margin-bottom: 16px;
}
.im-section-sub {
    font-size: 17px; color: #556; line-height: 1.7; max-width: 660px;
}
.im-section-sub-dark { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 28px; }
@media(max-width:768px) { .im-section-title { font-size: 28px; } }

/* ── Buttons ── */
.im-btn-green {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--im-green); color: #fff;
    padding: 14px 32px; border-radius: 50px; font-weight: 700;
    font-size: 15px; text-decoration: none;
    box-shadow: 0 6px 24px rgba(39,174,96,.35);
    transition: all .3s;
}
.im-btn-green:hover { background: #219a52; color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(39,174,96,.45); }
.im-btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 2px solid rgba(255,255,255,.6);
    color: #fff; padding: 12px 32px; border-radius: 50px;
    font-weight: 600; font-size: 15px; text-decoration: none; transition: all .3s;
}
.im-btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; text-decoration: none; }
.im-btn-outline-dark {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 2px solid var(--im-navy);
    color: var(--im-navy); padding: 12px 28px; border-radius: 50px;
    font-weight: 600; font-size: 15px; text-decoration: none; transition: all .3s;
}
.im-btn-outline-dark:hover { background: var(--im-navy); color: #fff; text-decoration: none; }
.im-btn-lg { padding: 16px 40px; font-size: 16px; }

/* ========================================================
   SECTION 1 — HERO
   ======================================================== */
.im-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #040e24 0%, #0d2b5e 45%, #0a4a3a 100%);
    position: relative; overflow: hidden;
    display: flex; align-items: center;
    padding: 80px 0 20px;
}
/* Network background animation */
.im-hero-net {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.im-node {
    position: absolute; border-radius: 50%;
    background: rgba(39,174,96,.25); animation: imFloat 6s ease-in-out infinite;
}
.im-node:nth-child(1) { width:10px; height:10px; top:15%; left:10%; animation-delay:0s; }
.im-node:nth-child(2) { width:6px;  height:6px;  top:30%; left:25%; animation-delay:1s; background:rgba(255,255,255,.2); }
.im-node:nth-child(3) { width:14px; height:14px; top:60%; left:8%;  animation-delay:2s; }
.im-node:nth-child(4) { width:8px;  height:8px;  top:20%; left:70%; animation-delay:0.5s; background:rgba(255,255,255,.15); }
.im-node:nth-child(5) { width:12px; height:12px; top:70%; left:80%; animation-delay:1.5s; }
.im-node:nth-child(6) { width:6px;  height:6px;  top:85%; left:45%; animation-delay:2.5s; background:rgba(39,174,96,.3); }
.im-node:nth-child(7) { width:10px; height:10px; top:40%; left:90%; animation-delay:3s; }
.im-node:nth-child(8) { width:8px;  height:8px;  top:5%;  left:50%; animation-delay:0.8s; background:rgba(255,255,255,.2); }
@keyframes imFloat {
    0%,100% { transform: translateY(0) scale(1); opacity:.6; }
    50%      { transform: translateY(-18px) scale(1.15); opacity:1; }
}
/* SVG lines */
.im-hero-net svg { position:absolute; inset:0; width:100%; height:100%; opacity:.08; }

.im-hero-content { position: relative; z-index: 2; }
.im-tag {
    display: inline-block; background: rgba(39,174,96,.18);
    border: 1px solid rgba(39,174,96,.4); color: var(--im-green2);
    padding: 6px 18px; border-radius: 40px; font-size: 12px; font-weight: 600;
    letter-spacing: 1px; margin-bottom: 20px; text-transform: uppercase;
}
/* Logo wordmark */
.im-hero-logo { display: none; }
.im-logo-wordmark {
    font-size: 42px; font-weight: 900; letter-spacing: -1px;
    line-height: 1; margin-bottom: 28px; display: block;
}
.im-logo-wordmark .w1 { color: #fff; }
.im-logo-wordmark .w2 { color: var(--im-green2); }

/* Layout droite */
.im-hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 580px;
    padding-top: 40px;
}

/* Illustration — fondu sur le bord gauche, saigne à droite */
.im-hero-illustration {
    position: absolute;
    right: -80px;
    bottom: 0;
    height: 580px;
    object-fit: contain;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
    mask-image: linear-gradient(to right, transparent 0%, black 40%);
    pointer-events: none;
    opacity: .55;
}
@media(max-width:1199px) { .im-hero-illustration { height: 480px; right: -20px; } }
@media(max-width:991px) {
    .im-hero-illustration {
        display: block;
        height: 55%;
        right: -40px;
        bottom: 0;
        opacity: .18;
        -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%);
        mask-image: linear-gradient(to left, black 30%, transparent 100%);
    }
}

/* Hero — image app animée + cartes flottantes */
.im-hero-phone-wrap {
    position: relative;
    z-index: 2;
    perspective: 900px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-160px);
}
.im-hero-app-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
    animation: phone-float 4s ease-in-out infinite;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Cartes flottantes autour du téléphone */
.im-hero-fc {
    position: absolute;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    animation: imFloatCard 4s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.im-hero-fc-icon { font-size: 18px; }

.im-hero-fc--tl { top: 28%;  left: -140px; animation-delay: 0s; }
.im-hero-fc--tr { top: 5%;  right: -140px; animation-delay: 1.2s; }
.im-hero-fc--bl { bottom: 18%; left: -130px; animation-delay: 0.6s; }

@media (max-width: 991px) {
    .im-hero-right {
        min-height: auto;
        padding: 24px 0 0;
        justify-content: center;
        align-items: center;
    }
    .im-hero-phone-wrap {
        transform: translateX(0);
        display: flex;
        justify-content: center;
    }
    .im-hero-app-img {
        max-width: 180px;
        max-height: 320px;
        object-fit: contain;
    }
    .im-hero-fc { display: none; }
}
@media (max-width: 575px) {
    .im-hero-app-img {
        max-width: 150px;
        max-height: 270px;
    }
}
.im-hero-title {
    font-size: 52px; font-weight: 900; color: #fff; line-height: 1.15;
    margin-bottom: 22px;
}
@media(max-width:991px) {
    .im-hero { min-height: auto; padding: 80px 0 40px; }
    .im-hero-title { font-size: 36px; }
}
@media(max-width:575px) {
    .im-hero { padding: 70px 0 30px; }
    .im-hero-title { font-size: 28px; }
}
.im-hero-desc { font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.75; max-width: 580px; margin-bottom: 36px; }
.im-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.im-hero-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.im-pill {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.85); padding: 6px 14px; border-radius: 30px;
    font-size: 12px; font-weight: 500; backdrop-filter: blur(6px);
}

/* Floating cards autour du téléphone */
.im-float-card.fc1 { top: 6%;   left: -140px; animation-delay: 0s; }
.im-float-card.fc3 { bottom: 22%; left: -140px; animation-delay: .8s; }
.im-phone {
    width: 270px; background: #111827;
    border-radius: 42px; padding: 14px;
    box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 2px rgba(255,255,255,.08);
    position: relative; z-index: 2;
}
.im-phone-notch {
    width: 100px; height: 24px; background: #0a0f1a;
    border-radius: 0 0 16px 16px; margin: 0 auto 8px;
}
.im-phone-screen {
    background: #f0f4f8; border-radius: 28px;
    overflow: hidden; height: 460px; padding: 0;
}
.im-app-header {
    background: var(--im-navy); padding: 12px 14px;
    display: flex; justify-content: space-between; align-items: center;
}
.im-app-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--im-green); color: #fff;
    font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.im-app-greeting { padding: 10px 14px 4px; font-size: 13px; font-weight: 700; color: var(--im-navy); }
.im-app-card {
    margin: 6px 10px; background: var(--im-navy); border-radius: 12px; padding: 12px;
}
.im-app-card-top { display: flex; justify-content: space-between; margin-bottom: 4px; }
.im-app-label { font-size: 9px; color: rgba(255,255,255,.6); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.im-app-date   { font-size: 9px; color: var(--im-green2); font-weight: 700; }
.im-app-vaccine { font-size: 22px; font-weight: 900; color: #fff; margin: 4px 0; }
.im-app-reminder { font-size: 9px; color: rgba(255,255,255,.7); }
.im-app-icons {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 4px; padding: 8px 10px;
}
.im-app-icon { text-align: center; padding: 6px 2px; background: #fff; border-radius: 8px; }
.im-app-icon i { font-size: 16px; display: block; margin-bottom: 2px; }
.im-app-icon span { font-size: 7px; color: #555; font-weight: 600; }
.im-app-coverage { padding: 8px 10px; }
.im-coverage-label { font-size: 9px; font-weight: 700; color: #333; margin-bottom: 4px; }
.im-coverage-bar { height: 6px; background: #ddd; border-radius: 3px; overflow: hidden; margin-bottom: 2px; }
.im-coverage-fill { height: 100%; background: var(--im-green); border-radius: 3px; }
.im-coverage-pct { font-size: 11px; font-weight: 800; color: var(--im-green); }

/* Floating cards */
.im-float-card {
    position: absolute; background: #fff; border-radius: 14px;
    padding: 10px 14px; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2); min-width: 130px;
    animation: imFloatCard 4s ease-in-out infinite;
}
.im-float-card.fc1 { top: 15%; left: -30px; animation-delay: 0s; }
.im-float-card.fc2 { bottom: 20%; left: -40px; animation-delay: 1.5s; }
.im-float-card.fc3 { top: 10%; right: -20px; animation-delay: .8s; }
@keyframes imFloatCard {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.im-float-icon { font-size: 22px; }
.im-float-num  { font-size: 15px; font-weight: 800; color: var(--im-navy); line-height:1; }
.im-float-lbl  { font-size: 10px; color: #888; }
.im-hero-scroll {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%); z-index: 3;
}
.im-scroll-dot {
    width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.4);
    border-radius: 12px; margin: 0 auto; position: relative;
}
.im-scroll-dot::after {
    content: ''; position: absolute; width: 4px; height: 7px;
    background: var(--im-green); border-radius: 2px;
    top: 6px; left: 50%; transform: translateX(-50%);
    animation: imScrollDot 1.6s ease-in-out infinite;
}
@keyframes imScrollDot { 0%,100%{opacity:1;transform:translateX(-50%) translateY(0)} 50%{opacity:.3;transform:translateX(-50%) translateY(10px)} }

/* ========================================================
   SECTION 2 — PROBLÈME
   ======================================================== */
.im-problem {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1628 0%, #0d2b5e 100%);
}
.im-problem .im-section-title { color: #fff; }
.im-problem-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px; padding: 30px; height: 100%;
    transition: all .3s; backdrop-filter: blur(8px);
}
.im-problem-card:hover { background: rgba(255,255,255,.1); transform: translateY(-6px); border-color: rgba(39,174,96,.4); }
.im-problem-icon { font-size: 36px; margin-bottom: 16px; }
.im-problem-card h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.im-problem-card p  { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; margin: 0; }
.im-problem-result {
    background: linear-gradient(135deg, rgba(220,38,38,.15) 0%, rgba(220,38,38,.08) 100%);
    border: 1px solid rgba(220,38,38,.4); border-radius: 18px;
    padding: 30px; display: flex; flex-direction: column; justify-content: center;
    align-items: flex-start; width: 100%;
}
.im-result-icon { font-size: 36px; margin-bottom: 14px; }
.im-result-text { font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.7; font-style: italic; }
.im-result-text strong { color: #f87171; }

/* ========================================================
   SECTION 3 — SOLUTION
   ======================================================== */
.im-solution { padding: 100px 0; background: var(--im-white); }
.im-solution-visual { position: relative; }
.im-qr-card {
    background: #fff; border-radius: 20px; padding: 24px;
    box-shadow: 0 20px 50px rgba(13,43,94,.12);
    border: 1px solid rgba(13,43,94,.08); margin-bottom: 20px;
}
.im-qr-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.im-qr-badge {
    background: rgba(13,43,94,.08); color: var(--im-navy);
    padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700;
}
.im-qr-body { display: flex; gap: 20px; align-items: flex-start; }
.im-qr-info { flex: 1; }
.im-qr-name { font-size: 18px; font-weight: 800; color: var(--im-navy); margin-bottom: 4px; }
.im-qr-id   { font-size: 11px; color: #888; margin-bottom: 14px; font-family: monospace; }
.im-vaccin-chip {
    display: inline-block; padding: 4px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 700; margin: 3px 3px 3px 0;
}
.im-vaccin-chip.done    { background: rgba(39,174,96,.12);  color: var(--im-green); }
.im-vaccin-chip.pending { background: rgba(234,88,12,.1);   color: #ea580c; }
.im-qr-code-box { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.im-qr-svg  { width: 90px; height: 90px; }
.im-qr-scan-label { font-size: 9px; color: #888; text-align: center; line-height: 1.4; }

.im-dashboard-preview {
    background: var(--im-navy); border-radius: 16px; padding: 20px;
    box-shadow: 0 15px 40px rgba(13,43,94,.2);
}
.im-dash-header { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.im-dash-stats  { display: flex; gap: 20px; margin-bottom: 20px; }
.im-dash-num    { font-size: 24px; font-weight: 800; color: var(--im-green2); }
.im-dash-lbl    { font-size: 10px; color: rgba(255,255,255,.5); }
.im-dash-bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.im-bar {
    flex: 1; background: rgba(255,255,255,.15); border-radius: 4px 4px 0 0;
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 3px; transition: background .3s;
}
.im-bar.active { background: var(--im-green); }
.im-bar span { font-size: 8px; color: rgba(255,255,255,.5); }
.im-bar.active span { color: #fff; }

/* Carte QR physique — section solution */
.im-qr-physique-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
    animation: phone-float 5s ease-in-out infinite;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
@media (min-width: 992px) {
    .im-qr-col-offset { padding-top: 200px; }
}
@keyframes qr-float-mobile {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}
@media (max-width: 991px) {
    .im-qr-physique-img {
        max-width: 200px;
        margin: 0 auto;
        animation: qr-float-mobile 5s ease-in-out infinite;
    }
}

.im-solution-features { display: flex; flex-direction: column; gap: 20px; }
.im-sol-feature { display: flex; gap: 16px; align-items: flex-start; }
.im-sol-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 12px;
    background: rgba(39,174,96,.1); display: flex; align-items: center;
    justify-content: center; font-size: 20px;
}
.im-sol-feature strong { font-size: 15px; font-weight: 700; color: var(--im-navy); display: block; margin-bottom: 4px; }
.im-sol-feature p { font-size: 13px; color: #666; margin: 0; line-height: 1.6; }

/* ========================================================
   SECTION 4 — COMMENT ÇA FONCTIONNE
   ======================================================== */
.im-how { padding: 100px 0; background: var(--im-light); }
.im-how .im-section-title { color: var(--im-navy); }
.im-how-timeline {
    display: flex; flex-wrap: wrap; gap: 0;
    position: relative; margin-top: 50px;
}
.im-how-step {
    flex: 1; min-width: 160px; text-align: center;
    padding: 30px 16px; background: #fff;
    border-radius: 20px; margin: 6px; position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,.06); transition: all .3s;
}
.im-how-step:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(13,43,94,.12); }
.im-how-num {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--im-navy); color: #fff;
    font-size: 14px; font-weight: 800; display: flex;
    align-items: center; justify-content: center; margin: 0 auto 12px;
}
.im-how-icon { font-size: 28px; margin-bottom: 10px; }
.im-how-step h4 { font-size: 15px; font-weight: 700; color: var(--im-navy); margin-bottom: 8px; }
.im-how-step p  { font-size: 12px; color: #666; line-height: 1.6; margin: 0; }

/* ========================================================
   SECTION 5 — POUR QUI
   ======================================================== */
.im-who { padding: 100px 0; background: #fff; }
.im-who .im-section-title { color: var(--im-navy); }
.im-who-card {
    background: var(--im-light); border-radius: 22px; padding: 36px;
    height: 100%; transition: all .3s; position: relative;
    border: 2px solid transparent;
}
.im-who-card:hover { border-color: var(--im-green); box-shadow: 0 20px 40px rgba(39,174,96,.1); transform: translateY(-6px); }
.im-who-featured {
    background: var(--im-navy); border-color: var(--im-navy) !important;
    box-shadow: 0 20px 50px rgba(13,43,94,.25);
}
.im-who-featured h3, .im-who-featured .im-who-list li { color: #fff; }
.im-who-featured .im-check { color: var(--im-green2); }
.im-who-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--im-green); color: #fff; padding: 4px 18px;
    border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap;
}
.im-who-icon { font-size: 44px; margin-bottom: 16px; display: block; }
.im-who-card h3 { font-size: 20px; font-weight: 800; color: var(--im-navy); margin-bottom: 20px; }
.im-who-list { list-style: none; padding: 0; margin: 0; }
.im-who-list li { font-size: 14px; color: #555; padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,.06); display: flex; gap: 10px; }
.im-who-list li:last-child { border: none; }
.im-check { color: var(--im-green); font-weight: 900; font-size: 14px; flex-shrink: 0; }

/* ========================================================
   SECTION 6 — IA (INVESTISSEURS)
   ======================================================== */
.im-ai {
    padding: 120px 0;
    background: var(--im-ai-bg);
    position: relative; overflow: hidden;
}
.im-ai-glow {
    position: absolute; border-radius: 50%; pointer-events: none;
    filter: blur(80px); opacity: .25;
}
.im-ai-glow.g1 { width:500px; height:500px; background:#1565C0; top:-100px; left:-100px; }
.im-ai-glow.g2 { width:400px; height:400px; background:#27ae60; bottom:-80px; right:-80px; }
.im-ai-glow.g3 { width:300px; height:300px; background:#7c3aed; top:40%; left:40%; }
.im-ai-grid-overlay {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 50px 50px;
}
.im-ai-badge {
    display: inline-block; background: rgba(39,174,96,.15);
    border: 1px solid rgba(39,174,96,.4); color: var(--im-green2);
    padding: 6px 20px; border-radius: 40px; font-size: 12px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 28px;
}
.im-ai-equation {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 16px; margin-bottom: 12px;
}
.im-ai-word  { font-size: 52px; font-weight: 900; color: #fff; line-height: 1; }
.im-ai-immunity { color: var(--im-green2); }
.im-ai-ia {
    color: #60a5fa;
    text-shadow: 0 0 30px rgba(96,165,250,.5);
    animation: imGlow 2.5s ease-in-out infinite;
}
@keyframes imGlow { 0%,100%{text-shadow:0 0 20px rgba(96,165,250,.4)} 50%{text-shadow:0 0 50px rgba(96,165,250,.9)} }
.im-ai-equals { font-size: 52px; font-weight: 900; color: rgba(255,255,255,.4); }
.im-ai-plus   { font-size: 52px; font-weight: 900; color: rgba(255,255,255,.4); }
.im-ai-tagline {
    font-size: 14px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
    color: rgba(255,255,255,.5); margin-bottom: 16px;
}
.im-ai-tagline strong { color: #60a5fa; }
.im-ai-desc { font-size: 18px; color: rgba(255,255,255,.65); line-height: 1.7; max-width: 600px; margin: 0 auto 60px; }
@media(max-width:768px) { .im-ai-word { font-size: 32px; } .im-ai-equals,.im-ai-plus { font-size: 32px; } }

.im-ai-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(var(--ai-color-rgb, 255,255,255),.15);
    border-left: 3px solid var(--ai-color, #27ae60);
    border-radius: 18px; padding: 28px; height: 100%;
    position: relative; overflow: hidden; transition: all .35s;
    backdrop-filter: blur(10px);
}
.im-ai-card:hover {
    background: rgba(255,255,255,.08);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 20px rgba(var(--ai-color-rgb,39,174,96),.2);
}
.im-ai-card-glow {
    position: absolute; top: -30px; right: -30px;
    width: 100px; height: 100px; border-radius: 50%;
    background: var(--ai-color, #27ae60);
    filter: blur(40px); opacity: 0; transition: opacity .35s;
}
.im-ai-card:hover .im-ai-card-glow { opacity: .15; }
.im-ai-card-icon  { font-size: 36px; margin-bottom: 14px; display: block; }
.im-ai-card-title { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.im-ai-card-desc  { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; margin: 0; }
.im-ai-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.im-ai-lang {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.7); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
}
.im-ai-quote {
    margin-top: 60px; padding: 40px;
    background: rgba(255,255,255,.04); border-radius: 20px;
    border: 1px solid rgba(255,255,255,.1);
}
.im-ai-quote blockquote {
    font-size: 26px; font-style: italic; color: rgba(255,255,255,.7);
    line-height: 1.5; margin: 0;
}
.im-ai-quote blockquote strong { color: var(--im-green2); font-style: normal; }

/* ========================================================
   SECTION 7 — IMPACT
   ======================================================== */
.im-impact { padding: 100px 0; background: var(--im-light); }
.im-impact .im-section-title { color: var(--im-navy); }
.im-impact-card {
    background: #fff; border-radius: 20px; padding: 32px;
    height: 100%; box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transition: all .3s; text-align: center;
    border-bottom: 4px solid transparent;
}
.im-impact-card:hover { transform: translateY(-8px); border-bottom-color: var(--im-green); box-shadow: 0 20px 40px rgba(39,174,96,.12); }
.im-impact-icon { font-size: 42px; margin-bottom: 16px; display: block; }
.im-impact-card h4 { font-size: 17px; font-weight: 800; color: var(--im-navy); margin-bottom: 10px; }
.im-impact-card p  { font-size: 14px; color: #666; line-height: 1.7; margin: 0; }

/* ========================================================
   SECTION 8 — POURQUOI IMUNIA
   ======================================================== */
.im-why { padding: 100px 0; background: #fff; }
.im-africa-visual { position: relative; display: flex; justify-content: center; }
.im-africa-img { max-width: 520px; width: 100%; filter: drop-shadow(0 20px 40px rgba(13,43,94,.2)); }
.im-africa-dots { position: absolute; inset: 0; pointer-events: none; }
.im-dot {
    position: absolute; width: 12px; height: 12px;
    background: var(--im-green); border-radius: 50%;
    box-shadow: 0 0 12px rgba(39,174,96,.6);
    animation: imPulse 2s ease-in-out infinite;
}
.im-dot::after {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid var(--im-green); opacity: .4; animation: imRipple 2s ease-out infinite;
}
.im-dot.d1 { animation-delay: 0s; }
.im-dot.d2 { animation-delay: .4s; }
.im-dot.d3 { animation-delay: .8s; }
.im-dot.d4 { animation-delay: 1.2s; }
.im-dot.d5 { animation-delay: 1.6s; }
.im-dot.d6 { animation-delay: .6s; }
@keyframes imPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.3)} }
@keyframes imRipple { 0%{transform:scale(1);opacity:.4} 100%{transform:scale(2.5);opacity:0} }

.im-why-list { display: flex; flex-direction: column; gap: 20px; }
.im-why-item { display: flex; gap: 16px; align-items: flex-start; }
.im-why-icon {
    width: 48px; height: 48px; min-width: 48px; border-radius: 14px;
    background: rgba(39,174,96,.1); display: flex; align-items: center;
    justify-content: center; font-size: 22px;
}
.im-why-item h5 { font-size: 15px; font-weight: 700; color: var(--im-navy); margin-bottom: 4px; }
.im-why-item p  { font-size: 13px; color: #666; line-height: 1.6; margin: 0; }

/* ========================================================
   SECTION 9 — VISION
   ======================================================== */
.im-vision {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1628 0%, #0d2b5e 60%, #0a4a3a 100%);
    position: relative; overflow: hidden;
}
.im-vision::before {
    content: ''; position: absolute; inset: 0;
    background: url('../img/header/digit.png') center/cover no-repeat;
    opacity: .04; pointer-events: none;
}
.im-vision .im-section-title { color: #fff; font-size: 38px; }
.im-vision-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px; padding: 32px; text-align: center;
    transition: all .3s; backdrop-filter: blur(8px);
}
.im-vision-card:hover { background: rgba(39,174,96,.12); border-color: rgba(39,174,96,.4); transform: translateY(-6px); }
.im-vision-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.im-vision-num   { font-size: 42px; font-weight: 900; color: var(--im-green2); line-height: 1; }
.im-vision-label { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.8); margin: 8px 0 6px; }
.im-vision-desc  { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.6; }
.im-vision-pillars {
    display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 50px;
    padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1);
}
.im-pillar { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.im-pillar-icon { font-size: 28px; }
.im-pillar span:last-child { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }

/* ========================================================
   SECTION 10 — DOWNLOAD
   ======================================================== */
.im-download { padding: 100px 0; background: var(--im-white); }
.im-download .im-section-title { color: var(--im-navy); }
.im-store-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

.im-soon-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #e8e8ea;
    border: 1.5px solid #d0d0d4;
    color: #999;
    padding: 12px 20px;
    border-radius: 14px;
    cursor: not-allowed;
    min-width: 180px;
    opacity: .75;
}
.im-soon-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #aaa;
}
.im-soon-store {
    font-size: 16px;
    font-weight: 700;
    color: #888;
    line-height: 1.2;
}

.im-play-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #111; color: #fff; padding: 10px 20px;
    border-radius: 12px; font-family: 'Poppins', sans-serif;
}
.im-qr-scan-info {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 20px; background: var(--im-light);
    border-radius: 14px; display: inline-flex;
}
.im-qr-scan-info span { font-size: 13px; font-weight: 600; color: var(--im-navy); }
.im-dl-phone-wrap {
    perspective: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.im-dl-phone-img {
    max-width: 300px;
    max-height: 480px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    animation: phone-float 4s ease-in-out infinite;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
@media (max-width: 991px) {
    .im-dl-phone-wrap { padding: 10px 0; width: 100%; }
    .im-dl-phone-img {
        max-width: none;
        max-height: 75vh;
        width: 58%;
    }
}
@media (max-width: 575px) {
    .im-dl-phone-img { width: 72%; }
}

/* ========================================================
   SECTION 11 — CTA FINAL
   ======================================================== */
.im-cta-final {
    padding: 120px 0;
    background: linear-gradient(135deg, #040e24 0%, #0d2b5e 50%, #0a3d2a 100%);
    position: relative; overflow: hidden;
}
.im-cta-final::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(39,174,96,.08) 0%, transparent 60%);
    animation: imRotate 20s linear infinite;
}
@keyframes imRotate { from{transform:rotate(0)} to{transform:rotate(360deg)} }
.im-cta-icon  { font-size: 56px; margin-bottom: 20px; display: block; }
.im-cta-title {
    font-size: 46px; font-weight: 900; color: #fff;
    line-height: 1.25; margin-bottom: 20px;
}
.im-cta-highlight { color: var(--im-green2); display: block; font-size: 36px; }
.im-cta-sub {
    font-size: 17px; color: rgba(255,255,255,.6); line-height: 1.8;
    max-width: 700px; margin: 0 auto 40px;
}
.im-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.im-cta-contact-row { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 30px; }
.im-cta-contact-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: 14px; }
.im-cta-tagline {
    font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,.35);
}
.im-cta-tagline .im-green-text { color: var(--im-green2); }
@media(max-width:768px) {
    .im-cta-title { font-size: 30px; }
    .im-cta-highlight { font-size: 26px; }
    .im-float-card { display: none; }
}

/* ========================================================
   SOLUTION — CAROUSELS
   ======================================================== */

/* Tag label au-dessus de chaque carrousel */
.im-carousel-tag {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}
.im-carousel-tag span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--im-navy);
    background: rgba(13,43,94,.07);
    border: 1px solid rgba(13,43,94,.1);
    padding: 5px 16px;
    border-radius: 30px;
}

/* ── Carrousel 1 : App mobile ──
   col-lg-4 (~365px large).
   contain + object-position top : téléphone entier lisible.
   À 560px de hauteur : image (8) à 374px → réduit à 365px (colonne pleine),
   images (4-7) à 256px (70 % de la colonne). ── */
.im-swiper-top {
    overflow: hidden;
}
.im-slide-frame {
    width: 100%;
    height: 560px;
    position: relative;
    overflow: visible;
    background: transparent;
    perspective: 900px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.im-slide-img {
    position: relative;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    display: block;
    animation: phone-float 4s ease-in-out infinite;
    will-change: transform;
    transform-origin: center bottom;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.im-swiper-top .swiper-slide:not(.swiper-slide-active) .im-slide-img {
    animation-play-state: paused;
}

@keyframes phone-float {
    0%, 100% {
        transform: rotateY(-5deg) rotateX(2deg) translateY(0px);
    }
    50% {
        transform: rotateY(-2deg) rotateX(1deg) translateY(-14px);
    }
}

/* ── Carrousel 2 : Dashboard ──
   col-lg-8 (~730px large).
   contain : tableau entier visible à 341px de haut dans 560px.
   Fond très léger pour l'espace restant en bas. ── */
.im-swiper-bottom {
    overflow: hidden;
}

/* ── Mockup tablette ── */
.im-tablet-scene {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 8px 36px;
}

.im-tablet {
    width: 100%;
    max-width: 620px;
    background: linear-gradient(160deg, #2e2e32 0%, #1a1a1e 100%);
    border-radius: 22px;
    padding: 10px 10px 16px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.07),
        0 0 0 2px #0d0d0d,
        0 32px 90px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.08);
    transform: perspective(1200px) rotateY(-10deg) rotateX(4deg);
    transform-style: preserve-3d;
    transition: transform 0.12s ease-out;
    will-change: transform;
}

.im-tablet-camera {
    width: 6px;
    height: 6px;
    background: #2a2a2e;
    border-radius: 50%;
    margin: 0 auto 8px;
    box-shadow: 0 0 0 1px #444;
}

.im-tablet-screen {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.im-tablet-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.im-tablet-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 55%);
    pointer-events: none;
}

/* ── Animations flottement tablette mobile ── */
@keyframes tablet-float-lg {
    0%, 100% { transform: perspective(900px) rotateY(-14deg) rotateX(6deg) translateY(0px); }
    50%       { transform: perspective(900px) rotateY(-9deg)  rotateX(3deg) translateY(-10px); }
}
@keyframes tablet-float-md {
    0%, 100% { transform: perspective(800px) rotateY(-16deg) rotateX(7deg) translateY(0px); }
    50%       { transform: perspective(800px) rotateY(-10deg) rotateX(4deg) translateY(-10px); }
}
@keyframes tablet-float-sm {
    0%, 100% { transform: perspective(700px) rotateY(-18deg) rotateX(8deg) translateY(0px); }
    50%       { transform: perspective(700px) rotateY(-11deg) rotateX(4deg) translateY(-10px); }
}

@media (max-width: 991px) {
    .im-tablet-scene { padding: 24px 20px 48px; }
    .im-tablet {
        max-width: 78%;
        box-shadow:
            0 0 0 1px rgba(255,255,255,.07),
            0 0 0 2px #0d0d0d,
            0 20px 50px rgba(0,0,0,.4),
            inset 0 1px 0 rgba(255,255,255,.08);
        animation: tablet-float-lg 4s ease-in-out infinite;
    }
}
@media (max-width: 767px) {
    .im-tablet-scene { padding: 16px 12px 40px; }
    .im-tablet {
        max-width: 82%;
        border-radius: 18px;
        animation: tablet-float-md 4s ease-in-out infinite;
    }
}
@media (max-width: 575px) {
    .im-tablet-scene { padding: 12px 8px 32px; }
    .im-tablet {
        max-width: 88%;
        border-radius: 16px;
        padding: 8px 8px 12px;
        animation: tablet-float-sm 4s ease-in-out infinite;
    }
}

/* ── Pagination (identique pour les deux carousels) ── */
.im-pag-top,
.im-pag-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    min-height: 14px;
}
.im-pag-top .swiper-pagination-bullet,
.im-pag-bottom .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(13,43,94,.2);
    opacity: 1;
    border-radius: 4px;
    cursor: pointer;
    transition: width .35s ease, background .35s ease;
    display: inline-block;
    flex-shrink: 0;
}
.im-pag-top .swiper-pagination-bullet-active,
.im-pag-bottom .swiper-pagination-bullet-active {
    background: var(--im-green);
    width: 24px;
    border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .im-slide-frame {
        height: auto;
        aspect-ratio: 9 / 19;
        max-height: 75vh;
        width: 58%;
        margin: 0 auto;
    }
    .im-slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        animation: phone-float-sm 4s ease-in-out infinite;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}
@media (max-width: 575px) {
    .im-slide-frame { width: 72%; }
    .im-carousel-tag span { font-size: 10px; padding: 4px 12px; letter-spacing: 1.5px; }
}

@keyframes phone-float-sm {
    0%, 100% { transform: rotateY(-8deg) rotateX(3deg) translateY(0px); }
    50%       { transform: rotateY(-4deg) rotateX(1deg) translateY(-10px); }
}