/* =============================================
   ZentralPro — Surcouche personnalisée
   Charte : bleu nuit / cyan accent, radius doux
   ============================================= */

:root {
    --zp-primary: #0b2a6a;          /* bleu nuit ZentralPro */
    --zp-primary-soft: #1f4ab8;
    --zp-accent: #00c2ff;           /* cyan accent */
    --zp-accent-glow: rgba(0, 194, 255, 0.18);
    --zp-dark: #0a1633;
    --zp-text: #2b3653;
    --zp-muted: #6b7691;
    --zp-bg-soft: #f5f8ff;
    --zp-radius: 20px;
    --zp-radius-sm: 12px;
    --zp-shadow-soft: 0 14px 38px -18px rgba(11, 42, 106, 0.35);
}

/* ----- Typo & base ----- */
html, body {
    overflow-x: hidden;          /* coupe le scroll horizontal créé par les décors .zp-shape débordants */
    max-width: 100%;
}
body {
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--zp-text);
    background: #ffffff;
}

/* Toute section qui contient des décors en position absolue se contient elle-même */
.zp-section,
.zp-section-sm,
.zp-hero,
.zp-pagebanner {
    position: relative;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6,
.title, .site-heading .title {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    color: var(--zp-dark);
    letter-spacing: -0.01em;
}

.sub-title {
    color: var(--zp-accent) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
}

/* ----- Boutons ----- */
.zp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    border: 0;
    cursor: pointer;
}
.zp-btn-primary {
    background: linear-gradient(135deg, var(--zp-primary) 0%, var(--zp-primary-soft) 100%);
    color: #fff;
    box-shadow: 0 12px 32px -14px rgba(11, 42, 106, 0.55);
}
.zp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -16px rgba(11, 42, 106, 0.7);
    color: #fff;
}
.zp-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}
.zp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.zp-btn-accent {
    background: var(--zp-accent);
    color: var(--zp-dark);
    box-shadow: 0 14px 32px -12px var(--zp-accent-glow);
}
.zp-btn-accent:hover {
    transform: translateY(-2px);
    color: var(--zp-dark);
}

/* ----- Topbar ----- */
.zp-topbar {
    background: var(--zp-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    padding: 10px 0;
}
.zp-topbar a { color: inherit; text-decoration: none; }
.zp-topbar a:hover { color: var(--zp-accent); }
.zp-topbar ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.zp-topbar i { color: var(--zp-accent); margin-right: 8px; }
.zp-topbar .right { justify-content: flex-end; }

/* ----- Navbar ----- */
.zp-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(11, 42, 106, 0.08);
    transition: box-shadow .3s ease;
}
.zp-nav.is-scrolled {
    box-shadow: 0 8px 30px -18px rgba(11, 42, 106, 0.45);
}
.zp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.zp-brand img { height: 36px; }
.zp-menu {
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.zp-menu > li > a {
    color: var(--zp-dark);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
}
.zp-menu > li > a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--zp-accent);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .3s ease;
}
.zp-menu > li > a:hover::after,
.zp-menu > li.active > a::after {
    transform: scaleX(1);
    transform-origin: left center;
}
.zp-nav-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}
.zp-burger {
    display: none;
    background: transparent;
    border: 0;
    font-size: 22px;
    color: var(--zp-dark);
}
@media (max-width: 991px) {
    .zp-menu {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: 84%;
        max-width: 360px;
        background: #fff;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 18px;
        transform: translateX(105%);
        transition: transform .35s ease;
        box-shadow: -20px 0 60px -30px rgba(11, 42, 106, 0.5);
    }
    .zp-menu.is-open { transform: translateX(0); }
    .zp-burger { display: inline-flex; }
    .zp-nav-cta .zp-btn { display: none; }
}

