/* =====================================================
   RESOCOM — HOME CSS CLEAN
   Thème enfant Astra / front-page.php
   Version alignée charte RESOCOM 2026
====================================================== */


/* =====================================================
   01. VARIABLES CHARTE RESOCOM
====================================================== */

:root{
    --resocom-orange-alerte:#F6903D;
    --resocom-rouge-terracotta:#BE3F23;
    --resocom-rouge-chaleur:#6B2525;

    --resocom-bleu-signal:#62A3C4;
    --resocom-bleu-brume:#16486B;
    --resocom-bleu-profond:#0F2F46;

    --resocom-noir-dense:#010A1F;
    --resocom-gris-moyen:#C9C9C9;
    --resocom-gris-leger:#F3F3F3;
    --resocom-blanc:#ffffff;

    --resocom-text:#010A1F;
    --resocom-text-soft:#475467;
    --resocom-border:rgba(1,10,31,.08);

    --resocom-radius-xl:34px;
    --resocom-radius-lg:28px;
    --resocom-radius-md:22px;
    --resocom-radius-sm:16px;

    --resocom-shadow-soft:0 24px 70px rgba(1,10,31,.10);
    --resocom-shadow-card:0 18px 46px rgba(1,10,31,.07);
    --resocom-shadow-cta:0 18px 38px rgba(22,72,107,.25);

    --resocom-container:1240px;
    --resocom-container-large:1320px;
}


/* =====================================================
   02. RESET ASTRA — HOME FULL WIDTH
   Important : ne pas impacter le header/footer Astra
====================================================== */

/* On cible uniquement la zone de contenu */
.home #content,
.home .site-content,
.home .site-content > .ast-container,
.home #primary,
.home .site-main,
.home .content-area,
.home .entry-content,
.home .resocom-home{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
}

/* On évite de toucher au header Astra */
.home .site-content .ast-container{
    max-width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
}

/* On évite aussi de toucher au footer */
.home .site-footer .ast-container,
.home .main-header-bar .ast-container,
.home .ast-primary-header-bar .ast-container,
.home .ast-above-header-bar .ast-container,
.home .ast-below-header-bar .ast-container{
    max-width:var(--resocom-container-large) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:20px !important;
    padding-right:20px !important;
}

/* Les éléments Elementor / Gutenberg dans le contenu uniquement */
.home .entry-content > *{
    max-width:100% !important;
}

/* =====================================================
   03. GLOBAL HOME
====================================================== */

.resocom-home,
.resocom-home *{
    box-sizing:border-box;
}

.resocom-home{
    width:100%;
    overflow:hidden;
    font-family:inherit;
    color:var(--resocom-text);
    background:var(--resocom-blanc);
}

.resocom-home a{
    text-decoration:none;
}

.resocom-home img,
.resocom-home iframe,
.resocom-home video{
    max-width:100%;
}

/* =====================================================
   04. COMPOSANTS COMMUNS
====================================================== */

.resocom-home-hero__btn,
.resocom-sectors-section__button,
.resocom-kyc-section__button,
.resocom-about-section__button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:54px;
    padding:16px 30px;
    border-radius:999px;
    background:var(--resocom-bleu-brume);
    color:var(--resocom-blanc);
    font-size:16px;
    line-height:1;
    font-weight:850;
    box-shadow:var(--resocom-shadow-cta);
    transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.resocom-home-hero__btn:hover,
.resocom-sectors-section__button:hover,
.resocom-kyc-section__button:hover,
.resocom-about-section__button:hover{
    transform:translateY(-2px);
    background:var(--resocom-bleu-profond);
    color:var(--resocom-blanc);
    box-shadow:0 24px 46px rgba(15,47,70,.32);
}

.resocom-home-hero__btn--secondary{
    background:rgba(255,255,255,.14);
    color:var(--resocom-blanc);
    border:1px solid rgba(255,255,255,.28);
    box-shadow:none;
}

.resocom-home-hero__btn--secondary:hover{
    background:rgba(255,255,255,.22);
    color:var(--resocom-blanc);
    box-shadow:none;
}

