/* =========================================================
   LELALEU - Feuille de style principale (v2)
   Mobile-first, premium accessible, ambiance tropicale
========================================================= */

:root {
    --color-bleu-lagon: #2a9d8f;
    --color-bleu-profond: #0a4d68;
    --color-bleu-clair: #88c5d0;
    --color-sable-clair: #f5ede1;
    --color-sable-fonce: #e8dcc4;
    --color-blanc-chaud: #fbf9f4;
    --color-blanc-pur: #ffffff;
    --color-vert-palmier: #4a7c59;
    --color-anthracite: #2c3539;
    --color-anthracite-doux: #4a5358;
    --color-text: #2c3539;
    --color-text-light: #6b7378;
    --color-border: #e0d8c8;
    --color-airbnb: #ff5a5f;

    --font-titre: 'Playfair Display', Georgia, serif;
    --font-texte: 'Inter', system-ui, -apple-system, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;

    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(10, 77, 104, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 77, 104, 0.1);
    --shadow-lg: 0 16px 48px rgba(10, 77, 104, 0.15);

    --transition: 0.25s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-texte);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-blanc-chaud);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
    font-family: var(--font-titre);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-bleu-profond);
    margin: 0 0 var(--space-md);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: var(--space-lg); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
p { margin: 0 0 var(--space-sm); }
a { color: var(--color-bleu-lagon); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-bleu-profond); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-bleu-lagon); outline-offset: 2px; }
ul { padding-left: 1.2rem; }

.skip-link {
    position: absolute; top: -100px; left: 1rem;
    background: var(--color-bleu-profond); color: white;
    padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
    z-index: 9999; transition: top var(--transition);
}
.skip-link:focus { top: 1rem; color: white; }

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

.section { padding: var(--space-xl) 0; }
@media (min-width: 768px) { .section { padding: var(--space-xxl) 0; } }

.section-intro { font-size: 1.1rem; color: var(--color-text-light); max-width: 700px; margin-bottom: var(--space-lg); }

/* BOUTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-texte); font-size: 1rem; font-weight: 600;
    border: 2px solid transparent; border-radius: 999px;
    cursor: pointer; text-align: center;
    transition: all var(--transition); line-height: 1.2; min-height: 48px;
}
.btn-primary { background: var(--color-bleu-lagon); color: white; border-color: var(--color-bleu-lagon); }
.btn-primary:hover, .btn-primary:focus { background: var(--color-bleu-profond); border-color: var(--color-bleu-profond); color: white; transform: translateY(-2px); }

.btn-secondary { background: var(--color-blanc-pur); color: var(--color-bleu-profond); border-color: var(--color-blanc-pur); }
.btn-secondary:hover, .btn-secondary:focus { background: var(--color-sable-clair); border-color: var(--color-sable-clair); color: var(--color-bleu-profond); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--color-blanc-pur); border-color: var(--color-blanc-pur); }
.btn-outline:hover, .btn-outline:focus { background: var(--color-blanc-pur); color: var(--color-bleu-profond); }
.section .btn-outline, .cta-buttons .btn-outline { color: var(--color-bleu-profond); border-color: var(--color-bleu-profond); }
.section .btn-outline:hover, .cta-buttons .btn-outline:hover { background: var(--color-bleu-profond); color: white; }

.btn-link { background: transparent; color: var(--color-bleu-profond); border: none; text-decoration: underline; padding: 0.5rem 0.75rem; min-height: auto; }
.btn-link:hover { color: var(--color-bleu-lagon); }
.btn-lg { padding: 1.125rem 2.25rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* HEADER */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--space-sm) var(--space-md); gap: var(--space-md);
}
.logo-img { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; }
.nav-toggle {
    background: transparent; border: none; cursor: pointer;
    padding: 0.5rem; display: flex; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; justify-content: center; align-items: center;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-bleu-profond); transition: all var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-list {
    list-style: none; margin: 0; padding: 0;
    display: none; flex-direction: column; gap: var(--space-xs);
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; padding: var(--space-md);
    box-shadow: var(--shadow-md); border-top: 1px solid var(--color-border);
}
.nav-list.is-open { display: flex; }
.nav-list a { display: block; padding: 0.75rem 1rem; color: var(--color-anthracite); font-weight: 500; border-radius: var(--radius-sm); }
.nav-list a:hover { background: var(--color-sable-clair); color: var(--color-bleu-profond); }
.btn-nav { color: white !important; padding: 0.625rem 1.5rem !important; min-height: auto; }
.btn-nav:hover { color: white !important; }
@media (min-width: 992px) {
    .nav-toggle { display: none; }
    .nav-list { display: flex; flex-direction: row; position: static; background: transparent; padding: 0; box-shadow: none; border: none; gap: 0.25rem; align-items: center; }
    .nav-list a { padding: 0.5rem 0.875rem; font-size: 0.95rem; }
}

