*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    max-width: 100%;
    overflow-x: hidden
}

html:focus-within {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: "aller", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #23211f;
    background: #fff;
    max-width: 100%;
    overflow-x: hidden
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto
}

a {
    color: inherit;
    text-decoration: none
}

ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 999;
    padding: .5rem .75rem;
    background: #f0682c;
    color: #fff;
    border-radius: 8px
}

:root {
    --primary: #f0682c;
    --secondary: #23211f;
    --tertiary: #bdc5c3;
    --bg: #fff;
    --surface: #f7f7f7;
    --border: #e9e9e9;
    --radius: 16px;
    --container: 1200px;
    --match-home-bg: #ff7a00;
    --match-text: #fff;
    --hcv: #f0682c;
    --ink: #0f0f14;
    --ink-2: #1f1f28;
    --muted: #8b8d98;
    --card: #12121a;
    --stroke: rgba(255, 255, 255, .08);
    --ring: rgba(240, 104, 44, .25);
    --shadow: 0 8px 24px rgba(0, 0, 0, .25);
    font-synthesis: none
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: #fff;
    -webkit-box-shadow: -1px -9px 22px -1px #000;
    box-shadow: -1px -9px 22px -1px #000
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain
}

.brand-name {
    font-weight: 800;
    letter-spacing: .2px;
    color: var(--secondary)
}

.primary-nav {
    display: none
}

.primary-nav ul {
    display: flex;
    gap: .75rem
}

.primary-nav a {
    padding: .5rem .9rem;
    border-radius: 999px
}

.primary-nav a:hover {
    color: var(--primary)
}

nav a.active,
.drawer-nav a.active {
    color: #f0682c;
    font-weight: 600
}

.hamburger {
    z-index: 1001;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer
}

.hamburger .bar {
    width: 20px;
    height: 2px;
    background: var(--secondary);
    position: relative
}

.hamburger .bar::before,
.hamburger .bar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--secondary)
}

.hamburger .bar::before {
    top: -6px
}

.hamburger .bar::after {
    top: 6px
}

body.nav-open .hamburger .bar {
    transform: rotate(45deg)
}

body.nav-open .hamburger .bar::before {
    transform: rotate(90deg);
    top: 0
}

body.nav-open .hamburger .bar::after {
    opacity: 0
}

.side-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    background: var(--bg);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: var(--shadow);
    z-index: 5000;
    display: grid;
    grid-template-rows: auto 1fr auto
}

.side-drawer.open {
    transform: translateX(0)
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    position: relative
}

.drawer-close {
    background: transparent;
    border: 0 solid var(--border);
    border-radius: 8px;
    padding: .4rem .6rem;
    font-size: 1.3em;
    cursor: pointer;
    color: #f0682c;
    position: relative;
    z-index: 5001;
    font-size: 2em
}

.drawer-nav ul {
    padding: .75rem;
    display: grid;
    gap: .5rem
}

.drawer-nav a {
    display: block;
    padding: .9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 700
}

.drawer-nav a:hover {
    background: var(--tertiary)
}

.drawer-extra {
    margin-bottom: 2em
}

.drawer-social {
    padding: 1rem
}

.nav-open .hamburger {
    pointer-events: none;
    opacity: .2
}

.body-lock {
    overflow: hidden
}

.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 4999
}

.backdrop.show {
    opacity: 1;
    pointer-events: auto
}

.social-row {
    display: grid;
    gap: .5rem;
    grid-template-columns: 1fr;
    display: inline-flex
}

.social-btn {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem .9rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    font-weight: 700
}

.social-btn svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: block
}

.social-btn.ig svg {
    fill: #E4405F
}

.social-btn.fb svg {
    fill: #1877F2
}

.social-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent)
}

.drawer-meta {
    display: grid;
    gap: .25rem
}

.meta-line {
    margin: 0;
    color: #555
}

.meta-link {
    color: var(--primary);
    font-weight: 800
}

.divider {
    height: 1px;
    background: var(--border);
    margin: .25rem 0 .9rem
}

.extra-title {
    margin: 0 0 .4rem;
    font-weight: 900;
    color: var(--secondary)
}

