:root {
    --primary: #2d3e33; /* Vert foncé */
    --accent: #d7c5b4;  /* Beige/Doré bouton */
    --bg-light:#f8f4f0; /* Fond crème */
    --white: #FFFDFA;
    --text-body: #333333;
    --radius: 20px; /* Augmenté pour plus de douceur */
    --transition: all 0.3s ease;

    --color-primary: #16182d;
    --color-secondary: #f8f4f0;
    --color-text-dark: #000000;
    --color-text-light: #ffffff;
    --color-beige: #d7c5b4;
    --color-brown: #905542;
    --color-blue: #2a467b;
    --bs-border-width: 0px !important;
}

/* BlackMango - Intégration complète */

/* Thin */
@font-face {
  font-family: 'BlackMangoThin';
  src: url('/assets/webfonts/BlackMango-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* ExtraLight */
@font-face {
  font-family: 'BlackMangoExtraLight';
  src: url('/assets/webfonts/BlackMango-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* Light */
@font-face {
  font-family: 'BlackMangoLight';
  src: url('/assets/webfonts/BlackMango-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Regular */
@font-face {
  font-family: 'BlackMango';
  src: url('/assets/webfonts/BlackMango-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: 'BlackMangoMedium';
  src: url('/assets/webfonts/BlackMango-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: 'BlackMangoSemiBold';
  src: url('/assets/webfonts/BlackMango-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'BlackMangoBold';
  src: url('/assets/webfonts/BlackMango-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ExtraBold */
@font-face {
  font-family: 'BlackMangoExtraBold';
  src: url('/assets/webfonts/BlackMango-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Black */
@font-face {
  font-family: 'BlackMangoBlack';
  src: url('/assets/webfonts/BlackMango-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}



@font-face {
  font-family: 'Outfit';
  src: url('/assets/webfonts/Outfit-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900; /* Gère toutes les graisses de 100 à 900 */
  font-style: normal;
  font-display: swap;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    display: block !important;
}

h1, h2, h3, .brand-font {
      font-family: "BlackMangoExtraBold", serif;
      color: var(--text-body);
}

.blog-info h3{
    color: var(--white);
}
/* --- Layout --- */
.container {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 80px 0; /* Plus d'espace vertical */
}

/* --- Top Bar --- */
.top-bar {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    font-size: 12px;
    padding: 10px 20px;
    font-weight: 500;
}

/* --- Header --- */
header {
    background: var(--bg-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    -webkit-box-shadow: 0px 2px 20px -6px #000000;
    box-shadow: 0px 2px 20px -6px #000000;
}

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

.logo img { height: 40px; }

.nav-links { display: none; } /* Mobile first: caché par défaut */

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* Augmentation de la spécificité (0-0-2-0) pour surcharger les autres border-radius */
.br-1.br-1 { border-radius: 75px 10px 100px 10px; }
.br-2.br-2 { border-radius: 75px 10px 10px 10px; }

/* --- Specific Image Styles --- */
/* Hero Image Shape */
.hero-image-shape {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1/1;
}


 .habitatsimpli {
            background-color: #ffffff;
            margin: 0;
            padding: 40px 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        .section-wrapper {
            background-color: var(--color-secondary);
            max-width: 1200px;
            width: 100%;
            padding: 80px 40px;
            border-radius: 0 100px 0 100px; /* Coins arrondis haut-droit et bas-gauche */
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
            text-align: center;
        }

        .title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 70px;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 60px 20px;
        }

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

        .icon-wrapper {
            width: 50px;
            height: 50px;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .icon-wrapper svg {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .item-title {
            font-weight: 700;
            font-size: 1rem;
            color: var(--text-dark);
            margin-bottom: 12px;
        }

        .item-desc {
            font-size: 0.85rem;
            line-height: 1.6;
            color: var(--text-body);
            max-width: 180px;
        }

        /* Responsive */
        @media (max-width: 1100px) {
            .grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .section-wrapper {
                padding: 60px 30px;
                border-radius: 0 60px 0 60px;
            }
            .grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .card-tags > span { font-size: 0.6em  !important; }
        }

        @media (max-width: 480px) {
            /* .grid {
                grid-template-columns: 1fr;
            } */
            .section-wrapper {
                padding: 50px 20px;
            }
        }




/* ============================================================
   SECTION TÉMOIGNAGES (dynamique + typewriter)
   Remplace le bloc CSS existant .section-avis / .avis-* par celui-ci
   ============================================================ */
.section-avis { padding: 80px 0; }

.avis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.avis-card {
    background: var(--bg-light);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    height: 320px; /* hauteur fixe : ajuste cette valeur à ton design */
    overflow: hidden;
}

.avis-card.avis-hidden { display: none; }

/* Radius asymétriques Figma */
.avis-r1 { border-radius: 10px 100px 10px 10px; }
.avis-r2 { border-radius: 10px 10px 100px 20px; }
.avis-r3 { border-radius: 10px 100px 100px 10px; }
.avis-r4 { border-radius: 10px 10px 10px 100px; }

.avis-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.avis-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Avatar généré (initiales) utilisé quand aucune image n'est fournie pour l'avis */
.avis-avatar-initials {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: #fff;
    background: #1b1918;
}

.avis-name {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1b1918;
}

/* Zone de texte scrollable : hauteur du .avis-card fixe, contenu qui dépasse -> ascenseur */
.avis-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;                          /* Firefox */
    scrollbar-color: rgba(27, 25, 24, .25) transparent; /* Firefox */
}

.avis-body::-webkit-scrollbar { width: 6px; }
.avis-body::-webkit-scrollbar-track { background: transparent; }
.avis-body::-webkit-scrollbar-thumb {
    background: rgba(27, 25, 24, .25);
    border-radius: 3px;
}
.avis-body::-webkit-scrollbar-thumb:hover {
    background: rgba(27, 25, 24, .45);
}

.avis-card p {
    font-size: 16px;
    font-weight: 500;
    color: #1b1918;
    line-height: 1.6;
    margin: 0;
}

/* Curseur clignotant pendant la frappe (effet machine à écrire) */
.avis-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    vertical-align: text-bottom;
    background: currentColor;
    margin-left: 2px;
    animation: avisBlink .8s steps(1) infinite;
}

@keyframes avisBlink {
    50% { opacity: 0; }
}

/* ============================================================
   SECTION BLOG
   ============================================================ */
.section-blog { padding: 80px 0; }

.blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Rangée 1 : 3 colonnes égales */
.blog-row-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* Rangée 2 : 2 colonnes (large + normal) */
.blog-row-bottom {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}


.blog-row-bottom > article:first-child{
   border-radius: 10px 10px 10px 100px;
}



.blog-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.blog-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.blog-card:hover img { transform: scale(1.04); }

/* Radius Figma sur chaque article */
.blog-card-r1 { border-radius: 100px 10px 10px 10px; }
.blog-card-r1 img { border-radius: 100px 10px 10px 10px; }

.blog-card-r2 { border-radius: 10px; }
.blog-card-r2 img { border-radius: 10px; }

.blog-card-r3 { border-radius: 10px 100px 10px 10px; }
.blog-card-r3 img { border-radius: 10px 100px 10px 10px; }

.blog-card-r4 { border-radius: 10px 10px 100px 10px; }
.blog-card-r4 img { border-radius: 10px 10px 100px 10px; }

.blog-card-wide img { height: 340px; }

/* Overlay gradient + texte */
.blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.72) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px 28px;
    border-radius: inherit;
}

.tag-article {
    display: inline-block;
    background: #d7c5b4;
    color: #1b1918;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 14px;
    border-radius: 45px;
    margin-bottom: 10px;
    width: fit-content;
}

.blog-overlay h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
}

.blog-meta {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    opacity: 0.9;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: 45px;
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.15s;
    white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-beige { background: var(--accent); color: #1b1918; }
.btn-cream { background: var(--bg-light); color: #1b1918; }
.btn-outline { background: transparent; border: 1.5px solid #1b1918; color: #1b1918; }
.btn-sm { padding: 6px 20px; font-size: 15px; }

.section-white {
    background-color: var(--white);
}

.section-title {
    margin-bottom: 40px;
    font-size: 2.5rem; /* Titres plus grands */
}

.image-grid {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.image-grid img {
       justify-self: center;
       margin: 30px;
}

/* Fix: Equal height for location images */
.card-location .img-wrapper img {
    height: 250px;
}

/* --- Blog Header Layout --- */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

/* --- Cards (Témoignages / Blog) --- */
.card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

/* Testimonial specifics */
.testimonial {
    background-color: var(--bg-light); /* Beige background */
    position: relative;
    padding: 30px 20px;
}

.testimonial .user-info {
    margin-bottom: 15px;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    padding-right: 60px; /* Space for absolute image */
    display: block;
    min-height: 20px;
}

.testimonial .user-info img {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial p {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
}




/* --- Dropdown --- */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 8px;
    padding: 10px 0;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
    color: var(--primary);
    padding: 12px 16px;
    font-size: 0.85rem;
        display: flex;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
}

/* --- Image Cards with Tags --- */
.img-wrapper { position: relative; margin-bottom: 15px; }
.tag-float {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(45, 62, 51, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
}
.tag-date { left: auto; right: 10px; background: var(--white); color: var(--primary);}

.card-location { background: var(--bg-light); padding: 15px; border-radius: var(--radius); }
.card-location h3 { font-size: 1rem; margin: 15px 0; min-height: 50px; }



/* ============================================================
   SECTION FAQ
   ============================================================ */
.section-faq {
    background: var(--bg-light);
    padding: 80px 0;
    overflow: hidden;
}

.faq-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Groupe de 3 photos avec radius asymétriques Figma */
.faq-photos {
    position: relative;
    height: 540px;
}

.faq-img {
    position: absolute;
    object-fit: cover;
}

/* Image top-left : radius top-left:100px top-right:10px bottom-left:10px bottom-right:10px */
.faq-img-tl {
    width: 52%;
    height: 48%;
    top: 0;
    left: 0;
    border-radius: 100px 10px 10px 10px;
}

/* Image bottom-left : radius top-left:10px top-right:10px bottom-left:100px bottom-right:10px */
.faq-img-bl {
    width: 52%;
    height: 48%;
    bottom: 0;
    left: 0;
    border-radius: 10px 10px 100px 10px;
}

/* Image right tall : radius top-left:10px top-right:100px bottom-left:10px bottom-right:10px */
.faq-img-tr {
    width: 46%;
    height: 88%;
    top: 5%;
    right: 0;
    border-radius: 10px 100px 10px 10px;
}

/* Accordion */
.faq-accordion { padding-top: 8px; }

.faq-sub {
    font-size: 16px;
    color: #1b1918;
    margin-bottom: 28px;
    line-height: 1.6;
}

.accordion-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}


.accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1b1918;
    text-align: left;
    gap: 12px;
    transition: background 0.2s;
}
.accordion-btn:hover { background: var(--primary); color :rgb(250, 234, 204) }
.accordion-btn:hover > .accordion-icon {color :rgb(250, 234, 204)}

.accordion-icon {
    font-size: 22px;
    font-weight: 300;
    color: #334338;
    flex-shrink: 0;
    transition: transform 0.3s;
    line-height: 1;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
}

.accordion-content p {
    font-size: 15px;
    color: #444;
    line-height: 1.65;
    padding-bottom: 16px;
}

.accordion-item.open .accordion-content {
    max-height: 500px;
    padding: 4px 20px;
}

.accordion-item.open .accordion-btn {
    background: var(--primary);
    color: rgb(250, 234, 204);
}

.accordion-item.open .accordion-icon {
    transform: rotate(45deg);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.section-newsletter {
    background: #fff;
    padding: 80px 0;
    text-align: center;
}

.newsletter-inner h2 {
    font-family: 'BlackMango', 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight: 900;
    color: #1b1918;
    margin-bottom: 12px;
}

.newsletter-inner p {
    font-size: 17px;
    color: #1b1918;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    width: 380px;
    max-width: 100%;
    padding: 10px 20px;
    border-radius: 45px;
    border: 1.5px solid #1b1918;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: #555;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.newsletter-form input[type="email"]:focus { border-color: #334338; }



/* ============================================================
   BANDEAU CTA
   ============================================================ */
.section-bandeau {
    background: #fff;
    padding: 60px 0;
}

.bandeau-inner {
    background: var(--primary);
    /* radius Figma : top-left:100px top-right:10px bottom-left:10px bottom-right:100px */
    border-radius: 100px 10px 100px 10px;
    padding: 60px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.bandeau-inner h2 {
    font-family: 'BlackMango', 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight: 900;
    color: #fff;
}

.bandeau-inner p {
    font-size: 17px;
    color: #fff;
    opacity: 0.9;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #334338;
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 260px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    transition: background 0.2s;
}
.footer-socials a:hover { background: rgba(255,255,255,0.15); }

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col li, .footer-col a {
    list-style: none;
    font-size: 14px;
    color: rgba(255,255,255,0.72);
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-inner span {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}
.footer-legal a:hover { color: #fff; }


/* --- Responsive adjustments --- */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 30px;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--primary);
        font-size: 0.9rem;
    }

    .hero-flex {
        display: flex;
        align-items: center;
        gap: 50px;
    }

    .hero-flex > * { flex: 1; }

    .image-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* --- Footer --- */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 30px;
}


.footer-col a {
    color: var(--white);
    text-decoration: none;
    margin: 0 5px;
}


.pd-40 { padding: 40px; }
.color-2 { background: var(--bg-light); }





        .jussieu-gallery-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 15px;
            margin-top: 20px;
            height: 685px;
        }
        .jussieu-gallery-grid img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .img-main {
            grid-row: span 2;
            border-radius: 100px 10px 10px 10px;
            position: relative;
        }
        .img-main-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            grid-row: span 2;
        }
        .vv-btn-hero {
            position: absolute;
            bottom: 20px;
            left: 20px;
            z-index: 10;
            background: rgba(0,0,0,0.5);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 50px;
            font-family: 'Outfit', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }
        .vv-btn-hero:hover {
            background: rgba(0,0,0,0.7);
        }
        .img-top-mid { border-radius: 10px; }
        .img-top-right { border-radius: 10px 100px 10px 10px; }
        .img-bot-mid { border-radius: 10px 10px 100px 100px; }
        .img-bot-right { border-radius: 10px 10px 100px 10px; position: relative; }
        .img-bot-left { border-radius: 10px 10px 10px 100px; position: relative; }
        .img-diag { border-radius: 10px 100px 10px 100px; position: relative; }
        .image-grid .card{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}


        .gallery-overlay-btn {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-family: 'Outfit', sans-serif;
            font-size: 1.5rem;
            font-weight: 600;
            cursor: pointer;
            border-radius: 10px 10px 100px 10px;
            transition: background 0.3s;
        }
        .gallery-overlay-btn:hover { background: rgba(0,0,0,0.5); }

        .jussieu-header-actions {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .property-intro-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 60px;
            margin-top: 60px;
        }

        .inclus-card {
            background: var(--bg-light);
            border-radius: 10px;
            padding: 40px;
        }
        .inclus-white-box {
            background: white;
            border-radius: 10px;
            padding: 30px;
            margin: 25px 0;
        }
        .inclus-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .inclus-list li {
            font-family: 'Outfit', sans-serif;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .inclus-list li::before { content: '•'; color: #d7c5b4; font-weight: bold; }

        .rooms-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 40px;
        }
        .room-card {
            position: relative;
            background: var(--bg-light);
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s;
        }
        .room-card:hover { transform: translateY(-5px); }
        .room-card-image-container {
            position: relative;
            width: 100%;
            height: 370px;
            overflow: hidden;
            background: #f0f0f0;
        }
        .room-card-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.3s ease;
        }
        .room-card-image-container .room-photo-badge {
            position: absolute;
            bottom: 12px;
            left: 12px;
            background: rgba(0,0,0,0.6);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-family: 'Outfit', sans-serif;
            font-size: 0.75rem;
            font-weight: 600;
            z-index: 2;
        }
        .room-card-image-container .room-nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.8);
            border: none;
            color: #2d3e33;
            font-size: 1.5rem;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 3;
            transition: background 0.2s;
        }
        .room-card-image-container .room-nav-arrow:hover {
            background: rgba(255,255,255,0.95);
        }
        .room-card-image-container .room-nav-arrow.prev { left: 12px; }
        .room-card-image-container .room-nav-arrow.next { right: 12px; }
        .room-card-image-container:hover .room-nav-arrow {
            display: flex;
        }
        .room-card-body { padding: 30px; }
        .room-card-body h4 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; margin-bottom: 10px; }
        .room-card-body p { color: #666; margin-bottom: 15px; }
        .room-price { font-weight: bold; font-size: 1.2rem; margin-bottom: 20px; }

        .spaces-tabs-container {
            background: white;
            border-radius: 10px;
            box-shadow: 0 0 16px rgba(194,198,204,0.6);
            padding: 50px;
            margin-top: 40px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
        }
        .space-col h4 {
            font-family: 'Outfit', sans-serif;
            font-weight: 900;
            font-size: 1.2rem;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .space-col ul { list-style: none; padding: 0; }
        .space-col ul li { margin-bottom: 10px; line-height: 1.6; }

        .localisation-grid {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 60px;
            margin-top: 60px;
        }
        #map-jussieu {
            height: 610px;
            border-radius: 10px;
            filter: grayscale(100%) contrast(1.1);
        }

        .ratp-icons { display: flex; gap: 10px; margin-top: 10px; }
        .ratp-icons img { width: 40px; height: 40px; }

        /* --- MODALES V4 --- */
        .gallery-overlay, .vv-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.92);
            z-index: 9999;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .gallery-overlay.active, .vv-overlay.active { display: flex; }
        .gallery-close, .vv-close {
            position: absolute;
            top: 20px;
            right: 28px;
            background: none;
            border: none;
            color: #fff;
            font-size: 2.5rem;
            cursor: pointer;
            z-index: 10000;
        }
        .gallery-main {
            position: relative;
            width: 90vw;
            max-width: 900px;
            aspect-ratio: 16/10;
        }
        .gallery-main img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 16px;
        }
        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(6px);
            border: none;
            color: #fff;
            font-size: 1.6rem;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }
        .gallery-nav:hover { background: rgba(255,255,255,0.3); }
        .gallery-nav.prev { left: -24px; }
        .gallery-nav.next { right: -24px; }
        .gallery-counter {
            margin-top: 16px;
            color: rgba(255,255,255,0.7);
            font-family: 'Outfit', sans-serif;
            font-size: 0.9rem;
        }
        .gallery-thumbs {
            display: flex;
            gap: 10px;
            margin-top: 14px;
            overflow-x: auto;
            max-width: 90vw;
            padding-bottom: 4px;
        }
        .gallery-thumbs img {
            width: 80px;
            height: 56px;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            opacity: 0.5;
            transition: opacity 0.2s;
            flex-shrink: 0;
        }
        .gallery-thumbs img.active { opacity: 1; border: 2px solid #fff; }
        .vv-container {
            width: 90vw;
            max-width: 1000px;
            aspect-ratio: 16/9;
            border-radius: 16px;
            overflow: hidden;
            background: #111;
        }
        .vv-container iframe { width: 100%; height: 100%; border: none; }

        @media (max-width: 1024px) {
            .jussieu-gallery-grid { grid-template-columns: 1fr 1fr; height: auto; }
            .img-main { grid-column: span 2; height: 400px; }
            .property-intro-grid, .localisation-grid, .rooms-grid, .spaces-tabs-container { grid-template-columns: 1fr; }
              .main-content { grid-template-columns: 1fr; }
            .sidebar-cart { position: static; margin-top: 40px; }
     }






        /* ============================================================
   SECTION LIEUX DE VIE
   ============================================================ */

.section-lieux { padding: 80px 0; }

.cards-lieux {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.card-lieu {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-img-wrap {
    position: relative;
    flex-shrink: 0;
}

.card-img-wrap img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

.card-lieu-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    justify-content: space-between;
}

.card-lieu-body p {
    font-size: 16px;
    font-weight: 400;
    color: #1b1918;
    line-height: 1.5;
}


/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
    font-family: 'BlackMangoBold', 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    color: #16182d;
    line-height: 1.15;
    margin-bottom: 16px;
}



img {
    max-width: 100%;
    display: block;
}


/* ============================================================
   SECTION LIFESTYLE
   ============================================================ */
.section-lifestyle {
    background: var(--bg-light);
    padding: 80px 0;
}

.lifestyle-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

/* Image lifestyle : radius top-left:100px top-right:10px bottom-left:10px bottom-right:10px */
.lifestyle-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 100px 10px 10px 10px;
}

.lifestyle-text h2 {
    font-family: 'BlackMangoBold', 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    color: #1b1918;
    line-height: 1.15;
    margin-bottom: 24px;
}

.lifestyle-text p  , .hero-content p{
    font-size: 17px;
    color: #1b1918;
    margin-bottom: 16px;
    line-height: 1.65;
}

.lifestyle-text .btn { margin-top: 12px; }





/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }

    .hero-inner { gap: 40px; }
    .hero-img { height: 400px; }

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


    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

    .bandeau-inner { padding: 48px 48px; border-radius: 60px 10px 10px 60px; }

}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    /* Nav mobile */
    .burger { display: flex; }

    .lifestyle-inner {
    gap: 20px;
}

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-light);
        padding: 16px 20px 24px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        z-index: 200;
    }
    .nav-links.open { display: flex; }

    .nav-item {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.07);
        font-size: 16px;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding: 0 0 0 16px;
        display: block;
        background: transparent;
    }
    .dropdown-content a { padding: 8px 0; font-size: 14px; }

    /* Hero */
    .section-hero { padding: 48px 0 40px; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-img {
        height: 280px;
        border-radius: 60px 10px 10px 60px;
        order: -1;
    }
    .hero-text h1 { font-size: 30px; }
    .hero-sub { font-size: 16px; }

    /* Lieux */
    .section-lieux { padding: 48px 0; }
    .cards-lieux {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card-img-wrap img { height: 240px; }


    /* Bandeau */
    .section-bandeau { padding: 40px 0; }
    .bandeau-inner {
        border-radius: 40px;
        padding: 40px 28px;
    }
    .bandeau-inner h2 { font-size: 22px; }
    /* Blog */
    .section-blog { padding: 48px 0; }
    .blog-row-top,
    .blog-row-bottom {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .blog-card img,
    .blog-card-wide img { height: 260px; }
    /* Simplifier les radius sur mobile */
    .blog-card-r1, .blog-card-r1 img,
    .blog-card-r2, .blog-card-r2 img,
    .blog-card-r3, .blog-card-r3 img,
    .blog-card-r4, .blog-card-r4 img { border-radius: 20px; }

    /* Newsletter */
    .section-newsletter { padding: 48px 0; }
    .newsletter-form { flex-direction: column; align-items: stretch; }
    .newsletter-form input[type="email"] { width: 100%; }


    /* Footer */
    footer { padding: 48px 0 0; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-legal { flex-wrap: wrap; gap: 12px; }

    /* Témoignages */
    .section-avis { padding: 48px 0; }
    .avis-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    /* Simplifier les radius sur mobile */
    .avis-r1, .avis-r2, .avis-r3, .avis-r4 { border-radius: 20px; }

    /* FAQ */
    .section-faq { padding: 48px 0; }
    .faq-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq-photos { height: 320px; }
    .faq-img-tl, .faq-img-bl { width: 50%; height: 47%; }
    .faq-img-tr { width: 44%; height: 86%; }

    /* Newsletter */
    .section-newsletter { padding: 48px 0; }
    .newsletter-form { flex-direction: column; align-items: stretch; }
    .newsletter-form input[type="email"] { width: 100%; }

    /* Footer */
    footer { padding: 48px 0 0; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-legal { flex-wrap: wrap; gap: 12px; }

    .search-bar { flex-direction: column; border-radius: 20px; }
            .search-item { border-right: none; border-bottom: 1px solid #eee; width: 100%; }
            .btn-search { width: 100%; margin-top: 10px; }
            .apt-card { flex-direction: column; }
            .apt-img { width: 100%; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero-text h1 { font-size: 26px; }
    .section-title { font-size: 24px; }
    .btn { font-size: 15px; padding: 9px 22px; }
    .bandeau-inner { padding: 32px 20px; }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    .container { padding: 0 20px; }

    /* Nav mobile */
    .burger { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-light);
        padding: 16px 20px 24px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        z-index: 200;
    }
    .nav-links.open { display: flex; }

    .nav-item {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.07);
        font-size: 16px;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding: 0 0 0 16px;
        display: block;
        background: transparent;
    }
    .dropdown-content a { padding: 8px 0; font-size: 14px; }

    /* Hero */
    .section-hero { padding: 48px 0 40px; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-img {
        height: 280px;
        border-radius: 60px 10px 10px 60px;
        order: -1;
    }
    .hero-text h1 { font-size: 30px; }
    .hero-sub { font-size: 16px; }

    /* Lieux */
    .section-lieux { padding: 48px 0; }
    .cards-lieux {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card-img-wrap img { height: 240px; }

    /* Newsletter */
    .section-newsletter { padding: 48px 0; }
    .newsletter-form { flex-direction: column; align-items: stretch; }
    .newsletter-form input[type="email"] { width: 100%; }

    /* Footer */
    footer { padding: 48px 0 0; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-legal { flex-wrap: wrap; gap: 12px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero-text h1 { font-size: 26px; }
    .section-title { font-size: 24px; }
    .btn { font-size: 15px; padding: 9px 22px; }
    .bandeau-inner { padding: 32px 20px; }
}



/*

        .main-content {
            max-width: 1550px;
            margin: 80px 80px 0px 80px;
            display: grid;
            grid-template-columns: 1fr 488px;
            gap: 60px;
            align-items: start;
        }


                .address {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            margin-bottom: 30px;
        }

        .search-container {
            margin: 60px 0;
        }

                .search-bar {
            display: flex;
            align-items: center;
            background: #fff;
            border: 1px solid #eee;
            border-radius: 45px;
            padding: 5px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            position: relative;
        }



        .occupancy-dropdown {
            position: absolute;
            top: 110%;
            left: 0;
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            padding: 30px;
            width: 450px;
            z-index: 100;
            display: none;
        }

        .occupancy-dropdown.active { display: block; }


        .selector-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .selector-label {
            font-weight: 600;
            font-size: 18px;
        }

        .selector-label span {
            display: block;
            font-weight: 400;
            font-size: 12px;
            color: #666;
        }

        .counter-controls {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .btn-counter {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid #000;
            background: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
        }

        .multi-apt-controls {
            display: flex;
            gap: 40px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #eee;
        }

        .apt-col {
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: center;
        }

        .apt-badge {
            background: var(--accent);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
        }

        .apt-card {
            background: #fff;
            border: 1px solid #eee;
            border-radius: 10px;
            padding: 0;
            margin-bottom: 30px;
            display: flex;
            overflow: hidden;
            position: relative;
        }

        .apt-img {
            width: 300px;
            height: 236px;
            position: relative;
        }

        .apt-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .apt-info {
            padding: 25px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .apt-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
        }

        .apt-title h3 { font-size: 22px; font-weight: 700; margin-bottom: 5px; }
        .apt-specs { display: flex; gap: 15px; font-size: 14px; color: #666; }

        .apt-features {
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 14px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .apt-features li::before { content: "• "; color: #000; }

        .apt-price-action {
            margin-left: auto;
            text-align: right;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .price-tag { font-weight: 700; font-size: 18px; }
        .price-sub { font-size: 12px; color: #666; }

        .apt-btns {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }


         .btn-more {
            background: none;
            border: 1px solid #000;
            padding: 8px 20px;
            border-radius: 45px;
            cursor: pointer;
            font-family: 'Outfit', sans-serif;
        }

        .btn-choose {
            background: var(--accent);
            border: none;
            padding: 8px 25px;
            border-radius: 45px;
            font-weight: 600;
            cursor: pointer;
            font-family: 'Outfit', sans-serif;
        }


         .pricing-options {
            background: #fcfaf8;
            padding: 20px;
            border-top: 1px solid #eee;
            display: none;
        }

        .pricing-options.active { display: block; }

        .price-option {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            border: 1px solid #eee;
            border-radius: 10px;
            margin-bottom: 15px;
            background: #fff;
            cursor: pointer;
        }

        .price-option.selected { border-color: var(--beige-accent); background: #fffcf9; }

        .option-info h4 { font-weight: 700; margin-bottom: 5px; }
        .option-info p { font-size: 12px; color: #666; max-width: 400px; }
        .sidebar-cart {
            background: var(--beige-bg);
            border-radius: 10px;
            padding: 30px;
            position: sticky;
            top: 100px;
        }



        .cart-title {
            font-family: 'Outfit', sans-serif;
            font-size: 35px;
            font-weight: 900;
            margin-bottom: 30px;
        }

        .cart-dates {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
            font-size: 16px;
        }

        .cart-summary-text {
            font-size: 16px;
            text-decoration: underline;
            margin-bottom: 30px;
            display: block;
        }

        .cart-item {
            background: #fff;
            border-radius: 10px;
            padding: 10px;
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }

        .cart-item-img { width: 128px; height: 107px; border-radius: 10px; object-fit: cover; }
        .cart-item-info h4 { font-weight: 900; font-size: 20px; margin-bottom: 5px; }
        .cart-item-info p { font-size: 14px; line-height: 1.4; }

        .cart-total {
            border-top: 1px solid #ddd;
            padding-top: 20px;
            margin-top: 20px;
        }

        .total-row {
            display: flex;
            justify-content: space-between;
            font-weight: 700;
            font-size: 18px;
            margin-bottom: 5px;
        }

        .total-sub { font-size: 13px; color: #666; margin-bottom: 30px; }

        .btn-reserve {
            width: 100%;
            background: var(--beige-accent);
            border: none;
            padding: 15px;
            border-radius: 45px;
            font-weight: 600;
            font-size: 20px;
            cursor: pointer;
            font-family: 'Outfit', sans-serif;
        }

        .payment-icons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
            justify-content: center;
        }

        .weather-widget {
            background: var(--beige-bg);
            border-radius: 10px;
            padding: 25px;
            margin-top: 30px;
        }

        .weather-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
        .weather-header h3 { font-size: 22px; font-weight: 700; }

        .weather-main { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
        .temp-big { font-size: 32px; font-weight: 700; }

        .forecast-row {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            margin-bottom: 10px;
        }

        .btn-weather-more {
            width: 100%;
            background: var(--primary-green);
            color: #fff;
            border: none;
            padding: 10px;
            border-radius: 5px;
            margin-top: 15px;
            cursor: pointer;
        }

        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            overflow-y: auto;
            padding: 40px;
        }

        .modal-content {
            background: #fff;
            width: 100%;
            max-width: 900px;
            border-radius: 20px;
            position: relative;
            padding: 0;
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 30px;
            cursor: pointer;
            z-index: 10;
        }

        .modal-hero {
            width: 100%;
            height: 400px;
            position: relative;
        }

        .modal-hero img { width: 100%; height: 100%; object-fit: cover; }

        .modal-body { padding: 40px; }

        .modal-title { font-family: 'Outfit', sans-serif; font-size: 30px; font-weight: 900; margin-bottom: 10px; }
        .modal-specs { display: flex; gap: 20px; color: #666; margin-bottom: 30px; }

        .modal-desc { font-size: 18px; line-height: 1.6; margin-bottom: 40px; }

        .equip-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }

        .equip-cat h4 { font-weight: 700; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
        .equip-list { list-style: none; padding: 0; }
        .equip-list li { margin-bottom: 8px; font-size: 15px; }
        .equip-list li::before { content: "• "; }
 */


 .flags{
    margin-right: 5px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}



.about-section a {color: var(--color-blue);    font-weight: 500;}
.about-section p {padding:10px}
.about-section ul li{text-decoration: none;padding-left:10px; list-style: none;}
.about-section ul li::before {text-decoration;none;text-decoration: none;padding: 20px;content: "⟢";}


.accent{background-color: var(--bg-light);}
.mt-2{margin-top: 20px;}
.mb-2{margin-bottom: 20px;}

.modal-content{ position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);}


.r-16-9{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


.show{
    display: block !important;
}

.article-body p a:-webkit-any-link {
    color: black;
    text-decoration-color: #a37e5287;
    text-decoration-thickness: 3px;
}


.localisation-section .loc-info table {
    width: 100%;
    border-collapse: collapse;
}

.localisation-section .loc-info table td {
    vertical-align: top;
    width: 50%;
    padding-right: 40px;
}

.localisation-section .loc-info h4 {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 20px;
}

.localisation-section .loc-info td:first-child p{
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.localisation-section .loc-info p {
    font-size: 18px;
    margin-bottom: 15px;
    gap: 10px;
}

.localisation-section .loc-info img {
    width: 20px;
    height: auto;
}

.loc-info table { width: 100% !important; border-collapse: collapse !important; }

.loc-info p {
    margin: 0 !important;
    align-items: center !important;
}

/* On force l'alignement des images */
.loc-info img { vertical-align: middle !important; margin-right: 10px !important; }



.sidebar-cart {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    /* max-height: calc(100vh - 40px); */
    overflow-y: auto;
}


.intro-text h3{font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 600; margin-bottom: 30px;}
.container p a {color:black; text-decoration:none; font-weight:700}




.card-tags {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 2;
}



.tag-type {
    position: static;
    top: auto;
    left: auto;
    padding: 4px 12px;
    border-radius: 45px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: #fff;
}
.tag-blue  { background: #2a467b; }
.tag-brown { background: #905542; }
.tag-green { background: #334338; }

.tag-date {
    position: static;
    top: auto;
    left: auto;
    padding: 4px 12px;
    border-radius: 45px;
    background: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1b1918;
}


/*
Blog
 */
 .mobile-toc-sticky {
            display: none;
            /* Caché par défaut */
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            overflow: hidden;
            border: 1px solid #eee;
            transition: all 0.3s ease;
        }

        .mobile-toc-header {
            padding: 12px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            background: linear-gradient(135deg, #C9B5A0 0%, #D4C4B0 100%);
            font-size: 14px;
            font-weight: 600;
            color: #1b1918;
        }

        .mobile-toc-arrow {
            transition: transform 0.3s ease;
        }

        .mobile-toc-sticky.open .mobile-toc-arrow {
            transform: rotate(180deg);
        }

        .mobile-toc-content {
            max-height: 0;
            overflow-y: auto;
            background: #fdfdfd;
            transition: max-height 0.3s ease;
            border-top: 1px solid #eee;
        }

        .mobile-toc-sticky.open .mobile-toc-content {
            max-height: 300px;
            padding: 10px 0;
        }

        .mobile-toc-content a {
            display: block;
            padding: 10px 20px;
            font-size: 13px;
            color: #666;
            text-decoration: none;
            border-bottom: 1px solid #f5f5f5;
        }

        .mobile-toc-content a.active {
            color: #A37E52;
            background: #f9f5f0;
            font-weight: 700;
        }

        @media (max-width: 1024px) {
            .mobile-toc-sticky {
                display: block;
            }
        }







        /* ============================================================
           HERO SECTION - REDESIGNED
        ============================================================ */
        .hero-section {
            padding: 40px 20px;
        }

        .hero-wrapper {
            max-width: 1200px;
            max-height: 50vh;
            margin: 0 auto;
            position: relative;
        }

        .hero-image-container {
            position: relative;
            /* Suppression de overflow: hidden pour permettre le débordement du titre */
            margin-bottom: 0;
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
            border-radius: 24px;
            max-height: 50vh;
        }

        .hero-image-container img {
            display: block;
            width: 100%;
            max-height: 50vh;
            object-fit: cover;
            /* L'arrondi est appliqué ici pour compenser le retrait du overflow: hidden sur le parent */
            border-radius: 24px;
        }

        .hero-title-overlay {
            position: absolute;
            bottom: -30px;
            /* Empiète sur la section du bas */
            left: 40px;
            background: white;
            padding: 30px 40px;
            border-radius: 12px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
            max-width: 550px;
            z-index: 10;
        }

        /* Ajouter une marge en bas de la hero-section pour compenser le débordement */
        .hero-section {
            padding: 40px 20px 70px 20px;
        }

        .hero-title-overlay h1 {
            font-size: 24px;
            font-weight: 700;
            color: #1b1918;
            margin-bottom: 8px;
        }

        .hero-title-overlay p {
            font-size: 12px;
            color: #666;
            margin: 0;
        }

        @media (max-width: 768px) {
            .hero-title-overlay {
                max-width: 100%;
                margin: 15px;
                padding: 15px 20px;
            }

            .hero-title-overlay h1 {
                font-size: 20px;
            }
        }

        /* ============================================================
           BREADCRUMB
        ============================================================ */
        .article-breadcrumb {
            display: flex;
            gap: 8px;
            align-items: center;
            font-size: 1.1rem;
            color: #666;
            margin: 30px 0 20px 0;
            flex-wrap: wrap;
        }

        .article-breadcrumb a {
            color: var(--color-text-dark);
            text-decoration: underline;
            transition: color 0.3s;
            font-weight: 800;
        }

        .article-breadcrumb a:hover {
            color: #005f87;
            text-decoration: underline;
        }

        .article-breadcrumb .sep {
            color: #ccc;
        }

        .article-breadcrumb .current {
            color: #333;
            font-weight: 600;
        }

        /* ============================================================
           ARTICLE LAYOUT - 2 COLUMNS
        ============================================================ */
        .article-layout {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            margin-bottom: 60px;
        }

        .article-main {
            min-width: 0;
        }

        /* ============================================================
           ARTICLE HEADER
        ============================================================ */
        .article-header {
            margin-bottom: 30px;
        }

        .article-header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1b1918;
            line-height: 1.2;
            margin-bottom: 15px;
        }

        .article-intro {
            font-size: 1.1rem;
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .article-cats {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .article-cat-tag {
            display: inline-block;
            background-color: #e8f0eb;
            color: #2d3e33;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            text-decoration: none;
            transition: background-color 0.3s;
        }

        .article-cat-tag:hover {
            background-color: #d0e5dd;
        }

        /* ============================================================
           ARTICLE META
        ============================================================ */
        .article-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 20px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            margin-bottom: 30px;
        }

        .article-meta-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #f0f0f0;
        }

        .article-meta-info {
            flex: 1;
        }

        .author-name {
            display: block;
            font-weight: 600;
            color: #1b1918;
            margin-bottom: 4px;
        }

        .article-date {
            display: flex;
            gap: 15px;
            font-size: 13px;
            color: #999;
        }

        .read-time {
            display: none;
        }

        @media (min-width: 768px) {
            .read-time {
                display: inline;
            }
        }

        /* ============================================================
           ARTICLE BODY
        ============================================================ */
        .article-body {
            line-height: 1.8;
            color: #424242;
        }

        .article-body h2 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #1b1918;
            margin-top: 40px;
            margin-bottom: 20px;
            line-height: 1.3;
        }

        .article-body h2:first-child {
            margin-top: 0;
        }

        .article-body h3 {
            font-size: 1.4rem;
            font-weight: 700;
            color: #1b1918;
            margin-top: 30px;
            margin-bottom: 15px;
        }

        .article-body p {
            margin-bottom: 18px;
            font-size: 1.2rem;
        }

        /* ============================================================
           IMAGES - ASYMÉTRIQUES AVEC OMBRES
        ============================================================ */
        .article-body img {
            max-width: 100%;
            height: auto;
            border-radius: 24px 150px 8px 8px;
            margin: 30px 0;
            display: block;
            box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
            object-fit: cover;
        }

        .article-body ul,
        .article-body ol {
            margin-bottom: 20px;
            padding-left: 25px;
        }

        .article-body li {
            margin-bottom: 10px;
            line-height: 1.8;
        }

        /* ============================================================
           BLOCKQUOTE - CONSEIL PRATIQUE (Badge Style)
        ============================================================ */
        .article-body blockquote {
            background-color: #FDF7F2;
            /* Fond crème très clair */
            padding: 25px;
            margin: 40px 0;
            border-radius: 12px;
            font-size: 1rem;
            line-height: 1.7;
            position: relative;
            border: none;
        }

        .article-body blockquote::before {
            content: "💡 Conseil pratique";
            display: inline-flex;
            align-items: center;
            background-color: #E6D5C3;
            /* Couleur beige du badge */
            color: #1b1918;
            font-size: 13px;
            font-weight: 600;
            padding: 6px 18px 6px 12px;
            border-radius: 20px;
            margin-bottom: 15px;
            position: relative;
            left: 0;
            top: 0;
        }

        /* Masquer le strong s'il est déjà présent pour éviter les doublons */
        .article-body blockquote strong:first-child {
            display: none;
        }

        .article-body blockquote p {
            margin: 0;
            color: #1b1918;
            font-weight: 400;
        }

        /* ============================================================
           ARTICLE TAGS
        ============================================================ */
        .article-tags {
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid #eee;
        }

        .article-tags-label {
            font-weight: 600;
            color: #1b1918;
            margin-bottom: 15px;
            display: block;
            font-size: 0.95rem;
        }

        .article-tag {
            display: inline-block;
            background-color: var(--accent);
            color: var(--color-text-dark);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            text-decoration: none;
            margin-right: 8px;
            margin-bottom: 8px;
            transition: all 0.3s;
            border: 1px solid #e0e0e0;
        }

        .article-tag:hover {
            background-color: #e8e8e8;
            border-color: #d0d0d0;
        }

        /* ============================================================
           SIDEBAR STICKY
        ============================================================ */
        .article-sidebar {
            position: sticky;
            top: 100px;
            height: fit-content;
        }

        .sidebar-block {
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .sidebar-block-title {
            font-size: 0.95rem;
            font-weight: 700;
            color: #1b1918;
            margin-bottom: 15px;
            display: block;
        }

        /* Sommaire */
        .sidebar-toc {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sidebar-toc li {
            margin-bottom: 0;
        }

        .sidebar-toc a {
            display: block;
            padding: 8px 0;
            font-size: 13px;
            color: #666;
            text-decoration: none;
            border-left: 3px solid transparent;
            padding-left: 12px;
            transition: all 0.3s ease;
            line-height: 1.5;
        }

        .sidebar-toc a:hover {
            color: #D7C5B4;
        }

        .sidebar-toc a.active {
            background-color: var(--accent);
            font-weight: 600;
            border-left-color: #A37E52;
        }

        /* ============================================================
           NEWSLETTER - INTÉGRÉE
        ============================================================ */
        .sidebar-newsletter-block {
            background: linear-gradient(135deg, #C9B5A0 0%, #D4C4B0 100%);
            border: none;
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 20px;
            color: #1b1918;
        }

        .sidebar-newsletter-block .sidebar-block-title {
            color: #1b1918;
            margin-bottom: 10px;
            font-size: 1rem;
        }

        .sidebar-newsletter-text {
            font-size: 13px;
            color: #1b1918;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .sidebar-newsletter-form {
            display: flex;
            gap: 0;
            background-color: white;
            border-radius: 25px;
            padding: 4px;
            align-items: center;
        }

        .sidebar-newsletter-form input {
            flex: 1;
            padding: 10px 16px;
            border: none;
            background: transparent;
            font-size: 13px;
            outline: none;
        }

        .sidebar-newsletter-form input::placeholder {
            color: #999;
        }

        .sidebar-newsletter-form button {
            padding: 10px 20px;
            background-color: #1b1918;
            color: white;
            border: none;
            border-radius: 20px;
            font-weight: 600;
            font-size: 13px;
            cursor: pointer;
            transition: background-color 0.3s;
            white-space: nowrap;
            margin-left: -24px;
        }

        .sidebar-newsletter-form button:hover {
            background-color: #0f0f0f;
        }

        /* Partage */
        .sidebar-share-label {
            display: block;
            font-size: 12px;
            color: #666;
            margin-bottom: 12px;
        }

        .sidebar-share {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .sidebar-share-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: #f0f0f0;
            color: #666;
            text-decoration: none;
            transition: all 0.3s;
            border: 1px solid #e0e0e0;
        }

        .sidebar-share-btn:hover {
            background-color: #A37E52;
            color: white;
            border-color: #A37E52;
        }

        .sidebar-share-btn svg {
            width: 18px;
            height: 18px;
        }

        /* ============================================================
           RELATED SECTION
        ============================================================ */
        .related-section {
            margin-top: 80px;
            padding-top: 60px;
            border-top: 2px solid #eee;
            margin-bottom: 80px;
        }

        .related-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 40px;
        }

        .related-header h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1b1918;
            white-space: nowrap;
            margin: 0;
        }

        .hash {
            color: #A37E52;
            font-weight: 900;
            font-size: 1.8rem;
        }

        .related-divider {
            flex: 1;
            height: 1px;
            background-color: #eee;
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }

        .related-card {
            text-decoration: none;
            color: inherit;
            transition: transform 0.3s;
        }

        .related-card:hover {
            transform: translateY(-4px);
        }

        .related-card-img-wrap {
            overflow: hidden;
            border-radius: 12px;
            margin-bottom: 15px;
        }

        .related-card-img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            border-radius: 12px;
            display: block;
            transition: transform 0.3s;
        }

        .related-card:hover .related-card-img {
            transform: scale(1.05);
        }

        .related-card-body {
            padding: 0;
        }

        .related-card-cat {
            display: inline-block;
            background-color: #e8f0eb;
            color: #2d3e33;
            border-radius: 20px;
            padding: 4px 12px;
            font-size: 11px;
            font-weight: 600;
            margin-bottom: 10px;
            position: absolute;
        }

        .related-card-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #1b1918;
            line-height: 1.4;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }

        .related-card-excerpt {
            font-size: 13px;
            color: #666;
            line-height: 1.5;
            margin-bottom: 15px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }

        .related-card-meta {
            display: flex;
            align-items: center;
            gap: 10px;
                justify-content: space-around;
    align-items: flex-end;
        }

        .related-card-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
        }

        .meta-author {
            font-size: 12px;
            font-weight: 600;
            color: #1b1918;
        }

        .meta-date {
            font-size: 11px;
            color: #999;
        }

        .related-see-all {
            text-align: center;
        }

        .related-see-all a {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 30px;
            background-color: #f0f0f0;
            color: #333;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s;
        }

        .related-see-all a:hover {
            background-color: #e0e0e0;
        }


        /* ============================================================
           RESPONSIVE
        ============================================================ */
        @media (max-width: 1024px) {
            .article-layout {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .article-sidebar {
                position: static;
                top: auto;
            }

            .related-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .article-header h1 {
                font-size: 1.8rem;
            }

            .article-intro {
                font-size: 1.3rem;
            }

            .article-body h2 {
                font-size: 1.5rem;
            }

            .related-grid {
                grid-template-columns: 1fr;
            }

            .related-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .related-divider {
                width: 100%;
                height: 1px;
            }

            nav.nav-links {
                gap: 15px;
                font-size: 12px;
            }

            .sidebar-newsletter-form {
                flex-direction: column;
                gap: 10px;
                padding: 10px;
                border-radius: 8px;
            }

            .sidebar-newsletter-form input {
                padding: 12px;
                border-radius: 6px;
                background-color: white;
                width: 100%;
            }

            .sidebar-newsletter-form button {
                width: 100%;
                margin: 0;
                border-radius: 6px;
            }
        }

        .related-card {
            display: block;
            text-decoration: none;
            color: inherit;
            background: #FFFFFF;
            box-shadow: 0px 0px 16px rgba(194, 198, 204, 0.6);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .related-card-img-wrap {
            position: relative;
            width: 100%;
            height: 195px;
            overflow: hidden;
        }

        .related-card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .related-card-img-wrap::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 50%;
            /* Ajustez la hauteur de l'ombre si nécessaire */
            background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
            pointer-events: none;
            /* Permet de cliquer à travers l'ombre */
        }

        /* Onglet communauté sur la photo en bas à gauche */
        .related-card-cat {
            bottom: 10px;
            left: 10px;
            z-index: 1;
            text-decoration: none;
        }

        /* Corps de la carte (texte) */
        .related-card-body {
            padding: 15px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: calc(100% - 195px);
            /* Hauteur totale - hauteur de l'image */
        }

        /* Titre de l'article */
        .related-card-title {
            font-family: 'Outfit', sans-serif;
            font-style: normal;
            font-weight: 800;
            font-size: 20px;
            line-height: 35px;
            /* 175% de 20px */
            color: #000000;
            margin-top: 0;
            margin-bottom: 10px;
        }

        .related-card-excerpt {
            font-family: 'Outfit', sans-serif;
            font-size: 16px;
            line-height: 1.5;
            color: #333333;
            margin-bottom: 15px;
            flex-grow: 1;
        }

        .related-card-meta {
            display: flex;
            align-items: center;
            margin-top: auto;
            padding-bottom: 10px;
        }

        .related-card-avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            margin-right: 10px;
            object-fit: cover;
        }

        .meta-author,
        .meta-date {
            white-space: nowrap;
        }

        /* Rend la carte relative pour contenir le lien étendu */
        .related-card {
            position: relative;
        }

        /* Le lien invisible qui couvre toute la surface */
        .stretched-link::after {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            z-index: 1;
            content: "";
        }


         .process-section {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Titre principal */
        .process-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: #12162e;
            margin-bottom: 40px;
            letter-spacing: -0.5px;
        }

        /* Grille responsive :
           - 1 colonne par défaut (mobile)
           - 2 colonnes sur tablette (min-width: 600px)
           - 4 colonnes sur PC (min-width: 1024px)
        */
        .process-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }

        @media (min-width: 600px) {
            .process-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

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

        /* Style des cartes */
        .process-card {
            background-color: #fcf8f5; /* Couleur crème claire en fond */
            border-radius: 8px;
            padding: 35px 25px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            min-height: 280px; /* Aligne la hauteur des cartes sur les grands écrans */
        }

        /* Style du numéro */
        .process-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: #000000;
            line-height: 1;
        }

        /* Titre de l'étape */
        .process-step-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: #000000;
            line-height: 1.3;
            font-family: 'Outfit', sans-serif;
        }

        /* Description */
        .process-description {
            font-size: 0.92rem;
            color: #333333;
            line-height: 1.6;
        }


         .habitatapense {
            background-color: #ffffff;
            margin: 0;
            display: flex;
            justify-content: center;
        }

        .habitatcontainer {
            max-width: 1200px;
            width: 100%;
            display: flex;
            gap: 60px;
            align-items: stretch;
        }

        .image-container {
            flex: 1;
            position: relative;
            min-height: 400px;
        }

        .main-image {
            width: 100%;
            height: 100%;
            display: block;
            border-radius: 80px 0 80px 0;
            object-fit: cover;
            object-position: center;
        }

        .content-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .description p {
            margin-bottom: 15px;
        }

        .habitatgrid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 40px;
        }

        .habitatgrid > .card {
            background-color: var(--bg-light);
            padding: 25px;
            border-radius: 0 25px 0 25px;
            display: flex;
            flex-direction: column;
        }

        .card__icon {
            width: 32px;
            height: 32px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card__title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 10px;
        }

        .card__text {
            font-size: 0.85rem;
            line-height: 1.5;
            color: var(--text-body);
        }

        /* ── Responsive ── */
        @media (max-width: 1024px) {
            .habitatcontainer {
                flex-direction: column;
                align-items: flex-start;
                gap: 40px;
            }
            .image-container {
                width: 100%;
                height: 400px; /* Hauteur fixe sur tablette/mobile pour l'image */
            }
            .content-container {
                width: 100%;
            }
        }

        @media (max-width: 600px) {
            /* .grid {
                grid-template-columns: 1fr;
            } */
            .title {
                font-size: 1.75rem;
            }
            .image-container {
                height: 300px;
            }
            .main-image {
                border-radius: 40px 0 40px 0;
            }
        }



        /* ===================================================
   MENU UNIQUE - DESKTOP & MOBILE (SANS DUPLICATION)
   =================================================== */

/* Masquer le burger sur Desktop par défaut */
.burger-menu {
    display: none;
}

/* --- VERSION MOBILE --- */
@media (max-width: 768px) {

    /* 1. Affichage du bouton burger */
    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001; /* Reste au-dessus du menu */
    }

    .burger-menu span {
        width: 100%;
        height: 3px;
        background-color: #2D325A;
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }

    /* Animation du Burger en croix (X) */
    .burger-menu.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu.open span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* 2. Transformation de la Navbar en Overlay Plein Écran */
    .nav-links {
        display: flex !important; /* Force l'affichage */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #FBF9F6; /* Couleur crème TSL */
        z-index: 999;
        gap: 25px; /* Espacement vertical des liens */

        /* Transition d'ouverture */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        overflow-y: auto;
        padding: 100px 20px;
    }

    /* État ouvert du menu sur mobile */
    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    /* Style des liens de premier niveau */
    .nav-links > a,
    .nav-links .dropdown-trigger {
        font-size: 1.4rem;
        color: #2D325A;
        font-weight: 500;
        text-decoration: none !important;
    }

    /* 3. Adaptation des Dropdowns (Sous-menus) sur Mobile */
    .dropdown {
        position: relative;
        text-align: center;
        width: 100%;
    }

    /* Rend le sous-menu visible en bloc en dessous du titre sur mobile */
    .dropdown-content {
        display: none;
        position: static;
        background-color: transparent;
        box-shadow: none;
        width: 100%;
        padding: 15px 0 0 0;
    }

    /* Quand on clique pour ouvrir le sous-menu sur mobile */
    .dropdown.active .dropdown-content {
        display: flex;
        flex-direction: column;
        gap: 16px; /* Espacement agréable entre les sous-choix */
        margin-bottom: 10px;
    }

    .dropdown-content a {
        font-family: inherit; /* Utilise la police TSL */
        font-size: 1.25rem;
        color: #2D325A !important; /* Même couleur bleue */
        opacity: 0.8; /* Légère transparence subtile pour la hiérarchie au lieu du gris */
        text-decoration: none !important; /* Supprime le soulignement de la capture */
        font-weight: 500;
        transition: opacity 0.2s ease;
    }

    .dropdown-content a:active,
    .dropdown-content a:hover {
        opacity: 1;
        color: #073937 !important; /* Optionnel : passe au vert TSL si sélectionné */
    }

    /* Empêcher le scroll du site derrière */
    body.menu-opened {
        overflow: hidden;
    }
}


/* Style par défaut pour Desktop */
.localisation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* --- AJOUTS DANS TON MEDIA QUERY EXISTANT --- */
@media (max-width: 768px) {
    /* Fait passer la grille principale sur 1 colonne (Bloc au-dessus de la carte) */
    .localisation-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Empeche le tableau interne (Points d'intérêts / Accès) de rester sur une ligne */
    .localisation-section .loc-info table,
    .localisation-section .loc-info table tbody,
    .localisation-section .loc-info table tr,
    .localisation-section .loc-info table td {
        display: block !important;
        width: 100% !important;
    }

    /* Optionnel : Ajuster la hauteur de la carte sur mobile pour éviter qu'elle prenne tout l'écran */
    #map {
        height: 350px !important;
    }
}

/* Ton code par défaut (avec display: grid activé cette fois) */
.main-content {
    width: 90%;
    max-width: 1550px;
    margin: 80px auto;
    display: grid; /* On l'active ici */
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Correctif pour les écrans mobiles (jusqu'à 991px) */
@media (max-width: 991px) {
    .main-content {
        /* On force la grille à n'avoir qu'une seule colonne qui prend 100% de la place */
        grid-template-columns: 1fr;
        gap: 30px; /* On réduit l'espace vide entre la gauche et la droite */
        margin: 30px auto; /* On réduit les marges haut/bas */
    }
}


@media (max-width: 768px) {
    /* 1. On force le conteneur flex horizontal à passer en colonne */
    .apt-card > div[style*="display:flex"],
    .apt-card > div[style*="display: flex"] {
        flex-direction: column !important;
    }

    /* 2. Le conteneur du carousel prend toute la largeur */
    .apt-card > div[style*="display:flex"] > div[style*="width:300px"],
    .apt-card > div[style*="display: flex"] > div[style*="width:300px"] {
        width: 100% !important;
        height: auto !important; /* Optionnel : ajuste la hauteur selon tes besoins sur mobile */
    }

    /* 3. Ajustement de apt-info pour qu'il occupe bien tout l'espace après le saut de ligne */
    .apt-info {
        width: 100% !important;
        padding: 15px; /* Optionnel : pour redonner de l'air aux textes */
    }

    /* 4. On force l'en-tête à passer en colonne pour envoyer apt-price-action à la ligne */
    .apt-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px; /* Crée un espace propre entre la description et le prix */
    }

    .apt-price-action {
        width: 100%;
        text-align: left; /* Aligne le prix à gauche sur mobile si nécessaire */
    }
}


.reverse {
    flex-direction: row-reverse;
}
.image-block-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: min-content; /* Laisse chaque ligne définir sa propre hauteur naturelle */
    gap: 15px;
    width: 100%;
}

.image-block-2 img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.image-block-2 .img-1,
.image-block-2 .img-2 {
    aspect-ratio: 1 / 1;
    height: auto;
}


.image-block-2 .img-1{
border-radius: 100px 10px 10px 10px;
}

/* Pour que l'image 3 fasse précisément la même hauteur qu'un carré du haut */
.image-block-2 .img-3 {
    grid-column: 1 / -1;
    border-radius: 0px 10px 10px 100px;
    aspect-ratio: 2.08 / 1;
    height: auto;
}



  .header-section .image-block {
    display: grid;
    /* Définit 2 colonnes de largeur égale */
    grid-template-columns: 1fr 1fr;
    /* Définit 2 lignes de hauteur égale */
    grid-template-rows: 1fr 1fr;
    /* Optionnel : ajoute un espace entre les images */
    gap: 15px;
    height: 100%;              /* Le bloc prend 100% de la section parente */
}



  .header-section .image-block {
    display: grid;
    /* Définit 2 colonnes de largeur égale */
    grid-template-columns: 1fr 1fr;
    /* Définit 2 lignes de hauteur égale */
    grid-template-rows: 1fr 1fr;
    /* Optionnel : ajoute un espace entre les images */
    gap: 15px;
    height: 100%;              /* Le bloc prend 100% de la section parente */
}

.header-section .image-block img {
    width: 100%;
    height: 100%;
    display: block;    /* Supprime l'espace vide sous les images */
    object-fit: cover;
}

        .header-section .image-block .img-1 {
            grid-column: 1 / 2;
            grid-row: 1 / 3;
            border-radius: 100px 10px 100px 10px;
            max-height: 501px;
        }

        .header-section .image-block .img-2 {
            grid-column: 2 / 3;
            grid-row: 1 / 2;
            border-radius: 10px 10px 100px 10px;
            max-height: 243px;
        }

        .header-section .image-block .img-3 {
            grid-column: 2 / 3;
            grid-row: 2 / 3;
            border-radius: 10px 10px 100px 10px;
            max-height: 243px;
        }



 /* ============================================================
           Effets
        ============================================================ */
/*!
 * LiteReveal — styles des effets.
 * Les durées/délais/easing sont pilotés par des variables CSS
 * injectées en JS (--lr-duration, --lr-delay, --lr-easing).
 */

[data-effect] {
  transition-property: opacity, transform;
  transition-duration: var(--lr-duration, 600ms);
  transition-delay: var(--lr-delay, 0ms);
  transition-timing-function: var(--lr-easing, ease-out);
  will-change: opacity, transform;
}

/* État de départ (avant déclenchement) */
[data-effect].lr-init {
  opacity: 0;
}

/* État final (après déclenchement) — commun à tous les effets */
[data-effect].lr-visible {
  opacity: 1;
  transform: none;
}

/* fade-in : uniquement l'opacité, pas de déplacement */
[data-effect="fade-in"].lr-init {
  transform: none;
}

/* zoom-in : part d'une taille réduite */
[data-effect="zoom-in"].lr-init {
  transform: scale(0.85);
}

/* zoom-out : part d'une taille agrandie */
[data-effect="zoom-out"].lr-init {
  transform: scale(1.15);
}

/* variantes slide, en bonus */
[data-effect="slide-up"].lr-init {
  transform: translateY(40px);
}
[data-effect="slide-down"].lr-init {
  transform: translateY(-40px);
}
[data-effect="slide-left"].lr-init {
  transform: translateX(40px);
}
[data-effect="slide-right"].lr-init {
  transform: translateX(-40px);
}

/* variantes fondu entrant + léger déplacement */
[data-effect="fade-in-up"].lr-init {
  transform: translateY(30px);
}
[data-effect="fade-in-down"].lr-init {
  transform: translateY(-30px);
}
[data-effect="fade-in-left"].lr-init {
  transform: translateX(30px);
}
[data-effect="fade-in-right"].lr-init {
  transform: translateX(-30px);
}

/* ------------------------------------------------------------------ */
/* Zoom au survol — opt-in uniquement via data-hover="zoom-in"          */
/* (rien n'est activé par défaut sur .btn ou les <a href> classiques)  */
/* ------------------------------------------------------------------ */
[data-hover="zoom-in"] {
  display: inline-block;
  transform: scale(1);
  transition: transform var(--lr-hover-duration, 200ms) var(--lr-hover-easing, ease-out);
}

[data-hover="zoom-in"]:hover,
[data-hover="zoom-in"]:focus-visible {
  transform: scale(var(--lr-hover-scale, 1.08));
}

/* Respecte les préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  [data-effect] {
    transition: none !important;
  }
  [data-effect].lr-init {
    opacity: 1;
    transform: none;
  }
  .btn,
  a[href] {
    transition: none !important;
  }
  .btn:hover,
  a[href]:hover {
    transform: none;
  }
}
