/**
 * LICELI Technologies - Page Templates CSS
 * Styles pour front-page, about, services, methodes, catalogue, contact
 * Reproduit le design du HTML demo
 */

/* ═══════════════════════════════════════
   CSS VARIABLES (dark/light)
   ═══════════════════════════════════════ */
:root {
    --cyan: #00D4FF;
    --gold: #FFB800;
    --red: #FF4757;
    --green: #00C896;
    --bg-primary: #04101F;
    --bg-secondary: #071628;
    --bg-card: #0C1F38;
    --bg-card-hover: #102540;
    --bg-nav: rgba(4,16,31,0.92);
    --border: rgba(0,212,255,0.12);
    --border-hover: rgba(0,212,255,0.4);
    --text-primary: #F0F6FF;
    --text-secondary: #7A9BB8;
    --text-muted: #3D5A73;
    --accent: #00D4FF;
    --accent-2: #FFB800;
    --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(0,212,255,0.15);
    --gradient-hero: linear-gradient(135deg, #04101F 0%, #071628 50%, #0A2040 100%);
    --gradient-accent: linear-gradient(135deg, #00D4FF 0%, #0088AA 100%);
    --gradient-gold: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
    --grid-color: rgba(0,212,255,0.04);
}

[data-theme="light"] {
    --bg-primary: #F0F6FF;
    --bg-secondary: #E3EDF8;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F5FAFF;
    --bg-nav: rgba(240,246,255,0.95);
    --border: rgba(0,80,160,0.1);
    --border-hover: rgba(0,80,160,0.3);
    --text-primary: #07192E;
    --text-secondary: #3D6080;
    --text-muted: #8AAAC0;
    --accent: #0072CC;
    --accent-2: #E08A00;
    --shadow-card: 0 4px 24px rgba(0,60,120,0.1);
    --shadow-glow: 0 0 40px rgba(0,114,204,0.08);
    --gradient-hero: linear-gradient(135deg, #E3EDF8 0%, #F0F6FF 50%, #EAF2FF 100%);
    --gradient-accent: linear-gradient(135deg, #0072CC 0%, #0050A0 100%);
    --gradient-gold: linear-gradient(135deg, #E08A00 0%, #C06A00 100%);
    --grid-color: rgba(0,80,160,0.04);
}

/* ═══════════════════════════════════════
   MAIN CONTENT - NAVBAR OFFSET
   ═══════════════════════════════════════ */
.liceli-main {
    padding-top: var(--navbar-h, 70px);
    position: relative;
    z-index: 1;
}
/* Admin bar : WordPress applique déjà html{margin-top:32px} (46px en mobile)
   pour la barre d'admin, et la navbar est repositionnée (top:32px). Le contenu
   ne doit donc PAS re-compenser ces 32/46px, sinon bande vide entre le header
   et la bannière (visible uniquement connecté). On garde juste l'offset navbar. */
.admin-bar .liceli-main {
    padding-top: var(--navbar-h, 70px);
}
@media (max-width: 782px) {
    .admin-bar .liceli-main {
        padding-top: var(--navbar-h, 70px);
    }
}
/* Ensure sections below fixed header are not hidden when scrolled to */
.liceli-main section,
.liceli-main .section,
.liceli-main .liceli-page-head {
    scroll-margin-top: calc(var(--navbar-h, 70px) + 1rem);
}

.liceli-footer,
.elementor-location-footer {
    position: relative;
    z-index: 1;
}

body {
    overflow-x: hidden;
}

/* ═══════════════════════════════════════
   GLOBAL TEXT JUSTIFY
   ═══════════════════════════════════════ */
.liceli-main p,
.liceli-footer__tagline,
.entry-content p,
.liceli-post-card__excerpt,
.method-content p,
.tab-panel p,
.about-text p,
.liceli-legal-content p,
.section p,
.liceli-square-stage p,
.liceli-square-panel p,
.liceli-square-card p,
.liceli-page-head p,
.contact-form-card p,
.liceli-elementor-content p,
.elementor-widget-text-editor p,
.elementor-text-editor p {
    text-align: justify;
}
/* Exceptions : garder centré ce qui doit l'être */
.liceli-hero--centered p,
.liceli-stat-item p,
.liceli-empty p,
.liceli-empty-state p,
.liceli-no-results p,
.cb-stat-card p,
.stat-item p,
.cert-card p,
.process-step p,
.liceli-footer__copyright,
.section-subtitle,
.section-tag,
.form-subtitle,
[style*="text-align:center"] {
    text-align: center;
}

.liceli-grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: .9;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,.95), rgba(0,0,0,.4) 62%, transparent 100%);
}

.liceli-square-stage {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.liceli-square-stage > :not(.liceli-square-scene),
.liceli-square-card > *,
.liceli-square-panel > * {
    position: relative;
    z-index: 1;
}

.liceli-square-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.liceli-square-scene__mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 78px 78px;
    opacity: .28;
    mask-image: linear-gradient(135deg, transparent 5%, rgba(0,0,0,.95) 28%, rgba(0,0,0,.95) 78%, transparent 100%);
}

.liceli-square-scene__item {
    --square-tone: var(--cyan);
    --square-size: 88px;
    --square-rotate: 0deg;
    position: absolute;
    width: var(--square-size);
    height: var(--square-size);
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--square-tone) 26%, transparent);
    background: linear-gradient(135deg, color-mix(in srgb, var(--square-tone) 16%, transparent), transparent 80%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 20px 40px rgba(0,0,0,.14);
    transform: rotate(var(--square-rotate));
    opacity: .82;
    animation: liceliSquareFloat 9s ease-in-out infinite;
}

.liceli-square-scene__item::before {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--square-tone) 34%, transparent);
    opacity: .7;
}

.liceli-square-scene__item--cyan { --square-tone: var(--cyan); }
.liceli-square-scene__item--gold { --square-tone: var(--gold); }
.liceli-square-scene__item--green { --square-tone: var(--green); }

.liceli-square-scene__item--outline {
    --square-tone: var(--text-secondary);
    background: transparent;
    box-shadow: none;
    opacity: .4;
}

.liceli-square-scene__item--d {
    border-radius: 12px;
    opacity: .62;
    animation-duration: 6s;
}

.liceli-square-scene--hero .liceli-square-scene__item--a {
    top: 10%;
    right: 6%;
    --square-size: 110px;
    --square-rotate: -9deg;
}

.liceli-square-scene--hero .liceli-square-scene__item--b {
    bottom: 12%;
    left: 3%;
    --square-size: 64px;
    --square-rotate: 8deg;
    animation-delay: -2s;
}

.liceli-square-scene--hero .liceli-square-scene__item--c {
    top: 26%;
    right: 34%;
    --square-size: 28px;
    --square-rotate: 0deg;
    animation-duration: 5s;
}

.liceli-square-scene--hero .liceli-square-scene__item--d {
    bottom: 28%;
    right: 15%;
    --square-size: 46px;
    --square-rotate: -14deg;
    animation-delay: -1s;
}

.liceli-square-scene--pagehead .liceli-square-scene__item--a {
    top: 20%;
    right: 9%;
    --square-size: 92px;
    --square-rotate: -8deg;
}