/* HERO */
.hero {
    position: relative; min-height: 85vh; display: flex; align-items: center; color: white;
    background: linear-gradient(135deg, var(--color-bleu-profond) 0%, var(--color-bleu-lagon) 100%),
                url('../img/lelaleu-saint-leu-terrasse-bois-palmiers.webp') center/cover;
    background-blend-mode: multiply;
    overflow: hidden; padding: var(--space-xl) 0;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10, 77, 104, 0.3) 0%, rgba(10, 77, 104, 0.7) 100%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { color: white; margin-bottom: var(--space-md); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3); }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: var(--space-lg); opacity: 0.95; line-height: 1.5; }
.hero-features { list-style: none; padding: 0; margin: 0 0 var(--space-lg); display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; }
.hero-features li {
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px);
    padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* PRÉSENTATION */
.section-presentation { background: var(--color-blanc-chaud); }
.presentation-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); align-items: center; }
@media (min-width: 768px) { .presentation-grid { grid-template-columns: 1.1fr 1fr; gap: var(--space-xl); } }
.presentation-text p { font-size: 1.05rem; }
.presentation-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/3; }

/* HÉBERGEMENTS */
.section-accommodations { background: var(--color-sable-clair); }
.cards-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
@media (min-width: 640px) { .cards-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .cards-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card-acc {
    background: white; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-md);
    display: flex; flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}
.card-acc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Mini-carrousel des cards */
.card-acc-gallery {
    position: relative; aspect-ratio: 4/3; overflow: hidden;
    background: var(--color-bleu-profond);
}
.card-acc-slides { position: relative; width: 100%; height: 100%; }
.card-acc-slides img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 0.4s ease;
}
.card-acc-slides img.is-active { opacity: 1; }

.card-acc-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85); border: none;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.85rem; color: var(--color-bleu-profond);
    transition: all var(--transition); opacity: 0;
    box-shadow: var(--shadow-sm);
}
.card-acc:hover .card-acc-arrow { opacity: 1; }
.card-acc-arrow:hover { background: white; transform: translateY(-50%) scale(1.1); }
.card-acc-prev { left: 0.5rem; }
.card-acc-next { right: 0.5rem; }

.card-acc-dots {
    position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.4rem; z-index: 2;
}
.card-acc-dots span {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.5); transition: all var(--transition); cursor: pointer;
    border: 0; padding: 0;
}
.card-acc-dots span.is-active { background: white; transform: scale(1.3); }

.card-acc-badge {
    position: absolute; top: var(--space-sm); right: var(--space-sm);
    background: var(--color-bleu-lagon); color: white;
    padding: 0.4rem 0.875rem; border-radius: 999px;
    font-size: 0.85rem; font-weight: 600; box-shadow: var(--shadow-sm);
    z-index: 2;
}
.card-acc-code {
    position: absolute; bottom: var(--space-sm); left: var(--space-sm);
    background: rgba(10, 77, 104, 0.85); color: white;
    padding: 0.25rem 0.65rem; border-radius: var(--radius-sm);
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.card-acc-body { padding: var(--space-md); display: flex; flex-direction: column; flex: 1; }
.card-acc-body h3 { color: var(--color-bleu-profond); margin-bottom: 0.5rem; }
.card-acc-capacity { color: var(--color-bleu-lagon); font-weight: 600; font-size: 0.95rem; margin-bottom: var(--space-sm); }
.card-acc-features { list-style: none; padding: 0; margin: var(--space-sm) 0 var(--space-md); }
.card-acc-features li {
    padding: 0.4rem 0 0.4rem 1.5rem; position: relative;
    color: var(--color-text-light); font-size: 0.95rem;
    border-bottom: 1px solid var(--color-border);
}
.card-acc-features li:last-child { border-bottom: none; }
.card-acc-features li::before { content: "✓"; position: absolute; left: 0; color: var(--color-bleu-lagon); font-weight: 700; }
.card-acc-body .btn { margin-top: auto; }

.cards-note {
    margin-top: var(--space-lg); padding: var(--space-md);
    background: white; border-radius: var(--radius-md);
    border-left: 4px solid var(--color-bleu-lagon);
    text-align: center; font-size: 1rem; color: var(--color-anthracite);
}

/* POINTS FORTS */
.section-features { background: var(--color-blanc-chaud); }
.features-grid {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-md);
}
.feature-item {
    background: white; padding: var(--space-md); border-radius: var(--radius-md);
    text-align: center; box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-border);
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 2.5rem; margin-bottom: var(--space-sm); }
.feature-item h3 { font-size: 1.1rem; color: var(--color-bleu-profond); margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.9rem; color: var(--color-text-light); margin: 0; }

