:root {
    --primary-color: #5D2A42;
    /* Bordeaux foncé */
    --secondary-color: #7BB3D9;
    /* Bleu ciel */
    --accent-color: #E67E4A;
    /* Orange corail */
    --highlight-color: #F4C430;
    /* Jaune soleil */
    --neutral-color: #F5F0E8;
    /* Beige/crème */
    --text-color: #333;
    --text-color-light: #666;
    --white-color: #FFFFFF;
    --font-title: 'Poppins', sans-serif;
    --font-text: 'Open Sans', sans-serif;
    --container-width: 1100px;
    --border-radius: 20px;
}

/* --- Base & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    background-color: var(--white-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* Empêche le scroll horizontal */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-title);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 0;
}

.choice-text {
    display: block;
    font-size: 0.4em;
    color: var(--primary-color);
    font-weight: normal;
    margin-top: -0.5rem;
    /* Adjusted to pull it closer */
    line-height: 1;
    /* Tighten line height */
}

.hero-subtitle {
    font-size: 1.1rem;
    /* Smaller font size */
    color: rgba(255, 255, 255, 0.9);
    /* Match h2 color */
    font-weight: 400;
    /* Match h2 font-weight */
    margin-bottom: 2.5rem;
    /* Match h2 margin-bottom */
}

p {
    margin-bottom: 1rem;
    color: var(--text-color-light);
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 5rem 0;
}

section:nth-of-type(odd) {
    background-color: var(--neutral-color);
}

/* --- Popup Styles --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.popup-content {
    background-color: var(--white-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    max-width: 380px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 3px solid #ff9a6a;
}

.popup-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color-light);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    background-color: var(--neutral-color);
    color: #ff9a6a;
}

.popup-content h3 {
    color: #ff9a6a;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: var(--font-title);
}

.popup-content p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.popup-button {
    background-color: #ff9a6a;
    color: var(--white-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.8rem;
    font-family: var(--font-text);
}

.popup-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.popup-overlay.hidden {
    display: none;
}

/* --- Email Notification Styles --- */
.email-notification {
    margin: 1rem 0 0.8rem 0;
    padding: 1rem;
    background-color: var(--neutral-color);
    border-radius: 10px;
    border: 2px solid #ff9a6a;
}

.email-form {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    align-items: stretch;
}

.email-input {
    flex: 1;
    padding: 0.7rem;
    border: 2px solid #ff9a6a;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font-text);
    outline: none;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    border-color: var(--secondary-color);
}

.email-button {
    background-color: #ff9a6a;
    color: var(--white-color);
    border: none;
    padding: 0.7rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-text);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 80px;
}

.email-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

.email-button:active {
    transform: translateY(0);
}

.email-button:disabled {
    background-color: var(--text-color-light);
    cursor: not-allowed;
    transform: none;
}

.email-status {
    font-size: 0.9rem;
    margin: 0;
    min-height: 1.2rem;
}

.email-status.success {
    color: #28a745;
}

.email-status.error {
    color: #dc3545;
}

.privacy-notice {
    font-size: 0.75rem;
    color: var(--text-color-light);
    margin-top: 0.6rem;
    margin-bottom: 0;
    line-height: 1.3;
    font-style: italic;
}

@media (max-width: 480px) {
    .email-form {
        flex-direction: column;
    }

    .email-button {
        white-space: normal;
    }
}

/* --- Reviews Carousel --- */
.reviews-carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    /* Robust layout */
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    width: 100%;
    /* Force width to match parent */
    box-sizing: border-box;
}

/* Ensure it doesn't overflow parent */


.reviews-container {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    /* min-width/width 0 not needed with grid minmax */
}

.reviews-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    /* Ensure track takes full width of container */
    min-width: 0;
    /* Allow shrinking */
}

.review-card {
    flex: 0 0 100%;
    width: 100%;
    /* Explicit width */
    min-width: 0;
    /* Allow shrinking */
    padding: 0 0.75rem;
    /* Creates the spacing */
    box-sizing: border-box;
}

.review-card-content {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--neutral-color);
    text-align: center;
    height: 100%;
    /* Ensure equal height */
}

.review-card-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-title);
}

.review-rating {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.review-rating .fa-star {
    color: #ddd;
    font-size: 1.2rem;
}

.review-rating .fa-star.checked {
    color: var(--highlight-color);
}

.review-card-content p {
    color: var(--text-color);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.carousel-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Prevent buttons from shrinking */
}

.carousel-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background-color: var(--text-color-light);
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--primary-color);
}

