@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap');
        
:root {
    /* --- Palette Elec3000 (électrique) --- */
    --couleur-primaire: 14 165 233; /* sky-500 */
    --couleur-primaire-hover: 2 132 199; /* sky-600 */
    --couleur-primaire-clair: 186 230 253; /* sky-200 */
}

body {
    font-family: 'Satoshi', sans-serif;
}

/* --- FRIENDLY HERO --- */
.hero-friendly {
    background-color: #f8f9fa; /* A soft off-white */
    position: relative;
    overflow: hidden;
}

.hero-friendly::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: rgba(var(--couleur-primaire), 0.08);
    top: -250px;
    left: -250px;
    filter: blur(50px);
}

.hero-friendly::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: rgba(var(--couleur-primaire), 0.05);
    bottom: -200px;
    right: -150px;
    filter: blur(50px);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

/* --- Premium Card Gradient/Gloss Effect --- */
.card-premium {
    position: relative;
    overflow: hidden;
    /* A nice, trendy gradient using the primary color */
    background: linear-gradient(135deg, rgb(96, 165, 250) 0%, rgb(var(--couleur-primaire)) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* This pseudo-element creates the moving "shine" effect on hover */
.card-premium::after {
    content: "";
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    transform: skewX(-20deg);
    background-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: left 0.6s ease-out;
}

.card-premium:hover::after {
    left: 100%;
}

.img-how-it-works {
    height: 500px;
    max-width: 400px;
    width: 100%;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
}

.font-brand {
    font-family: "Faculty Glyphic", cursive;
}

/* --- Cozy Section Background --- */
.section-cozy {
    background: linear-gradient(180deg, rgba(var(--couleur-primaire-clair), 0.25) 0%, rgba(255,255,255,1) 60%);
}

/* Badge icon pour les cartes services */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background-color: rgba(var(--couleur-primaire), 0.1);
    color: rgb(var(--couleur-primaire));
    font-size: 20px;
}

/* --- Cozy helpers --- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 9999px;
    background-color: rgba(var(--couleur-primaire-clair), 0.7);
    color: rgb(var(--couleur-primaire));
    border: 1px solid rgba(var(--couleur-primaire), 0.1);
    font-weight: 600;
}

.note {
    background: #fff;
    border-left: 4px solid rgb(var(--couleur-primaire));
    border-radius: 8px;
    padding: 12px 16px;
}

.lift {
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* --- Hero Electric (full-bleed background) --- */
.hero-electric {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    overflow: hidden;
}
.hero-electric::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.35) 100%);
}
.hero-electric .hero-content-wrapper {
    position: relative;
}
.floating-bolt {
    position: absolute;
    color: rgb(var(--couleur-primaire));
    opacity: 0.25;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
    animation: floatY 6s ease-in-out infinite;
}
.floating-bolt:nth-child(1) { top: 12%; left: 8%; font-size: 40px; animation-delay: 0s; }
.floating-bolt:nth-child(2) { bottom: 18%; left: 16%; font-size: 28px; animation-delay: 0.8s; }
.floating-bolt:nth-child(3) { top: 20%; right: 14%; font-size: 36px; animation-delay: 0.4s; }
.floating-bolt:nth-child(4) { bottom: 10%; right: 10%; font-size: 30px; animation-delay: 1.2s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* --- Scroll reveal animation --- */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms ease, transform 600ms ease;
    will-change: opacity, transform;
}
.reveal.animate-in {
    opacity: 1;
    transform: none;
}

/* --- Buttons glow --- */
.btn-glow {
    box-shadow: 0 10px 24px rgba(14,165,233,0.25);
}
.btn-glow:hover {
    box-shadow: 0 14px 32px rgba(14,165,233,0.35);
}

/* --- Gallery / Lightbox --- */
.gallery img {
    transition: transform 300ms ease;
    will-change: transform;
}
.gallery a:hover img {
    transform: scale(1.03);
}
#lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60;
    padding: 16px;
}
#lightbox-overlay.open {
    display: flex;
}
#lightbox-overlay img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}
#lightbox-overlay button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 9999px;
    padding: 8px 12px;
}

/* --- Trust badges --- */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 9999px;
    background-color: rgba(var(--couleur-primaire-clair), 0.9);
    color: #0b1220;
    border: 1px solid rgba(var(--couleur-primaire), 0.15);
    font-weight: 600;
}