/* ----- Hero ----- */
.zp-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(10, 22, 51, 0.85), rgba(11, 42, 106, 0.55)),
        url('../img/banner/1.jpg') center/cover no-repeat;
}
.zp-hero::after {
    content: '';
    position: absolute;
    inset: auto -20% -40% auto;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--zp-accent-glow) 0%, transparent 60%);
    pointer-events: none;
}
.zp-hero .badge-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--zp-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    margin-bottom: 18px;
}
.zp-hero .badge-line::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--zp-accent);
}
.zp-hero h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 22px;
}
.zp-hero p.lead {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin-bottom: 34px;
}
.zp-hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ----- Sections ----- */
.zp-section { padding: 110px 0; }
.zp-section-sm { padding: 80px 0; }
.zp-section-bg { background: var(--zp-bg-soft); }
.zp-section-dark { background: var(--zp-dark); color: #fff; }
.zp-section-dark h2, .zp-section-dark .title { color: #fff; }

.zp-heading {
    margin-bottom: 60px;
}
.zp-heading .title {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    margin-top: 8px;
}

/* ----- Cartes services ----- */
.zp-card {
    background: #fff;
    border-radius: var(--zp-radius);
    padding: 36px 30px;
    box-shadow: var(--zp-shadow-soft);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
    border: 1px solid rgba(11, 42, 106, 0.05);
}
.zp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px -22px rgba(11, 42, 106, 0.45);
}
.zp-card .icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    color: #fff;
    font-size: 26px;
    margin-bottom: 22px;
    box-shadow: 0 10px 24px -10px var(--zp-accent-glow);
}
.zp-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.zp-card p {
    color: var(--zp-muted);
    margin-bottom: 18px;
    font-size: 15px;
}
.zp-card .more {
    color: var(--zp-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.zp-card .more:hover { color: var(--zp-accent); }

/* ----- Highlight cards : design clair avec accents cyan ----- */
.zp-highlight {
    background: #ffffff;
    color: var(--zp-text);
    border-radius: var(--zp-radius);
    padding: 40px;
    border: 1px solid rgba(11, 42, 106, 0.08);
    box-shadow: var(--zp-shadow-soft);
}
.zp-highlight h3 { color: var(--zp-primary); }
.zp-highlight ul {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
}
.zp-highlight li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--zp-text);
}
.zp-highlight li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', sans-serif;
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--zp-accent);
}

/* ----- Stats ----- */
.zp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    background: #fff;
    border-radius: var(--zp-radius);
    padding: 38px;
    box-shadow: var(--zp-shadow-soft);
}
.zp-stat .num {
    font-size: 42px;
    font-weight: 700;
    color: var(--zp-primary);
    line-height: 1;
}
.zp-stat .num span { color: var(--zp-accent); }
.zp-stat .lab {
    color: var(--zp-muted);
    font-size: 14px;
    margin-top: 6px;
}

/* ----- Process ----- */
.zp-step {
    display: flex;
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(11, 42, 106, 0.08);
}
.zp-step:last-child { border-bottom: 0; }
.zp-step .num {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}
.zp-step h4 { margin-bottom: 8px; font-size: 18px; }
.zp-step p { color: var(--zp-muted); font-size: 15px; margin: 0; }

/* ----- CTA strip ----- */
.zp-cta {
    background: linear-gradient(135deg, var(--zp-primary) 0%, var(--zp-dark) 100%);
    border-radius: var(--zp-radius);
    padding: 56px 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.zp-cta::before {
    content: '';
    position: absolute;
    inset: -40% -10% auto auto;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--zp-accent-glow) 0%, transparent 70%);
}
.zp-cta h2 { color: #fff; margin-bottom: 14px; }
.zp-cta p { color: rgba(255, 255, 255, 0.78); margin-bottom: 0; }

/* ----- Page banner (sous-pages) ----- */
.zp-pagebanner {
    position: relative;
    color: #fff;
    padding: 120px 0 80px;
    background:
        linear-gradient(120deg, rgba(10, 22, 51, 0.92), rgba(11, 42, 106, 0.7)),
        url('../img/banner/2.jpg') center/cover no-repeat;
}
.zp-pagebanner h1 { color: #fff; font-size: clamp(32px, 4vw, 52px); margin-bottom: 12px; }
.zp-breadcrumb { color: rgba(255, 255, 255, 0.78); font-size: 14px; }
.zp-breadcrumb a { color: var(--zp-accent); text-decoration: none; }

/* ----- Form ----- */
.zp-form .form-control,
.zp-form input,
.zp-form textarea,
.zp-form select {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--zp-radius-sm);
    border: 1px solid rgba(11, 42, 106, 0.15);
    background: #fff;
    font-size: 15px;
    color: var(--zp-text);
    transition: border-color .25s ease, box-shadow .25s ease;
    margin-bottom: 16px;
}
.zp-form input:focus,
.zp-form textarea:focus,
.zp-form select:focus {
    outline: none;
    border-color: var(--zp-accent);
    box-shadow: 0 0 0 4px var(--zp-accent-glow);
}
.zp-form textarea { min-height: 140px; resize: vertical; }

/* ----- Footer ----- */
.zp-footer {
    background: var(--zp-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0;
}
.zp-footer h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.zp-footer h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 32px; height: 2px;
    background: var(--zp-accent);
}
.zp-footer ul { list-style: none; padding: 0; margin: 0; }
.zp-footer ul li { margin-bottom: 10px; }
.zp-footer ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
}
.zp-footer ul a:hover { color: var(--zp-accent); padding-left: 4px; }
.zp-footer .brand-row { margin-bottom: 30px; }
.zp-footer .brand-row img { height: 38px; filter: brightness(0) invert(1); }
.zp-footer .social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}
.zp-footer .social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background .25s ease, transform .25s ease;
}
.zp-footer .social a:hover {
    background: var(--zp-accent);
    color: var(--zp-dark);
    transform: translateY(-3px);
}
.zp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 60px;
    padding: 22px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