.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    backdrop-filter: blur(2px);
    z-index: 55
}

.hero {
    position: relative;
    min-height: clamp(60vh, 70vh, 78vh);
    background: #000
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(35, 33, 31, .25), rgba(35, 33, 31, .65));
    display: grid;
    align-items: end;
    z-index: 12
}

.hero-content {
    color: #fff;
    padding: 3rem 0
}

.hero h1 {
    margin: 0 0 .5rem;
    font-size: clamp(1.8rem, 3vw+1rem, 3rem)
}

.hero p {
    margin: 0 0 1rem;
    opacity: .95;
    max-width: 60ch
}

.cta-row {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap
}

.btn {
    width: auto;
    background: var(--primary);
    color: #fff;
    padding: .8rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--primary);
    font-weight: 700
}

@media (max-width:400px) {
    .btn {
        width: max-content;
        padding: .2rem 1rem;
        background-color: inherit
    }
}

.btn.outline {
    color: #fff;
    border-color: #fff;
    background-color: inherit
}

.hero-images {
    position: absolute;
    min-height: inherit;
    display: block;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.02);
    transition: background-image .6s ease, opacity .6s ease
}

.section {
    padding: clamp(2rem, 3vw, 3.5rem) 0
}

.shop__header {
    text-align: center;
    margin-bottom: 1.5rem;
    background: radial-gradient(1200px 200px at 50% -80px, rgba(240, 104, 44, .08), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
    padding: 2.25rem 1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--stroke)
}

.next-match {
    background: #111;
    color: #fff;
    padding: .75rem 0
}

.next-match__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    font-size: .95rem
}

.next-match__label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--hcv, #f0682c)
}

.next-match__teams {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-weight: 800
}

.next-match__teams .vs {
    opacity: .8
}

.next-match__meta {
    gap: .5rem;
    flex-wrap: wrap;
    opacity: .9
}

@media (max-width:700px) {
    .next-match__inner {
        flex-direction: column;
        align-items: flex-start
    }
}

.sponsors {
    background: var(--surface);
    border-block: 1px solid var(--border)
}

#no-title {
    background: inherit
}

#sponsors {
    width: auto;
    background: inherit;
    padding-top: 0
}

.sponsors h2 {
    color: var(--secondary);
    text-align: left
}

.sponsor-marquee {
    overflow: hidden;
    padding: 2.4rem 0 1.5rem;
    position: relative;
    background: #f6f6f6;
    height: 180px
}

@media (max-width:768px) {
    .sponsor-marquee {
        padding: 3.4rem 0 1.5rem
    }
}

.sponsor-marquee .track {
    display: inline-flex;
    align-items: center;
    gap: 5rem;
    animation: scroll-x 40s linear infinite;
    will-change: transform
}

@keyframes scroll-x {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    min-width: 120px;
    padding-inline: .5rem;
    cursor: pointer
}

.sponsor-logo img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .85;
    transition: filter .2s, opacity .2s, transform .2s
}

.sponsor-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.03)
}

@media (min-width:768px) {
    .sponsor-marquee {
        padding: 3.75rem 0 2rem
    }

    .sponsor-marquee .track {
        gap: 12rem;
        animation-duration: 35s
    }

    .sponsor-logo img {
        height: 150px;
        max-width: 200px
    }
}

.teams-menu {
    display: grid;
    gap: .75rem;
    margin-bottom: 1rem
}

.teams-tabs {
    display: inline-flex;
    gap: .25rem;
    padding: .25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px
}

.tab-btn {
    border: 0;
    background: transparent;
    padding: .55rem .85rem;
    border-radius: 10px;
    font-weight: 800;
    color: var(--secondary);
    cursor: pointer
}

.tab-btn[aria-selected="true"] {
    background: var(--primary);
    color: #fff
}

.teams-grid {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

@media (min-width:640px) {
    .teams-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media (min-width:900px) {
    .teams-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr))
    }
}

.team-btn {
    display: block;
    width: 100%;
    padding: .75rem .9rem;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--secondary);
    font-weight: 800;
    cursor: pointer
}

