:root {
    --ink: #1C1F24;
    --ink-2: #262A30;
    --steel: #A0A6AE;
    --steel-2: #D8DBDF;
    --paper: #F6F4EF;
    --paper-2: #EAE6DD;
    --paper-ink: #15171A;
    --paper-ink-2: #5A5F66;
    --blue: #5BB0DC;
    --red: #E63430;
    --line: rgba(255, 255, 255, .10);
    --line-strong: rgba(255, 255, 255, .18);
    --display: "Cormorant Garamond", Garamond, serif;
    --sans: "Manrope", ui-sans-serif, system-ui, Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
}

html {
    height: 100% !important;
    /* -x: empêche le swipe-arrière sur les carrousels, mais laisse le pull-to-refresh vertical */
    overscroll-behavior-x: none;
}

html, body {
    height: 100% !important;
}

body {
    font-family: var(--sans) !important;
    color: var(--paper-ink) !important;
    background: var(--paper) !important;
    min-height: 100vh !important;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -.005em;
    margin: 0;
    padding: 0;
}

body.home .page-header {
    display: none !important;
}

/* Masque le header/footer OceanWP natif (on utilise nos propres) */
#site-header,
#top-bar-wrap,
#footer,
#footer-widgets,
#footer-bottom {
    display: none !important;
}

/* Supprime l'outline au clic sur tout le site, le conserve pour navigation clavier */
*:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

::selection {
    background: var(--blue);
    color: #000;
}


a {
    color: var(--blue);
    transition: color .2s;
    text-decoration: none;
}

a:hover {
    color: var(--red);
}


#sr-nav {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    height: 78px;
    background: rgba(11, 12, 14, .55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
}

.sr-nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
}

.sr-nav-logo:hover {
    color: #fff;
}

.sr-nav-logo img {
    height: 55px;
    width: auto;
}

.sr-nav-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sr-nav-logo-name {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    letter-spacing: .01em;
    line-height: 1;
}

.sr-nav-logo-sub {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 400;
    color: var(--steel);
    letter-spacing: .16em;
    text-transform: uppercase;
    line-height: 1;
}

.sr-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sr-nav-links li {
    list-style: none;
}

.sr-nav-links a {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--steel-2);
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: color .2s;
    line-height: 1;
}

.sr-nav-links a:hover,
.sr-nav-links .current-menu-item a {
    color: #fff;
}

/* Dropdown sous-menu */
.sr-nav-has-sub {
    position: relative;
}

.sr-nav-has-sub > a::after {
    content: '';
    display: inline-block;
    margin-left: 5px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s;
    vertical-align: middle;
}

.sr-nav-has-sub:hover > a::after {
    transform: rotate(-135deg) translateY(-2px);
}

.sr-nav-sub {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: rgba(11, 12, 14, .95);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    min-width: 180px;
    z-index: 9999;
    transition: opacity .15s, visibility .15s;
}

/* Pont invisible qui bouche le gap entre le li et le dropdown */
.sr-nav-sub::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.sr-nav-has-sub:hover .sr-nav-sub {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.sr-nav-sub li {
    list-style: none;
}

.sr-nav-sub a {
    display: block;
    padding: 10px 20px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--steel-2);
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .2s, background .2s;
}

.sr-nav-sub a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}


.sr-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sr-nav-phone {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--steel);
    letter-spacing: .14em;
    line-height: 1;
}

.sr-nav-phone a {
    color: inherit;
}

.sr-nav-phone a:hover {
    color: #fff;
}

.sr-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid var(--line-strong);
    padding: 14px 20px;
    border-radius: 999px;
    background: transparent;
    transition: all .2s;
    line-height: 1;
}

.sr-nav-cta:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

/* Icône panier (présente dans le DOM même vide, pour les fragments AJAX) */
.sr-nav-cart-wrap {
    display: inline-flex;
}

.sr-nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--steel-2);
    transition: color .2s;
}

.sr-nav-cart:hover {
    color: #fff;
}

.sr-nav-cart-count {
    position: absolute;
    top: -7px;
    right: -8px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
}

.sr-nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.sr-nav-burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--steel-2);
    transition: transform .3s ease, opacity .2s;
}

.sr-nav-burger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.sr-nav-burger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.sr-nav-burger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS — Pill filled, Showroom style
══════════════════════════════════════════════════════════════ */
body .button,
body button:not(.sr-nav-burger):not([class*="wc-block"]),
body input[type="button"],
body input[type="reset"],
body input[type="submit"],
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .wp-block-button__link {
    background-color: var(--red) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: var(--mono) !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    padding: 16px 24px !important;
    transition: background .2s, transform .1s !important;
}