.resocom-solutions-overview__badge,
.resocom-stats-section__eyebrow,
.resocom-sectors-section__eyebrow,
.resocom-kyc-section__eyebrow,
.resocom-about-section__eyebrow{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    color:var(--resocom-bleu-brume);
    font-size:14px;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.resocom-solution-card::before,
.resocom-home-kpi-card::before,
.resocom-stat-card::before{
    background:linear-gradient(
        90deg,
        var(--resocom-orange-alerte),
        var(--resocom-rouge-terracotta),
        var(--resocom-bleu-signal)
    );
}

/* =====================================================
   05. HERO SLIDER RESOCOM — CLEAN RESPONSIVE
====================================================== */

.resocom-hero-slider,
.resocom-hero-slider *{
    box-sizing:border-box;
}

.resocom-hero-slider{
    position:relative;
    width:100%;
    min-height:calc(100svh - 90px);
    overflow:hidden;
    background:var(--resocom-noir-dense);
    color:var(--resocom-blanc);
}

.resocom-hero-slider__track{
    position:relative;
    width:100%;
    min-height:calc(100svh - 90px);
}

.resocom-hero-slide{
    position:absolute;
    inset:0;
    width:100%;
    min-height:calc(100svh - 90px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:scale(1.01);
    transition:opacity .7s ease, visibility .7s ease, transform .9s ease;
    overflow:hidden;
}

.resocom-hero-slide.is-active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:scale(1);
    z-index:2;
}

.resocom-hero-slide__background{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    background:
        linear-gradient(135deg, rgba(22,72,107,.34), rgba(246,144,61,.18)),
        url("../img/hero-resocom.jpg");
    background-size:cover;
    background-position:center;
    transform:scale(1.04);
}

.resocom-hero-slide__overlay{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:
        radial-gradient(circle at 12% 22%, rgba(98,163,196,.22), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(246,144,61,.20), transparent 30%),
        linear-gradient(90deg, rgba(1,10,31,.94) 0%, rgba(15,47,70,.88) 42%, rgba(1,10,31,.70) 100%);
}

/* Structure générale */
.resocom-hero-slide__container{
    position:relative;
    z-index:3;
    width:100%;
    max-width:var(--resocom-container-large);
    min-height:calc(100svh - 90px);
    margin:0 auto;
    padding:clamp(42px, 6vh, 82px) 40px clamp(82px, 8vh, 108px);
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(340px, .9fr);
    gap:clamp(34px, 4.5vw, 64px);
    align-items:center;
}

/* Slides 1 et 2 : texte + vidéo */
.resocom-hero-slide__container--media{
    grid-template-columns:minmax(0, .92fr) minmax(420px, 1.08fr);
}

.resocom-hero-slide__content,
.resocom-hero-slide__media{
    position:relative;
    z-index:4;
}

.resocom-hero-slide__content{
    max-width:740px;
}

.resocom-hero-slide__content--media{
    max-width:650px;
}

.resocom-hero-slide__content--kpi{
    max-width:720px;
}

.resocom-hero-slide__badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
    padding:9px 18px;
    border-radius:999px;
    background:rgba(255,255,255,.13);
    border:1px solid rgba(255,255,255,.18);
    color:var(--resocom-blanc);
    font-size:13px;
    font-weight:800;
    letter-spacing:.02em;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

.resocom-hero-slide h1,
.resocom-hero-slide h2{
    max-width:900px;
    margin:0 0 22px;
    color:var(--resocom-blanc);
    font-size:clamp(38px, 5vw, 58px);
    line-height:1.04;
    letter-spacing:-.05em;
    font-weight:900;
}

.resocom-hero-slide--kpi h2{
    text-transform:uppercase;
    font-size:clamp(32px, 4vw, 52px);
}

.resocom-hero-slide p{
    max-width:680px;
    margin:0 0 30px;
    color:rgba(255,255,255,.88);
    font-size:clamp(16px, 1.55vw, 20px);
    line-height:1.58;
}

.resocom-hero-slide__actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.resocom-hero-slide__btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:15px 26px;
    border:0;
    border-radius:999px;
    background:var(--resocom-bleu-brume);
    color:var(--resocom-blanc);
    font-size:15.5px;
    line-height:1;
    font-weight:850;
    text-decoration:none;
    cursor:pointer;
    box-shadow:0 18px 38px rgba(22,72,107,.30);
    transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.resocom-hero-slide__btn:hover{
    transform:translateY(-2px);
    color:var(--resocom-blanc);
}

.resocom-hero-slide__btn--primary:hover{
    background:var(--resocom-bleu-profond);
    box-shadow:0 24px 46px rgba(15,47,70,.36);
}

.resocom-hero-slide__btn--secondary{
    background:rgba(255,255,255,.14);
    color:var(--resocom-blanc);
    border:1px solid rgba(255,255,255,.28);
    box-shadow:none;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}

.resocom-hero-slide__btn--secondary:hover{
    background:rgba(255,255,255,.22);
}

/* Carte vidéo */
.resocom-hero-slide__media{
    width:100%;
    min-width:0;
}

.resocom-hero-video-card{
    position:relative;
    width:100%;
    padding:12px;
    border-radius:30px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 32px 90px rgba(0,0,0,.28);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
}

.resocom-hero-video-card::before,
.resocom-hero-video-card::after{
    content:"";
    position:absolute;
    border-radius:999px;
    filter:blur(30px);
    pointer-events:none;
}

.resocom-hero-video-card::before{
    top:-24px;
    right:-24px;
    width:140px;
    height:140px;
    background:rgba(246,144,61,.20);
}

.resocom-hero-video-card::after{
    bottom:-24px;
    left:-24px;
    width:160px;
    height:160px;
    background:rgba(98,163,196,.20);
}

.resocom-hero-slide__video{
    position:relative;
    z-index:2;
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:16 / 9;
    border-radius:22px;
    background:var(--resocom-noir-dense);
    object-fit:cover;
}

/* Slide 3 : piliers */
.resocom-home-hero__pillars{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin:0 0 24px;
}

.resocom-home-hero__pillar{
    display:flex;
    align-items:center;
    gap:13px;
    color:var(--resocom-blanc);
    font-size:16px;
    line-height:1.35;
    font-weight:750;
}

.resocom-home-hero__icon{
    width:32px;
    height:32px;
    border-radius:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 32px;
    background:rgba(255,255,255,.12);
    color:var(--resocom-orange-alerte);
    border:1px solid rgba(255,255,255,.16);
}

.resocom-home-hero__icon svg{
    width:18px;
    height:18px;
}

/* Ancien bloc supprimé côté HTML, mais neutralisé si présent */
.resocom-hero-slide--kpi .resocom-home-hero__choice{
    display:none !important;
}

/* KPIs */
.resocom-home-hero__kpis{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
}

.resocom-home-kpi-card{
    position:relative;
    min-height:118px;
    padding:17px 16px;
    border-radius:18px;
    overflow:hidden;
    background:rgba(255,255,255,.88);
    box-shadow:0 25px 60px rgba(0,0,0,.18);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    animation:resocomFloat 4.5s ease-in-out infinite;
}

.resocom-home-kpi-card:nth-child(2){ animation-delay:.35s; }
.resocom-home-kpi-card:nth-child(3){ animation-delay:.65s; }
.resocom-home-kpi-card:nth-child(4){ animation-delay:.95s; }

.resocom-home-kpi-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
}

.resocom-home-kpi-card__number{
    margin-bottom:8px;
    color:var(--resocom-noir-dense);
    font-size:26px;
    line-height:1;
    letter-spacing:-.04em;
    font-weight:950;
}

.resocom-home-kpi-card__number span{
    font-size:inherit;
    font-weight:inherit;
}

.resocom-home-kpi-card__number small{
    font-size:15px;
    font-weight:850;
    letter-spacing:-.02em;
}

.resocom-home-kpi-card p{
    margin:0;
    color:#1f2937;
    font-size:13px;
    line-height:1.28;
    font-weight:800;
}

@keyframes resocomFloat{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-8px); }
}

