/* --------------------------------------------------------------- */
/* CHARGEMENT DES POLICES LOCALES                                  */
/* --------------------------------------------------------------- */
@font-face {
    font-family: 'Lufga';
    src: url('fonts/lufgalight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}@font-face {
    font-family: 'Lufga';
    src: url('fonts/lufgaregular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lufga';
    src: url('fonts/lufgasemibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lufga';
    src: url('fonts/lufgabold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lufga';
    src: url('fonts/lufgablack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------- */
/* RESET CSS                                                       */
/* --------------------------------------------------------------- */
html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}
.no-scroll {
    overflow: hidden;
}
*, *::before, *::after {
    box-sizing: border-box;
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin: 0;
}
ul[class], ol[class] {
    list-style: none;
    padding: 0;
}
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: var(--font-base);
	font-size: 1.75rem;
    color: var(--clr-dark);
    background-color: var(--clr-bright);
}
h1, h2, h3, h4 {
    line-height: 1.1;
    font-weight: 700;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}
input, button, textarea, select {
    font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
:focus-visible {
    outline: 3px solid var(--clr-accent);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------- */
/* VARIABLES                                                       */
/* --------------------------------------------------------------- */
:root {
    /* Couleurs officielles PQ */
    --clr-bright: #ffffff;
    --clr-light: #e5e8e8;
    --clr-gray: #4a5568;
    --clr-medium: #3c7abe;
    --clr-dark: #1e295c;

    /* Couleur d'accent (CTA, emphase) — doré plutôt que rouge #ee2529 */
    --clr-accent: #366aa2;
    --clr-accent-dark: #a97e0f;

    /* Typographie */
    --font-base: 'Lufga', sans-serif;

    /* Espacements & Rayons */
    --space-title: clamp(3rem, 3vw, 5rem);
    --space-text: 1.5rem;
    --space-section: clamp(5rem, 8vw, 10rem);
    --container-width: 120rem;
    --container-padding: 2rem;
    --radius: 1.5rem;
    --radius-button: 1rem;
    --transition: all 0.3s ease-in-out;
	--shadow: 5px 5px 15px 0px rgba(0,0,0,0.35);
}
/* --------------------------------------------------------------- */
/* UTILITAIRES                                                      */
/* --------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

@media (min-width: 1200px) {
    .container {
        padding-inline: 0;
    }
}

.section-title {
    font-size: clamp(2.75rem, 3vw, 3.25rem);
	font-weight: 700;
	line-height: 1.25;
    color: var(--clr-bright);
    margin-bottom: var(--space-title);
}

.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;
}

.btn {
    display: inline-block;
    padding: 1.75rem 2.8rem;
    border-radius: var(--radius-button);
    font-size: 1.75rem;
    transition: var(--transition);
}
.btn-primary {
    background-color: var(--clr-medium);
    color: var(--clr-bright);
}
.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--clr-accent);
}
.btn-submit {
    width: 100%;
    background-color: var(--clr-medium);
    color: var(--clr-bright);
    text-align: center;
	padding: 1.75rem 2.8rem;
}
.btn-submit:hover,
.btn-submit:focus-visible {
    background-color: var(--clr-accent);
}

/* --------------------------------------------------------------- */
/* BASE HEADER & DESKTOP NAV                                       */
/* --------------------------------------------------------------- */
.site-header {
    background-color: var(--clr-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.5rem;
}

.logo {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--clr-bright);
    text-decoration: none;
    white-space: nowrap;
}

/* Nav Desktop par défaut */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--clr-bright);
    font-size: 1.6rem;
    text-decoration: none;
    white-space: nowrap;
}

.header-cta {
    display: inline-flex;
}

/* Le bouton burger est MASQUÉ par défaut sur grand écran */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--clr-bright);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu {
    display: none; /* Masqué sur desktop */
}

/* --------------------------------------------------------------- */
/* MODE MOBILE (Écrans < 992px)                                    */
/* --------------------------------------------------------------- */
@media (max-width: 991px) {

    /* 1. On cache la nav desktop et le bouton du header */
    .nav,
    .header-cta {
        display: none !important;
    }

    /* 2. On AFFICHE le bouton burger et on le passe AU-DESSUS du menu */
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1005; /* Passe par-dessus l'overlay */
        cursor: pointer;
    }

    /* 3. Animation du "X" pour le burger */
    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* 4. Menu Mobile Overlay Plein Écran */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background-color: var(--clr-dark);
        z-index: 1000;
        padding: 8rem 2rem 4rem 2rem;
        
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;

        /* Invisible et incliquable tant qu'il n'est pas ouvert */
        opacity: 0;
        visibility: hidden;
        pointer-events: none; 
        transition: opacity 0.3s ease, visibility 0.3s ease;
        overflow-y: auto;
    }

    /* 5. Quand le menu est OUVERT */
    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.2rem;
        margin-top: auto;
        margin-bottom: auto;
    }

    .mobile-nav-list .nav-link {
        font-size: 2.2rem;
        font-weight: 500;
        color: var(--clr-bright);
    }

    .mobile-social-list {
        display: flex;
        gap: 1.8rem;
        list-style: none;
        padding: 0;
        margin-top: 3rem;
    }

    .mobile-social-list .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 4.2rem;
        height: 4.2rem;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: var(--clr-bright);
        font-size: 1.6rem;
        text-decoration: none;
    }

    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: auto;
    }
}