/* GALERIE — onglets par logement */
.section-gallery { background: var(--color-sable-clair); }

.gallery-tabs {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-border);
}
.gallery-tab {
    background: transparent; border: 2px solid transparent;
    color: var(--color-text-light); font-family: var(--font-texte);
    padding: 0.65rem 1.1rem; border-radius: 999px;
    cursor: pointer; font-size: 0.95rem; font-weight: 600;
    transition: all var(--transition);
}
.gallery-tab span { font-weight: 400; opacity: 0.75; font-size: 0.85rem; }
.gallery-tab:hover { color: var(--color-bleu-profond); background: rgba(255,255,255,0.5); }
.gallery-tab.is-active {
    background: var(--color-bleu-profond); color: white;
    border-color: var(--color-bleu-profond);
}

.gallery-panel { display: none; }
.gallery-panel.is-active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.gallery-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xs);
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
    aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius-sm);
    cursor: pointer; border: none; padding: 0; background: var(--color-border);
    position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img, .gallery-item:focus img { transform: scale(1.08); }
.gallery-tag {
    position: absolute; bottom: 0.5rem; left: 0.5rem;
    background: rgba(10, 77, 104, 0.9); color: white;
    padding: 0.2rem 0.55rem; border-radius: var(--radius-sm);
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
}

.gallery-cta { text-align: center; margin-top: var(--space-lg); }

/* LIGHTBOX */
.lightbox {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.92);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    padding: var(--space-md);
}
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; background: rgba(255, 255, 255, 0.15); color: white;
    border: 2px solid rgba(255, 255, 255, 0.3); width: 48px; height: 48px;
    border-radius: 50%; cursor: pointer; font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.25); transform: scale(1.05); }
.lightbox-close { top: 1rem; right: 1rem; font-size: 1.75rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-caption {
    position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    color: white; text-align: center; max-width: 80%;
    background: rgba(0, 0, 0, 0.5); padding: 0.5rem 1rem;
    border-radius: var(--radius-sm); font-size: 0.9rem;
}

/* VIDEO + MATTERPORT */
.video-wrapper, .matterport-wrapper {
    position: relative; aspect-ratio: 16/9;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md); background: var(--color-bleu-profond);
}
.video-wrapper iframe, .matterport-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.consent-block {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(10, 77, 104, 0.92) 0%, rgba(42, 157, 143, 0.92) 100%);
    color: white; text-align: center;
}
.consent-block-content { max-width: 480px; }
.consent-block-content h3 { color: white; margin-bottom: var(--space-sm); }
.consent-block-content p { margin-bottom: var(--space-md); opacity: 0.95; }
.consent-block .btn { margin: 0.25rem; }
.consent-block .btn-link { color: white; opacity: 0.8; }
.consent-block .btn-link:hover { opacity: 1; color: white; }