/* Navigation */
.resocom-hero-slider__nav{
    position:absolute;
    left:50%;
    right:auto;
    bottom:28px;
    z-index:30;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    gap:12px;
}

.resocom-hero-slider__dot{
    width:38px;
    height:6px;
    padding:0;
    border:0;
    border-radius:999px;
    background:rgba(255,255,255,.32);
    cursor:pointer;
    transition:width .3s ease, background .3s ease;
}

.resocom-hero-slider__dot.is-active{
    width:62px;
    background:var(--resocom-orange-alerte);
}

.resocom-hero-slider__arrow{
    position:absolute;
    top:auto;
    bottom:16px;
    z-index:30;
    width:38px;
    height:38px;
    min-width:38px;
    min-height:38px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.22);
    background:rgba(255,255,255,.10);
    color:var(--resocom-blanc);
    font-size:24px;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transform:none;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:none;
    transition:background .25s ease;
}

.resocom-hero-slider__arrow:hover{
    background:rgba(255,255,255,.20);
}

.resocom-hero-slider__arrow--prev{
    left:calc(50% - 190px);
    right:auto;
}

.resocom-hero-slider__arrow--next{
    right:calc(50% - 190px);
    left:auto;
}

/* Modale vidéo si utilisée par le JS responsive */
.resocom-video-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:rgba(1,10,31,.94);
}

.resocom-video-modal.is-open{
    display:flex;
}

.resocom-video-modal__inner{
    position:relative;
    width:min(100%, 980px);
}

.resocom-video-modal__close{
    position:absolute;
    top:-52px;
    right:0;
    width:42px;
    height:42px;
    border:0;
    border-radius:999px;
    background:rgba(255,255,255,.14);
    color:#fff;
    font-size:28px;
    line-height:1;
    cursor:pointer;
}

.resocom-video-modal video{
    width:100%;
    max-height:82svh;
    border-radius:18px;
    background:#000;
}

/* =====================================================
   HERO — RESPONSIVE TABLETTE
====================================================== */

@media(max-width:1100px){

    .resocom-hero-slider,
    .resocom-hero-slider__track,
    .resocom-hero-slide{
        min-height:auto;
    }

    .resocom-hero-slider{
        overflow:hidden;
    }

    .resocom-hero-slide{
        position:relative;
        inset:auto;
        display:none;
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        transform:none;
        overflow:visible;
    }

    .resocom-hero-slide.is-active{
        display:block;
    }

    .resocom-hero-slide__container,
    .resocom-hero-slide__container--media,
    .resocom-hero-slide--kpi .resocom-hero-slide__container{
        min-height:auto;
        display:grid;
        grid-template-columns:1fr;
        gap:32px;
        padding:72px 32px 104px;
    }

    .resocom-hero-slide__content,
    .resocom-hero-slide__content--media,
    .resocom-hero-slide__content--kpi{
        max-width:860px;
    }

    .resocom-hero-slide__media{
        max-width:760px;
        width:100%;
    }

    .resocom-hero-video-card{
        padding:10px;
        border-radius:26px;
    }

    .resocom-hero-slide__video{
        border-radius:18px;
    }

    .resocom-hero-slide--kpi .resocom-home-hero__kpis{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        max-width:760px;
    }

    .resocom-hero-slider__arrow{
        display:none;
    }

    .resocom-hero-slider__nav{
        left:32px;
        right:32px;
        bottom:28px;
        transform:none;
    }

    .resocom-hero-slider__dot{
        flex:1;
        width:auto;
    }

    .resocom-hero-slider__dot.is-active{
        width:auto;
    }
}

/* =====================================================
   HERO — RESPONSIVE MOBILE
====================================================== */

@media(max-width:700px){

    .resocom-hero-slide__overlay{
        background:
            radial-gradient(circle at 20% 18%, rgba(98,163,196,.24), transparent 36%),
            linear-gradient(180deg, rgba(1,10,31,.96) 0%, rgba(15,47,70,.92) 100%);
    }

    .resocom-hero-slide__container,
    .resocom-hero-slide__container--media,
    .resocom-hero-slide--kpi .resocom-hero-slide__container{
        padding:54px 22px 92px;
        gap:22px;
    }

    .resocom-hero-slide h1,
    .resocom-hero-slide h2,
    .resocom-hero-slide--kpi h2{
        font-size:31px;
        line-height:1.08;
        letter-spacing:-.035em;
        margin-bottom:16px;
    }

    .resocom-hero-slide p,
    .resocom-hero-slide--kpi p{
        font-size:15.5px;
        line-height:1.55;
        margin-bottom:22px;
    }

    .resocom-hero-slide__badge{
        margin-bottom:16px;
        padding:8px 13px;
        font-size:12px;
    }

    .resocom-hero-slide__actions{
        width:100%;
        gap:12px;
    }

    .resocom-hero-slide__btn{
        width:100%;
        min-height:50px;
        padding:14px 18px;
        font-size:15px;
    }

    .resocom-hero-video-card{
        padding:8px;
        border-radius:22px;
        box-shadow:0 18px 46px rgba(0,0,0,.24);
    }

    .resocom-hero-slide__video{
        border-radius:16px;
    }

    .resocom-hero-slide--kpi .resocom-home-hero__pillars{
        gap:8px;
        margin-bottom:22px;
    }

    .resocom-hero-slide--kpi .resocom-home-hero__pillar{
        font-size:15px;
        line-height:1.35;
    }

    .resocom-hero-slide--kpi .resocom-home-hero__kpis{
        grid-template-columns:1fr;
        gap:10px;
    }

    .resocom-hero-slide--kpi .resocom-home-kpi-card{
        min-height:auto;
        padding:16px;
    }

    .resocom-hero-slide--kpi .resocom-home-kpi-card__number{
        font-size:25px;
    }

    .resocom-hero-slider__nav{
        left:22px;
        right:22px;
        bottom:24px;
        transform:none;
    }
}