/* --------------------------------------------------------------- */
/* SOCIAL ICONS (réseaux sociaux)                                  */
/* --------------------------------------------------------------- */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10rem;
    height: 10rem;
    border: 0.25rem solid currentColor;
    border-radius: 50%;
    font-size: 4rem;
    transition: var(--transition);
}
.social-link:hover,
.social-link:focus-visible {
    transform: scale(1.1);
}

/* --------------------------------------------------------------- */
/* HERO                                                              */
/* --------------------------------------------------------------- */

.hero {
    position: relative;
    width: 100%;
    min-height: 60rem;
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--clr-bright);
    display: flex;
    padding-top: 3rem;
}

.hero-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: clamp(5rem, 6vw, 6.4rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 2.5rem;
	line-height: 1.25;
    margin-bottom: 0;
}

/* Masquer le texte et le bouton CTA sur mobile */
.hero-text,
.hero-content .btn {
    display: none;
}

/* Photo d'Anne sur mobile */
.hero-portrait {
    display: block;
    width: 100%;
    max-width: 44rem;
    height: auto;
    margin: auto auto 0 auto;
}

/* --- LOGO EN MOBILE --- */
.hero-logo {
    position: absolute;
    bottom: 25px; /* 50px réduit de 50% */
    right: 50px;  /* Marge de 100px réduite de 50% pour petit écran */
    z-index: 5;
    height: auto;
}

/* --- DESKTOP (992px et +) --- */
@media (min-width: 992px) {
    .hero {
        padding-top: 0;
    }

    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .hero-title {
    margin-bottom: 0.5rem;
	}
	.hero-subtitle {
        margin-bottom: 3rem;
    }

    .hero-text {
        display: block;
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 2.4rem;
        line-height: 1.3;
    }

    .hero-content .btn {
        display: inline-block;
    }

    .hero-portrait {
        align-self: flex-end;
        width: 45rem;
        max-width: none;
        margin: 0;
    }

    /* --- LOGO EN DESKTOP --- */
    .hero-logo {
        bottom: 50px; /* 50px au-dessus du bas */
        transform: scale(1); /* Taille à 100% */
    }
}