body .button:hover,
body button:not(.sr-nav-burger):not([class*="wc-block"]):hover,
body input[type="button"]:hover,
body input[type="submit"]:hover,
body .woocommerce a.button:hover,
body .woocommerce button.button:hover,
body .wp-block-button__link:hover {
    background-color: #c4221e !important;
    color: #fff !important;
    transform: translateY(-1px);
}

body .button-primary,
body .woocommerce a.button.alt,
body .woocommerce button.button.alt,
body #respond input#submit {
    background-color: var(--blue) !important;
    color: #000 !important;
}

body .button-primary:hover,
body .woocommerce a.button.alt:hover,
body .woocommerce button.button.alt:hover {
    background-color: var(--steel-2) !important;
    color: #000 !important;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER — Identique au Showroom
══════════════════════════════════════════════════════════════ */
.sr-footer {
    background: #08090B;
    padding: 80px 0 36px;
    border-top: 1px solid var(--line);
}

.sr-foot-top {
    max-width: 1320px;
    margin: 0 auto 64px;
    padding: 0 36px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
}

.sr-footer-brand img {
    height: 56px;
    width: auto;
    margin-bottom: 16px;
    opacity: .75;
}

.sr-footer-brand-desc {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 400;
    color: var(--steel-2);
    line-height: 1.4;
    max-width: 260px;
}

.sr-footer-col-title {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 20px;
    line-height: 1;
}

.sr-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.sr-footer-links a {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 400;
    color: var(--steel-2);
    transition: color .2s;
    line-height: 1.4;
}

.sr-footer-links a:hover {
    color: #fff;
}

.sr-foot-bot {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 36px 0;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.sr-foot-copy {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--steel);
    line-height: 1;
}

.sr-foot-legal {
    display: flex;
    gap: 24px;
}

.sr-foot-legal a {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--steel);
    transition: color .2s;
    line-height: 1;
}