.team-btn[aria-pressed="true"] {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent)
}

@media (max-width:640px) {
    .team-btn {
        padding: .3rem .2rem;
        text-align: center;
        font-weight: 700
    }
}

#teamPanel {
    margin-top: .75rem
}

.team-photo {
    width: 100%;
    overflow: hidden;
    display: grid
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease
}

.team-photo img:hover {
    transform: scale(1.05)
}

.team-head {
    background: var(--primary);
    color: #fff;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem
}

.team-head .name {
    font-weight: 900
}

.team-head .tag {
    background: rgba(255, 255, 255, .15);
    padding: .2rem .5rem;
    border-radius: 999px;
    font-weight: 700
}

.team-body {
    padding: 1rem;
    display: grid;
    gap: .9rem
}

.team-body .info-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: 1fr
}

@media (min-width:820px) {
    .team-body .info-grid {
        grid-template-columns: 0.4fr 1fr
    }
}

.kv {
    display: grid;
    gap: .25rem
}

.kv h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--secondary)
}

.kv p {
    margin: 0;
    color: #444
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem
}

.badge {
    background: var(--tertiary);
    color: var(--secondary);
    padding: .25rem .5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem
}

.team-panel .kv-encadrement {
    display: block !important
}

.download-calendar a {
    color: var(--muted);
    text-decoration: underline
}

.download-calendar a:hover {
    text-decoration: underline;
    color: var(--primary)
}

.team-panel .kv-encadrement h3 {
    margin: 0 0 .5rem
}

.team-panel .kv-encadrement p {
    margin: .25rem 0;
    line-height: 1.35
}

.team-panel .kv-encadrement>*+* {
    margin-top: .25rem
}

.table-like .row {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: .4rem;
    padding: .45rem .75rem;
    border-top: 1px solid var(--border);
    font-size: .95rem
}

.table-like .row:first-child {
    border-top: none
}

.table-like .row div:first-child {
    font-weight: 700;
    color: var(--secondary)
}

.table-like .row div:last-child {
    color: #444
}

.table-matches {
    display: grid;
    gap: .5rem
}

.match-row {
    display: grid;
    grid-template-columns: 110px 60px 1fr;
    align-items: center;
    padding: .6rem .8rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--match-text, #fff)
}

.match-row .col.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px
}

.op-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    opacity: 1;
    transform: scale(.95);
    transition: opacity .25s ease, transform .25s ease;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .4))
}

.op-logo.show {
    opacity: 1;
    transform: scale(1)
}

@media (max-width:500px) {
    .op-logo {
        display: none
    }

    .match-row {
        grid-template-columns: 110px 0 1fr
    }
}

.match-row .col.date {
    font-variant-numeric: tabular-nums;
    font-weight: 700
}

.match-row .col.date .at {
    display: inline-block;
    margin-left: .4rem;
    opacity: .85;
    font-weight: 600
}

.match-row.home {
    background: var(--primary);
    border-color: transparent;
    color: #fff
}

.match-row.away {
    background: transparent;
    color: #000;
    border-color: var(--border)
}

.match-empty {
    padding: .8rem 1rem;
    border: 1px dashed var(--border);
    border-radius: 12px;
    color: #ccc
}

.match-legend {
    display: flex;
    gap: 1rem;
    margin-top: .5rem;
    font-size: .95rem;
    align-items: center;
    flex-wrap: wrap
}

.match-legend .key {
    display: inline-flex;
    align-items: center;
    gap: .4rem
}

.match-legend .swatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid var(--border)
}

.match-legend .swatch.home {
    background: var(--match-home-bg);
    border-color: var(--match-home-bg)
}

.match-legend .swatch.away {
    background: transparent;
    border: 2px solid #000
}

.team-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .75rem
}

.team-chip {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .35rem .75rem;
    cursor: pointer;
    background: #fff;
    color: var(--secondary);
    font-weight: 700
}

.team-chip[aria-pressed="true"] {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary)
}

.featured-match {
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: .75rem
}