/* --------------------------------------------------------------- */
/* MEDIA SECTION (Carrousel)                                       */
/* --------------------------------------------------------------- */
.media-section {
    background-color: var(--clr-dark);
    padding-block: var(--space-section);
}
.media-carousel {
    position: relative;
}
.media-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1rem;
}
.media-track::-webkit-scrollbar {
    display: none;
}
.media-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background-color: var(--clr-bright);
    border-radius: var(--radius);
    padding: 2.4rem;
}
.media-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}
.media-source {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--clr-medium);
}
.media-date {
    font-size: 1.2rem;
    color: var(--clr-gray);
}
.media-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    line-height: 1.25;
}
.media-excerpt {
    font-size: 1.5rem;
    color: var(--clr-gray);
    margin-bottom: 1.75rem;
}
.media-link {
    color: var(--clr-medium);
    font-weight: 700;
    font-size: 1.4rem;
}
.media-link:hover,
.media-link:focus-visible {
    color: var(--clr-accent);
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2.4rem;
}
.dot {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background-color: var(--clr-gray);
    opacity: 0.5;
    transition: var(--transition);
}
.dot.is-active {
    opacity: 1;
    background-color: var(--clr-bright);
    width: 2.4rem;
    border-radius: 1rem;
}

@media (min-width: 768px) {
    .media-card {
        flex: 0 0 calc(50% - 1rem);
    }
}
@media (min-width: 992px) {
    .media-card {
        flex: 0 0 calc(33.333% - 1.4rem);
    }
}


/* --------------------------------------------------------------- */
/* COMMUNIQUÉS                                                     */
/* --------------------------------------------------------------- */
.press-release-page {
    padding-block: var(--space-section);
    background-color: var(--clr-light, #f8f9fa);
}
.container--skinny {
    max-width: 800px;
    margin-inline: auto;
}
.press-release-header {
    margin-bottom: 4rem;
    text-align: center;
}
.press-release-badge {
    display: inline-block;
    color: var(--clr-medium);
    font-size: 1.75rem;
    text-transform: uppercase;
    margin-bottom: 3.5rem;
}
.press-release-title {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--clr-dark);
}
.press-release-date {
    font-size: 1.4rem;
    color: var(--clr-gray);
}
.press-release-content {
    font-size: 1.8rem;
    line-height: 1.7;
    color: #333;
}
.press-release-content p {
    margin-bottom: 2rem;
}
.press-release-content blockquote {
    border-left: 4px solid var(--clr-medium);
    padding-left: 2rem;
    margin: 3rem 0;
    font-style: italic;
    color: var(--clr-dark);
}
.press-release-end {
    text-align: center;
    font-size: 1.75rem;
    letter-spacing: 0.3em;
    margin-block: 4rem 4rem;
    color: var(--clr-medium);
}

/* Bloc d'information contact pour les communiqués */
.release-contact {
    background-color: #f7f7f7;
    border-radius: var(--radius);
    padding: 3rem;
}
.release-contact__title {
    font-size: 2rem;
    color: var(--clr-dark);
    margin-bottom: 1.5rem;
}
.release-contact__text {
    font-size: 1.75rem;
    color: var(--clr-gray);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.release-contact__list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.75rem;
}

.release-contact__list li {
    margin-bottom: 0.5rem;
}

.release-contact__list i {
    margin-right: 0.5rem;
}

.release-contact__list a {
    color: var(--clr-dark);
    font-weight: 700;
}

.release-contact__list a:hover {
    color: var(--clr-accent);
}

/* --------------------------------------------------------------- */
/* ABOUT SECTION (Qui est Anne Nguyen ?)                            */
/* --------------------------------------------------------------- */
.about-section {
    background-color: var(--clr-medium);
    padding-block: var(--space-section);
    color: var(--clr-bright);
}
.about-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}
.about-image {
    border-radius: var(--radius);
    max-width: 45rem;
}
.about-title {
    font-size: clamp(2.4rem, 3vw, 3.2rem);
    margin-bottom: calc(var(--space-title) - 1rem);
}
.about-text {
    margin-top: var(--space-text);
	font-size: 1.9rem;
	font-weight: 300;
}
.about-quote {
    margin-top: var(--space-text);
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
}

@media (min-width: 992px) {
    .about-section .container {
        flex-direction: row;
        align-items: center;
    }
    .about-image {
        flex: 0 0 45%;
		box-shadow: var(--shadow);
    }
    .about-content {
        flex: 1;
    }
}

