header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    font-size: 1.5rem;
    line-height: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}
nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}
.nav-links a:hover {
    color: var(--primary);
}
.hamburger-li {
    position: relative;
}
.hamburger-btn {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0;
    cursor: pointer;
}
.hamburger-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background: #fff;
    border: 1px solid #ccc;
    flex-direction: column;
    padding: 10px;
    min-width: 200px;
    z-index: 100;
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}
.hamburger-menu a {
    display: block;
    padding: 5px 10px;
    color: #000;
    text-decoration: none;
    font-size: 0.9rem; 
}
.hamburger-menu a:hover {
    color: #007bff;
}
.hamburger-btn:hover {
    color: #007bff;
}
@media screen and (min-width: 901px) {
    .hamburger-menu {
        width: max-content;
        max-width: calc(100vw - 2rem);
    }
    .hamburger-menu a {
        white-space: nowrap;
    }
}
@media screen and (max-width: 900px) {
    .nav-links li:not(.hamburger-li) {
        display: none;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    .hamburger-menu {
        width: 80vw;
        max-width: 80vw;
    }
    .hamburger-menu a {
        padding: 8px 10px;
    }
}
#rd-cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10020;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 1rem 1.5rem;
    border-top: 3px solid #2563eb;
}
#rd-cookie-banner .rd-cb-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
#rd-cookie-banner .rd-cb-text {
    flex: 1;
    min-width: 220px;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.5;
}
#rd-cookie-banner .rd-cb-text a {
    color: #2563eb;
    text-decoration: underline;
}
#rd-cookie-banner .rd-cb-btns {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}
#rd-cookie-banner .rd-cb-accept {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 0.6rem 1.3rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
#rd-cookie-banner .rd-cb-accept:hover { background: #1e40af; }
#rd-cookie-banner .rd-cb-refuse {
    background: transparent;
    color: #374151;
    border: 2px solid #d1d5db;
    padding: 0.6rem 1.3rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s;
}
#rd-cookie-banner .rd-cb-refuse:hover { border-color: #9ca3af; }
#rd-cookie-btn {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 10019;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    line-height: 40px;
    text-align: center;
    padding: 0;
    transition: box-shadow 0.2s;
}
#rd-cookie-btn:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.18); }
@media (max-width: 600px) {
    #rd-cookie-banner { padding: 0.8rem 1rem; }
    #rd-cookie-banner .rd-cb-btns { width: 100%; justify-content: center; }
    #rd-cookie-banner .rd-cb-accept,
    #rd-cookie-banner .rd-cb-refuse { flex: 1; text-align: center; }
}
    footer.rd-footer {
        background: var(--dark, #1f2937);
        color: #e5e7eb;
        text-align: left;
        padding: 0;
        border-top: 3px solid var(--primary, #2563eb);
    }
    .rd-footer a {
        color: #e5e7eb;
        font-weight: 400;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    .rd-footer a:hover,
    .rd-footer a:focus-visible {
        color: #60a5fa;
    }
    .rd-footer a:focus-visible {
        outline: 2px solid #60a5fa;
        outline-offset: 2px;
    }
    .rd-footer-haut {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2.5rem 1rem 1.5rem;
    }
    .rd-footer-grille {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.8rem 2rem;
    }
    .rd-footer nav.rd-footer-col {
        display: block;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    .rd-footer-col h3 {
        color: #60a5fa;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin: 0 0 0.8rem;
        padding-bottom: 0.4rem;
        border-bottom: 1px solid #374151;
    }
    .rd-footer-col ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .rd-footer-col li {
        margin-bottom: 0.45rem;
        font-size: 0.9rem;
        line-height: 1.35;
    }
    .rd-footer a.rd-fort {
        color: #ffffff;
        font-weight: 700;
    }
    .rd-footer a.rd-jaune {
        color: #fbbf24;
        font-weight: 700;
    }
    .rd-footer a.rd-fort:hover,
    .rd-footer a.rd-jaune:hover {
        color: #60a5fa;
    }
    .rd-footer a.rd-clignote {
        color: #f87171;
        font-weight: 700;
        animation: rdClignote 1.2s ease-in-out infinite;
    }
    .rd-footer a.rd-clignote::before {
        content: "";
        display: inline-block;
        width: 0.6em;
        height: 0.6em;
        margin-right: 0.4em;
        border-radius: 50%;
        background: #ef4444;
        box-shadow: 0 0 6px #ef4444;
        vertical-align: 0.05em;
        animation: rdPoint 1.2s ease-in-out infinite;
    }
    .rd-footer a.rd-clignote:hover,
    .rd-footer a.rd-clignote:focus-visible {
        color: #60a5fa;
        animation: none;
    }
    @keyframes rdClignote {
        0%, 100% { color: #f87171; }
        50% { color: #ffffff; }
    }
    .rd-footer .rd-coeur {
        display: inline-block;
        transform-origin: center;
        animation: rdCoeur 0.92s ease-in-out infinite;
    }
    @keyframes rdCoeur {
        0%, 100% { transform: scale(1); }
        12% { transform: scale(1.28); }
        24% { transform: scale(1); }
        36% { transform: scale(1.18); }
        52% { transform: scale(1); }
    }
    @keyframes rdPoint {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.15; }
    }
    .rd-footer-infos {
        margin-top: 2rem;
        padding: 1.2rem;
        background: #111827;
        border-radius: 12px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.8rem;
        font-size: 0.88rem;
        line-height: 1.5;
    }
    .rd-footer-infos p,
    .rd-footer-infos div {
        margin: 0;
    }
    .rd-footer-infos strong,
    .rd-footer-infos strong a {
        color: #ffffff;
        font-weight: 700;
    }
    .rd-footer-bas {
        border-top: 1px solid #374151;
        padding: 1.2rem 1rem;
        text-align: center;
        font-size: 0.82rem;
        color: #9ca3af;
        line-height: 1.6;
    }
    .rd-footer-secours {
        margin-top: 1rem;
        padding: 1rem 1.2rem;
        border: 1px solid #374151;
        border-left: 4px solid #f87171;
        border-radius: 12px;
        font-size: 0.86rem;
        line-height: 1.5;
        color: #d1d5db;
    }
    .rd-footer-secours p {
        margin: 0 0 0.4rem;
    }
    .rd-footer-secours p:last-child {
        margin: 0.4rem 0 0;
    }
    .rd-footer-secours strong {
        color: #ffffff;
    }
    .rd-footer-secours ul {
        margin: 0;
        padding-left: 1.2rem;
    }
    .rd-footer-secours li {
        margin-bottom: 0.25rem;
    }
    .rd-footer .rd-footer-secours a {
        color: #ffffff;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 2px;
    }
    .rd-footer .rd-footer-secours a:hover,
    .rd-footer .rd-footer-secours a:focus-visible {
        color: #60a5fa;
    }
    .rd-footer-infos address {
        font-style: normal;
        margin: 0;
    }
    .rd-footer a.rd-avis {
        color: #fbbf24;
        font-weight: 700;
    }
    .rd-footer-presentation {
        max-width: 900px;
        margin: 0 auto 0.6rem !important;
        color: #d1d5db;
    }
    .rd-footer-bas p {
        margin: 0;
    }
    .rd-footer-bas p + p {
        margin-top: 0.4rem;
    }
    .rd-footer-bas a {
        color: #9ca3af;
        text-decoration: underline;
    }
    @media (min-width: 600px) {
        .rd-footer-grille {
            grid-template-columns: repeat(2, 1fr);
        }
        .rd-footer-infos {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    @media (min-width: 1100px) {
        .rd-footer-grille {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    @media (prefers-reduced-motion: reduce) {
        .rd-footer a {
            transition: none;
        }
        .rd-footer a.rd-clignote,
        .rd-footer a.rd-clignote::before,
        .rd-footer .rd-coeur {
            animation: none;
        }
    }
.logo-img {
    height: 40px;
    vertical-align: middle;
}
.hamburger-menu a.rd-menu-fort {
    font-weight: 700;
}