.liceli-square-scene--pagehead .liceli-square-scene__item--b {
    bottom: 16%;
    left: 5%;
    --square-size: 58px;
    --square-rotate: 6deg;
    animation-delay: -2s;
}

.liceli-square-scene--pagehead .liceli-square-scene__item--c {
    top: 52%;
    right: 26%;
    --square-size: 24px;
    animation-duration: 5s;
}

.liceli-square-scene--pagehead .liceli-square-scene__item--d {
    top: 18%;
    left: 28%;
    --square-size: 38px;
    --square-rotate: 12deg;
    animation-delay: -1.5s;
}

.liceli-square-scene--panel .liceli-square-scene__item--a {
    top: 1.75rem;
    right: 1.75rem;
    --square-size: 86px;
    --square-rotate: -6deg;
}

.liceli-square-scene--panel .liceli-square-scene__item--b {
    bottom: 1rem;
    left: -.75rem;
    --square-size: 54px;
    --square-rotate: 8deg;
    animation-delay: -1.8s;
}

.liceli-square-scene--panel .liceli-square-scene__item--c {
    top: 38%;
    left: 36%;
    --square-size: 22px;
    animation-duration: 5s;
}

.liceli-square-scene--panel .liceli-square-scene__item--d {
    bottom: 22%;
    right: 22%;
    --square-size: 34px;
    --square-rotate: -12deg;
    animation-delay: -1.2s;
}

.liceli-square-card,
.liceli-square-panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.liceli-square-card::after,
.liceli-square-panel::before,
.liceli-square-panel::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
    background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 72%);
}

.liceli-square-card::after {
    width: 62px;
    height: 62px;
    top: -18px;
    right: -18px;
    border-radius: 16px;
    opacity: .42;
}

.liceli-square-panel::before {
    width: 118px;
    height: 118px;
    top: -26px;
    right: 3%;
    border-radius: 24px;
    opacity: .34;
    transform: rotate(-8deg);
}

.liceli-square-panel::after {
    width: 74px;
    height: 74px;
    bottom: -22px;
    left: -20px;
    border-radius: 18px;
    opacity: .28;
    transform: rotate(8deg);
}

/* ═══════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════ */
.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 2rem;
}
.section-sm {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: rgba(0,212,255,0.05);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
}
.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: normal;
    font-stretch: normal;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.7;
    text-align: justify;
}
.text-accent { color: var(--accent); }
.text-gold { color: var(--accent-2); }
.divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin: 1.25rem 0;
}
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .875rem 1.75rem;
    border-radius: 12px;
    background: var(--gradient-accent);
    border: none;
    color: white;
    font-size: .95rem;
    font-weight: 600;
    box-shadow: 0 6px 24px rgba(0,212,255,0.25);
    transition: all .25s ease;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0,212,255,0.4);
    color: white;
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .875rem 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border-hover);
    background: transparent;
    color: var(--text-primary);
    font-size: .95rem;
    font-weight: 600;
    transition: all .25s ease;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}
.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--accent);
    color: var(--accent);
}
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .875rem 1.5rem;
    border-radius: 12px;
    background: var(--gradient-gold);
    border: none;
    color: white;
    font-size: .9rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(255,184,0,0.25);
    transition: all .25s ease;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,184,0,0.4);
    color: white;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
    min-height: calc(100vh - var(--navbar-h, 70px));
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}
/* On mobile, hero should not force full viewport - let content flow naturally */
@media (max-width: 640px) {
    .hero {
        min-height: auto;
        /* Extra top padding so the hero badge isn't glued to the fixed navbar */
        padding-top: 2.5rem;
        padding-bottom: 1rem;
    }
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -300px;
    left: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,184,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(0,212,255,0.25);
    background: rgba(0,212,255,0.08);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.8); }
}
.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: normal;
    font-stretch: normal;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}
.hero-title .line2 { color: var(--accent); }
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 520px;
    text-align: justify;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.hero-stat-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--text-primary);
    letter-spacing: -.03em;
}
.hero-stat-num span { color: var(--accent); }
.hero-stat-label {
    font-size: .8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Hero Visual Cards */
.hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all .3s ease;
    animation: floatCard 6s ease-in-out infinite;
}
.hero-card:nth-child(2) { animation-delay: -2s; }
.hero-card:nth-child(3) { animation-delay: -4s; grid-column: 1 / -1; }
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.hero-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: .75rem;
}
.hero-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: .25rem;
}
.hero-card-desc {
    font-size: .78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: justify;
}
.hero-card-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: .5rem;
}

/* Icon color classes */
.icon-cyan { background: rgba(0,212,255,0.12); color: var(--cyan); }
.icon-gold { background: rgba(255,184,0,0.12); color: var(--gold); }
.icon-green { background: rgba(0,200,150,0.12); color: var(--green); }
.icon-red { background: rgba(255,71,87,0.12); color: var(--red); }

/* ═══════════════════════════════════════
   PARTNERS STRIP
   ═══════════════════════════════════════ */
.partners-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
    padding: 2rem 0;
    overflow: hidden;
}
.partners-label {
    text-align: center;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.partners-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 2rem;
}
.partner-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9rem;
    color: var(--text-muted);
    opacity: .6;
    transition: opacity .2s;
}
.partner-logo:hover { opacity: 1; }

/* Partners Marquee (scrolling logos) */
.partners-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.partners-marquee-track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: max-content;
    animation: marqueeScroll 45s linear infinite;
}
.partners-marquee:hover .partners-marquee-track {
    animation-play-state: paused;
}
.partner-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    padding: 8px 22px;
    border-radius: 0;
    background: transparent;
    border: none;
    opacity: 1;
    transition: transform .3s ease;
    /* Pas de grayscale ni d'opacite : on conserve les couleurs naturelles des logos */
}
.partner-logo-item:hover {
    transform: scale(1.08);
}
.partner-logo-item img {
    max-height: 60px;
    max-width: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}
/* Theme sombre : juste un boost de luminosite pour les logos sombres, pas de voile blanc */
.liceli-theme-dark .partner-logo-item img,
[data-theme="dark"] .partner-logo-item img {
    filter: brightness(1.05) contrast(1.05);
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   SERVICES GRID (home page)
   ═══════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: all .3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}
.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.service-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: .5rem;
}
.service-card-desc {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: justify;
}
.service-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.25rem;
}
.tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .05em;
    background: var(--border);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* ═══════════════════════════════════════
   CORE BANKING SECTION
   ═══════════════════════════════════════ */
.corebanking-section {
    background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, rgba(255,184,0,0.03) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.cb-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.cb-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.cb-step-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: .9rem;
}
.cb-step-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: .2rem;
}
.cb-step-desc {
    font-size: .8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.cb-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.cb-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}