/* ----- Logo (texte) ----- */
.zp-logo-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--zp-dark);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.01em;
}
.zp-logo-text .dot {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 8px 22px -10px var(--zp-accent-glow);
}
.zp-logo-text strong { color: var(--zp-primary); }
.zp-logo-text em { color: var(--zp-accent); font-style: normal; }
.zp-footer .zp-logo-text { color: #fff; }
.zp-footer .zp-logo-text strong { color: #fff; }

/* ----- Anim. on view ----- */
.zp-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
}
.zp-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Utilities ----- */
.zp-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--zp-accent-glow);
    color: var(--zp-primary);
    font-size: 13px;
    font-weight: 600;
}
.zp-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.zp-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
}

/* ----- Realisations ----- */
.zp-project {
    border-radius: var(--zp-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--zp-shadow-soft);
    transition: transform .3s ease;
}
.zp-project:hover { transform: translateY(-6px); }
.zp-project .thumb {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    position: relative;
}
.zp-project .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.zp-project .body { padding: 24px; }
.zp-project .tag {
    color: var(--zp-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.zp-project h3 {
    font-size: 18px;
    margin: 8px 0 10px;
}

/* ----- Témoignages ----- */
.zp-testi {
    background: #fff;
    border-radius: var(--zp-radius);
    padding: 32px;
    box-shadow: var(--zp-shadow-soft);
    border: 1px solid rgba(11, 42, 106, 0.05);
}
.zp-testi .quote {
    color: var(--zp-accent);
    font-size: 32px;
    line-height: 1;
    margin-bottom: 14px;
}
.zp-testi p { color: var(--zp-text); margin-bottom: 22px; }
.zp-testi .who { display: flex; align-items: center; gap: 14px; }
.zp-testi .who .avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.zp-testi .who h5 { margin: 0; font-size: 15px; }
.zp-testi .who span { color: var(--zp-muted); font-size: 13px; }

/* ----- Responsive helpers ----- */
@media (max-width: 767px) {
    .zp-section { padding: 70px 0; }
    .zp-cta { padding: 38px 28px; }
    .zp-stats { padding: 28px; }
    .zp-pagebanner { padding: 90px 0 60px; }
}

/* =============================================
   Animations & micro-interactions avancées
   ============================================= */

/* --- Keyframes globales --- */
@keyframes zp-float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-18px) rotate(3deg); }
}
@keyframes zp-float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-26px); }
}
@keyframes zp-pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 var(--zp-accent-glow); }
    50% { box-shadow: 0 0 0 18px transparent; }
}
@keyframes zp-spin-slow {
    to { transform: rotate(360deg); }
}
@keyframes zp-blob {
    0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
    33% { border-radius: 70% 30% 46% 54% / 30% 65% 35% 70%; }
    66% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}