@media (min-width: 768px) {
    .review-card {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .review-card {
        flex: 0 0 33.333%;
    }
}

/* Mobile adjustments for reviews */
@media (max-width: 768px) {
    #reviews .container {
        padding: 0 0.5rem;
    }

    .reviews-carousel {
        gap: 0.25rem;
    }

    .review-card {
        padding: 0;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .review-card-content {
        padding: 1.5rem;
    }
}

/* --- Scroll Offset for Fixed Header --- */
section[id] {
    scroll-margin-top: 80px;
}

/* --- Header & Navigation --- */
header {
    background-color: transparent;
    /* Transparent by default */
    backdrop-filter: none;
    /* No blur by default */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.header-active {
    background-color: #6891cc;
    /* Changed to 6891cc when active */
    backdrop-filter: blur(10px);
    /* Blur when active */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    height: 80px;
}

nav .logo {
    display: none;
    /* Hidden on desktop */
}

/* Base (Mobile) Styles */
.nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(93, 42, 66, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1000;
}

.nav-links.nav-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    background-color: transparent;
}

.nav-links li {
    margin: 1.5rem 0;
}

.nav-links a {
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Remove unwanted background/outline on click for nav links */
.nav-links a:active,
.nav-links a:focus {
    background-color: transparent;
    outline: none;
}

.burger {
    display: block;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

.toggle .line1 {
    background-color: var(--white-color);
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    background-color: var(--white-color);
    transform: rotate(45deg) translate(-5px, -6px);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero Section --- */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    color: var(--white-color);
    padding: 0 1.5rem;
    padding-top: 50px;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/hero-800.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
}

@media (min-width: 768px) {
    #hero::before {
        background-image: url('images/hero-1200.jpg');
    }
}

@media (min-width: 1200px) {
    #hero::before {
        background-image: url('images/hero-1920.jpg');
    }
}

@supports (background-image: url('images/hero-800.webp')) {
    #hero::before {
        background-image: url('images/hero-800.webp');
    }

    @media (min-width: 768px) {
        #hero::before {
            background-image: url('images/hero-1200.webp');
        }
    }

    @media (min-width: 1200px) {
        #hero::before {
            background-image: url('images/hero-1920.webp');
        }
    }
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 200px;
    /* Adjust size as needed */
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    /* Optional shadow for better visibility */
}

#hero h1 {
    color: var(--white-color);
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

#hero h2 {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    /* Reduced margin-bottom */
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 1rem;
    /* Smaller than h2 */
    margin-bottom: 2.5rem;
}

.hero-content .contact-buttons {
    margin-top: 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #FF9A6A;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
}

/* --- Présentation & Photo Grid --- */
#presentation p {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    text-align: center;
    font-size: 1.1rem;
}

/* --- Gallery --- */
.gallery-container {
    max-width: 900px;
    margin: 0 auto;
}

.main-photo-container {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#main-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease-in-out;
}

.thumbnail-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s, border-color 0.3s;
    border: 3px solid transparent;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--accent-color);
}

/* --- Informations Essentielles --- */
.info-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white-color);
    border-radius: var(--border-radius);
    padding: 2rem 2.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}

.info-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item:first-child {
    padding-top: 0;
}

.info-item .icon {
    font-size: 1.8rem;
    margin-right: 1.5rem;
    color: var(--accent-color);
    width: 40px;
    text-align: center;
}

.info-item h3 {
    margin-bottom: 0.25rem;
}

.info-item p {
    text-align: left;
    margin-bottom: 0;
}

/* --- Conseils --- */
.conseils-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.conseil-card {
    background-color: var(--white-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.conseil-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}



.conseil-card .conseil-icon img {
    max-width: 60px;
    max-height: 60px;
    display: block;
    margin: 0 auto 1rem auto;
}

.conseil-card h3 {
    margin-bottom: 0.5rem;
}

.conseil-card p {
    font-size: 0.95rem;
}

/* --- Points de rendez-vous --- */
.maps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.map iframe {
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    height: 350px;
}

.map h3 {
    text-align: center;
}

/* --- Contact --- */
#contact {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('images/gallery4.jpg') no-repeat center bottom/cover;
    color: var(--white-color);
    text-align: center;
}

#contact h2,
#contact p {
    color: var(--white-color);
}

#contact p {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

#contact .cta-button {
    margin-bottom: 2rem;
}

#contact .google-link {
    color: var(--neutral-color);
    text-decoration: underline;
    display: inline-block;
    transition: color 0.3s;
}

#contact .google-link:hover {
    color: var(--white-color);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.whatsapp-button {
    background-color: #25D366;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

/* --- Reviews Section --- */
#reviews {
    background-color: var(--white-color);
    padding: 5rem 0;
}