.cb-stat-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--accent);
    letter-spacing: -.04em;
    margin-bottom: .25rem;
}
.cb-stat-label {
    font-size: .78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ═══════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════ */
.about-hero {
    background: var(--gradient-hero);
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
}
.about-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-img-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.about-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: .875rem;
}
.about-decor {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: white;
    padding: .75rem 1.25rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all .3s ease;
}
.value-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.value-icon {
    font-size: 1.5rem;
    margin-bottom: .75rem;
}
.value-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: .25rem;
}
.value-desc {
    font-size: .8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.contact-info-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: .25rem;
}
.contact-info-value {
    font-weight: 600;
    font-size: .95rem;
}
.contact-info-link {
    color: var(--text-primary);
    text-decoration: none;
}
.contact-info-link:hover {
    color: var(--accent);
}
.contact-map-frame {
    width: 100%;
    min-height: 320px;
    border: 0;
    display: block;
    background: var(--bg-secondary);
}
.contact-map-shortcode,
.contact-map-shortcode > * {
    width: 100%;
}
.contact-map-shortcode iframe,
.contact-map-shortcode .leaflet-container,
.contact-map-shortcode .wpgmza_map {
    min-height: 320px;
    border: 0;
    display: block;
}
/* Bloc localisation en pleine largeur (haut de la page Contact) : hauteur plafonnée */
.contact-map-card--full .contact-map-frame,
.contact-map-card--full iframe {
    aspect-ratio: auto;
    height: clamp(300px, 42vh, 440px);
    min-height: 0;
}
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
}
.form-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: .5rem;
}
.form-subtitle {
    font-size: .875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1rem;
}
.form-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: .04em;
}
.form-control {
    padding: .75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: .9rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: border .2s ease;
    width: 100%;
}
.form-control:focus {
    border-color: var(--accent);
    background: var(--bg-primary);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
select.form-control { cursor: pointer; }

/* ═══════════════════════════════════════
   PRODUCTS / CATALOGUE
   ═══════════════════════════════════════ */
.products-header {
    background: var(--gradient-hero);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--border);
}
.products-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
.filter-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .5rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    font-family: 'DM Sans', sans-serif;
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,212,255,0.06);
    cursor: pointer;
}

/* Search box */
.search-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .5rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    margin-left: auto;
    min-width: 200px;
    transition: border-color .2s ease;
}
.search-box:focus-within {
    border-color: var(--accent);
}
.search-box .liceli-svg-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}
.search-box input {
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: .85rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    width: 100%;
}
.search-box input::placeholder {
    color: var(--text-muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all .3s ease;
    cursor: pointer;
}
.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}
.product-card-header {
    padding: 1.75rem 1.75rem 1.25rem;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.product-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.product-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.badge-new { background: rgba(0,200,150,0.15); color: var(--green); border: 1px solid rgba(0,200,150,0.3); }
.badge-pro { background: rgba(255,184,0,0.15); color: var(--gold); border: 1px solid rgba(255,184,0,0.3); }
.badge-hot { background: rgba(255,71,87,0.15); color: var(--red); border: 1px solid rgba(255,71,87,0.3); }
.badge-enterprise { background: rgba(0,212,255,0.15); color: var(--cyan); border: 1px solid rgba(0,212,255,0.3); }
.badge-banque { background: rgba(255,184,0,0.15); color: var(--gold); border: 1px solid rgba(255,184,0,0.3); }
.product-card-body { padding: 1.25rem 1.75rem 1.75rem; }
.product-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .4rem;
}
.product-card-vendor {
    font-size: .75rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.product-card-desc {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-align: justify;
}
.product-card-features {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1.25rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: var(--text-secondary);
}
.feature-item .liceli-svg-icon { color: var(--green); flex-shrink: 0; }
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.product-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .5rem 1rem;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border-hover);
    color: var(--accent);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}
.product-card-cta:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    color: white;
}
.product-card-quote {
    font-size: .75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ═══════════════════════════════════════
   SERVICES PAGE (full)
   ═══════════════════════════════════════ */
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}

/* ═══════════════════════════════════════
   METHODS PAGE
   ═══════════════════════════════════════ */
.method-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 2rem;
}
.method-tab {
    padding: .75rem 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    font-family: var(--font-heading);
}
.method-tab.active, .method-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,212,255,0.06);
}
.method-content {
    display: none;
}
.method-content.active {
    display: block;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}
.process-step-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-accent);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem;
}
.process-step-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: .25rem;
}
.process-step-desc {
    font-size: .75rem;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════
   WHO WE ARE PAGE
   ═══════════════════════════════════════ */
.founder-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
}
.founder-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: .25rem;
}
.founder-role {
    color: var(--accent);
    font-weight: 600;
    font-size: .85rem;
    margin-bottom: 1.5rem;
}
.founder-info {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.founder-info-row {
    display: flex;
    gap: .5rem;
    font-size: .85rem;
}
.founder-info-label {
    color: var(--text-muted);
    font-weight: 600;
    min-width: 100px;
}
.founder-info-value {
    color: var(--text-secondary);
}
.history-section {
    margin-top: 3rem;
}
.history-text {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
}
.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
}
.stat-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--accent);
}
.stat-label {
    font-size: .78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.atouts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.atout-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all .3s ease;
}
.atout-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.atout-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: .5rem;
    color: var(--accent);
}
.atout-desc {
    font-size: .8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   CERTIFICATIONS / PARTNER LOGOS
   ═══════════════════════════════════════ */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    color: var(--text-secondary);
    transition: all .2s ease;
}
.cert-card:hover {
    border-color: var(--border-hover);
    color: var(--accent);
}

