/* ART'ms — extrait de templates/headers/header-artms.php. Chargé via client-assets/config.php. */

:root{
            --ah-black:#07090b;
            --ah-black-soft:#0e1215;
            --ah-ivory:#f7f2e8;
            --ah-gold:#e9d09a;
            --ah-gold-light:#fff0c8;
            --ah-line:rgba(233,208,154,.24);
            --ah-muted:rgba(247,242,232,.66);
            --ah-header-h:104px;
        }

        *,*::before,*::after{box-sizing:border-box}
        html.artms-menu-open,body.artms-menu-open{overflow:hidden}

        .artms-premium-header,
        .artms-premium-header *{box-sizing:border-box}

        .artms-premium-header{
            position:fixed;
            inset:0 0 auto;
            z-index:99990;
            height:var(--ah-header-h);
            color:var(--ah-ivory);
            transition:height .35s ease,background .35s ease,border-color .35s ease,box-shadow .35s ease;
        }

        .artms-premium-header::before{
            content:"";
            position:absolute;
            inset:0;
            z-index:-1;
            background:linear-gradient(180deg,rgba(4,6,8,.86),rgba(4,6,8,.28) 72%,transparent);
            pointer-events:none;
            transition:.35s ease;
        }

        .artms-premium-header.is-scrolled{
            height:82px;
            border-bottom:1px solid var(--ah-line);
            box-shadow:0 18px 55px rgba(0,0,0,.2);
        }

        .artms-premium-header.is-scrolled::before{
            background:rgba(7,9,11,.88);
            backdrop-filter:blur(18px) saturate(125%);
            -webkit-backdrop-filter:blur(18px) saturate(125%);
        }

        .artms-premium-header__inner{
            width:min(1540px,calc(100% - 72px));
            height:100%;
            margin-inline:auto;
            display:grid;
            grid-template-columns:auto 1fr auto;
            align-items:center;
            gap:42px;
        }

        .artms-premium-brand{
            position:relative;
            z-index:99994;
            display:inline-flex;
            align-items:center;
            min-width:180px;
            color:var(--ah-ivory);
            text-decoration:none;
        }

        .artms-premium-brand img{
            display:block;
            width:auto;
            max-width:190px;
            max-height:57px;
            object-fit:contain;
        }

        .artms-premium-brand__text{
            display:flex;
            align-items:flex-end;
            gap:13px;
        }

        .artms-premium-brand strong{
            color:var(--ah-gold-light);
            font-family:Georgia,"Times New Roman",serif;
            font-size:31px;
            font-weight:400;
            line-height:.9;
            letter-spacing:-.03em;
        }

        .artms-premium-brand small{
            max-width:94px;
            color:rgba(247,242,232,.62);
            font:700 9px/1.35 Arial,sans-serif;
            letter-spacing:.19em;
            text-transform:uppercase;
        }

        .artms-premium-nav{
            justify-self:end;
            display:flex;
            align-items:center;
            gap:clamp(20px,2vw,38px);
        }

        .artms-premium-nav a{
            position:relative;
            padding:14px 0;
            color:rgba(247,242,232,.78);
            font:700 11px/1 Arial,sans-serif;
            letter-spacing:.16em;
            text-transform:uppercase;
            text-decoration:none;
            transition:color .25s ease;
        }

        .artms-premium-nav a::after{
            content:"";
            position:absolute;
            left:0;
            right:100%;
            bottom:5px;
            height:1px;
            background:var(--ah-gold);
            transition:right .3s ease;
        }

        .artms-premium-nav a:hover,
        .artms-premium-nav a:focus-visible{color:var(--ah-gold-light)}
        .artms-premium-nav a:hover::after,
        .artms-premium-nav a:focus-visible::after{right:0}

        .artms-premium-actions{
            position:relative;
            z-index:99994;
            display:flex;
            align-items:center;
            gap:14px;
        }

        .artms-premium-booking{
            display:inline-flex;
            align-items:center;
            justify-content:center;
            min-height:52px;
            padding:0 25px;
            border:1px solid var(--ah-gold);
            border-radius:999px;
            background:var(--ah-gold);
            color:#11171b;
            box-shadow:0 18px 50px rgba(233,208,154,.16);
            font:800 11px/1 Arial,sans-serif;
            letter-spacing:.11em;
            text-transform:uppercase;
            text-decoration:none;
            white-space:nowrap;
            transition:transform .3s ease,background .3s ease,box-shadow .3s ease;
        }

        .artms-premium-booking:hover,
        .artms-premium-booking:focus-visible{
            transform:translateY(-2px);
            background:var(--ah-gold-light);
            box-shadow:0 22px 65px rgba(233,208,154,.24);
        }

        .artms-premium-toggle{
            display:none;
            position:relative;
            z-index:99995;
            width:52px;
            height:52px;
            padding:0;
            border:1px solid var(--ah-line);
            border-radius:50%;
            background:rgba(255,255,255,.04);
            color:var(--ah-ivory);
            cursor:pointer;
        }

        .artms-premium-toggle span:not(.screen-reader-text){
            position:absolute;
            left:15px;
            width:20px;
            height:1px;
            background:currentColor;
            transition:transform .35s ease,top .35s ease;
        }
        .artms-premium-toggle span:nth-child(1){top:20px}
        .artms-premium-toggle span:nth-child(2){top:29px}
        .artms-premium-toggle[aria-expanded="true"] span:nth-child(1){top:25px;transform:rotate(45deg)}
        .artms-premium-toggle[aria-expanded="true"] span:nth-child(2){top:25px;transform:rotate(-45deg)}

        .artms-premium-overlay{
            position:fixed;
            inset:0;
            z-index:99991;
            display:grid;
            grid-template-columns:minmax(0,1fr) minmax(320px,38vw);
            background:#050708;
            color:var(--ah-ivory);
            opacity:0;
            visibility:hidden;
            pointer-events:none;
            transition:opacity .45s ease,visibility .45s ease;
        }

        .artms-premium-overlay.is-open{
            opacity:1;
            visibility:visible;
            pointer-events:auto;
        }

        .artms-premium-overlay::before{
            content:"";
            position:absolute;
            inset:0;
            pointer-events:none;
            background:
                radial-gradient(circle at 18% 30%,rgba(233,208,154,.13),transparent 28%),
                linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
                linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);
            background-size:auto,86px 86px,86px 86px;
        }

        .artms-premium-overlay__main{
            position:relative;
            padding:calc(var(--ah-header-h) + 60px) 8vw 70px;
            display:flex;
            flex-direction:column;
            justify-content:center;
        }

        .artms-premium-overlay__eyebrow{
            margin-bottom:28px;
            color:var(--ah-gold);
            font:800 10px/1 Arial,sans-serif;
            letter-spacing:.28em;
            text-transform:uppercase;
        }

        .artms-premium-overlay nav{
            display:flex;
            flex-direction:column;
            align-items:flex-start;
        }

        .artms-premium-overlay nav a{
            position:relative;
            color:var(--ah-ivory);
            font:400 clamp(39px,5vw,78px)/1 Georgia,"Times New Roman",serif;
            letter-spacing:-.045em;
            text-decoration:none;
            transform:translateY(28px);
            opacity:0;
            transition:color .25s ease,transform .55s ease,opacity .55s ease;
        }

        .artms-premium-overlay nav a + a{margin-top:8px}
        .artms-premium-overlay nav a:hover{color:var(--ah-gold)}
        .artms-premium-overlay.is-open nav a{transform:none;opacity:1}
        .artms-premium-overlay.is-open nav a:nth-child(2){transition-delay:.05s}
        .artms-premium-overlay.is-open nav a:nth-child(3){transition-delay:.10s}
        .artms-premium-overlay.is-open nav a:nth-child(4){transition-delay:.15s}
        .artms-premium-overlay.is-open nav a:nth-child(5){transition-delay:.20s}
        .artms-premium-overlay.is-open nav a:nth-child(6){transition-delay:.25s}

        .artms-premium-overlay__side{
            position:relative;
            min-height:100%;
            display:flex;
            flex-direction:column;
            justify-content:flex-end;
            padding:calc(var(--ah-header-h) + 50px) 4vw 70px;
            border-left:1px solid var(--ah-line);
            background:
                linear-gradient(180deg,rgba(5,7,8,.22),rgba(5,7,8,.9)),
                var(--ah-overlay-image) center/cover;
        }

        .artms-premium-overlay__side::before{
            content:"";
            position:absolute;
            inset:0;
            background:linear-gradient(135deg,rgba(7,9,11,.35),rgba(7,9,11,.82));
        }

        .artms-premium-overlay__content{position:relative;z-index:1}
        .artms-premium-overlay__content strong{
            display:block;
            max-width:460px;
            margin-bottom:18px;
            color:var(--ah-gold-light);
            font:400 clamp(31px,3vw,52px)/1.02 Georgia,"Times New Roman",serif;
            letter-spacing:-.04em;
        }
        .artms-premium-overlay__content p{max-width:420px;color:var(--ah-muted);font:400 15px/1.7 Arial,sans-serif}
        .artms-premium-overlay__meta{display:flex;gap:18px;flex-wrap:wrap;margin-top:28px;color:var(--ah-gold);font:700 10px/1 Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase}

        @media (max-width:1180px){
            .artms-premium-nav{display:none}
            .artms-premium-header__inner{grid-template-columns:minmax(0,1fr) auto;gap:24px}
            .artms-premium-actions{grid-column:2}
            .artms-premium-toggle{display:block}

            .artms-premium-overlay{
                grid-template-columns:minmax(0,1fr) minmax(300px,36vw);
            }
        }

        @media (max-width:900px){
            .artms-premium-overlay{
                grid-template-columns:1fr;
                overflow-y:auto;
                overscroll-behavior:contain;
            }

            .artms-premium-overlay__main{
                min-height:100svh;
                padding:calc(var(--ah-header-h) + 42px) clamp(24px,7vw,58px) 48px;
                justify-content:center;
            }

            .artms-premium-overlay__side{display:none}
            .artms-premium-overlay nav a{font-size:clamp(40px,9vw,66px)}
        }

        @media (max-width:760px){
            :root{--ah-header-h:78px}

            .artms-premium-header,
            .artms-premium-header.is-scrolled{height:var(--ah-header-h)}

            .artms-premium-header__inner{
                width:calc(100% - 24px);
                gap:12px;
            }

            .artms-premium-brand{
                min-width:0;
                max-width:calc(100vw - 84px);
                overflow:hidden;
            }

            .artms-premium-brand img{
                width:auto;
                max-width:min(150px,48vw);
                max-height:44px;
            }

            .artms-premium-brand__text{min-width:0}
            .artms-premium-brand strong{
                display:block;
                max-width:58vw;
                overflow:hidden;
                font-size:26px;
                white-space:nowrap;
                text-overflow:ellipsis;
            }

            .artms-premium-brand small{display:none}
            .artms-premium-actions{gap:0}
            .artms-premium-actions .artms-premium-booking{display:none}

            .artms-premium-toggle{
                width:46px;
                height:46px;
                flex:0 0 46px;
            }

            .artms-premium-toggle span:not(.screen-reader-text){left:13px}

            .artms-premium-overlay__main{
                min-height:100svh;
                padding:calc(var(--ah-header-h) + 34px) 22px 42px;
            }

            .artms-premium-overlay__eyebrow{
                margin-bottom:24px;
                font-size:9px;
                line-height:1.45;
            }

            .artms-premium-overlay nav a{
                max-width:100%;
                font-size:clamp(36px,12vw,54px);
                line-height:1.04;
                overflow-wrap:anywhere;
            }

            .artms-premium-overlay nav a + a{margin-top:12px}
        }

        @media (max-width:420px){
            .artms-premium-brand img{max-width:126px}
            .artms-premium-brand strong{font-size:23px}
            .artms-premium-overlay nav a{font-size:clamp(34px,11vw,46px)}
        }

        @media (prefers-reduced-motion:reduce){
            .artms-premium-header *,
            .artms-premium-header *::before,
            .artms-premium-header *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
        }
