/* Bagnoles Badminton Club — feuille de style du site public. Polices et icônes hébergées en local. */
@font-face{font-family:'Barlow';font-style:normal;font-weight:300;font-display:swap;src:url(assets/fonts/barlow-300.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/barlow-400.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/barlow-600.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/barlow-700.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:900;font-display:swap;src:url(assets/fonts/barlow-900.woff2) format('woff2')}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

body {
    width: 100%;
}


:root {
    --blue: #100650;
    --yellow: #FFD600;
    --orange: #ff751f;
    --red: #e1000f;
    --green: #00bf63;
    --green-text: #00753a;
    --orange-text: #b34700;
    --red-text: #c4000d;
}

header {
    position: sticky;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background-color: var(--blue);
    z-index: 1000;
    transition: box-shadow .3s ease;
}

header.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

.logo {
    width: 150px;
    height: auto;
}

header .burger {
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    height: 42px !important;
    font-size: 145%;
    top: 50%;
    left: 20px;
    position: absolute;
    color: white;
    cursor: pointer;
    z-index: 1000;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .08);
    transform: translateY(-50%);
    transition: background-color .25s ease, color .25s ease, transform .2s ease;
}

header .burger:hover {
    background-color: rgba(255, 255, 255, .16);
}

header .burger.is-open {
    background-color: var(--yellow);
    color: var(--blue);
}


.nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(6, 3, 26, .9);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 998;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}


.main-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 78%;
    max-width: 300px;
    flex-direction: column;
    background-color: var(--blue);
    box-shadow: none;
    border-radius: 0 18px 18px 0;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .4s, box-shadow .4s;
    z-index: 999;
    padding: 150px 0 40px;
    overflow-y: auto;
}

.main-nav.open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: 14px 0 45px rgba(0, 0, 0, .45);
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s, box-shadow .4s;
}

.main-nav a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .5px;
    padding: 18px 32px;
    border-left: 3px solid transparent;
    opacity: 0;
    transform: translateX(-14px);
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.main-nav.open a {
    opacity: 1;
    transform: translateX(0);
    transition: opacity .35s ease, transform .35s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}

.main-nav.open a:nth-child(1) {
    transition-delay: .08s;
}

.main-nav.open a:nth-child(2) {
    transition-delay: .13s;
}

.main-nav.open a:nth-child(3) {
    transition-delay: .18s;
}

.main-nav.open a:nth-child(4) {
    transition-delay: .23s;
}

.main-nav.open a:nth-child(5) {
    transition-delay: .28s;
}

.main-nav.open a:nth-child(6) {
    transition-delay: .33s;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, .06);
    border-left-color: rgba(255, 214, 0, .5);
}

.main-nav a.active {
    color: var(--yellow);
    border-left-color: var(--yellow);
    background-color: rgba(255, 214, 0, .08);
}

footer .menu a.active {
    color: var(--yellow);
}

footer .social {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 130%;
}

footer .social a {
    color: white;
    transition: color .3s;
}

footer .social a:hover {
    color: var(--yellow);
}

.slider {
    width: 100%;
    height: 45vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
    text-decoration: none;
    cursor: pointer;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
}

.slide p {
    position: absolute;
    bottom: 35px;
    left: 20px;
    z-index: 1;
    color: white;
    font-size: 150%;
    text-transform: uppercase;
    font-weight: 900;
}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--blue), #10065000);
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(16, 6, 80, .55);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background-color .3s;
}

.slider-arrow:hover {
    background-color: var(--blue);
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.slider-dots .dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .5);
    cursor: pointer;
    overflow: hidden;
    transition: background-color .3s, transform .3s, width .3s;
}

.slider-dots .dot.active {
    background-color: rgba(255, 255, 255, .5);
    transform: scale(1.2);
    width: 25px;
    border-radius: 100px;
}

.slider-dots .dot.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--yellow);
    border-radius: 100px;
    animation: dotFill linear forwards;
    animation-duration: var(--slide-duration, 5s);
}

@keyframes dotFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.Actus {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.Actus h2 {
    width: 100%;
    font-weight: 900;
    color: var(--blue);
    text-transform: uppercase;
}

.card {
    width: 80%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--blue);
    cursor: pointer;
    height:auto;
    aspect-ratio:1/1;
}