/* Typo override: headings less stretched and easier to read */
.section-title,
.hero-title,
.hero-stat-num,
.hero-card-title,
.hero-card-val,
.service-card-title,
.cb-step-num,
.cb-step-title,
.cb-stat-num,
.form-title,
.method-tab,
.process-step-num,
.process-step-title,
.founder-name,
.stat-num,
.atout-title,
.cert-card,
[style*="font-family:'Syne'"] {
    font-family: var(--font-heading) !important;
    font-stretch: normal !important;
    letter-spacing: -0.015em !important;
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes liceliSquareFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--square-rotate)); }
    50% { transform: translate3d(0, -10px, 0) rotate(calc(var(--square-rotate) + 4deg)); }
}
.animate {
    animation: fadeUp .55s cubic-bezier(.4,0,.2,1) forwards;
    will-change: opacity, transform;
}
/* Cascade plus rapide (60-280ms) - perception de fluidite sans attente */
.d1 { animation-delay: .06s; opacity: 0; }
.d2 { animation-delay: .12s; opacity: 0; }
.d3 { animation-delay: .18s; opacity: 0; }
.d4 { animation-delay: .22s; opacity: 0; }
.d5 { animation-delay: .28s; opacity: 0; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem;
        text-align: center;
    }
    .hero-title { font-size: clamp(2rem, 6vw, 3.5rem); }
    .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
    .hero-visual { max-width: 480px; margin: 0 auto; }

    .section { padding: 3.5rem 1.5rem; }
    .section-sm { padding: 2rem 1.5rem; }
    .section-title { font-size: clamp(1.5rem, 4vw, 2.5rem); }

    .services-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .values-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }

    .corebanking-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    .cb-stats { grid-template-columns: repeat(4, 1fr); }

    .contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }

    .atouts-grid { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }

    /* ── Responsive utility classes: 2-col → 1-col on tablet ── */
    .liceli-resp-2col {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* ── Services/auto grids: reduce minmax ── */
    .liceli-resp-autogrid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    }

    /* ── Page Methodes: tabs wrap ── */
    #method-tabs {
        flex-wrap: wrap !important;
    }

    /* ── Partners marquee: tighter gap on tablet ── */
    .partners-marquee-track {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .liceli-grid-bg {
        background-size: 42px 42px;
    }
    .liceli-square-scene__mesh {
        background-size: 56px 56px;
    }
    .liceli-square-scene--hero .liceli-square-scene__item--a,
    .liceli-square-scene--pagehead .liceli-square-scene__item--a,
    .liceli-square-scene--panel .liceli-square-scene__item--a {
        --square-size: 66px;
    }
    .liceli-square-scene--hero .liceli-square-scene__item--b,
    .liceli-square-scene--pagehead .liceli-square-scene__item--b,
    .liceli-square-scene--panel .liceli-square-scene__item--b {
        --square-size: 42px;
    }
    .liceli-square-scene__item--c,
    .liceli-square-scene__item--d {
        --square-size: 20px;
    }
    .liceli-square-card::after {
        width: 48px;
        height: 48px;
    }
    .liceli-square-panel::before {
        width: 78px;
        height: 78px;
        top: -18px;
        right: -12px;
    }
    .liceli-square-panel::after {
        width: 52px;
        height: 52px;
        bottom: -16px;
        left: -16px;
    }
    .hero-inner { padding: 3.5rem 1rem 2.5rem; gap: 2rem; }
    .hero-title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    .hero-desc { font-size: .95rem; }
    .hero-visual { grid-template-columns: 1fr; max-width: 100%; }
    .hero-stats { gap: 1rem; }

    .section { padding: 2.5rem 1rem; }
    .section-sm { padding: 1.5rem 1rem; }
    .section-tag { font-size: .75rem; }
    .section-title { font-size: clamp(1.4rem, 7vw, 2rem); }
    .section-subtitle { font-size: .9rem; }

    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .cb-stats { grid-template-columns: 1fr 1fr; }
    .atouts-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }

    .filter-bar { flex-direction: column; align-items: stretch; }
    .search-box { margin-left: 0; min-width: 100%; }

    .btn-primary, .btn-secondary, .btn-gold {
        width: 100%;
        justify-content: center;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary { width: auto; }

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

    .liceli-brand__name { font-size: .88rem; }

    /* ═══════════════════════════════════════
       MOBILE RESPONSIVE - CLASS-BASED
       ═══════════════════════════════════════ */

    /* ── Page headers: reduce padding ── */
    .liceli-page-head {
        padding: 3rem 0 2.5rem !important;
    }
    .liceli-page-head > div {
        padding: 0 1rem !important;
    }

    /* ── All 2-col grids → single column ── */
    .liceli-resp-2col {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* ── 3-col stats → single column ── */
    .liceli-resp-3col {
        grid-template-columns: 1fr !important;
        gap: .75rem !important;
    }

    /* ── Auto-fill grids → single column ── */
    .liceli-resp-autogrid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* ── Sectors grid → 2 cols on mobile ── */
    .liceli-resp-sectors {
        grid-template-columns: 1fr 1fr !important;
        gap: .75rem !important;
    }

    /* ── Methodes: result stats keep 2x2 ── */
    .liceli-resp-2x2 {
        grid-template-columns: 1fr 1fr !important;
        gap: .75rem !important;
    }

    /* ── Methodes tabs: horizontal scroll ── */
    #method-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .5rem !important;
        gap: .4rem !important;
        scrollbar-width: none;
    }
    #method-tabs::-webkit-scrollbar { display: none; }
    #method-tabs .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: .8rem !important;
        padding: .6rem 1rem !important;
    }

    /* ── Job cards: stack layout ── */
    .liceli-resp-jobbetween {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
    }

    /* ── Form rows → single column ── */
    .form-row,
    .liceli-resp-formrow {
        grid-template-columns: 1fr !important;
    }

    /* ── Button groups: stack vertically ── */
    .liceli-resp-btngroup {
        flex-direction: column !important;
    }

    /* ── Contact grid ── */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* ── Contact form card: reduce padding ── */
    .contact-form-card {
        padding: 1.5rem !important;
    }

    /* ── Candidature form card: reduce padding ── */
    .section .liceli-square-panel[style*="padding:2.5rem"] {
        padding: 1.5rem !important;
    }

    /* ── Partners: tighter on mobile, mais logos plus grands et en couleur ── */
    .partners-marquee-track {
        gap: 2rem;
    }
    .partner-logo-item {
        height: 56px;
        padding: 4px 14px;
    }
    .partner-logo-item img {
        max-height: 48px;
        max-width: 130px;
    }

    /* ── Core banking section: reduce padding ── */
    .corebanking-section {
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }

    /* ── Product cards: adjust spacing ── */
    .product-card-header {
        padding: 1.25rem 1.25rem 1rem;
    }
    .product-card-body {
        padding: 1rem 1.25rem 1.25rem;
    }

    /* ── Section subtitle: full width ── */
    .section-subtitle {
        max-width: 100%;
    }

    /* ── Catalogue CTA: reduce padding ── */
    .liceli-square-panel[style*="padding:3rem"] {
        padding: 1.75rem !important;
    }
}

/* ═══════════════════════════════════════
   EXTRA SMALL SCREENS (< 380px)
   ═══════════════════════════════════════ */
@media (max-width: 380px) {
    .liceli-resp-sectors {
        grid-template-columns: 1fr !important;
    }
    .liceli-resp-2x2 {
        grid-template-columns: 1fr !important;
    }

    .hero-inner { padding: 3rem .75rem 2rem; }
    .section { padding: 2rem .75rem; }

    .hero-title { font-size: 1.6rem; }
    .section-title { font-size: 1.3rem !important; }

    .cb-stats { grid-template-columns: 1fr !important; }

    .hero-stats { flex-direction: column; align-items: center; gap: .75rem; }
}

/* ═══════════════════════════════════════
   IMPROVEMENTS - RESPONSIVE / FLUIDITE
   (correctifs ajoutes apres audit responsive)
   ═══════════════════════════════════════ */

/* --- Empecher le debordement horizontal des grilles flex --- */
.services-grid,
.products-grid,
.values-grid,
.cb-stats,
.process-steps,
.atouts-grid,
.contact-grid,
.liceli-resp-2col,
.liceli-resp-2x2,
.liceli-resp-autogrid {
    min-width: 0;
}
.services-grid > *,
.products-grid > *,
.contact-grid > *,
.liceli-resp-2col > * {
    min-width: 0;
}

/* --- Contact grid : empile correctement sur tablette/mobile --- */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* --- Map iframe : aspect ratio fluide, plus de min-height fixe --- */
.contact-map-frame,
.contact-map-card iframe {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 0;
    border: 0;
    display: block;
}
@media (max-width: 640px) {
    .contact-map-frame,
    .contact-map-card iframe {
        aspect-ratio: 4 / 3;
    }
}

/* --- Headers de page (.liceli-page-head) : padding plus tendre sur mobile --- */
@media (max-width: 640px) {
    .liceli-page-head {
        padding: 2.5rem 0 2rem !important;
    }
    .liceli-page-head > div {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* --- Sections avec padding inline 3rem/5rem : forcage mobile --- */
@media (max-width: 640px) {
    [style*="padding:5rem"],
    [style*="padding: 5rem"] {
        padding: 2.5rem 1rem !important;
    }
    [style*="padding:3rem"],
    [style*="padding: 3rem"] {
        padding: 1.75rem 1rem !important;
    }
    [style*="padding:2.5rem"],
    [style*="padding: 2.5rem"] {
        padding: 1.5rem 1rem !important;
    }
}

/* --- Tabs methodes : indicateur de scroll horizontal sur mobile --- */
@media (max-width: 640px) {
    #method-tabs {
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }
    #method-tabs > * {
        scroll-snap-align: start;
        flex-shrink: 0;
    }
}