@keyframes zp-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes zp-shine {
    0% { transform: translateX(-100%) skewX(-20deg); }
    100% { transform: translateX(220%) skewX(-20deg); }
}
@keyframes zp-text-shine {
    to { background-position: 200% center; }
}
@keyframes zp-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes zp-typing-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* --- Formes décoratives flottantes --- */
.zp-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.zp-shape.blob {
    background: linear-gradient(135deg, var(--zp-accent), var(--zp-primary-soft));
    opacity: 0.2;
    filter: blur(12px);
    animation: zp-blob 14s ease-in-out infinite;
}
.zp-shape.dot-grid {
    width: 180px; height: 180px;
    background-image: radial-gradient(circle, var(--zp-primary) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: 0.15;
}
.zp-shape.float { animation: zp-float 8s ease-in-out infinite; }
.zp-shape.float-slow { animation: zp-float-slow 12s ease-in-out infinite; }
.zp-shape.spin-slow { animation: zp-spin-slow 30s linear infinite; }

/* --- Hero enrichi --- */
.zp-hero {
    position: relative;
}
.zp-hero .zp-hero-illu {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: 42%;
    max-width: 560px;
    z-index: 1;
    pointer-events: none;
}
.zp-hero .zp-hero-illu .frame {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: rotate(-3deg);
    animation: zp-float-slow 9s ease-in-out infinite;
}
.zp-hero .zp-hero-illu .frame img {
    display: block;
    width: 100%;
    height: auto;
}
.zp-hero .zp-hero-illu .badge-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    color: var(--zp-dark);
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
    animation: zp-float 6s ease-in-out infinite;
}
.zp-hero .zp-hero-illu .badge-card.b1 {
    top: -10%; left: -8%;
    animation-delay: 0s;
}
.zp-hero .zp-hero-illu .badge-card.b2 {
    bottom: 4%; left: -14%;
    animation-delay: 1.5s;
}
.zp-hero .zp-hero-illu .badge-card.b3 {
    top: 35%; right: -10%;
    animation-delay: 3s;
}
.zp-hero .zp-hero-illu .badge-card .ico {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
}
.zp-hero .zp-hero-illu .badge-card small {
    display: block;
    color: var(--zp-muted);
    font-weight: 500;
    font-size: 12px;
}
@media (max-width: 1199px) {
    .zp-hero .zp-hero-illu { display: none; }
}

/* --- Texte gradient + effet shine --- */
.zp-grad-text {
    background: linear-gradient(90deg, var(--zp-accent), #ffffff, var(--zp-accent));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: zp-text-shine 6s linear infinite;
}

/* --- Boutons : effet shine au hover --- */
.zp-btn { position: relative; overflow: hidden; }
.zp-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-150%) skewX(-20deg);
    pointer-events: none;
    z-index: 1;
}
.zp-btn:hover::before { animation: zp-shine 0.8s ease forwards; }
.zp-btn > * { position: relative; z-index: 2; }
.zp-btn i { transition: transform .3s ease; }
.zp-btn:hover i.fa-arrow-right { transform: translateX(4px); }

/* --- Cartes services : hover enrichi --- */
.zp-card {
    position: relative;
    overflow: hidden;
}
.zp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--zp-primary), var(--zp-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s cubic-bezier(.22,.9,.32,1);
}
.zp-card:hover::before { transform: scaleX(1); }
.zp-card .icon {
    transition: transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
    position: relative;
}
.zp-card .icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    background: var(--zp-accent-glow);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: -1;
}
.zp-card:hover .icon {
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 18px 36px -12px rgba(0, 194, 255, 0.55);
}
.zp-card:hover .icon::after { opacity: 1; }
.zp-card h3, .zp-card .more {
    transition: color .25s ease, transform .35s ease;
}
.zp-card:hover h3 { color: var(--zp-primary); }
.zp-card:hover .more {
    color: var(--zp-accent);
    transform: translateX(4px);
}
.zp-card .more i { transition: transform .3s ease; }
.zp-card:hover .more i { transform: translateX(4px); }

