.svcfg{
    min-height:100vh;
    padding:135px 0 150px;
    background:
        radial-gradient(circle at 20% 0%,rgba(215,169,75,.08),transparent 30%),
        linear-gradient(135deg,#05090d,#080d12,#05090d);
    color:#fff;
}

.svcfg *{
    box-sizing:border-box;
}

.svcfg-container{
    width:min(1280px,calc(100% - 32px));
    margin:auto;
}

.svcfg-heading{
    max-width:850px;
    margin:0 auto 65px;
    text-align:center;
}

.svcfg-eyebrow{
    display:inline-block;
    margin-bottom:18px;
    color:#d7a94b;
    font-size:13px;
    font-weight:900;
    letter-spacing:.18em;
}

.svcfg-heading h1{
    margin:0;
    font-size:clamp(38px,6vw,72px);
    line-height:1;
    font-weight:950;
}

.svcfg-heading h1 span{
    color:#d7a94b;
}

.svcfg-heading p{
    margin:25px auto 0;
    max-width:700px;
    color:#aab3bf;
    font-size:18px;
    line-height:1.7;
}

.svcfg-section{
    margin-bottom:90px;
}

.svcfg-section-title{
    display:flex;
    align-items:flex-start;
    gap:18px;
    margin-bottom:32px;
}

.svcfg-section-title > span{
    display:flex;
    width:52px;
    height:52px;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(215,169,75,.35);
    border-radius:18px;
    background:rgba(215,169,75,.1);
    color:#d7a94b;
    font-weight:900;
}

.svcfg-section-title h2{
    margin:0;
    font-size:clamp(26px,3vw,38px);
}

.svcfg-section-title p{
    margin:7px 0 0;
    color:#8e99a7;
}

.svcfg-event-types{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:28px;
}

.svcfg-event-card{
    position:relative;
    display:flex;
    align-items:center;
    gap:22px;
    padding:28px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:28px;
    background:rgba(255,255,255,.035);
    color:#fff;
    text-align:left;
    cursor:pointer;
    transition:.25s ease;
}

.svcfg-event-card:hover{
    transform:translateY(-5px);
    border-color:rgba(215,169,75,.5);
}

.svcfg-event-card.active{
    border-color:#d7a94b;
    box-shadow:0 0 45px rgba(215,169,75,.16);
}

.svcfg-event-icon{
    display:flex;
    width:62px;
    height:62px;
    flex:0 0 62px;
    align-items:center;
    justify-content:center;
    border-radius:22px;
    background:#d7a94b;
    color:#111;
    font-size:25px;
    font-weight:900;
}

.svcfg-event-card h3{
    margin:0;
    font-size:23px;
}

.svcfg-event-card p{
    margin:8px 0 0;
    color:#929dab;
}

.svcfg-packages{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:28px;
}

.svcfg-package{
    position:relative;
    overflow:hidden;
    padding:24px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:30px;
    background:#080d12;
    transition:.25s ease;
}

.svcfg-package:not(.disabled){
    cursor:pointer;
}

.svcfg-package:not(.disabled):hover{
    transform:translateY(-7px);
    border-color:rgba(215,169,75,.45);
}

.svcfg-package.selected{
    border-color:#d7a94b;
    box-shadow:0 0 50px rgba(215,169,75,.18);
}

.svcfg-package.disabled{
    opacity:.7;
}

.svcfg-package-badge{
    position:absolute;
    top:38px;
    right:38px;
    z-index:2;
    padding:8px 13px;
    border-radius:999px;
    background:#d7a94b;
    color:#111;
    font-size:12px;
    font-weight:900;
}

.svcfg-package img{
    width:100%;
    height:235px;
    object-fit:cover;
    margin-bottom:22px;
    border-radius:22px;
    background:#111;
}

.svcfg-package h3{
    margin:0 0 16px;
    font-size:26px;
}

.svcfg-price{
    display:block;
    margin-bottom:8px;
    font-size:34px;
    font-weight:950;
}

.svcfg-duration{
    display:inline-block;
    margin-bottom:20px;
    padding:8px 12px;
    border:1px solid rgba(215,169,75,.2);
    border-radius:12px;
    background:rgba(215,169,75,.08);
    color:#e6c879;
    font-size:13px;
    font-weight:800;
}

.svcfg-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    margin:15px 0 22px;
}

.svcfg-stat{
    padding:12px 8px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:15px;
    background:rgba(255,255,255,.035);
}

.svcfg-stat small{
    display:block;
    color:#77818e;
    font-size:11px;
}

.svcfg-stat strong{
    display:block;
    margin-top:5px;
    font-size:18px;
}

.svcfg-features{
    margin:0 0 22px;
    padding:17px;
    border:1px solid rgba(215,169,75,.18);
    border-radius:20px;
    background:rgba(215,169,75,.06);
}