/* --- Tableaux WordPress : scroll horizontal plutot que page qui deborde --- */
.entry-content table,
.section table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* --- Standardisation des transitions (eviter "transition: all") --- */
.btn-primary, .btn-secondary, .btn-gold,
.liceli-btn, .liceli-btn--primary, .liceli-btn--secondary,
.service-card, .product-card, .liceli-square-card,
.partner-logo-item, .hero-card,
a.contact-info-card, .contact-info-card {
    transition:
        transform var(--transition-normal, 250ms cubic-bezier(.4,0,.2,1)),
        box-shadow var(--transition-normal, 250ms cubic-bezier(.4,0,.2,1)),
        border-color var(--transition-normal, 250ms cubic-bezier(.4,0,.2,1)),
        background-color var(--transition-normal, 250ms cubic-bezier(.4,0,.2,1)),
        color var(--transition-fast, 150ms cubic-bezier(.4,0,.2,1)),
        opacity var(--transition-fast, 150ms cubic-bezier(.4,0,.2,1));
}

/* --- Scroll fluide global --- */
html { scroll-behavior: smooth; }

/* --- Anti-jank : ne pas animer sur les interactions quand l'utilisateur prefere reduire le mouvement --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .animate, .d1, .d2, .d3, .d4, .d5 {
        opacity: 1 !important;
        transform: none !important;
    }
    .partners-marquee-track {
        animation: none !important;
    }
    html { scroll-behavior: auto; }
}

/* --- Focus visible accessible --- */
a:focus-visible,
button:focus-visible,
.liceli-btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent, #00D4FF);
    outline-offset: 2px;
}

/* --- Navigation mobile : padding ajuste sur tres petits ecrans --- */
@media (max-width: 380px) {
    .liceli-nav-menu li a {
        padding: .75rem .5rem !important;
        font-size: .95rem !important;
    }
}

/* ═══════════════════════════════════════
   IMAGES DE SECTION (éditables depuis l'admin)
   v1.3.0 - backgrounds hero/page-head + cartes secteurs
   ═══════════════════════════════════════ */

/* --- Hero : image de fond avec voile --- */
/* !important : neutralise la règle utilitaire ".liceli-square-stage > :not(.liceli-square-scene)
   { position:relative; z-index:1 }" qui sinon effondre ce calque (hauteur 0 = invisible). */
.hero-bg {
    position: absolute !important;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0 !important;
    opacity: .32;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,14,26,.50) 0%, rgba(10,14,26,.82) 100%);
}
.liceli-theme-light .hero-bg { opacity: .22; }
.liceli-theme-light .hero-bg::after {
    background: linear-gradient(180deg, rgba(248,250,255,.55) 0%, rgba(248,250,255,.88) 100%);
}

/* --- En-têtes de page : image bien visible + voile SOMBRE (2 thèmes) + texte blanc --- */
.liceli-page-head { position: relative; overflow: hidden; }
/* !important : même raison que .hero-bg - la règle utilitaire square-stage
   forçait position:relative/z-index:1 et rendait le calque invisible. */
.liceli-page-head__bg {
    position: absolute !important;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0 !important;
    opacity: 1;
}
/* Voile sombre identique en clair ET sombre : la photo reste nettement visible
   et le texte blanc par-dessus reste lisible quel que soit le thème. */
.liceli-page-head__bg::after,
.liceli-theme-light .liceli-page-head__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,14,26,.42) 0%, rgba(11,16,30,.70) 100%);
}

/* Texte en blanc sur les en-têtes qui ont une photo (lisible sur le voile sombre) */
.liceli-page-head--photo .section-title,
.liceli-page-head--photo .section-title * ,
.liceli-page-head--photo h1,
.liceli-page-head--photo .liceli-blog-hero__title {
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.liceli-page-head--photo .section-title .text-accent { color: var(--cyan, #00D4FF); }
.liceli-page-head--photo .section-subtitle,
.liceli-page-head--photo .liceli-blog-hero__subtitle,
.liceli-page-head--photo p { color: rgba(255,255,255,.88); }
.liceli-page-head--photo .section-tag,
.liceli-page-head--photo .liceli-blog-hero__badge {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.28);
    color: #fff;
}
.liceli-page-head--photo .section-tag svg { color: #fff; }

/* --- Cartes secteurs avec image --- */
.liceli-sector-card { padding: 0; display: flex; flex-direction: column; }
.liceli-sector-card__media {
    position: relative;
    height: 130px;
    overflow: hidden;
}
.liceli-sector-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.liceli-sector-card:hover .liceli-sector-card__media img { transform: scale(1.06); }
.liceli-sector-card__icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 8px rgba(0,0,0,.30);
}
.liceli-sector-card__body { flex: 1; }

@media (prefers-reduced-motion: reduce) {
    .liceli-sector-card:hover .liceli-sector-card__media img { transform: none; }
}

/* ═══════════════════════════════════════
   FINITION NATIVE - MOBILE / TABLETTE (v1.3.0)
   ═══════════════════════════════════════ */

/* --- Confort tactile global --- */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Les ancres (#services) ne passent plus sous la navbar fixe */
    scroll-padding-top: calc(var(--navbar-h, 70px) + 12px);
}
* { -webkit-tap-highlight-color: rgba(0, 212, 255, .18); }

/* --- Images toujours fluides (jamais de débordement horizontal) --- */
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }

/* --- Empêche tout débordement latéral de la page --- */
html, body { overflow-x: hidden; }

/* --- Cibles tactiles : boutons et liens de nav assez grands au doigt --- */
@media (max-width: 900px) {
    .btn-primary, .btn-secondary, .btn-gold,
    .liceli-btn, .form-control, button[type="submit"] {
        min-height: 46px;
    }
    /* iOS : un input < 16px déclenche un zoom automatique au focus - on l'évite */
    input, select, textarea, .form-control {
        font-size: 16px;
    }
}

/* --- Images de secteur : hauteur réduite quand la grille passe en 2 colonnes --- */
@media (max-width: 640px) {
    .liceli-sector-card__media { height: 104px; }
    .liceli-approach-media img { height: 180px !important; }
    /* Hero : la photo de fond reste un peu plus discrète sur petit écran */
    .hero-bg { opacity: .24; }
    .liceli-theme-light .hero-bg { opacity: .18; }
}
@media (max-width: 380px) {
    .liceli-sector-card__media { height: 130px; } /* 1 colonne : on peut agrandir */
}

/* ═══════════════════════════════════════
   CARROUSEL HERO (Swiper) - v1.3.0
   ═══════════════════════════════════════ */
.hero-carousel {
    display: block;            /* override .hero-visual (grid) */
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    aspect-ratio: 4 / 3;
    background: var(--bg-card);
}
.hero-carousel .swiper-wrapper { height: 100%; }
.hero-carousel__slide { position: relative; height: 100%; overflow: hidden; }
.hero-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-carousel__overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem 1.25rem 1.6rem;
    background: linear-gradient(0deg, rgba(10,14,26,.88) 0%, rgba(10,14,26,.35) 60%, transparent 100%);
}
.hero-carousel__icon {
    width: 40px; height: 40px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    background: rgba(255,255,255,.95);
}
.hero-carousel__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    line-height: 1.2;
}
.hero-carousel__desc {
    font-size: .8rem;
    color: rgba(255,255,255,.82);
    margin-top: .15rem;
}
.hero-carousel__dots {
    position: absolute;
    bottom: .55rem; left: 0; right: 0;
    z-index: 2;
}
.hero-carousel .swiper-pagination-bullet {
    background: #fff;
    opacity: .55;
}
.hero-carousel .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent, #00D4FF);
    width: 22px;
    border-radius: 4px;
}
/* Tablette/mobile : ratio un peu plus haut, largeur pleine */
@media (max-width: 1024px) {
    .hero-carousel { max-width: 560px; margin: 0 auto; aspect-ratio: 16 / 11; }
}
@media (max-width: 640px) {
    .hero-carousel { aspect-ratio: 16 / 10; border-radius: 16px; }
    .hero-carousel__title { font-size: .95rem; }
}