/* Variante carte "glass" pour overlay clair */
.zp-card.zp-card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Bandeau image en haut de la carte service */
.zp-card.has-img {
    padding-top: 0;
    display: flex;
    flex-direction: column;
}
.zp-card.has-img .card-img {
    margin: 0 -30px 24px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
}
.zp-card.has-img .card-img img {
    position: absolute;             /* verrouillé sur le cadre, plus aucun décalage */
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .8s ease;
}
.zp-card.has-img:hover .card-img img {
    transform: scale(1.05);
}
.zp-card.has-img .card-img::before,
.zp-card.has-img .card-img::after {
    content: none;
}

/* Footer de la carte service : "En savoir plus" à gauche, icône à droite */
.zp-card.has-img .card-footer {
    margin-top: auto;              /* pousse en bas de la carte */
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(11, 42, 106, 0.06);
}
.zp-card.has-img .card-footer .more {
    margin: 0;
}
.zp-card.has-img .icon-mini {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex: 0 0 48px;
    margin-bottom: 0;
    font-size: 20px;
    transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
}
.zp-card.has-img:hover .icon-mini {
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 16px 32px -10px rgba(0, 194, 255, 0.5);
}

/* --- Highlight (cartes claires) : reflets cyan animés --- */
.zp-highlight {
    position: relative;
    overflow: hidden;
}
.zp-highlight::before {
    content: '';
    position: absolute;
    inset: -50% -10% auto auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--zp-accent-glow) 0%, transparent 60%);
    animation: zp-float-slow 10s ease-in-out infinite;
    pointer-events: none;
}
.zp-highlight::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 42, 106, 0.06) 0%, transparent 65%);
    pointer-events: none;
}
.zp-highlight > * { position: relative; z-index: 2; }
.zp-highlight li {
    transition: transform .25s ease, color .25s ease;
}
.zp-highlight li:hover {
    transform: translateX(4px);
    color: var(--zp-primary);
}
.zp-highlight li:hover::before { color: var(--zp-primary); }

/* --- Stats : effet hover --- */
.zp-stats { position: relative; overflow: hidden; }
.zp-stat {
    text-align: center;
    padding: 12px;
    border-radius: var(--zp-radius-sm);
    transition: transform .35s ease, background .35s ease;
}
.zp-stat:hover {
    transform: translateY(-4px);
    background: var(--zp-bg-soft);
}
.zp-stat .num {
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Pills : hover --- */
.zp-pill {
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    cursor: default;
}
.zp-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -10px var(--zp-accent-glow);
    background: var(--zp-accent);
    color: #fff;
}

/* --- Step process : hover --- */
.zp-step {
    transition: padding .3s ease, background .3s ease;
    border-radius: var(--zp-radius-sm);
    padding-left: 16px;
    padding-right: 16px;
}
.zp-step:hover {
    background: var(--zp-bg-soft);
    padding-left: 24px;
}
.zp-step .num {
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.zp-step:hover .num { transform: scale(1.08) rotate(-6deg); }

/* --- Testimonial : reveal --- */
.zp-testi {
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}
.zp-testi::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--zp-radius);
    padding: 1px;
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
}
.zp-testi:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px -22px rgba(11, 42, 106, 0.5);
}
.zp-testi:hover::before { opacity: 1; }

/* --- Réalisations : zoom + overlay --- */
.zp-project {
    position: relative;
    transition: transform .45s cubic-bezier(.22,.9,.32,1), box-shadow .35s ease;
}
.zp-project .thumb {
    overflow: hidden;
    position: relative;
}
.zp-project .thumb img {
    transition: transform .9s cubic-bezier(.22,.9,.32,1);
}
.zp-project .thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 42, 106, 0.6), rgba(0, 194, 255, 0.35));
    opacity: 0;
    transition: opacity .35s ease;
}
.zp-project .thumb i.deco {
    transition: transform .55s ease;
}
.zp-project:hover { transform: translateY(-8px); box-shadow: 0 30px 70px -28px rgba(11, 42, 106, 0.55); }
.zp-project:hover .thumb img { transform: scale(1.08); }
.zp-project:hover .thumb::after { opacity: 1; }
.zp-project:hover .thumb i.deco { transform: scale(1.15) rotate(8deg); }
.zp-project .body .tag,
.zp-project .body h3 { transition: color .25s ease; }
.zp-project:hover .body .tag { color: var(--zp-primary); }
.zp-project:hover .body h3 { color: var(--zp-primary); }