#reviews h2 {
    margin-bottom: 3rem;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.review-rating {
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

.review-rating .fas.fa-star {
    font-family: "Font Awesome 6 Free";
    /* Ensure Font Awesome font is used */
    font-weight: 900;
    /* For solid stars */
    font-size: 1.2rem;
    margin: 0 2px;
}

.review-rating .fas.fa-star:not(.checked) {
    color: #ccc;
    /* Light grey for unchecked stars */
}

.review-card p {
    font-size: 0.95rem;
    color: var(--text-color-light);
    flex-grow: 1;
    /* Allow comment to take available space */
}

/* --- Footer --- */
footer {
    background-color: #6891cc;
    color: var(--neutral-color);
    text-align: center;
    padding: 3rem 1.5rem;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1rem;
}

footer p {
    color: var(--white-color);
}

footer a {
    color: var(--neutral-color);
    text-decoration: underline;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--white-color);
}

.footer-links {
    margin-top: 1rem;
}

/* --- Media Queries --- */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: list-item !important;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    section {
        padding: 3rem 0;
    }

    nav {
        justify-content: flex-end;
        /* Move burger to the right */
    }

    .burger {
        display: block;
        z-index: 1001;
        /* Au-dessus de l'overlay */
    }

    .burger div {
        background-color: var(--white-color);
        /* Make burger lines white on mobile */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #6891cc;
        /* Changed to 6891cc */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        z-index: 1000;
    }

    .nav-links.nav-active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        background-color: #6891cc;
        /* Changed to 6891cc when active */
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        color: var(--white-color);
        font-size: 1.5rem;
        font-weight: bold;
        text-transform: uppercase;
    }

    /* Remove unwanted background/outline on click for nav links in mobile */
    .nav-links a:active,
    .nav-links a:focus {
        background-color: transparent;
        outline: none;
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .language-switcher {
        margin-right: 1rem;
        /* Espace à droite du bouton burger */
    }

    .language-switcher a {
        background-color: var(--secondary-color);
        color: var(--white-color);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        transition: background-color 0.3s;
        transform: none;
        box-shadow: none;
    }

    .language-switcher a:hover {
        background-color: #6AA0C8;
        color: var(--white-color);
        /* Keep text white on hover */
        transform: none;
        /* Ensure no transform on hover */
        box-shadow: none;
        /* Ensure no box-shadow on hover */
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-item .icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .info-item p {
        text-align: center;
    }

    .conseils-grid,
    .maps-container {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    #hero {
        background-position: center center;
        /* Centre la photo */
    }

    nav {
        justify-content: center;
    }

    .nav-links {
        display: flex !important;
        /* Ensure flex display */
        list-style: none;
        /* Remove list bullets */
        gap: 2rem;
        /* Spacing between items */
        position: static;
        /* Reset positioning */
        flex-direction: row;
        align-items: center;
        width: auto;
        height: auto;
        background-color: transparent;
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        opacity: 1;
        /* Ensure links are visible */
        margin: 0;
        /* Reset margin from mobile */
    }

    .nav-links a {
        color: var(--white-color);
        /* Changed to white */
        font-size: 1rem;
        font-weight: 700;
        padding: 0.7rem 1rem;
        /* Increased padding */
        transition: color 0.3s, border-bottom 0.3s;
        border-bottom: 2px solid transparent;
        /* Transparent border by default */
    }

    .nav-links a:hover {
        color: #fccc86;
        /* Changed hover color to fccc86 */
        border-bottom: 2px solid #fccc86;
        /* Accent color border on hover */
    }

    .burger {
        display: none;
    }

    .language-switcher {
        margin-left: 1rem;
        /* Space from other nav items */
    }

    .language-switcher a {
        background-color: var(--secondary-color);
        color: var(--white-color);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        transition: background-color 0.3s;
        /* Removed transform from transition */
        border-bottom: none;
        /* Remove border for language switcher */
        transform: none;
        /* Remove transform */
        box-shadow: none;
        /* Remove box-shadow */
    }

    .language-switcher a:hover {
        background-color: #6AA0C8;
        color: var(--white-color);
        /* Keep text white on hover */
        transform: none;
        /* Ensure no transform on hover */
        box-shadow: none;
        /* Ensure no box-shadow on hover */
    }

    .conseils-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .maps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .conseils-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Legal Mentions Page --- */
#legal-mentions {
    padding-top: 120px;
    /* Add padding to be below the fixed header */
    padding-bottom: 5rem;
    background-color: var(--neutral-color);
    min-height: 100vh;
    /* Ensure it takes at least the full viewport height */
}

#legal-mentions .container {
    max-width: 800px;
    /* More readable line length */
    background-color: var(--white-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}

#legal-mentions h1 {
    text-align: left;
    margin-bottom: 2rem;
}

#legal-mentions h2 {
    text-align: left;
    font-size: 1.5rem;
    /* Slightly smaller than main section titles */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

#legal-mentions p {
    line-height: 1.8;
    text-align: left;
    color: var(--text-color-light);
}

#legal-mentions p strong {
    color: var(--text-color);
}

/* Remove top margin for the first h2 */
#legal-mentions h2:first-of-type {
    margin-top: 0;
}