/* ================== UX System (scopé) ================== */
.glass-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 16px;
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.18);
}
.glass-nav {
    background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.4));
    border-bottom: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.section-primary {
    position: relative;
}
.section-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.glass-cta {
    background: linear-gradient(180deg, rgba(14,165,233,0.5), rgba(255,255,255,0.08));
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.2);
}
.section-primary .glass-card {
    background: linear-gradient(180deg, rgba(14,165,233,0.2), rgba(0,0,0,0.12));
    color: rgba(14,165,233,1);
}
.section-primary .glass-card h1,
.section-primary .glass-card h2,
.section-primary .glass-card h3,
.section-primary .glass-card p,
.section-primary .glass-card li,
.section-primary .glass-card a {
    color: #161616;
}
.section-primary .glass-cta {
    background: linear-gradient(180deg, rgb(6, 142, 209), rgba(6, 142, 209,0.6));
    color: #fff;
}
.section-primary .icon-badge {
    background-color: rgb(6, 142, 209);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.18);
}
.image-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ux-scope {
    /* Fonts */
    --ux-ff: 'Manrope', sans-serif;
    --ux-h1: 700 1.5rem/1.2em var(--ux-ff);
    --ux-h2: 700 1.25rem/1.4em var(--ux-ff);
    --ux-h3: 700 1.125rem/1.4em var(--ux-ff);
    --ux-p: 400 1rem/1.6em var(--ux-ff);
    --ux-small: 400 0.75rem/1.6em var(--ux-ff);
    --ux-transition: 0.2s ease-in-out;

    /* Colors (dark by défaut) */
    --ux-primary: oklch(0.9 0.17 100);
    --ux-bg-dark: oklch(0.1 0 264);
    --ux-bg: oklch(0.2 0 264);
    --ux-bg-light: oklch(0.3 0 264);

    /* Text */
    --ux-text: oklch(0.96 0 264);
    --ux-text-muted: oklch(0.76 0 264);

    /* Shadows */
    --ux-shadow-s: inset 0 1px 2px #ffffff30, 0 1px 2px #00000030, 0 2px 4px #00000015;
    --ux-shadow-m: inset 0 1px 2px #ffffff50, 0 2px 4px #00000030, 0 4px 8px #00000015;
    --ux-shadow-l: inset 0 1px 2px #ffffff70, 0 4px 6px #00000030, 0 6px 10px #00000015;

    background: var(--ux-bg-dark);
    color: var(--ux-text-muted);
}
.ux-scope.light {
    --ux-primary: oklch(0.65 0.15 264);
    --ux-bg-dark: oklch(0.92 0 264);
    --ux-bg: oklch(0.96 0 264);
    --ux-bg-light: oklch(1 0 264);

    --ux-text: oklch(0.15 0 264);
    --ux-text-muted: oklch(0.4 0 264);
}
.ux-scope h1 { font: var(--ux-h1); color: var(--ux-text); }
.ux-scope h2 { font: var(--ux-h2); color: var(--ux-text); }
.ux-scope h3 { font: var(--ux-h3); color: var(--ux-text); }
.ux-scope p  { font: var(--ux-p); color: var(--ux-text-muted); }
.ux-scope .small, .ux-scope small { font: var(--ux-small); }
.ux-scope a {
    color: var(--ux-text);
    text-decoration: none;
    background: var(--ux-bg-light);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background var(--ux-transition);
}
.ux-scope a:hover { background: color-mix(in oklch, var(--ux-bg-light) 80%, white); }

.ux-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.ux-power-icon {
    width: 1.25rem;
    stroke: var(--ux-text-muted);
}
.ux-btn {
    cursor: pointer;
    border: none;
    border-radius: 1rem;
    background: var(--ux-bg);
    padding: 0.24rem 0.5rem 0.12rem 0.5rem;
    margin-left: auto;
    transition: var(--ux-transition);
    color: var(--ux-text);
}
.ux-btn:hover { background: var(--ux-bg-light); }
.ux-btn:focus { outline: none; }

.ux-shadows {
    background: var(--ux-bg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    padding: 1rem;
    gap: 1rem;
    margin: 2rem 0 0 0;
    border-radius: 1.5rem;
}
.ux-shadows div {
    background: var(--ux-bg-light);
    padding: 2rem;
    border-radius: 1rem;
}
.ux-scope .shadow-none { box-shadow: none; }
.ux-scope .shadow-s { box-shadow: var(--ux-shadow-s); }
.ux-scope .shadow-m { box-shadow: var(--ux-shadow-m); }
.ux-scope .shadow-l { box-shadow: var(--ux-shadow-l); }