/* --- Marquee technologies --- */
.zp-marquee {
    overflow: hidden;
    position: relative;
    padding: 28px 0;
    background: var(--zp-bg-soft);
    border-top: 1px solid rgba(11, 42, 106, 0.06);
    border-bottom: 1px solid rgba(11, 42, 106, 0.06);
}
.zp-marquee::before,
.zp-marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}
.zp-marquee::before { left: 0; background: linear-gradient(90deg, var(--zp-bg-soft), transparent); }
.zp-marquee::after { right: 0; background: linear-gradient(-90deg, var(--zp-bg-soft), transparent); }
.zp-marquee-track {
    display: flex;
    gap: 64px;
    width: max-content;
    animation: zp-marquee 32s linear infinite;
}
.zp-marquee-track:hover { animation-play-state: paused; }
.zp-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--zp-muted);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.01em;
    transition: color .25s ease;
    white-space: nowrap;
}
.zp-marquee-item:hover { color: var(--zp-primary); }
.zp-marquee-item i { color: var(--zp-accent); font-size: 26px; }

/* --- Tilt cards (JS-driven) --- */
.zp-tilt {
    transform-style: preserve-3d;
    transition: transform .25s ease;
    will-change: transform;
}
.zp-tilt > * { transform: translateZ(40px); }

/* --- Magnetic button (JS-driven) --- */
.zp-magnetic { transition: transform .15s ease-out; will-change: transform; }

/* --- Scroll progress bar --- */
.zp-scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--zp-primary), var(--zp-accent));
    z-index: 999;
    transition: width .1s linear;
    box-shadow: 0 0 12px var(--zp-accent-glow);
}

/* --- Bouton scroll-top --- */
.zp-scroll-top {
    position: fixed;
    right: 24px; bottom: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    color: #fff;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 14px 32px -10px rgba(11, 42, 106, 0.45);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s ease, transform .3s ease;
    z-index: 60;
}
.zp-scroll-top.is-visible { opacity: 1; transform: translateY(0); }
.zp-scroll-top:hover {
    transform: translateY(-4px) rotate(-8deg);
    animation: zp-pulse-glow 1.4s ease infinite;
}

/* --- Logo (texte) : hover --- */
.zp-logo-text { transition: transform .3s ease; }
.zp-logo-text:hover { transform: translateY(-2px); }
.zp-logo-text .dot { transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.zp-logo-text:hover .dot { transform: rotate(12deg) scale(1.05); }

/* --- Section dark : décor étoilé --- */
.zp-section-dark { position: relative; overflow: hidden; }
.zp-section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(0,194,255,0.4), transparent),
        radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 50% 20%, rgba(0,194,255,0.3), transparent),
        radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.4), transparent);
    pointer-events: none;
}

/* --- Banner page : décor flou --- */
.zp-pagebanner { position: relative; overflow: hidden; }
.zp-pagebanner::after {
    content: '';
    position: absolute;
    width: 480px; height: 480px;
    right: -120px; top: -180px;
    background: radial-gradient(circle, var(--zp-accent-glow) 0%, transparent 70%);
    pointer-events: none;
    animation: zp-float-slow 14s ease-in-out infinite;
}

/* --- Form : focus animé --- */
.zp-form input,
.zp-form textarea,
.zp-form select {
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.zp-form input:focus,
.zp-form textarea:focus,
.zp-form select:focus {
    transform: translateY(-2px);
}

/* --- Variantes de fade-in --- */
.zp-fade-in.from-left  { transform: translateX(-32px); }
.zp-fade-in.from-right { transform: translateX(32px); }
.zp-fade-in.from-zoom  { transform: scale(0.94); }
.zp-fade-in.is-visible { transform: none; }

/* --- Filtres réalisations : hover enrichi --- */
.zp-filter {
    position: relative;
    overflow: hidden;
}
.zp-filter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    transform: translateY(101%);
    transition: transform .35s cubic-bezier(.22,.9,.32,1);
    z-index: -1;
}
.zp-filter:hover::before { transform: translateY(0); }
.zp-filter:hover { color: #fff; border-color: transparent; }

/* --- Social footer : tooltip-like --- */
.zp-footer .social a { position: relative; }
.zp-footer .social a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    transform: scale(0);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
    z-index: -1;
}
.zp-footer .social a:hover::before { transform: scale(1); }

