/**
 * Vitrine Yango — shell (header, sticky, footer, breadcrumb)
 */
*, *::before, *::after { box-sizing: border-box; }

.vy-html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

.vy-body {
    margin: 0;
    font-family: var(--vy-font);
    font-size: 15px;
    line-height: 1.5;
    color: var(--vy-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    padding-top: var(--vy-header-h-mobile);
    padding-bottom: calc(var(--vy-sticky-h-mobile) + env(safe-area-inset-bottom, 0px) + 12px);
}
.vy-body.vy-sticky-hidden {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
}

/* Liens vitrine — pas de bleu souligné par défaut */
.vy-body a { color: inherit; text-decoration: none; }
.vy-faq-card__more,
.vy-faq-card a {
    font-size: 14px;
    font-weight: 700;
    color: var(--vy-text);
}
.vy-faq-card__more:hover,
.vy-faq-card a:hover { text-decoration: underline; }
.vy-foot__col a { color: rgba(255,255,255,.7); text-decoration: none; }
.vy-crumb__list a {
    color: var(--vy-muted);
    text-decoration: none;
    padding: 6px 2px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.vy-main {
    min-height: 50vh;
    overflow-x: clip;
}

/* App banner retiré du layout — conservé pour compatibilité éventuelle */
.vy-app-banner { display: none !important; }

.vy-wrap {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--vy-gutter);
    box-sizing: border-box;
}

/* Logo marque (composant gx-brandv2) */
.vy-header .gx-brandv2 {
    flex: 0 1 auto;
    min-width: 0;
    flex-shrink: 0;
    justify-self: start;
    gap: 5px;
}
.vy-header .gx-brandv2__gaz { color: #fff; }
.vy-header .gx-brandv2__express { color: #fff; }

/* Header — barre orange fixe (reste visible au scroll) */
.vy-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 300;
}
.vy-header__bar {
    background: var(--vy-header-bg);
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.vy-header__inner {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    min-height: var(--vy-header-h-mobile);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas: "logo dl theme burger";
    align-items: center;
    gap: 8px 10px;
    padding: 6px 12px 6px max(10px, env(safe-area-inset-left, 10px));
}
.vy-header__inner > .gx-brandv2 {
    grid-area: logo;
    justify-self: start;
    margin-left: 0;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.vy-header__dl-mobile {
    grid-area: dl;
    justify-self: end;
    max-width: none;
    flex-shrink: 0;
    padding: 8px 12px !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.vy-header__dl-mobile.is-scroll-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.9);
}
.vy-burger { grid-area: burger; justify-self: end; }
.vy-theme-btn--mobile {
    grid-area: theme;
    justify-self: end;
    display: none;
}
.vy-dl-mobile-long { display: none; }
.vy-dl-mobile-short { display: inline; }
.vy-dl-desktop-short { display: none; }
.vy-nav--desktop { display: none; }
.vy-header__actions--desktop { display: none; }
.vy-header__spacer { flex: 1 1 auto; min-width: 8px; }
.vy-header .gx-brandv2--md .gx-brandv2__flame { width: 32px; height: 32px; }
.vy-header .gx-brandv2--md .gx-brandv2__name { font-size: 17px; }
.vy-nav__link {
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    border-radius: 6px;
    white-space: nowrap;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.vy-nav__link:hover { background: rgba(255,255,255,.12); }
.vy-nav__link.is-active { font-weight: 600; }
.vy-nav__chev { filter: brightness(0) invert(1); opacity: .9; }
.vy-nav__drop { position: relative; }
.vy-nav__drop-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    padding: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.vy-nav__drop-panel a {
    display: block;
    padding: 10px 12px;
    color: var(--vy-text);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
}
.vy-nav__drop-panel a:hover { background: var(--gx-bg); }
.vy-nav__drop:hover .vy-nav__drop-panel,
.vy-nav__drop:focus-within .vy-nav__drop-panel { display: block; }

.vy-header__actions {
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.vy-btn--header-dl {
    background: #fff;
    color: #0a0a0a;
    border: none;
    border-radius: var(--vy-pill);
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.vy-btn--header-dl:hover { background: #f8fafc; }
.vy-btn.vy-header__hub {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.vy-drawer__link--accent { color: var(--vy-accent); font-weight: 600; }
.vy-lang {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 4px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    border-radius: 6px;
    flex-shrink: 0;
}
.vy-lang:hover { background: rgba(255,255,255,.12); }
.vy-lang__ico { filter: brightness(0) invert(1); }
.vy-lang__chev { filter: brightness(0) invert(1); opacity: .85; }
.vy-lang-wrap { position: relative; flex-shrink: 0; }
.vy-lang-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    padding: 6px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
    z-index: 320;
}
.vy-lang-panel[hidden] { display: none; }
.vy-lang-panel__opt {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    text-align: left;
    font: inherit;
    font-size: 14px;
    color: var(--vy-text);
    border-radius: 8px;
    cursor: pointer;
}
.vy-lang-panel__opt:hover,
.vy-lang-panel__opt.is-active { background: #fff7ed; color: var(--vy-accent); }

.vy-burger {
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}
.vy-burger span {
    display: block;
    width: 24px;
    height: 2px;
    margin-inline: auto;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.vy-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vy-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.vy-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer mobile — plein écran orange (style Yango) */
.vy-drawer[hidden] { display: none; }
.vy-drawer {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: var(--vy-header-bg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.vy-drawer__shell {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    justify-content: flex-start;
}
.vy-drawer__top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px var(--vy-gutter);
    min-height: var(--vy-header-h-mobile);
    flex-shrink: 0;
}
.vy-drawer__top > .gx-brandv2 {
    position: static;
    transform: none;
    min-width: 0;
    max-width: calc(100% - 56px);
    flex: 1 1 auto;
    overflow: visible;
    z-index: 1;
    gap: 5px;
}
.vy-drawer__top .gx-brandv2__body { min-width: 0; overflow: visible; }
.vy-drawer__top .gx-brandv2__name {
    overflow: visible;
    text-overflow: unset;
    white-space: nowrap;
}
.vy-drawer__top .gx-brandv2__gaz,
.vy-drawer__top .gx-brandv2__express { color: #fff; }
.vy-drawer__top .gx-brandv2--md .gx-brandv2__flame { width: 38px; height: 38px; }
.vy-drawer__top .gx-brandv2--md .gx-brandv2__name { font-size: 20px; }
.vy-drawer__close {
    position: static;
    transform: none;
    flex: 0 0 48px;
    align-self: center;
    margin-left: auto;
    z-index: 2;
}
.vy-drawer__close span {
    transition: transform .2s, opacity .2s;
}
.vy-drawer__close span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vy-drawer__close span:nth-child(2) { opacity: 0; }
.vy-drawer__close span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.vy-drawer__nav {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px var(--vy-gutter) 12px;
}
.vy-drawer__link,
.vy-drawer__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 0;
    border: none;
    background: transparent;
    color: #fff;
    font-family: var(--vy-font);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: -0.01em;
}
.vy-drawer__toggle { justify-content: flex-start; }
.vy-drawer__chev {
    filter: brightness(0) invert(1);
    opacity: .9;
    flex-shrink: 0;
    margin-left: 4px;
    transition: transform .2s;
}
.vy-drawer__toggle[aria-expanded="true"] .vy-drawer__chev { transform: rotate(180deg); }
.vy-drawer__group { display: flex; flex-direction: column; }
.vy-drawer__sub {
    display: flex;
    flex-direction: column;
    padding: 0 0 8px 4px;
}
.vy-drawer__sub[hidden] { display: none; }
.vy-drawer__sublink {
    padding: 6px 0 6px 12px;
    color: rgba(255, 255, 255, .88);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
}
.vy-drawer__sublink:hover { color: #fff; }

.vy-drawer__foot {
    padding: 12px var(--vy-gutter) calc(20px + env(safe-area-inset-bottom, 0px));
    margin-top: auto;
    flex-shrink: 0;
}
.vy-drawer__lang {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border: none;
    background: transparent;
    color: #fff;
    font-family: var(--vy-font);
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
}
.vy-drawer__lang-ico { filter: brightness(0) invert(1); opacity: .95; }

body.vy-menu-open { overflow: hidden; }

/* Drawer visible uniquement sur mobile */
@media (min-width: 900px) {
    .vy-drawer { display: none !important; }
}

/* Buttons */
.vy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--vy-pill);
    font-family: var(--vy-font);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .2s, transform .1s;
    white-space: nowrap;
}
.vy-btn:active { transform: scale(.98); }
.vy-btn:focus-visible,
.vy-sticky__close:focus-visible,
.vy-faq-details summary:focus-visible,
.vy-faq-card__cta:focus-visible {
    outline: 3px solid var(--vy-accent);
    outline-offset: 2px;
}
.vy-btn--accent { background: var(--vy-accent); color: #fff; }
.vy-btn--accent:hover { background: var(--vy-accent-hover); }
.vy-btn--white { background: #fff; color: var(--vy-text); border-color: #e2e8f0; }
.vy-btn--white:hover { background: #f8fafc; }
.vy-btn--outline { background: #fff; color: var(--vy-text); border-color: #cbd5e1; }
.vy-btn--outline:hover { background: #f8fafc; }
.vy-btn--pill { border-radius: var(--vy-pill); padding: 12px 22px; }
.vy-btn--sm { padding: 10px 18px; font-size: 14px; }
.vy-btn--block { width: 100%; }

/* Breadcrumb */
.vy-crumb {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding: 14px 0;
    text-align: left;
}
.vy-crumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--vy-muted);
}
.vy-crumb__list a {
    color: var(--vy-muted);
    text-decoration: none;
    padding: 6px 2px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.vy-crumb__list a:hover { color: var(--vy-text); }
.vy-crumb__list strong { color: var(--vy-text); font-weight: 600; }
.vy-crumb__sep { color: #cbd5e1; }

/* Sticky CTA — bandeau fixe en bas (mobile + desktop) */
.vy-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 280;
    width: 100%;
    max-width: 100%;
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, visibility 0.35s;
    pointer-events: none;
}
.vy-sticky.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.vy-sticky__close {
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.vy-sticky__close:hover { color: #fff; }
.vy-sticky__inner {
    background: var(--vy-sticky-bg);
    border-radius: 0;
    padding: 12px var(--vy-gutter) calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.28);
    text-align: center;
}
@media (min-width: 900px) {
    .vy-sticky {
        bottom: 16px;
        left: 50%;
        right: auto;
        width: min(640px, calc(100% - 32px));
        transform: translate(-50%, calc(100% + 40px));
    }
    .vy-sticky.is-visible {
        transform: translate(-50%, 0);
    }
    .vy-sticky__inner {
        border-radius: var(--vy-pill);
        padding: 14px 22px 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    }
    .vy-sticky__close { top: 8px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .vy-sticky { transition: none; }
}
.vy-sticky__promo {
    margin: 0 0 10px;
    padding-right: 24px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}
.vy-sticky__apps {
    display: block;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.92;
    margin-top: 2px;
}
.vy-sticky__badge {
    display: inline-block;
    padding: 2px 8px;
    margin: 0 2px;
    background: var(--vy-sticky-accent);
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    font-size: 13px;
}
.vy-sticky__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.vy-sticky__store {
    min-width: 0;
    flex: 1 1 120px;
    max-width: 200px;
    gap: 6px;
    font-size: 13px;
    padding: 11px 16px;
}
.vy-sticky__store i { font-size: 1.1em; }
.vy-sticky--order .vy-sticky__promo {
    font-size: 14px;
}
.vy-sticky__order {
    min-width: min(280px, 100%);
    flex: 1 1 auto;
    max-width: 360px;
}

/* Footer */
.vy-foot {
    background: var(--vy-foot-bg);
    color: rgba(255,255,255,.75);
    padding: 36px 0 0;
    margin-top: 36px;
}
.vy-foot__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
    padding-bottom: 24px;
}
.vy-foot__stores { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.vy-foot__stores--dual { gap: 14px; }
.vy-foot__store-group { display: flex; flex-direction: column; gap: 8px; }
.vy-foot__store-label {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}
.vy-foot__store-row { display: flex; flex-wrap: wrap; gap: 8px; }
.vy-store-badge--pro { border-color: rgba(249, 115, 22, 0.45); }
.vy-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    max-width: 220px;
}
.vy-store-badge span { display: flex; flex-direction: column; line-height: 1.2; }
.vy-store-badge small { font-size: 9px; opacity: .8; letter-spacing: .04em; }
.vy-store-badge strong { font-size: 13px; }
.vy-store-badge--muted { opacity: .5; }
.vy-foot__col h4 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.vy-foot__col ul { margin: 0; padding: 0; list-style: none; }
.vy-foot__col li { margin-bottom: 8px; }
.vy-foot__col a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; }
.vy-foot__col a:hover { color: #fff; }
.vy-foot__col--end {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.vy-lang--foot { color: rgba(255,255,255,.8); }
.vy-foot__social {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}
.vy-foot__legal {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 16px 0 20px;
}
.vy-foot__copy { margin: 0 0 6px; font-size: 12px; color: rgba(255,255,255,.5); }
.vy-foot__disclaimer { margin: 0; font-size: 11px; color: rgba(255,255,255,.4); max-width: 640px; line-height: 1.45; }

/* Header blanc au scroll — desktop uniquement */
@media (min-width: 900px) {
    .vy-header.is-scrolled .vy-header__bar {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(13, 27, 42, 0.08);
    }
    .vy-header.is-scrolled .gx-brandv2__gaz { color: var(--gx-night, #0d1b2a); }
    .vy-header.is-scrolled .gx-brandv2__express { color: var(--gx-accent, #f97316); }
    .vy-header.is-scrolled .vy-nav__link { color: var(--vy-text); }
    .vy-header.is-scrolled .vy-nav__link:hover { background: rgba(13, 27, 42, 0.06); }
    .vy-header.is-scrolled .vy-nav__chev { filter: none; opacity: 0.65; }
    .vy-header.is-scrolled .vy-lang { color: var(--vy-text); }
    .vy-header.is-scrolled .vy-lang:hover { background: rgba(13, 27, 42, 0.06); }
    .vy-header.is-scrolled .vy-lang__ico,
    .vy-header.is-scrolled .vy-lang__chev { filter: none; }
}
