/**
 * 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: compensate extra height on .liceli-main */
.admin-bar .liceli-main {
    padding-top: calc(var(--navbar-h, 70px) + 32px);
}
@media (max-width: 782px) {
    .admin-bar .liceli-main {
        padding-top: calc(var(--navbar-h, 70px) + 46px);
    }
}
/* 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;
        padding-top: 1rem;
        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: center;
    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: 52px;
    padding: 6px 18px;
    border-radius: 0;
    background: transparent;
    border: none;
    opacity: .55;
    transition: opacity .3s ease, filter .3s ease, transform .3s ease;
    filter: grayscale(40%);
}
.partner-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.08);
}
.partner-logo-item img {
    max-height: 42px;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}
/* Theme clair : logos naturels */
.liceli-theme-light .partner-logo-item:hover {
    opacity: 1;
}
/* Theme sombre : pas de boite blanche, juste luminosite */
.liceli-theme-dark .partner-logo-item {
    opacity: .6;
}
.liceli-theme-dark .partner-logo-item:hover {
    opacity: 1;
}
.liceli-theme-dark .partner-logo-item img {
    filter: brightness(1.15);
}
@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;
}
.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 .6s ease forwards; }
.d1 { animation-delay: .1s; opacity: 0; }
.d2 { animation-delay: .2s; opacity: 0; }
.d3 { animation-delay: .3s; opacity: 0; }
.d4 { animation-delay: .4s; opacity: 0; }
.d5 { animation-delay: .5s; 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: 2.5rem 1rem; 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 ── */
    .partners-marquee-track {
        gap: 1.5rem;
    }
    .partner-logo-item {
        height: 40px;
        padding: 4px 10px;
    }
    .partner-logo-item img {
        max-height: 32px;
        max-width: 100px;
    }

    /* ── 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: 2rem .75rem; }
    .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; }
}