.fm-head {
    background: var(--tertiary);
    padding: .6rem .9rem;
    display: flex;
    align-items: center;
    gap: .5rem
}

.fm-body {
    display: grid;
    gap: .4rem;
    padding: 1rem
}

.fm-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap
}

.fm-logos {
    display: inline-flex;
    align-items: center;
    gap: .5rem
}

.fm-logos img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .25rem
}

.fm-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary)
}

.fm-meta {
    color: #555
}

.cal-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: .75rem;
    max-width: 780px;
    justify-content: center
}

.mini-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .5rem .75rem;
    display: flex;
    align-items: center;
    gap: .6rem
}

.mini-item .date {
    font-weight: 700;
    color: var(--secondary)
}

.mini-item img {
    width: 28px;
    height: 28px;
    object-fit: contain
}

.featured-match {
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 780px;
    background: #fff;
    touch-action: pan-y
}

.fm-head {
    background: var(--primary);
    color: #fff;
    padding: .6rem .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    font-weight: 800
}

.fm-date {
    opacity: .95
}

.fm-team {
    opacity: 1
}

.fm-body {
    display: grid;
    gap: .8rem;
    padding: 1rem;
    text-align: center
}

.fm-names {
    font-size: clamp(1.05rem, 1.2vw+.9rem, 1.4rem);
    font-weight: 800;
    color: var(--secondary)
}

.fm-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem
}

.fm-logos img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .35rem
}

.fm-vs {
    font-weight: 800;
    color: var(--secondary);
    opacity: .9
}

.fm-info {
    color: #444;
    font-size: .98rem
}

.featured-match.swiping {
    transition: transform .15s ease
}

.featured-match.swiped-left {
    transform: translateX(-12px);
    opacity: .95
}

.featured-match.swiped-right {
    transform: translateX(12px);
    opacity: .95
}

.shop {
    position: relative;
    isolation: isolate
}

.shop__header {
    text-align: center;
    margin-bottom: 1.5rem;
    background: radial-gradient(1200px 200px at 50% -80px, rgba(240, 104, 44, .08), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
    padding: 2.25rem 1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--stroke)
}

.shop__eyebrow {
    color: var(--hcv);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8rem;
    padding-bottom: 6px;
    border-bottom: solid 1px #f0682c
}

.shop__title {
    margin: .25rem 0 .25rem;
    font-size: clamp(1.6rem, 1.1rem+1.5vw, 2.4rem)
}

.shop__subtitle {
    color: var(--muted);
    margin: 0 auto;
    max-width: 60ch
}

.shop__cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: .8rem 1.1rem;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow)
}

.shop__cta:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px
}

.shop__cta-icon {
    transform: translateY(1px)
}

.shop__filters {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem 0
}

.shop__filter {
    padding: .5rem .9rem;
    border: 1px solid var(--stroke);
    background: transparent;
    color: inherit;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .12s ease
}

.shop__filter:hover {
    transform: translateY(-1px)
}

.shop__filter.is-active {
    border-color: var(--hcv);
    box-shadow: 0 0 0 3px var(--ring)
}

.shop__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

@media (min-width:600px) {
    .shop__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (min-width:1000px) {
    .shop__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.2rem
    }
}

.shop__card {
    display: flex;
    color: #fff;
    flex-direction: column;
    background: var(--primary);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
    will-change: transform;
    text-decoration: none
}

.shop__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background-color: #c35422
}

.shop__media {
    position: relative;
    aspect-ratio: 4/3;
    background: #fff;
    overflow: hidden
}

.shop__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

.shop__media img:hover {
    transform: scale(1.05);
    transition: transform .4s ease
}

.shop__badge {
    position: absolute;
    top: .6rem;
    left: .6rem;
    background-color: #333;
    backdrop-filter: saturate(140%) blur(6px);
    border: 1px solid var(--stroke);
    color: var(--hcv);
    font-size: .75rem;
    padding: .25rem .5rem;
    border-radius: 8px
}

.shop__badge--accent {
    background: var(--primary);
    border-color: transparent;
    color: #fff
}

.shop__body {
    padding: .9rem .9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .35rem
}