.card img {
    width: 100%;
    display: block;
    position: relative;
    z-index: 0;
    object-fit:cover;
    height:100%;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--blue), #10065000);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
}

.card .title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    margin: 0;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 2;
    transition: bottom .3s ease;
}

.card:hover .title,
.card:focus-within .title,
.card.open .title {
    bottom: 195px;
}

.card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--blue);
    padding: 24px 20px;
    color: white;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}

.card:hover .overlay,
.card:focus-within .overlay,
.card.open .overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.overlay>p {
    margin: 0 0 24px;
}

.meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta .date {
    font-weight: 900;
    font-size: 1.3rem;
    margin: 0;
}

.meta a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.button {
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 900;
    transition-duration: .3s;
    text-decoration: none;
    border-radius: 15px;
    width: fit-content;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 100%;
    display: inline-block;
}

.button-prim {
    color: white;
    background-color: var(--blue);
    border-color: var(--blue);
}

.button-prim:hover {
    background-color: var(--yellow);
    border-color: var(--yellow);
    color: black;
}

.button-second {
    background-color: transparent;
    color: var(--blue);
    border-color: var(--blue);
    font-weight: 700;
}

.button-second:hover {
    background-color: var(--blue);
    color: white;
}

.Results .button-second {
    color: white;
    border-color: white;
}

.Results .button-second:hover {
    background-color: white;
    color: var(--blue);
}