.svcfg-features h4{
    margin:0 0 12px;
}

.svcfg-feature{
    display:flex;
    gap:9px;
    margin:9px 0;
    color:#d8dde3;
    line-height:1.45;
}

.svcfg-feature:before{
    content:"✓";
    color:#4ade80;
    font-weight:900;
}

.svcfg-package-button{
    width:100%;
    padding:14px;
    border:0;
    border-radius:16px;
    background:linear-gradient(90deg,#d7a94b,#b98a32);
    color:#fff;
    font-weight:900;
}

.svcfg-package.disabled .svcfg-package-button{
    background:rgba(215,169,75,.13);
    color:#e6c879;
}

.svcfg-filter-bar{
    display:flex;
    gap:10px;
    overflow-x:auto;
    margin-bottom:28px;
    padding-bottom:6px;
}

.svcfg-filter{
    flex:0 0 auto;
    padding:11px 18px;
    border:0;
    border-radius:999px;
    background:rgba(215,169,75,.2);
    color:#fff;
    font-weight:800;
    cursor:pointer;
}

.svcfg-filter.active{
    background:#fff;
    color:#080d12;
}

.svcfg-themes{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.svcfg-theme{
    overflow:hidden;
    border:1px solid rgba(255,255,255,.1);
    border-radius:28px;
    background:#05090d;
    transition:.25s ease;
}

.svcfg-theme.selected{
    border-color:#4ade80;
    box-shadow:0 0 35px rgba(74,222,128,.16);
}

.svcfg-theme-image{
    position:relative;
}

.svcfg-theme img{
    display:block;
    width:100%;
    height:225px;
    object-fit:cover;
}

.svcfg-theme-selected{
    position:absolute;
    top:14px;
    left:14px;
    padding:7px 11px;
    border-radius:999px;
    background:#22c55e;
    font-size:11px;
    font-weight:900;
}

.svcfg-theme-content{
    padding:19px;
}

.svcfg-theme-category{
    display:inline-block;
    margin-bottom:10px;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(215,169,75,.12);
    color:#e6c879;
    font-size:11px;
    font-weight:800;
}

.svcfg-theme h3{
    margin:0;
    font-size:22px;
}

.svcfg-theme p{
    min-height:40px;
    margin:10px 0;
    color:#929daa;
    line-height:1.5;
}

.svcfg-theme-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
    margin-top:17px;
}

.svcfg-theme-actions button{
    padding:11px;
    border:0;
    border-radius:13px;
    font-weight:900;
    cursor:pointer;
}

.svcfg-preview-button{
    background:rgba(215,169,75,.16);
    color:#e6c879;
}

.svcfg-select-theme{
    background:linear-gradient(90deg,#d7a94b,#b98a32);
    color:#fff;
}

.svcfg-theme.selected .svcfg-select-theme{
    background:#16a34a;
}

.svcfg-extra-links{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-bottom:30px;
}

.svcfg-extra-links article{
    display:flex;
    flex-direction:column;
    padding:24px;
    border:1px solid rgba(215,169,75,.25);
    border-radius:26px;
    background:#080d12;
}

.svcfg-extra-icon{
    margin-bottom:12px;
    font-size:30px;
}

.svcfg-extra-links h3{
    margin:0 0 10px;
    font-size:22px;
}

.svcfg-extra-links p{
    color:#909aa7;
    line-height:1.6;
}

.svcfg-extra-links a{
    margin-top:auto;
    padding:13px;
    border-radius:14px;
    background:linear-gradient(90deg,#d7a94b,#b98a32);
    color:white;
    text-align:center;
    text-decoration:none;
    font-weight:900;
}

.svcfg-options{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.svcfg-option{
    padding:16px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:25px;
    background:#05090d;
}

.svcfg-option.selected{
    border-color:#d7a94b;
    box-shadow:0 0 30px rgba(215,169,75,.12);
}

.svcfg-option-top{
    display:flex;
    gap:14px;
}

.svcfg-option img{
    width:88px;
    height:88px;
    flex:0 0 88px;
    border-radius:17px;
    object-fit:cover;
    background:#10151a;
}

.svcfg-option h3{
    margin:0;
    font-size:17px;
}

.svcfg-option-price{
    margin-top:7px;
    color:#d7a94b;
    font-weight:900;
}

.svcfg-option p{
    margin:11px 0;
    color:#87919e;
    font-size:13px;
    line-height:1.5;
}

.svcfg-option button{
    width:100%;
    margin-top:10px;
    padding:11px;
    border:0;
    border-radius:13px;
    background:linear-gradient(90deg,#d7a94b,#b98a32);
    color:#fff;
    font-weight:900;
    cursor:pointer;
}

.svcfg-option.selected button{
    background:#16a34a;
}

.svcfg-summary{
    position:fixed;
    z-index:80;
    left:50%;
    bottom:20px;
    display:flex;
    width:min(1120px,94%);
    transform:translateX(-50%);
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:17px 20px;
    border:1px solid rgba(215,169,75,.35);
    border-radius:25px;
    background:rgba(8,13,18,.97);
    box-shadow:0 0 55px rgba(215,169,75,.2);
    backdrop-filter:blur(18px);
}

.svcfg-summary-info strong,
.svcfg-summary-info span,
.svcfg-summary-info b{
    display:block;
}

.svcfg-summary-info span{
    margin-top:5px;
    color:#a2acb7;
    font-size:13px;
}

.svcfg-summary-info b{
    margin-top:2px;
    color:#d7a94b;
    font-size:27px;
}

.svcfg-summary-actions{
    display:flex;
    gap:12px;
}

.svcfg-summary-actions button{
    padding:13px 20px;
    border-radius:15px;
    font-weight:900;
    cursor:pointer;
}

.svcfg-reset{
    border:1px solid rgba(239,68,68,.4);
    background:rgba(239,68,68,.08);
    color:#fca5a5;
}

.svcfg-continue{
    border:0;
    background:linear-gradient(90deg,#d7a94b,#b98a32);
    color:#fff;
}

.svcfg-preview{
    position:fixed;
    z-index:200;
    inset:0;
    padding:30px;
    background:rgba(0,0,0,.94);
    overflow:auto;
}

.svcfg-preview-box{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    width:min(1050px,100%);
    margin:70px auto;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.12);
    border-radius:30px;
    background:#080d12;
}

.svcfg-preview-box img,
.svcfg-preview-box video{
    display:block;
    width:100%;
    height:100%;
    min-height:500px;
    object-fit:cover;
}

.svcfg-preview-content{
    padding:38px;
}

.svcfg-preview-content span{
    color:#d7a94b;
    font-weight:900;
}

.svcfg-preview-content h2{
    margin:14px 0;
    font-size:34px;
}

.svcfg-preview-content p{
    color:#a5aeba;
    line-height:1.7;
}

.svcfg-preview-content button{
    width:100%;
    margin-top:25px;
    padding:15px;
    border:0;
    border-radius:16px;
    background:linear-gradient(90deg,#d7a94b,#b98a32);
    color:#fff;
    font-weight:900;
    cursor:pointer;
}

.svcfg-preview-close{
    position:fixed;
    z-index:205;
    top:28px;
    right:35px;
    width:50px;
    height:50px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:50%;
    background:#111;
    color:white;
    font-size:30px;
    cursor:pointer;
}

.svcfg-hidden{
    display:none!important;
}

@media(max-width:950px){

    .svcfg-packages,
    .svcfg-themes,
    .svcfg-options{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .svcfg-preview-box{
        grid-template-columns:1fr;
    }

    .svcfg-preview-box img,
    .svcfg-preview-box video{
        min-height:350px;
        max-height:500px;
    }
}

@media(max-width:680px){

    .svcfg{
        padding-top:110px;
    }

    .svcfg-event-types,
    .svcfg-packages,
    .svcfg-themes,
    .svcfg-options,
    .svcfg-extra-links{
        grid-template-columns:1fr;
    }

    .svcfg-section{
        margin-bottom:65px;
    }

    .svcfg-summary{
        align-items:stretch;
        flex-direction:column;
    }

    .svcfg-summary-actions{
        width:100%;
    }

    .svcfg-summary-actions button{
        flex:1;
    }

    .svcfg-theme-actions{
        grid-template-columns:1fr;
    }
}

/* FIX aperçu configurateur : fermeture toujours visible */
.svcfg-preview-close{
    position:fixed !important;
    top:52px !important;
    right:22px !important;
    z-index:999999 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:52px !important;
    height:52px !important;
    padding:0 !important;

    border:2px solid rgba(215,169,75,.8) !important;
    border-radius:50% !important;

    background:#080d12 !important;
    color:#fff !important;

    font-size:34px !important;
    font-weight:400 !important;
    line-height:1 !important;

    box-shadow:0 8px 30px rgba(0,0,0,.55) !important;
    cursor:pointer !important;
}

.svcfg-preview-close:hover{
    background:#d7a94b !important;
    color:#080d12 !important;
}

@media(max-width:782px){
    .svcfg-preview-close{
        top:58px !important;
        right:12px !important;
    }
}

/* FIX DEFINITIF MODAL CONFIGURATEUR */
.svcfg-preview{
    z-index:100000 !important;
}

.svcfg-preview-close{
    z-index:100001 !important;
}