/* --- Typing dots (chargement) --- */
.zp-typing {
    display: inline-flex;
    gap: 4px;
}
.zp-typing span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--zp-accent);
    animation: zp-typing-dot 1.2s ease-in-out infinite;
}
.zp-typing span:nth-child(2) { animation-delay: 0.2s; }
.zp-typing span:nth-child(3) { animation-delay: 0.4s; }

/* --- Section header : badge animé --- */
.zp-heading .sub-title { display: inline-flex; align-items: center; gap: 8px; }
.zp-heading .sub-title::before,
.zp-heading .sub-title::after {
    content: '';
    width: 24px; height: 1px;
    background: var(--zp-accent);
    opacity: 0.6;
}

/* --- Logos tech grid --- */
.zp-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}
.zp-tech-item {
    background: #fff;
    border: 1px solid rgba(11, 42, 106, 0.06);
    border-radius: var(--zp-radius-sm);
    padding: 22px 14px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.zp-tech-item i {
    font-size: 36px;
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform .35s ease;
}
.zp-tech-item h5 {
    font-size: 14px;
    margin: 12px 0 0;
    color: var(--zp-text);
}
.zp-tech-item:hover {
    transform: translateY(-6px);
    border-color: var(--zp-accent);
    box-shadow: 0 16px 36px -16px var(--zp-accent-glow);
}
.zp-tech-item:hover i { transform: scale(1.18) rotate(-5deg); }

/* --- Témoignages : carrousel Swiper --- */
.zp-testi-slider {
    overflow: hidden;
    padding: 8px 4px 60px;       /* espace pour les ombres + pagination */
    position: relative;
}
.zp-testi-slider .swiper-slide {
    display: flex;
    align-items: stretch;
}
.zp-testi-slider .swiper-slide > * {
    flex: 1;
    width: 100%;
}
.zp-testi-pag {
    position: absolute;
    bottom: 16px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}
.zp-testi-pag .swiper-pagination-bullet {
    width: 28px; height: 4px;
    border-radius: 2px;
    background: rgba(11, 42, 106, 0.18);
    opacity: 1;
    transition: background .3s ease, width .3s ease;
}
.zp-testi-pag .swiper-pagination-bullet-active {
    width: 44px;
    background: var(--zp-accent);
}

/* --- Mini-slider générique (about + sections services) --- */
.zp-fade-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.zp-fade-slider .swiper-wrapper { width: 100%; height: 100%; }
.zp-fade-slider .swiper-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.zp-fade-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Variante "photo" : ratio plus carré (~5/4) pour respecter la taille naturelle des photos */
.zp-fade-slider-photo {
    aspect-ratio: 6 / 5;
}

/* --- Hero Swiper slider --- */
.zp-hero-illu .frame { padding: 0; }
.zp-hero-slider {
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}
.zp-hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Slide pour les illustrations PNG (fond blanc) — fond dégradé doux + contain
   Le dégradé blanc → bleu pâle blend visuellement avec le fond blanc du PNG,
   pas besoin de blend-mode (qui dénaturerait les couleurs vives) */
.zp-hero-slider .swiper-slide.illu {
    background: linear-gradient(135deg, #ffffff 0%, #eaf2ff 60%, #d6e6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.zp-hero-slider .swiper-slide.illu img {
    object-fit: contain;
    padding: 18px;
    filter: drop-shadow(0 12px 30px rgba(11, 42, 106, 0.18));
}
.zp-hero-pagination {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}
.zp-hero-pagination .swiper-pagination-bullet {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: background .3s ease, width .3s ease;
}
.zp-hero-pagination .swiper-pagination-bullet-active {
    width: 44px;
    background: var(--zp-accent);
}

/* --- Mini-cards "étape" (Notre méthode) avec hover ----- */
.zp-step-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(11, 42, 106, 0.08);
    border-radius: 16px;
    padding: 26px 24px;
    height: 100%;
    box-shadow: var(--zp-shadow-soft);
    position: relative;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.22,.9,.32,1),
                box-shadow .35s ease,
                border-color .35s ease;
}
.zp-step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--zp-primary), var(--zp-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s cubic-bezier(.22,.9,.32,1);
}
.zp-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -22px rgba(11, 42, 106, 0.4);
    border-color: var(--zp-accent);
}
.zp-step-card:hover::before { transform: scaleX(1); }
.zp-step-card .num {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--zp-accent-glow);
    color: var(--zp-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid rgba(0, 194, 255, 0.25);
    transition: background .3s ease, color .3s ease, transform .4s cubic-bezier(.34,1.56,.64,1);
}
.zp-step-card:hover .num {
    background: linear-gradient(135deg, var(--zp-primary), var(--zp-accent));
    color: #fff;
    border-color: transparent;
    transform: rotate(-6deg) scale(1.06);
}
.zp-step-card h5 {
    font-size: 16px;
    margin: 0 0 8px;
    color: var(--zp-dark);
    transition: color .25s ease;
}
.zp-step-card:hover h5 { color: var(--zp-primary); }
.zp-step-card small {
    color: var(--zp-muted);
    line-height: 1.55;
    display: block;
    font-size: 13.5px;
}