.shop__name {
    font-size: 1.05rem;
    margin: 0
}

.shop__meta {
    margin: 0;
    color: #fff;
    font-size: .92rem
}

.shop__footer {
    margin-top: .5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem
}

.shop__price {
    font-weight: 800;
    letter-spacing: .02em
}

.shop__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px
}

.shop__link:hover {
    border-color: var(--primary)
}

.shop__bottom-cta {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--stroke);
    border-radius: var(--radius);
    padding: 1rem;
    background: linear-gradient(0deg, rgba(240, 104, 44, .06), transparent 60%);
    flex-direction: column
}

.btn.btn--ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary)
}

@media (prefers-reduced-motion:reduce) {

    .shop__card,
    .shop__filter {
        transition: none !important
    }
}

.contact__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: flex-start
}

@media (max-width:768px) {
    .contact__layout {
        grid-template-columns: 1fr;
        gap: 2rem
    }
}

.contact__title {
    font-size: 1.25rem;
    margin-bottom: .75rem
}

.contact__info p {
    margin-bottom: 1rem
}

.contact__info a {
    color: var(--primary);
    text-decoration: underline
}

.contact__list,
.contact__links {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem
}

.contact__list li,
.contact__links li {
    margin-bottom: .75rem
}

.contact__links a {
    text-decoration: underline;
    text-underline-offset: 2px
}

.contact__note {
    font-size: .9rem;
    opacity: .8
}
.contact__form-wrapper{
  background: #11111110;
  padding: 1.5rem;
  border-radius: .75rem;
}

.contact__form{
  display: grid;
  gap: 1rem;
}

.contact__form button:hover{
  cursor: pointer;
  background: #af4c20;
}

.contact__field label{
  display: block;
  font-size: .9rem;
  margin-bottom: .35rem;
}

/* Champs */
.contact__field input,
.contact__field select,
.contact__field textarea{
  width: 100%;
  border-radius: .5rem;
  border: 1px solid #ddd;
  padding: .55rem .75rem;
  font: inherit;
  background: #fff;
}

.contact__field input:focus,
.contact__field select:focus,
.contact__field textarea:focus{
  outline: none;
  border-color: #f0682c;
  box-shadow: 0 0 0 2px rgba(240, 104, 44, .2);
}

/* ---------------------------
   Consent checkbox (propre)
   --------------------------- */
/* Consentement : checkbox à gauche, texte à droite */
#form-privacy{
  margin: 10px 0 20px;
}

#form-privacy label.contact__consent{
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  cursor: pointer;
  margin: 0 !important;
  font-size: .85rem;
  line-height: 1.3;
  color: #444;
  width: 100%;
}

#form-privacy label.contact__consent input[type="checkbox"]{
  width: 16px !important;
  height: 16px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  flex: 0 0 16px !important;
  display: inline-block !important;
  vertical-align: top !important;
}

#form-privacy label.contact__consent span{
  display: inline-block;
}


/* ---------------------------
   Honeypot
   --------------------------- */
.contact__field--hidden{
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ---------------------------
   Alerts + erreurs
   --------------------------- */
.contact__alert{
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  border-radius: .5rem;
  font-size: .9rem;
}

.contact__alert--success{
  background: #e6f7ec;
  border: 1px solid #8ad29c;
}

.contact__alert--error{
  background: #fdeaea;
  border: 1px solid #f19999;
}

.contact__error{
  margin: 6px 0 0;
  font-size: .9rem;
  color: #c11;
  min-height: 1.1em;
}

/* Erreurs sur champs */
.contact__form .is-error{
  border-color: #c11 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(193, 17, 17, .12);
}

/* L’erreur ne doit pas “box-shadow” une checkbox */
#form-privacy .is-error{
  box-shadow: none;
}

#contact-global-error{
  margin: 12px 0;
}






.history-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 3rem;
    padding-bottom: 3rem
}

.history-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(0, 0, 0, .15), rgba(255, 255, 255, 0));
    transform: translateX(-50%);
    pointer-events: none
}

.history-item {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: center
}