/* LOCALISATION */
.section-location { background: var(--color-blanc-chaud); }
.location-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
@media (min-width: 768px) { .location-grid { grid-template-columns: 1fr 1fr; } }
.location-text h3 { margin-top: var(--space-md); font-size: 1.2rem; }
.location-list { list-style: none; padding: 0; margin: 0 0 var(--space-md); }
.location-list li {
    padding: 0.6rem 0; border-bottom: 1px solid var(--color-border);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.location-list li:last-child { border-bottom: none; }
.location-buttons { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.location-map {
    aspect-ratio: 4/3; border-radius: var(--radius-lg);
    overflow: hidden; position: relative; background: var(--color-bleu-profond);
    box-shadow: var(--shadow-md);
}
.location-map iframe { width: 100%; height: 100%; border: 0; }

/* AVIS */
.section-reviews { background: var(--color-sable-clair); }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
    background: white; padding: var(--space-md); border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); margin: 0;
    border-left: 4px solid var(--color-bleu-lagon); position: relative;
    display: flex; flex-direction: column;
}
.review-card::before {
    content: "“"; font-family: var(--font-titre); font-size: 4rem;
    color: var(--color-bleu-clair); position: absolute; top: -0.5rem; left: 0.5rem;
    line-height: 1; opacity: 0.4;
}
.review-card p { margin: 0 0 var(--space-sm); font-style: italic; color: var(--color-anthracite); position: relative; flex: 1; }
.review-source {
    margin-top: auto; font-size: 0.8rem; color: var(--color-text-light);
    font-style: normal; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; padding-top: var(--space-xs);
    border-top: 1px solid var(--color-border);
}
.reviews-source { text-align: center; margin-top: var(--space-lg); color: var(--color-text-light); font-size: 0.9rem; font-style: italic; }

/* CTA */
.section-cta {
    background: linear-gradient(135deg, var(--color-bleu-profond) 0%, var(--color-bleu-lagon) 100%);
    color: white; text-align: center;
}
.section-cta h2 { color: white; }
.section-cta > .container > p { font-size: 1.15rem; max-width: 600px; margin: 0 auto var(--space-lg); }

.cta-listings {
    display: grid; grid-template-columns: 1fr; gap: var(--space-md);
    margin-bottom: var(--space-lg);
}
@media (min-width: 640px) { .cta-listings { grid-template-columns: repeat(3, 1fr); } }

.cta-listing {
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-md); border-radius: var(--radius-md);
    display: flex; flex-direction: column; gap: var(--space-xs);
    transition: transform var(--transition);
}
.cta-listing:hover { transform: translateY(-4px); }
.cta-listing h3 { color: white; margin: 0; font-size: 1.15rem; }
.cta-listing p { color: rgba(255, 255, 255, 0.85); margin: 0 0 var(--space-sm); font-size: 0.95rem; }
.cta-listing-featured { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.4); }
.cta-listing .btn { margin-top: auto; }

.cta-buttons { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }
.section-cta .btn-outline { color: white; border-color: white; }
.section-cta .btn-outline:hover { background: white; color: var(--color-bleu-profond); }