/* --------------------------------------------------------------- */
/* GALLERY SECTION (Anne sur le terrain)                            */
/* --------------------------------------------------------------- */
.gallery-section {
    background-color: var(--clr-dark);
    padding-block: var(--space-section);
}
.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
}
.gallery-row {
    display: flex;
    gap: 1.2rem;
    flex: 0 0 auto;
}
.gallery-row .gallery-item {
    flex: 1;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 2 / 1;
    flex: 0 0 auto;
}
.gallery-item--fill {
    flex: 1 1 auto;
    aspect-ratio: auto;
}
.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-column:nth-child(2) {
    display: none;
}

@media (min-width: 768px) {
    .gallery-grid {
        flex-direction: row;
    }
    .gallery-column:nth-child(2) {
        display: flex;
    }
}

/* --------------------------------------------------------------- */
/* LIGHTBOX / DIAPORAMA GALERIE                                    */
/* --------------------------------------------------------------- */

/* Curseur au survol des cartes de la galerie */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* Modal Overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Conteneur image et légende */
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 0.8rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: var(--clr-bright);
    margin-top: 1.5rem;
    font-size: 1.6rem;
    max-width: 800px;
}

/* Boutons de navigation et fermeture */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    font-size: 3rem;
    padding: 1rem 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 0.5rem;
    }
    .lightbox-next {
        right: 0.5rem;
    }
    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
}

/* --------------------------------------------------------------- */
/* SOCIAL SECTION (Suivre la campagne)                              */
/* --------------------------------------------------------------- */
.social-section {
    background-color: var(--clr-light);
    padding-block: var(--space-section);
}
.social-section .container {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 2.4rem;
}
.social-title {
    text-align: left;
	margin-bottom: 0;
    color: var(--clr-dark);
}
.social-icons {
    display: flex;
    gap: 1.6rem;
    color: var(--clr-dark);
}

@media (min-width: 768px) {
    .social-section .container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* --------------------------------------------------------------- */
/* FOOTER                                                            */
/* --------------------------------------------------------------- */
.site-footer {
    background-color: var(--clr-dark);
    color: var(--clr-bright);
    padding-block: var(--space-section) 3rem;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.footer-title {
    font-size: clamp(2.5rem, 3vw, 3rem);
    margin-bottom: clamp(2.5rem, 3vw, 3rem);
	font-weight: 600;
	color: #AABBE1;
}
.footer-email {
    display: inline-block;
    margin-bottom: 1.6rem;
    text-decoration: underline;
	color: #AABBE1;
}
.footer-address {
    font-style: normal;
    line-height: 1.6;
	color: #AABBE1;
}
.footer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-input {
    width: 100%;
    padding: 1.75rem 1.8rem;
    border: none;
    background-color: var(--clr-bright);
    color: var(--clr-dark);
    font-size: 1.5rem;
}
.form-input::placeholder {
    color: var(--clr-gray);
}
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2.4rem;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.15);
    font-size: 1.2rem;
    color: #AABBE1;
    text-align: center;
}

@media (min-width: 992px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-contact,
    .footer-form-wrapper {
        flex: 1;
        max-width: 50rem;
    }
}

/* Cache le piège à robots */
.website-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
}

/* Zone d'affichage des retours (succès / erreur) */
.form-response {
    display: none;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-response.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-response.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Style du bouton désactivé pendant l'envoi */
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* --------------------------------------------------------------- */
/* LIENS LÉGAUX DU FOOTER & COOKIES                                 */
/* --------------------------------------------------------------- */
.footer-bottom-container {
    margin-top: 4rem;
    padding-top: 2.4rem;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

/* Annule la bordure du paragraphe original puisqu'elle est sur le conteneur */
.footer-bottom-container .footer-bottom {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.footer-legal-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #AABBE1;
}

.footer-legal-link,
.footer-cookie-btn {
    color: #AABBE1;
    text-decoration: underline;
    background: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.footer-legal-link:hover,
.footer-cookie-btn:hover {
    color: var(--clr-bright);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------- */
/* POPUP COOKIES (BOÎTE BAS DROITE - COULEURS DU SITE)              */
/* --------------------------------------------------------------- */

#cc-main {
    --cc-font-family: var(--font-base);
    --cc-modal-margin: 1.5rem;
}

/* Boîte du popup */
#cc-main .cm {
    background-color: var(--clr-bright);
    color: var(--clr-dark);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    border: none !important;
    padding: 2rem !important;
}

#cc-main .cm__title {
    color: var(--clr-dark);
    font-size: 1.8rem;
    font-weight: 700;
}

#cc-main .cm__desc {
    color: var(--clr-gray);
    font-size: 1.4rem;
    line-height: 1.5;
}