.history-item::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #fff;
    border: 2px solid var(--accent-color, #f0682c);
    transform: translate(-50%, -50%);
    top: 10%;
    box-shadow: 0 0 0 4px rgba(240, 104, 44, .15)
}

.history-item .history-media,
.history-item .history-copy {
    will-change: transform, opacity
}

.history-item:nth-child(even) .history-media {
    order: 2
}

.history-item:nth-child(even) .history-copy {
    order: 1
}

.history-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
    filter: contrast(1.05) brightness(.95);
    transition: transform 0.3s ease, box-shadow 0.3s ease
}

.history-media img:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45)
}

.history-copy h3 {
    margin-top: 0;
    margin-bottom: .75rem;
    font-size: 1.6rem;
    color: var(--accent-color, #f0682c)
}

.history-copy p {
    margin: 0 0 .75rem;
    line-height: 1.6;
    color: #333
}

.history-copy ul {
    list-style: inside
}

@media (max-width:900px) {
    .history-timeline::before {
        display: none
    }

    .history-item {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .history-item::before {
        display: none
    }

    .history-item:nth-child(even) .history-media,
    .history-item:nth-child(even) .history-copy {
        order: initial
    }

    .history-media img {
        border-radius: 6px
    }
}

.site-footer {
    background: var(--secondary);
    color: #fff
}

.site-footer a:hover {
    color: var(--primary)
}

.footer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    padding: 2rem 0
}

.footer-grid h3 {
    margin: 0 0 .5rem
}

.footer-links li+li {
    margin-top: .35rem
}

.footer-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding: 1rem 0;
    text-align: center;
    font-size: .95rem;
    opacity: .9
}

@media (min-width:860px) {
    .primary-nav {
        display: block
    }

    .hamburger {
        display: none
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr auto;
        align-items: start
    }
}

#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 9999
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .35)
}

#backToTop.show {
    opacity: 1;
    visibility: visible
}

@media (max-width:600px) {
    #backToTop {
        width: 40px;
        height: 40px;
        bottom: 1.25rem;
        right: 1.25rem;
        font-size: 1.3rem
    }
}

.news-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr
}

@media (min-width:720px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.news-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: end;
    padding-top: 15px;
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: contain
}

.news-date {
    font-size: .75rem;
    color: #6b7280;
    margin-top: -.1rem;
    margin-bottom: .35rem
}

.news-card .news-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.2em
}

#news-modal-list .news-card p {
    -webkit-line-clamp: 2;
    min-height: 2.8em
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px 14px;
    border-top: 1px solid rgba(0, 0, 0, .05);
    font-size: .95rem;
    background-color: #fff
}

.news-footer .readmore {
    color: var(--accent, #e85c41);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease
}

.news-footer .readmore:hover {
    color: var(--accent-hover, #c44a34);
    text-decoration: underline
}

.news-footer .news-date {
    color: #777;
    font-size: .9rem
}

.news-body {
    padding: 1rem;
    display: grid;
    gap: .5rem
}

.news-body h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--secondary)
}

.readmore {
    color: #fff;
    font-weight: 700;
    background-color: var(--primary);
    border: inherit;
    border-radius: 24px;
    padding: 11px
}

.readmore:hover {
    cursor: pointer
}

article:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
    transform: scale(1.05) 0.2s linear;
    cursor: pointer;
    background-color: rgba(128, 128, 128, .089)
}

body.news-modal-open {
    position: fixed;
    width: 100%;
    overflow: hidden
}

.news-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem
}

.news-modal.is-hidden {
    display: none
}

.news-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65)
}

.news-modal__dialog {
    position: relative;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.news-modal__dialog--large {
    max-width: 1100px
}

.news-modal__header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}

.news-modal__body {
    padding: 1.5rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch
}

.news-modal__body a {
    text-decoration: underline;
    color: var(--primary)
}

.news-modal__close {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer
}

.news-modal__cover-wrapper {
    margin-bottom: 1.2rem;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6
}

.news-modal__cover {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 380px
}

.news-modal__excerpt {
    font-weight: 600;
    margin-bottom: 1rem
}