/* FOOTER */
.site-footer { background: var(--color-anthracite); color: #cbd0d3; padding: var(--space-xl) 0 var(--space-md); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); margin-bottom: var(--space-xl); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer h3 { color: white; font-size: 1.05rem; margin-bottom: var(--space-sm); font-family: var(--font-texte); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 0.3rem 0; }
.site-footer a { color: #cbd0d3; }
.site-footer a:hover { color: white; }
.footer-logo { height: 50px; width: auto; margin-bottom: var(--space-sm); filter: brightness(0) invert(1); }
.footer-cookies-btn {
    background: none; border: none; color: #cbd0d3;
    cursor: pointer; font: inherit; padding: 0;
    text-align: left; text-decoration: underline;
}
.footer-cookies-btn:hover { color: white; }
address { font-style: normal; }

.footer-feder { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: var(--space-md) 0; margin-bottom: var(--space-md); text-align: center; }
.footer-feder-logos { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; align-items: center; margin-bottom: var(--space-md); }
.footer-feder-logos img { height: 60px; width: auto; background: white; padding: 0.5rem; border-radius: var(--radius-sm); }
.footer-feder-text { font-size: 0.85rem; max-width: 800px; margin: 0 auto; line-height: 1.6; color: #aab2b6; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: var(--space-md);
    display: flex; flex-wrap: wrap; justify-content: space-between;
    gap: var(--space-sm); font-size: 0.85rem; color: #aab2b6;
}
.footer-bottom p { margin: 0; }
.footer-credits { font-size: 0.8rem; color: #8d959a; }
.footer-credits a { color: #aab2b6; text-decoration: underline; }
.footer-credits a:hover { color: white; }
.footer-credits-sep { margin: 0 0.4rem; opacity: 0.5; }

/* COOKIE MODAL */
.cookie-modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: var(--space-md); }
.cookie-modal[hidden] { display: none; }
.cookie-modal-overlay { position: absolute; inset: 0; background: rgba(10, 77, 104, 0.75); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cookie-modal-content {
    position: relative; background: white; max-width: 600px; width: 100%;
    max-height: 90vh; overflow-y: auto; border-radius: var(--radius-lg);
    padding: var(--space-lg); box-shadow: var(--shadow-lg);
}
.cookie-modal-content h2 { margin-bottom: var(--space-sm); font-size: 1.5rem; }

.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }
.cookie-actions-main { justify-content: stretch; }
.cookie-actions-main .btn { flex: 1 1 200px; }
.cookie-actions-save { margin-top: var(--space-md); justify-content: flex-end; }

.cookie-settings {
    margin-top: var(--space-md); padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}
.cookie-settings-intro {
    font-weight: 600; color: var(--color-bleu-profond);
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
}
.cookie-category {
    border: 1px solid var(--color-border); border-radius: var(--radius-md);
    padding: var(--space-sm); margin-bottom: var(--space-sm);
    background: var(--color-blanc-chaud);
}
.cookie-category legend { font-weight: 600; color: var(--color-bleu-profond); padding: 0 0.5rem; }
.cookie-category p { font-size: 0.9rem; margin-bottom: var(--space-sm); color: var(--color-text-light); }
.cookie-toggle { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; user-select: none; font-size: 0.95rem; }
.cookie-toggle.disabled { cursor: not-allowed; opacity: 0.7; }
.cookie-toggle input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; accent-color: var(--color-bleu-lagon); }

/* PAGES LÉGALES */
.legal-page { padding: var(--space-xl) 0; background: var(--color-blanc-chaud); min-height: 60vh; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { color: var(--color-bleu-profond); margin-bottom: var(--space-lg); }
.legal-page h2 { font-size: 1.4rem; margin-top: var(--space-lg); margin-bottom: var(--space-sm); color: var(--color-bleu-profond); }
.legal-page h3 { font-size: 1.15rem; margin-top: var(--space-md); }
.legal-page p, .legal-page li { font-size: 1rem; line-height: 1.7; }
.legal-page ul { padding-left: 1.5rem; }
.legal-page ul li { padding: 0.25rem 0; }

/* UTILITAIRES */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important; scroll-behavior: auto !important;
    }
}

/* =========================================================
   AJOUTS LELALEU — Logo texte, hero 6 boutons, logos institutionnels
========================================================= */

/* Logo header avec texte LELALEU */
.logo-link-with-text {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.logo-link-with-text .logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-titre);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
}

.logo-text-header {
    color: var(--color-bleu-profond);
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.logo-text-footer {
    color: var(--color-blanc-pur);
    font-size: 1.6rem;
}

/* Footer logo + texte */
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-sm);
}

.footer-logo-link:hover .logo-text-footer {
    color: var(--color-bleu-clair);
}

.footer-logo-link .footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 0;
    filter: brightness(0) invert(1);
}

/* Hero : 6 boutons centrés et symétriques */
.hero-content {
    max-width: 920px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    justify-content: center;
}

.hero-buttons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    justify-content: center;
    align-items: center;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons-grid .btn {
    width: 100%;
    min-width: 0;
}

@media (min-width: 640px) {
    .hero-buttons-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (min-width: 992px) {
    .hero-buttons-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
}

/* Logos Région / Union Européenne centrés et cliquables */
.footer-feder-logos-centered {
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
}

.footer-feder-logos-centered a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.footer-feder-logos-centered a:hover,
.footer-feder-logos-centered a:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.footer-feder-logos-centered img {
    height: 60px;
    width: auto;
    background: transparent;
    padding: 0;
}

/* Correction : éviter double fond blanc si les images sont dans des liens */
.footer-feder-logos a img {
    background: transparent;
}

/* Responsive mobile : logo texte moins envahissant */
@media (max-width: 420px) {
    .logo-text-header {
        font-size: 1.15rem;
        letter-spacing: 0.05em;
    }

    .logo-link-with-text .logo-img {
        height: 42px;
    }

    .footer-logo-link .footer-logo {
        height: 42px;
    }

    .logo-text-footer {
        font-size: 1.25rem;
    }
}

.legal-feder-block {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.legal-feder-block p {
    max-width: 760px;
    margin: var(--space-sm) auto 0;
    color: var(--color-text);
}