/* Style de tous les boutons */
#cc-main .cm__btn {
    border-radius: var(--radius-button);
    font-size: 1.4rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: var(--transition);
    border: none !important;
}

/* Boutons Tout accepter / Tout refuser (Bleu du site) */
#cc-main .cm__btn[data-role="all"],
#cc-main .cm__btn[data-role="necessary"] {
    background-color: var(--clr-medium) !important;
    color: var(--clr-bright) !important;
}

#cc-main .cm__btn[data-role="all"]:hover,
#cc-main .cm__btn[data-role="necessary"]:hover {
    background-color: var(--clr-accent) !important;
}

/* Bouton Personnaliser (Bleu foncé de l'arrière-plan du site) */
#cc-main .cm__btn[data-role="show-preferences"],
#cc-main .cm__footer > .cm__btn {
    background-color: var(--clr-dark) !important;
    color: var(--clr-bright) !important;
}

#cc-main .cm__btn[data-role="show-preferences"]:hover,
#cc-main .cm__footer > .cm__btn:hover {
    background-color: var(--clr-medium) !important;
}

/* Centre de préférences aux mêmes couleurs */
#cc-main .pm {
    background-color: var(--clr-bright);
    color: var(--clr-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

#cc-main .pm__title,
#cc-main .pm__section-title {
    color: var(--clr-dark);
}

#cc-main .pm__header,
#cc-main .pm__section {
    border-color: var(--clr-light);
}


/* --------------------------------------------------------------- */
/* BANNIÈRE COOKIES : VERROUILLAGE MOBILE & ANTI-OVERFLOW          */
/* --------------------------------------------------------------- */

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Verrouillage strict du conteneur parent injecté par CookieConsent */
#cc-main {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 999999 !important;
    overflow: hidden !important;
}

/* Réactivation des clics uniquement sur la boîte elle-même */
#cc-main .cm-wrapper {
    position: absolute !important;
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    left: auto !important;
    top: auto !important;
    max-width: calc(100vw - 3rem) !important;
    width: 36rem !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
}

/* Style et dimensions de la boîte du popup */
#cc-main .cm {
    background-color: var(--clr-bright);
    color: var(--clr-dark);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    border: none !important;
    padding: 1.8rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#cc-main .cm__title {
    color: var(--clr-dark);
    font-size: 1.6rem;
    font-weight: 700;
}

#cc-main .cm__desc {
    color: var(--clr-gray);
    font-size: 1.3rem;
    line-height: 1.4;
}

/* Style des boutons */
#cc-main .cm__btn {
    border-radius: var(--radius-button);
    font-size: 1.3rem;
    font-weight: 600;
    padding: 0.9rem 1.2rem;
    transition: var(--transition);
    border: none !important;
}

#cc-main .cm__btn[data-role="all"],
#cc-main .cm__btn[data-role="necessary"] {
    background-color: var(--clr-medium) !important;
    color: var(--clr-bright) !important;
}

#cc-main .cm__btn[data-role="show-preferences"],
#cc-main .cm__footer > .cm__btn {
    background-color: var(--clr-dark) !important;
    color: var(--clr-bright) !important;
}

/* Adaptation spécifique aux écrans mobiles (Pixel 9, etc.) */
@media (max-width: 576px) {
    #cc-main .cm-wrapper {
        bottom: 1rem !important;
        right: 1rem !important;
        left: 1rem !important;
        max-width: calc(100vw - 2rem) !important;
        width: auto !important;
    }

    #cc-main .cm__btns,
    #cc-main .cm__btn-group,
    #cc-main .cm__footer {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.6rem !important;
    }

    #cc-main .cm__btn {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}