/* --- Cartes services (utilise le markup .zp-project + footer icône) --- */
/* Carte = flex column → la body grandit pour remplir, footer se cale en bas */
.zp-project { display: flex; flex-direction: column; height: 100%; }
.zp-project .body { display: flex; flex-direction: column; flex: 1 1 auto; }
.zp-project .body .card-footer { margin-top: auto; }   /* ← footer toujours en bas, jamais coupé */

.zp-project:hover .icon-mini {
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 18px 36px -10px rgba(0, 194, 255, 0.6) !important;
}
.zp-project .more i { transition: transform .3s ease; }
.zp-project:hover .more i.fa-arrow-right { transform: translateX(4px); }

/* --- Filtres réalisations + projet (utilisable sur toutes les pages) --- */
.zp-filters { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:40px; }
.zp-filter {
    border:1px solid rgba(11,42,106,.18); background:#fff;
    padding:10px 20px; border-radius:999px; font-size:14px; font-weight:600;
    color:var(--zp-text); cursor:pointer; transition:all .25s ease;
    display:inline-flex; align-items:center; gap:8px;
}
.zp-filter.is-active {
    background:linear-gradient(135deg, var(--zp-primary), var(--zp-primary-soft));
    color:#fff; border-color:transparent;
    box-shadow:0 8px 22px -10px rgba(11,42,106,.5);
}
.zp-project-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:28px; }
.zp-project-grid .zp-project[data-hidden="true"] { display:none; }
.zp-project .thumb-photo { position:relative; aspect-ratio:16/10; overflow:hidden; }
.zp-project .thumb-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.zp-project .thumb-photo .overlay-icon {
    position:absolute; top:50%; left:50%;
    transform:translate(-50%,-50%) scale(0);
    width:64px; height:64px; border-radius:50%;
    background:rgba(255,255,255,.95); color:var(--zp-primary);
    display:inline-flex; align-items:center; justify-content:center;
    font-size:22px; transition:transform .45s cubic-bezier(.34,1.56,.64,1); z-index:3;
}
.zp-project:hover .thumb-photo .overlay-icon { transform:translate(-50%,-50%) scale(1); }
.zp-project .badge-cat {
    position:absolute; top:14px; left:14px;
    background:rgba(255,255,255,.92); color:var(--zp-primary);
    padding:6px 12px; border-radius:999px; font-size:12px; font-weight:700;
    letter-spacing:.06em; text-transform:uppercase; z-index:3;
    display:inline-flex; align-items:center; gap:6px; backdrop-filter:blur(10px);
}
.zp-project .body { padding:22px 24px 26px; }
.zp-project .body .meta {
    display:flex; align-items:center; gap:14px;
    color:var(--zp-muted); font-size:12px; margin-bottom:8px; flex-wrap:wrap;
}
.zp-project .body .meta i { color:var(--zp-accent); }

/* --- Préférences réduit-mouvement --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        transition-duration: 0.05s !important;
        scroll-behavior: auto !important;
    }
}