@media(max-width:390px){

    .resocom-hero-slide__container,
    .resocom-hero-slide__container--media,
    .resocom-hero-slide--kpi .resocom-hero-slide__container{
        padding-top:46px;
        padding-bottom:88px;
    }

    .resocom-hero-slide h1,
    .resocom-hero-slide h2,
    .resocom-hero-slide--kpi h2{
        font-size:28px;
    }

    .resocom-hero-slide p,
    .resocom-hero-slide--kpi p{
        font-size:15px;
    }
}

/* =====================================================
   06. SOLUTIONS / INNOVATIONS RESOCOM
====================================================== */

.resocom-solutions-overview{
    position:relative;
    padding:110px 24px;
    background:var(--resocom-gris-leger);
    overflow:hidden;
}

.resocom-solutions-overview::before,
.resocom-solutions-overview::after{
    content:"";
    position:absolute;
    border-radius:999px;
    pointer-events:none;
}

.resocom-solutions-overview::before{
    top:-180px;
    right:-180px;
    width:420px;
    height:420px;
    background:radial-gradient(circle, rgba(98,163,196,.16), transparent 68%);
}

.resocom-solutions-overview::after{
    bottom:-220px;
    left:-180px;
    width:460px;
    height:460px;
    background:radial-gradient(circle, rgba(246,144,61,.14), transparent 68%);
}

.resocom-solutions-overview__container{
    position:relative;
    z-index:2;
    max-width:var(--resocom-container);
    margin:0 auto;
}

.resocom-solutions-overview__intro{
    max-width:900px;
    margin:0 auto 64px;
    text-align:center;
}

.resocom-solutions-overview__badge{
    padding:8px 16px;
    border-radius:999px;
    background:rgba(22,72,107,.10);
    text-transform:none;
    letter-spacing:.02em;
}

.resocom-solutions-overview__intro h2{
    margin:0 0 24px;
    color:var(--resocom-noir-dense);
    font-size:clamp(34px,4vw,58px);
    line-height:1.08;
    letter-spacing:-.045em;
    font-weight:900;
}

.resocom-solutions-overview__intro p{
    max-width:780px;
    margin:0 auto;
    color:var(--resocom-text-soft);
    font-size:20px;
    line-height:1.75;
}

.resocom-solutions-overview__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:28px;
    align-items:stretch;
}

.resocom-solution-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-height:100%;
    padding:34px 30px 30px;
    border-radius:28px;
    background:rgba(255,255,255,.86);
    border:1px solid var(--resocom-border);
    box-shadow:var(--resocom-shadow-card);
    overflow:hidden;
    transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.resocom-solution-card:hover{
    transform:translateY(-6px);
    box-shadow:0 30px 80px rgba(1,10,31,.12);
    border-color:rgba(22,72,107,.22);
}

.resocom-solution-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
}

.resocom-solution-card__header{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:24px;
}

.resocom-solution-card__icon{
    width:74px;
    height:74px;
    flex:0 0 74px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--resocom-blanc);
    border:1px solid var(--resocom-border);
    box-shadow:0 12px 28px rgba(1,10,31,.07);
}

.resocom-solution-card__icon img{
    width:58px;
    height:58px;
    object-fit:contain;
    display:block;
}

.resocom-solution-card h3{
    margin:0 0 4px;
    color:var(--resocom-noir-dense);
    font-size:24px;
    line-height:1.05;
    letter-spacing:-.03em;
    font-weight:950;
    text-transform:uppercase;
}

.resocom-solution-card__header p{
    margin:0;
    color:#667085;
    font-size:13px;
    line-height:1.35;
    font-style:italic;
    font-weight:700;
}

.resocom-solution-card__tagline{
    min-height:68px;
    margin:0 0 26px;
    color:#1f2937;
    font-size:17px;
    line-height:1.45;
    font-weight:850;
}

.resocom-solution-card__features{
    list-style:none;
    padding:0;
    margin:0 0 28px;
    display:flex;
    flex-direction:column;
    gap:14px;
    flex:1;
}

.resocom-solution-card__features li{
    position:relative;
    padding-left:32px;
    color:var(--resocom-text-soft);
    font-size:15.5px;
    line-height:1.5;
    font-weight:600;
}

.resocom-solution-card__features li::before{
    content:"";
    position:absolute;
    left:0;
    top:.35em;
    width:20px;
    height:20px;
    border-radius:999px;
    background:#FEF3C7;
    border:1px solid var(--resocom-orange-alerte);
}

.resocom-solution-card__features li::after{
    content:"";
    position:absolute;
    left:7px;
    top:calc(.35em + 5px);
    width:6px;
    height:9px;
    border-right:2px solid #CA8A04;
    border-bottom:2px solid #CA8A04;
    transform:rotate(45deg);
}

.resocom-solution-card__sublist{
    display:flex;
    flex-direction:column;
    gap:7px;
    margin-top:10px;
}

.resocom-solution-card__sublist span{
    position:relative;
    display:block;
    padding-left:20px;
    color:#667085;
    font-size:14px;
    line-height:1.4;
}

.resocom-solution-card__sublist span::before{
    content:"→";
    position:absolute;
    left:0;
    color:var(--resocom-orange-alerte);
    font-weight:900;
}

.resocom-solution-card__logos{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
    margin:4px 0 26px;
}

.resocom-solution-card__logos img{
    height:46px;
    width:auto;
    max-width:90px;
    object-fit:contain;
    filter:grayscale(100%) opacity(.78);
    transition:filter .25s ease, transform .25s ease;
}

.resocom-solution-card__logos img:hover{
    filter:grayscale(0%) opacity(1);
    transform:translateY(-2px);
}

.resocom-solution-card__action{
    margin-top:auto;
    display:flex;
    justify-content:flex-end;
}

.resocom-solution-card__action a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:var(--resocom-bleu-brume);
    font-size:15px;
    line-height:1;
    font-weight:900;
    transition:transform .25s ease, color .25s ease;
}

.resocom-solution-card__action a:hover{
    color:var(--resocom-bleu-profond);
    transform:translateX(5px);
}

.resocom-solution-card--kyovalt .resocom-solution-card__icon,
.resocom-solution-card--aliias .resocom-solution-card__icon,
.resocom-solution-card--resocom .resocom-solution-card__icon{
    background:linear-gradient(135deg, rgba(98,163,196,.10), rgba(246,144,61,.08));
}