.Results {
    background-color: var(--blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

.match {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.match-date {
    font-size: 80%;
    font-weight: 700;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.score {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: white;
    border-radius: 50px;
    max-height: 50px;
    width: 100%;
    padding: 0 10px;
}

.equal {
    font-weight: 900;
    color: var(--orange-text);
}

.lose {
    font-weight: 900;
    color: var(--red-text);
}

.win {
    font-weight: 900;
    color: var(--green-text);
}

.squad {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background-color: var(--yellow);
    width: 55px;
    height: auto;
    aspect-ratio: 1/1;
    font-weight: 900;
}

.squad p {
    font-size: 125%;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team p {
    font-size: 75%;
    text-align:center;
}

.Results h2 {
    width: 100%;
    color: white;
    text-transform: uppercase;
}

.Rencontres {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.Rencontres h2 {
    width: 100%;
    color: var(--blue);
    text-transform: uppercase;
}

.date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.encounter-date {
    font-size: 80%;
    font-weight: 900;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.controls-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.filter-chip {
    padding: 6px 16px;
    border-radius: 20px;
    background-color: white;
    color: var(--blue);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 75%;
    cursor: pointer;
    border: 2px solid var(--blue);
    transition: background-color .3s, color .3s;
}

.filter-chip.active {
    background-color: var(--blue);
    color: white;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 20px;
    background-color: var(--yellow);
    color: var(--blue);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 80%;
    cursor: pointer;
    transition: background-color .3s;
}

.sort-btn:hover {
    background-color: white;
}

.equipe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.equipe h3 {
    font-size: 250%;
    color: var(--blue);
}

.equipe img {
    width: 7%;
}

.time p {
    color: var(--yellow);
    font-weight: 900;
}

.adversaire {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
}

.encounter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: var(--blue);
    color: white;
    padding: 20px;
}

footer .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

footer a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 75%;
}

footer .copy {
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 900;
    gap: 15px;
}

footer .copy p {
    font-weight: 900;
    font-size: 70%;
}

footer .copy a {
    font-size: 100%;
    font-weight: 900;
    color: var(--yellow);
}

.empty-state {
    width: 100%;
    text-align: center;
    padding: 30px 10px;
    font-style: italic;
    color: var(--blue);
}

.page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--blue);
}

.page a {
    text-decoration: none;
    color: var(--blue);
}

.page a.current-page {
    font-weight: 900;
    text-decoration: underline;
}

.page .disabled {
    opacity: .3;
    pointer-events: none;
}

.page-white {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
}

.page-white a {
    text-decoration: none;
    color: white;
}

.page-white a.current-page {
    font-weight: 900;
    text-decoration: underline;
}

.page-white .disabled {
    opacity: .3;
    pointer-events: none;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 15px;
}

.contact h2,
.contact form {
    width: 100%;
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

label {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.name {
    display: flex;
    width: 100%;
    gap: 10px;
}

input[type=text],
input[type=email],
textarea {
    border: 2px solid var(--blue);
    border-radius: 25px;
    min-height: 50px;
    padding: 15px;
    font-size: 100%;
    width: 100%;
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
    outline: solid var(--yellow);
}

.tarifs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--blue);
    color: white;
    padding: 20px;
    gap: 15px;
}

.tarifs h2 {
    width: 100%;
}

.price {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.montant {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 10px;
    border-radius: 25px;
    color: var(--blue);
}

.reseaux {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--blue);
}

.reseaux h2 {
    width: 100%;
}

.icone {
    display: flex;
    gap: 15px;
    font-size: 250%;
}

.icone a {
    color: var(--blue);
    transition: color .3s;
}

.icone a:hover {
    color: var(--orange-text);
}

button {
    border: none;
}

.inscriptions {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.adresse {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 15px;
    color: var(--blue);
    text-align: center;
}

.adresse h2 {
    width: 100%;
}

.lieu {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #f4f4fb;
    padding: 20px;
    border-radius: 20px;
    text-align: left;
    max-width: 420px;
    width: 100%;
}

.lieu i {
    font-size: 180%;
    color: var(--orange-text);
}

.lieu .nom-salle {
    font-weight: 900;
    text-transform: uppercase;
}

/* ============================
   Page Article (Actus.html détail)
============================ */
.article {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    color: var(--blue);
}

.article-back {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--blue);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 80%;
    transition: color .3s;
}

.article-back:hover {
    color: var(--orange-text);
}

.article-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 24px;
}

.article-date {
    font-size: 80%;
    font-weight: 900;
    color: var(--orange-text);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.article h1 {
    font-weight: 900;
    text-transform: uppercase;
    color: var(--blue);
}

.article-content {
    line-height: 1.7;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content a {
    color: var(--orange-text);
    font-weight: 700;
}

.article-content strong {
    color: var(--blue);
}

.article-content ul,
.article-content ol {
    padding-left: 22px;
    margin-bottom: 15px;
}

.article-content blockquote {
    border-left: 4px solid var(--yellow);
    padding-left: 15px;
    margin: 15px 0;
    font-style: italic;
    color: rgba(16, 6, 80, .75);
}

@media (min-width: 992px) {

    header {
        justify-content: space-between;
        padding: 20px 60px;
    }

    .burger {
        display: none !important;
    }

    .nav-overlay {
        display: none !important;
    }

    .main-nav {
        visibility: visible;
        display: flex !important;
        position: static;
        flex-direction: row;
        background-color: transparent;
        width: auto;
        max-width: none;
        height: auto;
        padding-top: 0;
        overflow-y: visible;
        box-shadow: none;
        transform: none;
        gap: 40px;
        padding:0;
    }

    .main-nav a {
        padding: 0;
        border-top: none;
        border-left: none;
        font-size: 95%;
        position: relative;
        opacity: 1;
        transform: none;
        transition: color .3s;
    }

    .main-nav a:hover {
        color: var(--yellow);
    }

    .main-nav a.active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -8px;
        height: 3px;
        border-radius: 2px;
        background-color: var(--yellow);
    }

    main {
        margin: 0 auto;
    }

    .slider {
        height: 77vh;
    }

    .slide p {
        font-size: 250%;
        left: 60px;
        bottom: 40px;
    }

    .Actus,
    .Rencontres {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
        gap: 30px;
        padding: 70px 40px;
    }

    .Results {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 20px;
        padding: 70px 40px;
    }

    .Actus h2,
    .Rencontres h2,
    .Results h2 {
        grid-column: 1 / -1;
        text-align: center;
        font-size: 210%;
    }

    .Actus .button,
    .Rencontres .button,
    .Results .button,
    .Actus .page,
    .Rencontres .page,
    .Results .page-white,
    .Rencontres .controls-bar,
    .Results .controls-bar {
        grid-column: 1 / -1;
        margin: 15px auto 0;
    }

    .card,
    .match {
        width: 100%;
    }

    .encounter {
        background-color: #f4f4fb;
        border-radius: 20px;
        padding: 25px 15px;
        transition: transform .3s;
    }

    .encounter:hover {
        transform: translateY(-5px);
    }

    footer {
        flex-direction: row;
        justify-content: space-between;
        padding: 30px 60px;
    }

    footer .logo {
        width: 110px;
    }

    footer .menu {
        gap: 25px;
    }

    .contact,
    .inscriptions,
    .tarifs,
    .reseaux,
    .adresse {
        padding: 70px 40px;
    }

    .contact h2,
    .inscriptions h2,
    .tarifs h2,
    .reseaux h2,
    .adresse h2 {
        text-align: center;
    }

    .contact form {
        max-width: 650px;
        margin: 0 auto;
    }

    .inscriptions p {
        max-width: 700px;
        text-align: center;
    }

    .price {
        max-width: 500px;
        margin: 0 auto;
    }

    .button:hover {
        transform: translateY(-2px);
    }

    .article {
        max-width: 900px;
        margin: 0 auto;
        padding: 70px 40px;
        gap: 20px;
    }

    .article-image {
        max-height: 480px;
    }

    .article h1 {
        font-size: 210%;
    }
}
.form-notice {
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-notice.success {
    background-color: #e6faf0;
    color: var(--green-text);
}

.form-notice.error {
    background-color: #fdeceb;
    color: var(--red-text);
}

/* ============================  Ajouts (checklist qualité)  ============================ */

html {
    scroll-behavior: smooth;
}

main {
    display: block;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    background: var(--yellow);
    color: var(--blue);
    font-weight: 900;
    padding: 10px 16px;
    border-radius: 12px;
    z-index: 3000;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px var(--blue);
}

header .logo-link {
    display: flex;
    line-height: 0;
}

.button, .sort-btn, .filter-chip {
    font-family: inherit;
}

.sort-btn, .filter-chip, .slider-arrow {
    border: none;
}

.filter-chip {
    border: 2px solid var(--blue);
}

.slider-dots .dot {
    border: none;
    padding: 0;
}

/* Champs + erreurs sous chaque champ */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.field > label {
    display: block;
    font-weight: 700;
    color: var(--blue);
}

.field .req {
    color: var(--red-text);
}

.field .hint {
    font-size: 85%;
    color: #4d4a6b;
}

.field-error {
    color: var(--red-text);
    font-weight: 700;
    font-size: 90%;
}

.field-error[hidden] {
    display: none;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--red-text);
}

.name {
    align-items: flex-start;
}

.contact form {
    align-items: stretch;
}

.contact .submit {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
}

.form-note {
    font-size: 85%;
    text-align: center;
    color: #4d4a6b;
}

.form-note a {
    color: var(--blue);
    font-weight: 700;
}

.form-notice {
    width: 100%;
    text-align: center;
}

.hp {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Pied de page : liens légaux */
footer .legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 14px;
}

footer .linklike {
    background: none;
    color: white;
    font: inherit;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 75%;
    cursor: pointer;
    padding: 0;
}

footer .legal a, footer .linklike {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Pages légales + 404 */
.article h2 {
    color: var(--blue);
    text-transform: uppercase;
    font-size: 120%;
    font-weight: 900;
    margin-top: 10px;
}

.article-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 15px;
}

.article-content th, .article-content td {
    border: 1px solid #c9c8dc;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.article-content th {
    background: #f4f4fb;
}

.table-wrap {
    overflow-x: auto;
}

.notfound {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 70px 20px;
    text-align: center;
    color: var(--blue);
}

.notfound .code {
    font-size: 7rem;
    line-height: 1;
    font-weight: 900;
}

.notfound h1 {
    text-transform: uppercase;
    font-weight: 900;
}

/* Bannière cookies : boutons discrets (pas de bouton principal) */
.cookie-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: 640px;
    margin: 0 auto;
    background: var(--blue);
    color: white;
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner p {
    font-size: 90%;
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--yellow);
    font-weight: 700;
}

.cookie-banner .cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 12px;
    padding: 8px 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.cookie-btn:hover {
    background: white;
    color: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
}

.page button, .page-white button {
    background: none;
    color: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.article h2.article-title {
    font-weight: 900;
    text-transform: uppercase;
    color: var(--blue);
    font-size: 150%;
    margin-top: 0;
}

@media (min-width: 992px) {
    .article h2.article-title {
        font-size: 210%;
    }
}