/* ═══════════════════════════════════════
   HERO IMMERSIF - slider d'images en arrière-plan plein écran
   ═══════════════════════════════════════ */
.hero--immersive {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 100vh;           /* plein écran : commence sous la navbar, sans bande vide */
}
/* Supprime la bande vide entre la navbar (fixe, en verre) et le Hero :
   sur l'accueil, on annule le décalage de .liceli-main pour que l'image
   remonte jusque sous la navbar. Le contenu est dégagé via le padding du hero-inner. */
.home .liceli-main,
.admin-bar.home .liceli-main { padding-top: 0; }
/* Le texte démarre sous la navbar fixe (et sous la barre admin le cas échéant),
   avec un retrait latéral suffisant pour ne jamais passer sous les flèches. */
.hero--immersive .hero-inner {
    padding-top: calc(var(--navbar-h, 70px) + 2.75rem);
    padding-right: clamp(2.75rem, 6vw, 5.5rem);
    padding-bottom: 4rem;
    padding-left: clamp(2.75rem, 6vw, 5.5rem);
}
.admin-bar .hero--immersive .hero-inner {
    padding-top: calc(var(--navbar-h, 70px) + 32px + 2.75rem);
}
/* Slider d'arrière-plan : couvre toute la section Hero */
.hero--immersive .hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero--immersive .hero-slider .swiper-wrapper { height: 100%; }
.hero-slider__slide {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.hero-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* images bien cadrées, plein cadre */
    object-position: center;
    display: block;
}
/* Léger zoom lent (Ken Burns) sur la slide active = rendu premium */
.hero--immersive .hero-slider .swiper-slide-active .hero-slider__img {
    animation: heroKenBurns 7s ease-out both;
}
@keyframes heroKenBurns {
    from { transform: scale(1.05); }
    to   { transform: scale(1.15); }
}
/* Overlay : voile sombre global + dégradé plus foncé à gauche (derrière le texte) */
.hero-slider__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8,12,22,.72) 0%, rgba(8,12,22,.42) 45%, rgba(8,12,22,.10) 100%),
        linear-gradient(180deg, rgba(8,12,22,.06) 0%, rgba(8,12,22,.28) 100%);
}
/* Contenu texte au-dessus de l'image, aligné à gauche */
.hero--immersive .hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;                 /* occuper toute la largeur => texte calé à gauche */
    grid-template-columns: 1fr;
    text-align: left;
}
.hero--immersive .hero-content { max-width: 640px; }
/* Halos décoratifs inutiles sur une image de fond */
.hero--immersive::before,
.hero--immersive::after { display: none; }