/* =====================================================
   07. SECTEURS / VIDEO RESOCOM
====================================================== */

.resocom-sectors-section{
    position:relative;
    padding:120px 24px;
    background:var(--resocom-blanc);
    overflow:hidden;
}

.resocom-sectors-section::before,
.resocom-sectors-section::after{
    content:"";
    position:absolute;
    border-radius:999px;
    pointer-events:none;
}

.resocom-sectors-section::before{
    top:80px;
    left:-180px;
    width:420px;
    height:420px;
    background:radial-gradient(circle, rgba(22,72,107,.10), transparent 68%);
}

.resocom-sectors-section::after{
    right:-180px;
    bottom:80px;
    width:460px;
    height:460px;
    background:radial-gradient(circle, rgba(246,144,61,.10), transparent 68%);
}

.resocom-sectors-section__container{
    position:relative;
    z-index:2;
    max-width:var(--resocom-container);
    margin:0 auto;
}

.resocom-sectors-section__intro-grid{
    display:grid;
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
    gap:64px;
    align-items:center;
    margin-bottom:64px;
}

.resocom-sectors-section__video{
    position:relative;
    width:100%;
    aspect-ratio:16/9;
    border-radius:30px;
    overflow:hidden;
    background:var(--resocom-noir-dense);
    box-shadow:0 30px 80px rgba(1,10,31,.15);
}

.resocom-sectors-section__video iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
    display:block;
}

.resocom-sectors-section__content{
    max-width:620px;
}

.resocom-sectors-section__content h2{
    margin:0 0 26px;
    color:var(--resocom-noir-dense);
    font-size:clamp(34px,4vw,56px);
    line-height:1.08;
    letter-spacing:-.045em;
    font-weight:900;
}

.resocom-sectors-section__content p{
    margin:0 0 20px;
    color:var(--resocom-text-soft);
    font-size:18px;
    line-height:1.75;
    font-weight:400;
}

.resocom-sectors-section__list-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
    margin:0 0 70px;
}

.resocom-sectors-section__list-card{
    padding:34px 32px;
    border-radius:28px;
    background:var(--resocom-gris-leger);
    border:1px solid var(--resocom-border);
    box-shadow:var(--resocom-shadow-card);
}

.resocom-sectors-list{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    gap:22px;
}

.resocom-sectors-list li{
    display:flex;
    align-items:flex-start;
    gap:14px;
    color:var(--resocom-text-soft);
    font-size:16px;
    line-height:1.55;
    font-weight:500;
}

.resocom-sectors-list strong{
    color:var(--resocom-noir-dense);
    font-weight:850;
}

.resocom-sectors-list__icon{
    position:relative;
    width:22px;
    height:22px;
    flex:0 0 22px;
    margin-top:2px;
    border-radius:999px;
    background:#FEF3C7;
    border:1px solid var(--resocom-orange-alerte);
}

.resocom-sectors-list__icon::after{
    content:"";
    position:absolute;
    left:7px;
    top:4px;
    width:6px;
    height:10px;
    border-right:2px solid #CA8A04;
    border-bottom:2px solid #CA8A04;
    transform:rotate(45deg);
}

.resocom-sectors-section__cta{
    max-width:960px;
    margin:0 auto;
    padding:56px 44px;
    border-radius:34px;
    background:linear-gradient(135deg, var(--resocom-bleu-profond), var(--resocom-bleu-brume));
    text-align:center;
    box-shadow:0 30px 80px rgba(15,47,70,.24);
}

.resocom-sectors-section__cta h3{
    margin:0 0 18px;
    color:var(--resocom-blanc);
    font-size:clamp(30px,4vw,48px);
    line-height:1.12;
    letter-spacing:-.04em;
    font-weight:900;
}

.resocom-sectors-section__cta p{
    max-width:760px;
    margin:0 auto 32px;
    color:rgba(255,255,255,.88);
    font-size:19px;
    line-height:1.7;
}

.resocom-sectors-section__button{
    background:var(--resocom-orange-alerte);
    box-shadow:0 18px 38px rgba(246,144,61,.30);
}

.resocom-sectors-section__button:hover{
    background:var(--resocom-rouge-terracotta);
    box-shadow:0 24px 46px rgba(190,63,35,.32);
}

/* =====================================================
   08. SOLUTIONS KYC / TECHNOLOGIE & EXPERTISE
====================================================== */

.resocom-kyc-section{
    position:relative;
    padding:120px 24px;
    background:var(--resocom-gris-leger);
    overflow:hidden;
}

.resocom-kyc-section::before,
.resocom-kyc-section::after{
    content:"";
    position:absolute;
    border-radius:999px;
    pointer-events:none;
}

.resocom-kyc-section::before{
    top:-180px;
    right:-160px;
    width:440px;
    height:440px;
    background:radial-gradient(circle, rgba(22,72,107,.12), transparent 68%);
}

.resocom-kyc-section::after{
    bottom:-220px;
    left:-180px;
    width:460px;
    height:460px;
    background:radial-gradient(circle, rgba(246,144,61,.12), transparent 68%);
}

.resocom-kyc-section__container{
    position:relative;
    z-index:2;
    max-width:1180px;
    margin:0 auto;
}

.resocom-kyc-section__layout{
    display:grid;
    grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
    gap:70px;
    align-items:center;
}

.resocom-kyc-section__content{
    max-width:600px;
}

.resocom-kyc-section__content h2{
    margin:0 0 26px;
    color:var(--resocom-noir-dense);
    font-size:clamp(36px,4vw,58px);
    line-height:1.08;
    letter-spacing:-.045em;
    font-weight:900;
}

.resocom-kyc-section__content p{
    margin:0 0 22px;
    color:var(--resocom-text-soft);
    font-size:18px;
    line-height:1.75;
    font-weight:400;
}

.resocom-kyc-section__intro-list{
    margin-top:28px;
    margin-bottom:18px;
    color:var(--resocom-noir-dense);
    font-weight:850;
}

.resocom-kyc-section__list{
    list-style:none;
    margin:0 0 34px;
    padding:0;
    display:grid;
    gap:14px;
}