.news-modal__footer {
    padding: .9rem 1.5rem 1.1rem;
    border-top: 1px solid rgba(0, 0, 0, .06);
    display: flex;
    justify-content: flex-end;
    gap: .75rem
}

.news-modal__btn {
    border: none;
    border-radius: 999px;
    padding: .5rem 1.2rem;
    font: inherit;
    cursor: pointer;
    background: #111827;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.05s ease, box-shadow 0.1s ease, opacity 0.15s ease
}

.news-modal__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15)
}

.news-modal__btn:active {
    transform: translateY(0);
    box-shadow: none
}

.news-modal__btn--secondary {
    background: #e5e7eb;
    color: #111827
}

@media (max-width:640px) {
    .news-modal__footer {
        flex-direction: row;
        justify-content: space-between
    }
}

body.news-modal-open {
    overflow: hidden
}

.news-modal__pager {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
    justify-content: center;
    padding-bottom: .3rem
}

.news-pager__btn {
    border: 1px solid rgba(0, 0, 0, .15);
    background: #fff;
    border-radius: 999px;
    padding: .35rem .75rem;
    font: inherit;
    font-size: .85rem;
    cursor: pointer;
    white-space: nowrap
}

.news-pager__btn:hover {
    background: rgba(0, 0, 0, .04)
}

.news-pager__btn.is-active {
    background: var(--primary);
    color: #fff;
    border-color: #111827;
    pointer-events: none
}

.news-modal__pager button.is-active {
    background: var(--primary);
    border: inherit;
    color: #fff
}

.news-pager__btn:disabled {
    opacity: .4;
    cursor: not-allowed
}

.news-modal__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem
}

.news-modal__meta {
    font-size: .85rem;
    opacity: .7;
    margin-bottom: 1rem
}

.news-modal__content p {
    line-height: 1.6;
    margin-bottom: 1rem
}

.news-list-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center
}

.news-list-modal.is-open {
    display: flex
}

.news-list-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55)
}

.news-list-modal__dialog {
    position: relative;
    z-index: 1;
    max-width: 960px;
    width: 95%;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.news-list-modal__header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e5e7eb
}

.news-list-modal__header h2 {
    margin: 0;
    font-size: 1.4rem
}

.news-list-modal__header p {
    margin: .3rem 0 0;
    color: #6b7280;
    font-size: .9rem
}

.news-list-modal__content {
    padding: 1rem 1.5rem 1.5rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem
}

.news-list-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: .75rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    cursor: pointer;
    transition: .15s ease;
    min-height: 120px
}

.news-list-item:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .08)
}

.news-list-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.news-list-item__body {
    padding: .6rem .8rem .6rem 0
}

.news-list-item__title {
    margin: 0 0 .25rem 0;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.news-list-item__meta {
    margin: 0 0 .35rem 0;
    font-size: .8rem;
    color: #6b7280
}

.news-list-item__excerpt {
    margin: 0;
    font-size: .9rem;
    color: #4b5563;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.news-list-modal__close {
    position: absolute;
    top: .6rem;
    right: .8rem;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer
}

@media (max-width:640px) {
    .news-list-modal__dialog {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0
    }

    .news-list-modal__content {
        padding: .8rem 1rem 1rem
    }

    .news-list-item {
        grid-template-columns: 90px 1fr
    }
}

.share-btn {
    width: auto;
    background: var(--primary);
    color: #fff;
    padding: .8rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--primary);
    font-weight: 700
}

.share-btn:hover,
.close-btn:hover {
    cursor: pointer
}

.news-modal__footer .close-btn {
    background: #f0f0f0;
    color: #333;
    border: none;
    padding: 0 25px
}

.news-modal__footer .close-btn:hover {
    background: #e0e0e0
}

.swiper {
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center
}

.swiper-slide img {
    width: 100%;
    height: 40vh;
    object-fit: contain
}

.swiper-button-prev,
.swiper-button-next {
    color: #f0682c
}

.swiper-button-prev::after,
.swiper-button-next::after {
    color: #f0682c
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, .7)
}

#newsModalCover>div>div.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal>span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #ff7a00
}