.sr-foot-legal a:hover {
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   BOUTIQUE — en-tête page shop / catégorie
══════════════════════════════════════════════════════════════ */
.flac-shop-header {
    padding: 56px 36px 32px;
    max-width: 1320px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    margin-bottom: 48px;
}

.flac-shop-title {
    font-family: var(--display);
    font-size: clamp(44px, 6vw, 96px);
    font-weight: 300;
    color: var(--paper-ink);
    line-height: .95;
    letter-spacing: -.03em;
    margin: 0;
}

@media (max-width: 760px) {
    .flac-shop-header {
        padding: 36px 20px 24px;
        margin-bottom: 32px;
    }
}

/* ══════════════════════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════════════════════ */
.page-header {
    background: transparent !important;
    border-bottom: none !important;
    padding: 12px 0 0 !important;
    position: relative !important;
}

.page-header::before, .page-header::after {
    display: none !important;
}

.page-subheading {
    display: none !important;
}

.page-header-title {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 90% !important;
    transform: translateY(-50%) !important;
    text-align: center !important;
    font-family: var(--display) !important;
    font-size: 42px !important;
    font-weight: 300 !important;
    font-style: italic !important;
    color: var(--paper-ink-2) !important;
    letter-spacing: -.02em !important;
    white-space: nowrap !important;
    text-transform: none !important;
    margin: 0 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.page-header-inner {
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    padding: 8px 0 !important;
    position: static !important;
}

.site-breadcrumbs {
    position: relative !important;
    z-index: 1 !important;
}

.site-breadcrumbs .trail-items {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-breadcrumbs .trail-item {
    font-family: var(--mono) !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
}

.site-breadcrumbs .trail-item a {
    color: var(--steel) !important;
    text-decoration: none !important;
    transition: color .2s !important;
}

.site-breadcrumbs .trail-item a:hover {
    color: var(--blue) !important;
}

.site-breadcrumbs .breadcrumb-sep {
    color: #ccc !important;
    margin: 0 6px !important;
    font-size: 9px !important;
}

.site-breadcrumbs .trail-item.trail-end span:not(.breadcrumb-sep),
.site-breadcrumbs .trail-item.trail-end a {
    color: var(--red) !important;
    font-weight: 500 !important;
}

.icon-home::before {
    font-size: 10px !important;
    color: var(--steel) !important;
}

/* ══════════════════════════════════════════════════════════════
   TYPOGRAPHY — Content areas
══════════════════════════════════════════════════════════════ */
.entry-content {
    font-family: var(--sans) !important;
    font-size: 15px;
    line-height: 1.7;
    color: var(--paper-ink-2);
}

.entry-content h1, .entry-content h2, .entry-content h3 {
    font-family: var(--display) !important;
    font-weight: 300 !important;
    color: var(--paper-ink) !important;
    letter-spacing: -.02em !important;
    line-height: 1 !important;
}

.entry-content h1 {
    font-size: clamp(36px, 5vw, 64px) !important;
}

.entry-content h2 {
    font-size: clamp(28px, 4vw, 48px) !important;
}

.entry-content h3 {
    font-size: clamp(22px, 3vw, 32px) !important;
}

.entry-content h1 em, .entry-content h2 em, .entry-content h3 em {
    font-style: italic;
    color: var(--paper-ink-2) !important;
}

.entry-content a {
    text-decoration: none;
}

.entry-content a:hover {
    color: var(--red);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
    .sr-nav-links,
    .sr-nav-phone {
        display: none;
    }

    .sr-nav-burger {
        display: flex;
    }

    /* Cacher le CTA nav en mobile */
    .sr-nav-cta {
        display: none;
    }

    /* Menu mobile ouvert */
    .sr-nav-links.sr-nav-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        z-index: 9998;
        background: rgba(11, 12, 14, .97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px 24px 24px;
        gap: 0;
        border-bottom: 1px solid var(--line);
    }

    .sr-nav-links.sr-nav-open > li {
        border-bottom: 1px solid var(--line);
    }

    .sr-nav-links.sr-nav-open > li:last-child {
        border-bottom: none;
    }

    .sr-nav-links.sr-nav-open > li > a {
        display: block;
        padding: 16px 0;
        font-size: 15px;
        letter-spacing: .06em;
        text-align: center;
    }

    /* Sous-menu mobile : caché par défaut, toggle au tap */
    .sr-nav-sub {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        position: static;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: unset;
        margin: 0;
        transition: max-height .35s ease, opacity .25s, visibility .25s, margin .25s, padding .25s;
    }

    /* Annuler le comportement hover desktop sur tactile (sinon iOS avale le 1er tap).
       Placé AVANT la règle .open pour que .open l'emporte via l'ordre source. */
    .sr-nav-has-sub:hover .sr-nav-sub {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        max-height: 0;
    }

    /* Sous-menu visible quand parent .open : bloc centré et arrondi */
    .sr-nav-has-sub.open .sr-nav-sub {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        max-height: 420px;
        width: 80%;
        margin: 2px auto 12px;
        padding: 6px 0;
        background: rgba(255, 255, 255, .05);
        border-radius: 10px;
    }

    /* Sur mobile, le chevron ne réagit qu'à l'état .open (pas au hover collant tactile) */
    .sr-nav-has-sub:hover > a::after {
        transform: rotate(45deg) translateY(-2px);
    }

    .sr-nav-has-sub.open > a::after {
        transform: rotate(-135deg) translateY(-2px);
    }

    .sr-nav-sub::before {
        display: none;
    }

    .sr-nav-sub a {
        padding: 11px 18px;
        font-size: 12px;
        text-align: center;
        white-space: normal;
        letter-spacing: .08em;
    }
}

@media (max-width: 880px) {
    .sr-foot-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    #sr-nav {
        padding: 0 20px;
    }

    .sr-foot-top, .sr-foot-bot {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .page-header-title {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .sr-foot-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sr-foot-bot {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   PAGES LÉGALES (mentions, confidentialité, CGV)
   ============================================ */
.fs-legal {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 24px 96px;
    font-family: var(--sans);
    color: var(--paper-ink);
    font-size: 15px;
    line-height: 1.75;
}

.fs-legal h1 {
    font-family: var(--display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 300;
    color: var(--paper-ink);
    line-height: 1;
    letter-spacing: -.02em;
    margin: 0 0 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.fs-legal h2 {
    font-family: var(--display);
    font-size: 30px;
    font-weight: 500;
    color: var(--paper-ink);
    margin: 44px 0 14px;
    line-height: 1.15;
}

.fs-legal p {
    margin: 0 0 16px;
    color: var(--paper-ink-2);
}

.fs-legal ul {
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--paper-ink-2);
}

.fs-legal li {
    margin-bottom: 8px;
}

.fs-legal a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fs-legal a:hover {
    color: var(--paper-ink);
}

.fs-legal strong {
    color: var(--paper-ink);
}