.resocom-kyc-section__list li{
    display:flex;
    align-items:center;
    gap:15px;
    min-height:52px;
    padding:12px 14px;
    border-radius:16px;
    background:var(--resocom-blanc);
    border:1px solid var(--resocom-border);
    box-shadow:0 12px 30px rgba(1,10,31,.04);
    color:#344054;
    font-size:16px;
    line-height:1.4;
    font-weight:750;
}

.resocom-kyc-section__icon{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:rgba(22,72,107,.10);
    color:var(--resocom-bleu-brume);
}

.resocom-kyc-section__icon svg{
    width:21px;
    height:21px;
    display:block;
}

.resocom-kyc-section__visual{
    position:relative;
}

.resocom-kyc-section__visual-card{
    position:relative;
    padding:16px;
    border-radius:34px;
    background:linear-gradient(135deg, rgba(22,72,107,.14), rgba(98,163,196,.14));
    border:1px solid rgba(22,72,107,.10);
    box-shadow:0 32px 90px rgba(1,10,31,.14);
}

.resocom-kyc-section__visual-card::before{
    content:"";
    position:absolute;
    top:28px;
    right:28px;
    width:110px;
    height:110px;
    border-radius:999px;
    background:rgba(246,144,61,.14);
    filter:blur(18px);
    pointer-events:none;
}

.resocom-kyc-section__visual-card img{
    position:relative;
    z-index:2;
    width:100%;
    display:block;
    border-radius:24px;
    object-fit:cover;
    background:var(--resocom-blanc);
}

/* =====================================================
   09. CHIFFRES CLES / PREUVES RESOCOM
====================================================== */

.resocom-stats-section{
    position:relative;
    padding:105px 24px;
    background:var(--resocom-blanc);
    overflow:hidden;
}

.resocom-stats-section::before{
    content:"";
    position:absolute;
    top:-160px;
    left:50%;
    transform:translateX(-50%);
    width:620px;
    height:620px;
    border-radius:999px;
    background:radial-gradient(circle, rgba(22,72,107,.10), transparent 68%);
    pointer-events:none;
}

.resocom-stats-section__container{
    position:relative;
    z-index:2;
    max-width:1180px;
    margin:0 auto;
}

.resocom-stats-section__intro{
    max-width:820px;
    margin:0 auto 56px;
    text-align:center;
}

.resocom-stats-section__intro h2{
    margin:0;
    color:var(--resocom-noir-dense);
    font-size:clamp(34px,4vw,56px);
    line-height:1.08;
    letter-spacing:-.045em;
    font-weight:900;
}

.resocom-stats-section__grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    border-radius:32px;
    background:var(--resocom-gris-leger);
    border:1px solid var(--resocom-border);
    box-shadow:var(--resocom-shadow-soft);
    overflow:hidden;
}

.resocom-stat-card{
    position:relative;
    padding:42px 26px;
    text-align:center;
    border-right:1px solid var(--resocom-border);
}

.resocom-stat-card:last-child{
    border-right:none;
}

.resocom-stat-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    opacity:0;
    transition:opacity .25s ease;
}

.resocom-stat-card:hover::before{
    opacity:1;
}

.resocom-stat-card__number{
    margin-bottom:14px;
    color:var(--resocom-bleu-brume);
    font-size:clamp(36px,4vw,52px);
    line-height:1;
    letter-spacing:-.05em;
    font-weight:300;
}

.resocom-stat-card__number span{
    font:inherit;
}

.resocom-stat-card p{
    margin:0;
    color:var(--resocom-noir-dense);
    font-size:16px;
    line-height:1.45;
    font-weight:800;
}

.resocom-stat-card p span{
    display:block;
    margin-top:6px;
    color:#667085;
    font-size:12px;
    line-height:1.4;
    font-weight:500;
}

/* =====================================================
   10. A PROPOS / ENGAGEMENTS RESOCOM
====================================================== */

.resocom-about-section{
    position:relative;
    padding:120px 24px;
    background:var(--resocom-gris-leger);
    overflow:hidden;
}

.resocom-about-section::before,
.resocom-about-section::after{
    content:"";
    position:absolute;
    border-radius:999px;
    pointer-events:none;
}

.resocom-about-section::before{
    top:-180px;
    right:-180px;
    width:460px;
    height:460px;
    background:radial-gradient(circle, rgba(22,72,107,.12), transparent 68%);
}

.resocom-about-section::after{
    bottom:-220px;
    left:-180px;
    width:480px;
    height:480px;
    background:radial-gradient(circle, rgba(246,144,61,.12), transparent 68%);
}

.resocom-about-section__container{
    position:relative;
    z-index:2;
    max-width:1180px;
    margin:0 auto;
}

.resocom-about-section__layout{
    display:grid;
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
    gap:70px;
    align-items:center;
}

.resocom-about-section__content{
    max-width:580px;
}

.resocom-about-section__content h2{
    margin:0 0 26px;
    color:var(--resocom-noir-dense);
    font-size:clamp(36px,4vw,58px);
    line-height:1.08;
    letter-spacing:-.045em;
    font-weight:900;
}

.resocom-about-section__content p{
    margin:0 0 22px;
    color:var(--resocom-text-soft);
    font-size:18px;
    line-height:1.75;
    font-weight:400;
}

.resocom-about-section__mission{
    margin:34px 0;
    padding:28px 30px;
    border-left:5px solid var(--resocom-orange-alerte);
    border-radius:22px;
    background:var(--resocom-blanc);
    box-shadow:var(--resocom-shadow-card);
    color:var(--resocom-noir-dense);
    font-size:20px;
    line-height:1.55;
    font-style:italic;
    font-weight:600;
}

.resocom-about-section__mission strong{
    color:var(--resocom-bleu-brume);
    font-weight:900;
}

.resocom-about-section__button{
    margin-top:16px;
}

