@import "../fonts/fonts-mAZc61n.css";
@import "pages/home-0hTYRdT.css";
@import "pages/catalog-ZWYBifJ.css";
@import "pages/bike-xdxtIwR.css";
@import "pages/contact-LLesIhI.css";
@import "pages/faq-53lAlVh.css";
@import "pages/auth-Pr-CjYF.css";
@import "pages/account-9JCkUmH.css";
@import "pages/order-1h7qneL.css";

:root {
    --c-bg: #FFFFFF;
    --c-text: #111111;
    --c-muted: #6B6B6B;
    --c-border: #E5E5E5;
    --c-soft: #F5F5F5;
    --c-accent: #C8102E;
    --c-accent-dark: #9C0C23;
    --r: 4px;
    --f-title: Manrope, sans-serif;
    --f-text: Inter, Helvetica, Arial, sans-serif;
    --header-h: 72px;
    --bp-mobile: 1140px;
}

/* ── Reset & global ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font: 16px/1.6 var(--f-text);
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.menu-open { overflow: hidden; }
a { color: var(--c-accent); }
a:hover { color: var(--c-accent-dark); }
::placeholder { color: #9A9A9A; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--f-title); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
button { font: inherit; }
address { font-style: normal; }

/* ── Animations (reprises de la maquette) ─────────────────────────── */
@keyframes mnUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mnIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes mnSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    [data-marquee] { animation: none !important; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Utilities ──────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus-visible { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; padding: 12px 16px; clip: auto; overflow: visible; background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-text); border-radius: var(--r); text-decoration: none; }
.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.section { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); animation: mnUp .35s ease both; }
.section--narrow { max-width: 560px; }
.section__header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section__title { margin: 0 0 16px; font: 800 clamp(26px, 4vw, 40px)/1.1 var(--f-title); letter-spacing: .02em; text-transform: uppercase; }
.section__intro { margin: 0 0 32px; font-size: 17px; line-height: 1.7; color: var(--c-muted); max-width: 720px; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.dl dt { color: var(--c-muted); }
.dl dd { margin: 0; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px;
    border: 1px solid var(--c-text); border-radius: var(--r);
    background: var(--c-bg); color: var(--c-text);
    font: 600 12px/1 var(--f-title); letter-spacing: .08em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--c-soft); color: var(--c-text); }
