:root {
    --primary: #4cc3bd;
    --primary-dark: #3aa8a3;
    --secondary: #2b2d42;
    --text-main: #2b2d42;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #f0fdfc 0%, #e0f2f1 100%);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    /* Premium soft shadow */
    --radius-md: 12px;
    --radius-lg: 24px;
}

/* ===== FX HERO (scopé) ===== */
/*
.fx-hero{
    position: relative;
    overflow: hidden;
    padding: 96px 0 72px;
    background: radial-gradient(1200px 600px at 20% 0%, rgba(106,61,240,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(241,109,52,.16), transparent 55%),
    #070A12;
    color: #EAF0FF;
    border-radius: 24px;
}
*/
.fx-hero__wrap{
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.fx-hero{
    position: relative;
    overflow: hidden;
    padding: 96px 0 72px;
    border-radius: 24px;
    color: #EAF0FF;

    /* base */
    background: #070A12;

    /* on va animer ces variables via GSAP */
    --bgShift: 0px;
    --hue: 0deg;
}

/* Le “vrai” décor bougeant */
.fx-hero__bg{
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    filter:none !important;
}

.fx-hero__bg::before{
    content:"";
    position:absolute;
    inset:-60px;

    /* + clair sans surcharger */
    opacity:.55;

    background:
            linear-gradient(to right, rgba(255,255,255,.14) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(255,255,255,.14) 1px, transparent 1px);

    background-size: 64px 64px;   /* plus gros = moins de traits */
    background-repeat: repeat;

    will-change: transform;
    transform: translate3d(0,0,0);
    animation: fxGridMoveX 10s linear infinite;
}

/* gauche -> droite */
@keyframes fxGridMoveX{
    from { transform: translate3d(0,0,0); }
    to   { transform: translate3d(64px,0,0); } /* doit matcher background-size */
}





/* Glows remappés sur tes couleurs (primary) */
.fx-hero__glow{
    position:absolute;
    width: 560px; height: 560px;
    border-radius: 999px;
    filter: blur(46px);
    opacity: .55;
    will-change: transform;
}

/* Teal */
.fx-hero__glow--a{
    left:-220px; top:-240px;
    background: color-mix(in srgb, var(--primary) 55%, transparent);
}

/* Teal dark */
.fx-hero__glow--b{
    right:-240px; top:-140px;
    background: color-mix(in srgb, var(--primary-dark) 50%, transparent);
}

/* En fallback si color-mix pas supporté (rare) */
@supports not (background: color-mix(in srgb, white 50%, transparent)){
    .fx-hero__glow--a{ background: rgba(76,195,189,.45); }
    .fx-hero__glow--b{ background: rgba(58,168,163,.40); }
}

.fx-hero__badge{
    display:inline-flex; align-items:center; gap:10px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: .2px;
}
.fx-dot{ width:8px; height:8px; border-radius:50%; background: #6A3DF0; box-shadow: 0 0 0 4px rgba(106,61,240,.18); }

.fx-hero__title{
    margin: 16px 0 14px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.03;
    letter-spacing: -0.03em;
}
.fx-mark{
    background: linear-gradient(90deg, #9EA8FF, #FFFFFF);
    -webkit-background-clip:text; background-clip:text; color: transparent;
}
.fx-hero__subtitle{
    max-width: 60ch;
    opacity: .9;
    line-height: 1.55;
    margin: 0 0 22px;
}

.fx-hero__actions{ display:flex; gap:12px; flex-wrap:wrap; }

.fx-btn{
    display:inline-flex; align-items:center; justify-content:center;
    height: 44px; padding: 0 16px;
    border-radius: 50px;
    text-decoration:none;
    font-weight: 600;
    letter-spacing: .2px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
    color: #EAF0FF;
}
.fx-btn--primary{
    border-color: #347a76;
    background: var(--primary-dark);
    box-shadow: 0 14px 40px rgba(106,61,240,.25);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fx-btn--primary:hover{
    border-color: #214948;
    transform: translateY(-6px);     /* plus visible que -2px */
    box-shadow: 0 18px 50px rgba(106,61,240,.28);
}

/* option: petit “appui” au clic */
.fx-btn--primary:active{
    transform: translateY(-2px);
}
.fx-btn--primary:hover{
    animation: btn-bounce .35s ease;
}

@keyframes btn-bounce{
    0%   { transform: translateY(0); }
    60%  { transform: translateY(-8px); }
    100% { transform: translateY(-6px); }
}
.fx-btn--ghost:hover{ background: rgba(255,255,255,.09); }

.fx-hero__trust{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 18px; opacity:.95; }
.fx-pill{
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    font-size: 12px;
}

/* Right UI mock */
.fx-hero__right{ position: relative; }
.fx-card{
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
    backdrop-filter: blur(10px);
    padding: 16px;
}
.fx-card__top{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 12px; }
.fx-card__title{ font-weight: 700; }
.fx-card__chip{
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.18);
}

.fx-rows{ display:grid; gap: 10px; margin: 12px 0 14px; }
.fx-row{ display:flex; align-items:center; justify-content:space-between; gap: 14px; }
.fx-row__left{ flex:1; }
.fx-row__label, .fx-row__sub, .fx-row__price{
    height: 10px; border-radius: 999px; background: rgba(255,255,255,.10);
}
.fx-row__label{ width: 70%; margin-bottom: 6px; }
.fx-row__sub{ width: 46%; opacity:.7; }
.fx-row__price{ width: 22%; opacity:.9; }

.fx-total{
    display:flex; align-items:center; justify-content:space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 8px;
}
.fx-total__label{ opacity:.85; font-size: 13px; }
.fx-total__value{ font-weight: 800; letter-spacing: .2px; }

.fx-pay{ margin-top: 12px; }
.fx-pay__bar{
    height: 10px; border-radius: 999px;
    background: rgba(255,255,255,.10);
    overflow:hidden;
}
.fx-pay__fill{
    display:block; height:100%;
    width: 72%;
    background: linear-gradient(90deg, rgba(34,197,94,.9), rgba(106,61,240,.75));
    transform: translateX(-110%);
}
.fx-pay__meta{
    display:flex; justify-content:space-between;
    margin-top: 8px; font-size: 12px; opacity:.9;
}
.fx-pay__ok{ color: rgba(34,197,94,.95); }