.resocom-about-accordion{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.resocom-about-accordion__item{
    overflow:hidden;
    border-radius:22px;
    background:var(--resocom-blanc);
    border:1px solid var(--resocom-border);
    box-shadow:var(--resocom-shadow-card);
    transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.resocom-about-accordion__item:hover{
    transform:translateY(-2px);
    box-shadow:0 22px 56px rgba(1,10,31,.09);
}

.resocom-about-accordion__item.is-active{
    border-color:rgba(246,144,61,.45);
    box-shadow:0 24px 64px rgba(246,144,61,.10);
}

.resocom-about-accordion__header{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    padding:24px 26px;
    border:0;
    background:transparent;
    cursor:pointer;
    text-align:left;
    appearance:none;
}

.resocom-about-accordion__header span:first-child{
    color:var(--resocom-noir-dense);
    font-size:18px;
    line-height:1.35;
    font-weight:850;
}

.resocom-about-accordion__icon{
    width:34px;
    height:34px;
    flex:0 0 34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:rgba(22,72,107,.08);
    color:var(--resocom-bleu-brume);
    font-size:24px;
    line-height:1;
    font-weight:400;
    transition:transform .25s ease, color .25s ease, background .25s ease;
}

.resocom-about-accordion__item.is-active .resocom-about-accordion__header span:first-child{
    color:var(--resocom-rouge-terracotta);
}

.resocom-about-accordion__item.is-active .resocom-about-accordion__icon{
    transform:rotate(45deg);
    color:var(--resocom-blanc);
    background:var(--resocom-orange-alerte);
}

.resocom-about-accordion__content{
    max-height:0;
    overflow:hidden;
    background:var(--resocom-gris-leger);
    transition:max-height .35s ease;
}

.resocom-about-accordion__content p{
    margin:0;
    padding:0 26px 26px;
    color:var(--resocom-text-soft);
    font-size:16px;
    line-height:1.7;
}

/* =====================================================
   11. ANIMATIONS
====================================================== */

.resocom-hero-slide.is-active .resocom-hero-slide__badge,
.resocom-hero-slide.is-active h1,
.resocom-hero-slide.is-active h2,
.resocom-hero-slide.is-active p,
.resocom-hero-slide.is-active .resocom-hero-slide__actions,
.resocom-hero-slide.is-active .resocom-home-hero__pillars,
.resocom-hero-slide.is-active .resocom-home-hero__kpis{
    animation:resocomFadeUp .75s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes resocomFadeUp{
    from{
        opacity:0;
        transform:translateY(22px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* =====================================================
   12. RESPONSIVE GLOBAL — SECTIONS HORS HERO
====================================================== */

@media(max-width:1100px){

    .resocom-solutions-overview__grid{
        grid-template-columns:1fr;
        max-width:680px;
        margin:0 auto;
    }

    .resocom-solution-card__tagline{
        min-height:auto;
    }
}

@media(max-width:1024px){

    .resocom-stats-section__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .resocom-stat-card:nth-child(2){
        border-right:none;
    }

    .resocom-stat-card:nth-child(1),
    .resocom-stat-card:nth-child(2){
        border-bottom:1px solid var(--resocom-border);
    }
}

@media(max-width:980px){

    .resocom-sectors-section,
    .resocom-kyc-section,
    .resocom-about-section{
        padding:92px 24px;
    }

    .resocom-sectors-section__intro-grid,
    .resocom-kyc-section__layout,
    .resocom-about-section__layout{
        grid-template-columns:1fr;
        gap:48px;
    }

    .resocom-sectors-section__content,
    .resocom-kyc-section__content,
    .resocom-about-section__content{
        max-width:100%;
    }

    .resocom-sectors-section__list-grid{
        grid-template-columns:1fr;
    }

    .resocom-kyc-section__visual{
        max-width:680px;
    }
}

@media(max-width:700px){

    .resocom-solutions-overview,
    .resocom-sectors-section,
    .resocom-kyc-section,
    .resocom-stats-section,
    .resocom-about-section{
        padding:78px 22px;
    }

    .resocom-solutions-overview__intro,
    .resocom-stats-section__intro{
        text-align:left;
        margin-bottom:42px;
    }

    .resocom-solutions-overview__intro h2,
    .resocom-sectors-section__content h2,
    .resocom-kyc-section__content h2,
    .resocom-stats-section__intro h2,
    .resocom-about-section__content h2{
        font-size:34px;
    }

    .resocom-solutions-overview__intro p,
    .resocom-sectors-section__content p,
    .resocom-kyc-section__content p,
    .resocom-about-section__content p{
        font-size:17px;
        line-height:1.65;
    }

    .resocom-solution-card{
        padding:28px 22px 26px;
        border-radius:24px;
    }

    .resocom-solution-card__header{
        align-items:flex-start;
    }

    .resocom-solution-card__icon{
        width:62px;
        height:62px;
        flex-basis:62px;
        border-radius:16px;
    }

    .resocom-solution-card__icon img{
        width:48px;
        height:48px;
    }

    .resocom-solution-card h3{
        font-size:21px;
    }

    .resocom-solution-card__tagline{
        font-size:16px;
    }

    .resocom-solution-card__features li,
    .resocom-sectors-list li,
    .resocom-kyc-section__list li{
        font-size:15px;
    }

    .resocom-sectors-section__intro-grid{
        margin-bottom:48px;
    }

    .resocom-sectors-section__video{
        border-radius:22px;
    }

    .resocom-sectors-section__list-card{
        padding:28px 22px;
        border-radius:24px;
    }

    .resocom-sectors-section__cta{
        padding:42px 26px;
        border-radius:28px;
    }

    .resocom-sectors-section__cta p{
        font-size:17px;
    }

    .resocom-kyc-section__list li{
        align-items:flex-start;
    }

    .resocom-kyc-section__visual{
        display:none;
    }

    .resocom-stats-section__grid{
        grid-template-columns:1fr;
        border-radius:26px;
    }

    .resocom-stat-card{
        border-right:none;
        border-bottom:1px solid var(--resocom-border);
        padding:34px 24px;
    }

    .resocom-stat-card:last-child{
        border-bottom:none;
    }

    .resocom-stat-card__number{
        font-size:42px;
    }

    .resocom-about-section__mission{
        padding:24px 22px;
        font-size:18px;
    }

    .resocom-about-accordion__header{
        padding:22px 20px;
    }

    .resocom-about-accordion__header span:first-child{
        font-size:16.5px;
    }

    .resocom-about-accordion__content p{
        padding:0 20px 22px;
        font-size:15.5px;
    }
}

@media(prefers-reduced-motion:reduce){

    .resocom-home *,
    .resocom-home *::before,
    .resocom-home *::after{
        animation:none !important;
        transition:none !important;
    }
}

/* =====================================================
   HERO — YOUTUBE LAZY CARD
====================================================== */

.resocom-hero-youtube-card{
    position:relative;
    z-index:4;
    display:block;
    width:100%;
    padding:0;
    border:0;
    border-radius:28px;
    overflow:hidden;
    cursor:pointer;
    background:var(--resocom-noir-dense);
    box-shadow:0 32px 90px rgba(0,0,0,.28);
    aspect-ratio:16 / 9;
}

.resocom-hero-youtube-card img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transform:scale(1.01);
    transition:transform .35s ease, filter .35s ease;
}

.resocom-hero-youtube-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(180deg, rgba(1,10,31,.05), rgba(1,10,31,.42)),
        radial-gradient(circle at center, rgba(246,144,61,.18), transparent 45%);
    z-index:1;
}

.resocom-hero-youtube-card:hover img{
    transform:scale(1.045);
    filter:brightness(.92);
}

.resocom-hero-youtube-card__play{
    position:absolute;
    left:50%;
    top:50%;
    z-index:2;
    width:82px;
    height:82px;
    display:flex;
    align-items:center;
    justify-content:center;
    transform:translate(-50%, -50%);
    border-radius:999px;
    background:var(--resocom-orange-alerte);
    color:#ffffff;
    font-size:30px;
    line-height:1;
    padding-left:5px;
    box-shadow:0 22px 50px rgba(246,144,61,.35);
    transition:transform .3s ease, background .3s ease;
}

.resocom-hero-youtube-card:hover .resocom-hero-youtube-card__play{
    transform:translate(-50%, -50%) scale(1.08);
    background:var(--resocom-rouge-terracotta);
}

.resocom-hero-youtube-card__label{
    position:absolute;
    left:24px;
    bottom:22px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 15px;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    color:#ffffff;
    font-size:14px;
    font-weight:800;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}

/* =====================================================
   MODALE YOUTUBE
====================================================== */

.resocom-youtube-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:rgba(1,10,31,.94);
}

.resocom-youtube-modal.is-open{
    display:flex;
}

.resocom-youtube-modal__inner{
    position:relative;
    width:min(100%, 1040px);
    aspect-ratio:16 / 9;
    background:#000000;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 40px 120px rgba(0,0,0,.45);
}

.resocom-youtube-modal__inner iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
}

.resocom-youtube-modal__close{
    position:absolute;
    top:24px;
    right:24px;
    z-index:1000000;
    width:46px;
    height:46px;
    border:0;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    color:#ffffff;
    font-size:30px;
    line-height:1;
    cursor:pointer;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}

.resocom-youtube-modal__close:hover{
    background:rgba(255,255,255,.26);
}

@media(max-width:700px){

    .resocom-hero-youtube-card{
        border-radius:22px;
    }

    .resocom-hero-youtube-card__play{
        width:66px;
        height:66px;
        font-size:24px;
    }

    .resocom-youtube-modal{
        padding:14px;
    }

    .resocom-youtube-modal__inner{
        border-radius:16px;
    }

    .resocom-youtube-modal__close{
        top:14px;
        right:14px;
        width:42px;
        height:42px;
    }
}
.resocom-kyc-section__actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:28px;
}

.resocom-kyc-section__button--secondary{
    background:transparent;
    color:#16486B;
    border:1px solid rgba(22,72,107,.22);
}

.resocom-kyc-section__button--secondary:hover{
    background:#16486B;
    color:#fff;
}

/* =====================================================
   PERFORMANCE — HOME
   Le contenu reste visible, les animations restent légères
====================================================== */

.resocom-home{
    text-rendering:optimizeLegibility;
}


.resocom-solution-card,
.resocom-sectors-section__list-card,
.resocom-kyc-section__list li,
.resocom-stat-card,
.resocom-about-accordion__item{
    will-change:auto;
}

/* =====================================================
   PREMIUM UX — REVEAL ON SCROLL
   Effet d’apparition au scroll pour la page d’accueil
====================================================== */

.resocom-reveal{
    opacity:0;
    transform:translateY(34px);
    transition:
        opacity .85s ease,
        transform .85s cubic-bezier(.22, 1, .36, 1);
    will-change:opacity, transform;
}

.resocom-reveal.is-visible{
    opacity:1;
    transform:translateY(0);
}

.resocom-reveal--soft{
    transform:translateY(28px);
}

.resocom-reveal--soft.is-visible{
    transform:translateY(0);
}

.resocom-reveal--card{
    transform:translateY(42px) scale(.985);
}

.resocom-reveal--card.is-visible{
    transform:translateY(0) scale(1);
}

.resocom-reveal[data-reveal-delay="1"]{ transition-delay:.08s; }
.resocom-reveal[data-reveal-delay="2"]{ transition-delay:.16s; }
.resocom-reveal[data-reveal-delay="3"]{ transition-delay:.24s; }
.resocom-reveal[data-reveal-delay="4"]{ transition-delay:.32s; }
.resocom-reveal[data-reveal-delay="5"]{ transition-delay:.40s; }
.resocom-reveal[data-reveal-delay="6"]{ transition-delay:.48s; }

@media(max-width:700px){
    .resocom-reveal,
    .resocom-reveal--soft,
    .resocom-reveal--card{
        transform:translateY(20px);
        transition-duration:.65s;
    }

    .resocom-reveal[data-reveal-delay]{
        transition-delay:0s;
    }
}

@media(prefers-reduced-motion:reduce){
    .resocom-reveal,
    .resocom-reveal--soft,
    .resocom-reveal--card{
        opacity:1 !important;
        transform:none !important;
        transition:none !important;
    }
}