.btn--primary { background: var(--c-accent); border-color: var(--c-accent); color: #FFFFFF; }
.btn--primary:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); color: #FFFFFF; }
.btn--ghost { border-color: var(--c-border); color: var(--c-muted); }
.btn--ghost:hover { border-color: var(--c-text); color: var(--c-text); background: var(--c-bg); }
.btn--block { width: 100%; }
.btn--lg { min-height: 52px; padding: 0 30px; font-size: 14px; }
.btn--inverse { background: transparent; border-color: #FFFFFF; color: #FFFFFF; }
.btn--inverse:hover { background: #FFFFFF; color: var(--c-text); }
.btn--whatsapp { border-color: #128C7E; color: #128C7E; }
.btn--whatsapp:hover { background: #128C7E; border-color: #128C7E; color: #FFFFFF; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.icon-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; border-radius: var(--r);
    background: none; color: var(--c-text); text-decoration: none; cursor: pointer;
}
.icon-btn:hover { background: var(--c-soft); color: var(--c-text); }
.icon-btn--whatsapp { color: #128C7E; }
.icon-btn__count {
    position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; background: var(--c-accent); color: #FFFFFF;
    font: 700 11px/18px var(--f-title); text-align: center;
}

/* ── Badges & cards ─────────────────────────────────────────────── */
.badge {
    display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px;
    border-radius: var(--r); background: var(--c-soft); color: var(--c-text);
    font: 600 11px/1 var(--f-title); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle;
}
.badge--accent { background: var(--c-accent); color: #FFFFFF; }
.badge--dark { background: var(--c-text); color: #FFFFFF; }
.badge--ok { background: #E6F4EA; color: #1E7B34; }
.badge--warn { background: #FFF4E5; color: #9A5B00; }
.badge--danger { background: #FBE9EC; color: var(--c-accent-dark); }
.card { border: 1px solid var(--c-border); border-radius: var(--r); background: var(--c-bg); padding: clamp(16px, 2.5vw, 24px); }
.card__title { margin: 0 0 16px; font: 700 18px/1.3 var(--f-title); }
.card a { text-decoration: none; }

/* ── Forms ──────────────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label { font: 600 13px/1.4 var(--f-title); letter-spacing: .02em; }
.form__input, .form__select, .form__textarea {
    width: 100%; min-height: 48px; padding: 10px 12px;
    border: 1px solid var(--c-border); border-radius: var(--r);
    background: var(--c-bg); color: var(--c-text); font: 400 15px/1.4 var(--f-text);
}
.form__textarea { min-height: 140px; resize: vertical; }
.form__input:focus, .form__select:focus, .form__textarea:focus { border-color: var(--c-accent); outline: none; }
.form__error { margin: 0; font-size: 14px; color: var(--c-accent); }
.form__help { margin: 0; font-size: 13px; color: var(--c-muted); }
.form__field--invalid .form__input, .form__field--invalid .form__select, .form__field--invalid .form__textarea { border-color: var(--c-accent); }
.form--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; max-width: none; }
.form__field--full { grid-column: 1 / -1; }
.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__hint { margin-top: 24px; font-size: 14px; color: var(--c-muted); }
.form__check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }

/* ── Flash messages ─────────────────────────────────────────────── */
.flashes { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.flash {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px 16px; border: 1px solid var(--c-border); border-left: 4px solid var(--c-text);
    border-radius: var(--r); background: var(--c-soft); font-size: 14px; animation: mnIn .2s ease both;
}
.flash--success { border-left-color: #1E7B34; }
.flash--error { border-left-color: var(--c-accent); }
.flash--info { border-left-color: var(--c-muted); }
.flash__close { width: 44px; height: 44px; margin: -12px -12px -12px 0; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--c-muted); cursor: pointer; }
.flash__close:hover { color: var(--c-text); }

/* ── Header ─────────────────────────────────────────────────────── */
.header { position: sticky; top: 0; z-index: 100; /* > bandeau cookies (90) : le menu mobile, enfant du header, doit passer devant */ background: var(--c-bg); border-bottom: 1px solid var(--c-border); }
.header__inner { min-height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.header__brand { font: 800 19px/1 var(--f-title); letter-spacing: .16em; text-transform: uppercase; color: var(--c-text); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.header__brand:hover { color: var(--c-text); }
.header__nav { display: none; gap: 22px; margin-left: 14px; }
.header__link {
    padding: 26px 0; border-bottom: 2px solid transparent;
    font: 600 12.5px/1 var(--f-title); letter-spacing: .09em; text-transform: uppercase;
    color: var(--c-text); text-decoration: none; white-space: nowrap; transition: color .15s;
}
.header__link:hover { color: var(--c-accent); }
.header__link.is-active { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.header__tools { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.lang { display: flex; align-items: center; margin-left: 6px; border-left: 1px solid var(--c-border); padding-left: 6px; }
.lang__link {
    display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 44px;
    font: 700 12px/1 var(--f-title); letter-spacing: .08em; color: var(--c-muted); text-decoration: none; border-radius: var(--r);
}
.lang__link:hover { color: var(--c-text); background: var(--c-soft); }
.lang__link.is-active { color: var(--c-text); }
.header__burger { margin-left: 2px; }

/* Menu mobile plein écran */
.mobile-menu { position: fixed; inset: 0; z-index: 95; /* au-dessus du bandeau cookies (90) */ background: var(--c-bg); display: flex; flex-direction: column; overflow-y: auto; animation: mnIn .2s ease both; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__bar { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--c-border); }
.mobile-menu__nav { display: flex; flex-direction: column; padding: 8px 20px 32px; }
.mobile-menu__link {
    padding: 18px 0; border-bottom: 1px solid var(--c-border);
    font: 700 22px/1.2 var(--f-title); text-transform: uppercase; letter-spacing: .03em;
    color: var(--c-text); text-decoration: none;
}
.mobile-menu__link.is-active { color: var(--c-accent); }
.lang--menu { display: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--c-border); }
/* Sélecteur de langue : <details> avec drapeaux SVG */
.lang-select { position: relative; margin: 0; }
.lang-select--header { margin-left: 8px; padding-left: 10px; border-left: 1px solid var(--c-border); }
.lang-select__button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: var(--r); font: 600 12.5px/1 var(--f-title); letter-spacing: .06em; color: var(--c-text); cursor: pointer; list-style: none; user-select: none; }
.lang-select__button::-webkit-details-marker { display: none; }
.lang-select__button:hover, .lang-select[open] > .lang-select__button { background: var(--c-soft); }
.lang-select__chevron { transition: transform .15s ease; }
.lang-select[open] .lang-select__chevron { transform: rotate(180deg); }
.lang-select__list { position: absolute; top: calc(100% + 6px); right: 0; z-index: 70; min-width: 200px; margin: 0; padding: 6px; list-style: none; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--r); box-shadow: 0 12px 32px rgba(17, 17, 17, .12); animation: mnUp .15s ease both; }
.lang-select__option { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: var(--r); font: 500 14px/1 var(--f-text); color: var(--c-text); text-decoration: none; white-space: nowrap; }
.lang-select__option:hover, .lang-select__option:focus-visible { background: var(--c-soft); color: var(--c-text); }
.lang-select__option.is-active { font-weight: 700; color: var(--c-accent); }
.lang-select--menu { width: 100%; }
.lang-select--menu .lang-select__button { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--c-border); font-size: 15px; text-transform: none; letter-spacing: 0; justify-content: flex-start; }
.lang-select--menu .lang-select__chevron { margin-left: auto; }
.lang-select--menu .lang-select__list { position: static; box-shadow: none; margin-top: 6px; min-width: 0; }
.mobile-menu__cta { margin-top: 24px; min-height: 52px; }

@media (min-width: 1140px) {
    .header__nav { display: flex; }
    .header__burger { display: none; }
}
/* Petits écrans : favoris et WhatsApp restent accessibles depuis le menu mobile */
@media (max-width: 559px) {
    .header__inner { gap: 12px; }
    .header__favorites, .icon-btn--whatsapp { display: none; }
}
/* Sous 1140 px, le choix de langue vit dans le menu plein écran, pas dans le header */
@media (max-width: 1139px) {
    .lang--header { display: none; }
    .lang--menu { display: flex; }
}

/* ── Pages éditoriales (doc) ────────────────────────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 40px) clamp(56px, 7vw, 96px); animation: mnUp .35s ease both; }
.doc--error { text-align: center; }
.breadcrumb { margin-bottom: 18px; font-size: 13px; color: var(--c-muted); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb span { color: var(--c-text); }
.doc__kicker { margin: 0 0 8px; font: 800 14px/1 var(--f-title); letter-spacing: .18em; color: var(--c-accent); }
.doc__title { margin: 0 0 16px; font: 800 clamp(26px, 4vw, 40px)/1.1 var(--f-title); letter-spacing: .02em; text-transform: uppercase; }
.doc__intro { margin: 0 0 40px; font-size: 17px; line-height: 1.7; color: var(--c-muted); }
.doc__body > p:first-child { margin: 0 0 40px; font-size: 17px; line-height: 1.7; color: var(--c-muted); }
.doc__body h2 { margin: 36px 0 12px; font: 700 18px/1.3 var(--f-title); letter-spacing: .01em; }
.doc__body p, .doc__body li { line-height: 1.8; }
.doc__body ul { padding-left: 20px; }
.doc__footer { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--c-border); font-size: 14px; color: var(--c-muted); }
.sitemap { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.sitemap__heading { margin: 0 0 12px; font: 700 18px/1.3 var(--f-title); }
.sitemap__list { margin: 0; padding: 0; list-style: none; }
.sitemap__list li { padding: 7px 0; border-bottom: 1px solid var(--c-border); }
.sitemap__list a { color: var(--c-text); text-decoration: none; }
.sitemap__list a:hover { color: var(--c-accent); }

/* ── Footer ─────────────────────────────────────────────────────── */
.footer { background: var(--c-text); color: #FFFFFF; margin-top: auto; }
.footer a { color: #FFFFFF; text-decoration: none; }
.footer a:hover { color: var(--c-accent); }
.footer__grid { padding-top: clamp(48px, 6vw, 80px); padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.footer__brand { margin: 0 0 14px; font: 800 18px/1 var(--f-title); letter-spacing: .16em; text-transform: uppercase; }
.footer__text { margin: 0 0 20px; font-size: 15px; color: #C9C9C9; max-width: 260px; }
.footer__address { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: #C9C9C9; }
.footer__heading { margin: 0 0 16px; font: 600 11px/1 var(--f-title); letter-spacing: .12em; text-transform: uppercase; color: #8A8A8A; }
.footer__col > .footer__heading:not(:first-child) { margin-top: 28px; }
.footer__link { display: block; padding: 7px 0; font-size: 15px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #3A3A3A; border-radius: var(--r); }
.footer__social-link:hover { border-color: var(--c-accent); }
.footer__hours { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; font-size: 15px; color: #C9C9C9; }
.footer__hours dt { color: #FFFFFF; }
.footer__hours dd { margin: 0; }
.newsletter { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter__input { flex: 1 1 150px; min-width: 0; height: 48px; padding: 0 12px; border: 1px solid #3A3A3A; border-radius: var(--r); background: #1A1A1A; color: #FFFFFF; font: 400 15px/1 var(--f-text); }
.newsletter__input:focus { border-color: var(--c-accent); outline: none; }
.footer__bottom { border-top: 1px solid #2A2A2A; }
.footer__bottom-inner { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.footer__legal { margin: 0; font-size: 13px; color: #8A8A8A; }

/* ── Cookie banner ──────────────────────────────────────────────── */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--c-bg); border-top: 1px solid var(--c-border); box-shadow: 0 -1px 0 rgba(17, 17, 17, .04); animation: mnUp .3s ease both; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cookie-banner__text { margin: 0; flex: 1 1 320px; font-size: 14px; }