/* --- Couleurs adaptées au fond image : texte clair, fort contraste --- */
.hero--immersive .hero-title {
    color: #fff;
    text-shadow: 0 2px 22px rgba(0,0,0,.40);
}
.hero--immersive .hero-title .line2,
.hero--immersive .hero-title .text-accent { color: var(--cyan, #00D4FF); }
.hero--immersive .hero-desc {
    color: rgba(255,255,255,.92);
    text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.hero--immersive .hero-badge {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.32);
    color: #fff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.hero--immersive .hero-badge-dot { background: var(--cyan, #00D4FF); }

/* --- Statistiques : claires et lisibles sur l'image --- */
.hero--immersive .hero-stats { border-top-color: rgba(255,255,255,.24); }
.hero--immersive .hero-stat-num {
    color: #fff;
    text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.hero--immersive .hero-stat-num span { color: var(--cyan, #00D4FF); }
.hero--immersive .hero-stat-label { color: rgba(255,255,255,.80); }

/* --- Boutons adaptés au nouveau fond visuel --- */
.hero--immersive .hero-actions { justify-content: flex-start; }
.hero--immersive .btn-primary { box-shadow: 0 8px 30px rgba(0,212,255,.40); }
.hero--immersive .btn-secondary {
    border-color: rgba(255,255,255,.50);
    background: rgba(255,255,255,.10);
    color: #fff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.hero--immersive .btn-secondary:hover {
    background: rgba(255,255,255,.20);
    border-color: #fff;
    color: #fff;
}

/* --- Flèches précédent / suivant : discrètes mais visibles --- */
.hero-slider__nav {
    position: absolute;
    top: 50%;
    z-index: 3;                  /* au-dessus de l'overlay et du contenu */
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.38);
    background: rgba(10,14,26,.32);
    color: #fff;
    cursor: pointer;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background .25s ease, border-color .25s ease, transform .25s ease, opacity .25s ease;
}
.hero-slider__nav:hover {
    background: rgba(0,212,255,.32);
    border-color: rgba(255,255,255,.75);
    transform: translateY(-50%) scale(1.06);
}
.hero-slider__nav:focus-visible {
    outline: 2px solid var(--cyan, #00D4FF);
    outline-offset: 3px;
}
.hero-slider__nav svg { display: block; }
.hero-slider__nav--prev { left: 1.5rem; }
.hero-slider__nav--next { right: 1.5rem; }
/* Swiper masque les flèches en début/fin si besoin */
.hero-slider__nav.swiper-button-disabled { opacity: .35; cursor: default; }

/* --- Indicateurs (capsules) en bas du Hero --- */
.hero-slider__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.6rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    pointer-events: none;        /* seuls les points captent le clic */
}
.hero-slider__dots .swiper-pagination-bullet {
    pointer-events: auto;
    width: 9px;
    height: 9px;
    margin: 0 !important;
    border-radius: 100px;
    background: rgba(255,255,255,.55);
    opacity: 1;
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}
.hero-slider__dots .swiper-pagination-bullet:hover { background: rgba(255,255,255,.85); }
.hero-slider__dots .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--cyan, #00D4FF);
}

/* Responsive : conserver l'alignement à gauche + renforcer le voile */
@media (max-width: 1024px) {
    .hero--immersive .hero-inner { text-align: left; }
    .hero--immersive .hero-actions,
    .hero--immersive .hero-stats { justify-content: flex-start; }
    .hero--immersive .hero-content { max-width: 640px; }
    .hero-slider__overlay {
        background:
            linear-gradient(90deg, rgba(8,12,22,.78) 0%, rgba(8,12,22,.56) 60%, rgba(8,12,22,.38) 100%),
            linear-gradient(180deg, rgba(8,12,22,.12) 0%, rgba(8,12,22,.42) 100%);
    }
    .hero-slider__nav--prev { left: 1rem; }
    .hero-slider__nav--next { right: 1rem; }
}
@media (max-width: 640px) {
    .hero--immersive { min-height: 88vh; }
    .hero--immersive .hero-content { max-width: 100%; }
    /* Flèches plus petites et un peu plus hautes pour ne pas gêner les stats */
    .hero-slider__nav { width: 38px; height: 38px; top: 42%; }
    .hero-slider__nav svg { width: 22px; height: 22px; }
    .hero-slider__nav--prev { left: .5rem; }
    .hero-slider__nav--next { right: .5rem; }
    .hero-slider__dots { bottom: 1rem; }
}
/* Accessibilité : pas de zoom animé si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
    .hero--immersive .hero-slider .swiper-slide-active .hero-slider__img {
        animation: none !important;
        transform: none !important;
    }
}

/* ═══════════════════════════════════════
   CARTES "NOS DOMAINES" AVEC IMAGE (v1.3.0)
   ═══════════════════════════════════════ */
.service-card--media { padding: 0; display: flex; flex-direction: column; }
.service-card--media .service-card__media {
    position: relative;
    height: 168px;
    overflow: hidden;
}
.service-card--media .service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.service-card--media:hover .service-card__media img { transform: scale(1.06); }
.service-card--media .service-card__icon {
    position: absolute;
    bottom: 12px;
    left: 14px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.95);
    box-shadow: 0 4px 14px rgba(0,0,0,.30);
}
.service-card--media .service-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card--media .service-card-tags { margin-top: auto; }

@media (prefers-reduced-motion: reduce) {
    .service-card--media:hover .service-card__media img { transform: none; }
}
@media (max-width: 640px) {
    .service-card--media .service-card__media { height: 150px; }
}

/* ═══════════════════════════════════════
   RECHERCHE & FILTRES - Catalogue + Blog (v1.3.4)
   ═══════════════════════════════════════ */

/* --- Catalogue : barre de recherche pleine largeur --- */
.catalogue-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: .6rem;
    max-width: 560px;
    margin: 1.5rem auto .25rem;
    padding: .85rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color .25s, box-shadow .25s;
}
.catalogue-search:focus-within {
    border-color: var(--accent, #00D4FF);
    box-shadow: 0 0 0 3px rgba(0,212,255,.14);
}
.catalogue-search svg { color: var(--text-muted, #8a93a6); flex-shrink: 0; }
.catalogue-search input {
    flex: 1;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    min-width: 0;
}
.catalogue-search__clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border: 0;
    border-radius: 50%;
    background: var(--bg-secondary, rgba(127,127,127,.12));
    color: var(--text-secondary);
    cursor: pointer;
    flex-shrink: 0;
}
.catalogue-search__clear:hover { color: var(--text-primary); }

.catalogue-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}
.catalogue-no-results svg { color: var(--text-muted, #8a93a6); opacity: .6; margin-bottom: .75rem; }
.catalogue-no-results p { margin: 0 0 1.25rem; font-size: 1rem; }

/* --- Blog : champ de recherche --- */
.liceli-blog-search {
    display: flex;
    align-items: center;
    gap: .6rem;
    max-width: 620px;
    margin: 0 auto 1.5rem;
    padding: .8rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color .25s, box-shadow .25s;
}
.liceli-blog-search:focus-within {
    border-color: var(--accent, #00D4FF);
    box-shadow: 0 0 0 3px rgba(0,212,255,.14);
}
.liceli-blog-search > svg { color: var(--text-muted, #8a93a6); flex-shrink: 0; }
.liceli-blog-search input[type="search"] {
    flex: 1;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    min-width: 0;
}
.liceli-blog-search__btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 0;
    border-radius: 10px;
    padding: .55rem 1rem;
    background: var(--accent, #00D4FF);
    color: #04121b;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: filter .2s;
}
.liceli-blog-search__btn:hover { filter: brightness(1.08); }
@media (max-width: 480px) {
    .liceli-blog-search__btn span { display: none; }
}

/* ════════════════════════════════════════════════════════════
   SLIDERS - MOTION DESIGN
   1) Hero carousel : Ken Burns (zoom/pan lent) sur l'image active
      + révélation en cascade de l'icône / titre / description.
      Pur CSS keyé sur .swiper-slide-active (Swiper pose la classe).
   2) Bandeau partenaires : polish du survol + will-change.
   Respecte prefers-reduced-motion (bloc dédié plus bas).
   ════════════════════════════════════════════════════════════ */

/* --- 1. Hero carousel : Ken Burns --- */
.hero-carousel__slide img {
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.hero-carousel__slide.swiper-slide-active img {
    animation: heroKenBurns 7s ease-out both;
}
@keyframes heroKenBurns {
    from { transform: scale(1) translate(0, 0); }
    to   { transform: scale(1.12) translate(-1.5%, -1.5%); }
}

/* --- 1b. Hero carousel : révélation du contenu (icône → titre → desc) ---
   L'état caché est scopé à .swiper-initialized : si Swiper ne se charge pas,
   le contenu reste visible (pas de texte fantôme). */
.hero-carousel.swiper-initialized .hero-carousel__overlay .hero-carousel__icon,
.hero-carousel.swiper-initialized .hero-carousel__overlay .hero-carousel__title,
.hero-carousel.swiper-initialized .hero-carousel__overlay .hero-carousel__desc {
    opacity: 0;
    transform: translateY(14px);
}
.hero-carousel__slide.swiper-slide-active .hero-carousel__icon  { animation: heroReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
.hero-carousel__slide.swiper-slide-active .hero-carousel__title { animation: heroReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
.hero-carousel__slide.swiper-slide-active .hero-carousel__desc  { animation: heroReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both; }
@keyframes heroReveal {
    to { opacity: 1; transform: translateY(0); }
}

/* --- 2. Bandeau partenaires : survol plus vivant + perf --- */
.partners-marquee-track { will-change: transform; }
.partner-logo-item {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}
.partner-logo-item:hover {
    transform: scale(1.12) translateY(-4px);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
}

/* --- 3. Accessibilité : on neutralise ces motions si demandé --- */
@media (prefers-reduced-motion: reduce) {
    .hero-carousel__slide img,
    .hero-carousel__slide.swiper-slide-active img { animation: none !important; transform: none !important; }
    .hero-carousel__overlay .hero-carousel__icon,
    .hero-carousel__overlay .hero-carousel__title,
    .hero-carousel__overlay .hero-carousel__desc { opacity: 1 !important; transform: none !important; animation: none !important; }
    .partners-marquee-track { animation: none !important; }
    .partner-logo-item:hover { transform: none; filter: none; }
}

/* ════════════════════════════════════════════════════════════
   SECTEURS (accueil) - disposition 3 + 2
   Ligne 1 : 3 cartes verticales (span 2). Ligne 2 : 2 cartes larges
   (span 3) en layout HORIZONTAL (image a gauche | texte a droite),
   pour occuper toute la largeur des 3 du haut sans paraitre etirees.
   Grille a 6 colonnes : haut = 3 x (span 2), bas = 2 x (span 3).
   Sous 640px : grille simple, spans annules, cartes larges re-verticalisees.
   ════════════════════════════════════════════════════════════ */
.liceli-sectors-grid {
    grid-template-columns: repeat(6, 1fr);
}
/* Ligne 1 : 3 cartes verticales */
.liceli-sectors-grid > .liceli-sector-card:nth-child(1),
.liceli-sectors-grid > .liceli-sector-card:nth-child(2),
.liceli-sectors-grid > .liceli-sector-card:nth-child(3) { grid-column: span 2; }

/* Ligne 2 : 2 cartes larges, layout horizontal image | texte */
.liceli-sectors-grid > .liceli-sector-card:nth-child(4),
.liceli-sectors-grid > .liceli-sector-card:nth-child(5) {
    grid-column: span 3;
    flex-direction: row;
    align-items: stretch;
    min-height: 160px;
}
.liceli-sectors-grid > .liceli-sector-card:nth-child(4) > .liceli-sector-card__media,
.liceli-sectors-grid > .liceli-sector-card:nth-child(5) > .liceli-sector-card__media {
    height: auto;
    width: 44%;
    flex: 0 0 44%;
}
.liceli-sectors-grid > .liceli-sector-card:nth-child(4) > .liceli-sector-card__body,
.liceli-sectors-grid > .liceli-sector-card:nth-child(5) > .liceli-sector-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left !important; /* prime sur le text-align:center inline de la carte */
}

@media (max-width: 640px) {
    /* Grille simple : spans annules + cartes larges de nouveau verticales. */
    .liceli-sectors-grid > .liceli-sector-card { grid-column: auto !important; }
    .liceli-sectors-grid > .liceli-sector-card:nth-child(4),
    .liceli-sectors-grid > .liceli-sector-card:nth-child(5) {
        flex-direction: column;
        min-height: 0;
    }
    .liceli-sectors-grid > .liceli-sector-card:nth-child(4) > .liceli-sector-card__media,
    .liceli-sectors-grid > .liceli-sector-card:nth-child(5) > .liceli-sector-card__media {
        width: 100%;
        flex: none;
        height: 130px;
    }
    .liceli-sectors-grid > .liceli-sector-card:nth-child(4) > .liceli-sector-card__body,
    .liceli-sectors-grid > .liceli-sector-card:nth-child(5) > .liceli-sector-card__body {
        display: block;
        text-align: center !important;
    }
}

/* ════════════════════════════════════════════════════════════
   ATOUTS (qui sommes-nous) - "Pourquoi choisir Liceli ?"
   Les 4 cartes en 2 x 2 (plus larges) au lieu d'une rangée serrée.
   !important pour primer sur les règles génériques .liceli-resp-autogrid.
   ════════════════════════════════════════════════════════════ */
.liceli-atouts-grid { grid-template-columns: repeat(2, 1fr) !important; }
@media (max-width: 640px) {
    .liceli-atouts-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════
   POPUP NEWSLETTER - modal split (image agrandie)
   ═══════════════════════════════════════ */
.liceli-nl-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(8, 12, 22, .68);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}
.liceli-nl-overlay.is-open { opacity: 1; visibility: visible; }

.liceli-nl-modal {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 940px;
    max-height: 92vh;
    background: var(--bg-card, #fff);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    transform: translateY(18px) scale(.97);
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
.liceli-nl-overlay.is-open .liceli-nl-modal { transform: none; }

/* Côté image AGRANDI (~58%) */
.liceli-nl-media {
    flex: 1.45 1 0;
    min-width: 0;
    position: relative;
    background: #0A0E1A;
}
.liceli-nl-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* léger dégradé pour fondre l'image vers le formulaire */
.liceli-nl-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 70%, rgba(8,12,22,.18) 100%);
    pointer-events: none;
}

/* Côté formulaire */
.liceli-nl-body {
    flex: 1 1 0;
    min-width: 0;
    padding: 2.6rem 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.liceli-nl-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    padding: 5px 13px;
    border-radius: 100px;
    border: 1px solid rgba(0, 212, 255, .25);
    background: rgba(0, 212, 255, .08);
    color: var(--accent, #00D4FF);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.liceli-nl-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent, #00D4FF); animation: pulse 2s infinite; }
.liceli-nl-title {
    font-family: var(--font-heading, 'Manrope', sans-serif);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--text-primary);
    margin: 0 0 .7rem;
}
.liceli-nl-text {
    font-size: .98rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 1.6rem;
}
.liceli-nl-form { display: flex; flex-direction: column; gap: .7rem; }
.liceli-nl-input {
    width: 100%;
    padding: .85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border, rgba(0,0,0,.12));
    background: var(--bg-secondary, #f6f7f9);
    color: var(--text-primary);
    font-size: .95rem;
    font-family: 'DM Sans', sans-serif;
}
.liceli-nl-input:focus { outline: none; border-color: var(--accent, #00D4FF); box-shadow: 0 0 0 3px rgba(0, 212, 255, .15); }
.liceli-nl-submit { width: 100%; justify-content: center; }
.liceli-nl-submit[disabled] { opacity: .6; cursor: progress; }
.liceli-nl-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .76rem;
    color: var(--text-muted, #6B7280);
    margin: 1rem 0 0;
}
.liceli-nl-success {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: rgba(0, 200, 150, .1);
    border: 1px solid rgba(0, 200, 150, .3);
    color: var(--green, #00C896);
    font-weight: 600;
    font-size: .95rem;
}
.liceli-nl-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #0A0E1A;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
    transition: transform .2s ease, background .2s ease;
}
.liceli-nl-close:hover { transform: rotate(90deg); background: #fff; }

/* Responsive : empilé, image en haut */
@media (max-width: 760px) {
    .liceli-nl-modal { flex-direction: column; max-width: 440px; max-height: 90vh; overflow-y: auto; }
    .liceli-nl-media { flex: none; height: 190px; }
    .liceli-nl-media img { position: relative; }
    .liceli-nl-body { padding: 1.8rem 1.5rem; }
    .liceli-nl-close { background: rgba(255,255,255,.92); }
}
@media (max-width: 380px) {
    .liceli-nl-media { height: 150px; }
}

/* ================================================================
   CHAMP FICHIER PERSONNALISÉ (remplace le bouton natif "Browse")
   ================================================================ */
.liceli-file {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}
/* input natif masqué visuellement mais conservé (accessible + envoi) */
.liceli-file__input {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.liceli-file__btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.1rem;
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
    white-space: nowrap;
}
.liceli-file__btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}
/* focus clavier sur l'input (masqué) relaie le style au bouton */
.liceli-file:focus-within .liceli-file__btn {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}
.liceli-file__btn svg { flex-shrink: 0; }
.liceli-file__name {
    font-size: .82rem;
    color: var(--text-muted);
    word-break: break-word;
}
.liceli-file.is-filled .liceli-file__name {
    color: var(--text-secondary);
    font-weight: 500;
}
