
@font-face {
  font-family: 'Trajan';
  src: url('../fonts/Trajan.woff2') format('woff2'),
        url('../fonts/Trajan.svg') format('svg'),
        url('../fonts/Trajan.ttf') format('truetype'),
        url('../fonts/Trajan.eot') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Helps control font loading behavior */
}
@font-face {
  font-family: 'Myriad Pro';
  src: url('../fonts/Myriad_Pro.woff2') format('woff2'),
        url('../fonts/Myriad_Pro.svg') format('svg'),
        url('../fonts/Myriad_Pro.ttf') format('truetype'),
        url('../fonts/Myriad_Pro.eot') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Helps control font loading behavior */
}
@font-face {
  font-family: 'Valuxe';
  src: url('../fonts/Valuxe.woff2') format('woff2'),
        url('../fonts/Valuxe.svg') format('svg'),
        url('../fonts/Valuxe.ttf') format('truetype'),
        url('../fonts/Valuxe.eot') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Helps control font loading behavior */
}
/* --- CSS VARIABLES --- */
:root {
    --primary-color: #5A1400; /* Dark reddish brown for text */
    --bg-color: #F4EBE4; /* Light beige background */
    --gold: #CBA153;
    --text-dark: #313030;
    --font-heading: 'Trajan', serif;
    --font-script: 'Petit Formal Script', serif;
    --font-body: 'Montserrat', sans-serif;
}
/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Vertical background lines */
.main-content {
    background-image: linear-gradient(to right, rgba(90, 20, 0, 0.1) 1px, transparent 1px);
    background-size: 12.5% 100%; /* Creates 5 columns of lines */
    position: relative;
    padding-bottom: 30px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* Utilitaires Globaux pour les nouvelles sections */
.text-center { text-align: center; }

.section-header { margin-bottom: 50px; }
.section-header h2 {
    font-family: var(--font-heading);
    font-size: min(calc(1rem + 1.5vw), 40px);
    color: var(--primary-color);
    font-weight: 400;
    line-height: 1.3;
}
.section-header h2 i {
    font-family: var(--font-script);
    text-transform: lowercase;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    /*height: 70vh;*/
    min-height: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: white;
    text-align: center;
    padding: 40px 0px;
    gap: 60px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(64.63% 241.07% at 44.57% 63.5%, rgba(39, 9, 0, 0.73) 18.43%, rgba(60, 32, 23, 0) 100%);
    z-index: -1;
}

.logo {
    width: 165px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: min(calc(1rem + 4vw), 80px);
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 400;
}
.hero-content .sub-title {
    display: block;
    font-size: min(calc(1rem + 2.5vw), 60px);
}

.hero-content p {
    font-family: var(--font-script);
    font-size: min(calc(1rem + 1.2vw), 36px);
    max-width: 950px;
    /*margin: auto;*/
    font-style: italic;
    color: #E8E8E8;
}

.delivery-badge {
    background: linear-gradient(270deg, #BF9933 0%, #E0C764 70.5%, rgba(234, 213, 115, 0) 100.87%);
    color: #333;
    padding: 15px 70px;
    font-weight: 400;
    font-size: min(calc(1rem + 0.7vw), 30px);
    font-family: 'Myriad Pro', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0 100%, 0 0);
    width: 570px;
    justify-content: end;
    align-self: start;
    max-width: 33%;
}

/* --- HIGHLIGHT WAVE --- */
.highlight-wave {
    position: relative;
    display: inline-block;
}

.highlight-wave::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 54px;
    /* Creating a simple CSS wave via radial gradient, adjust colors/size as needed */
    background: radial-gradient(circle at 10px 15px, transparent 12px, rgba(105, 185, 206, 0.5) 13px, rgba(105, 185, 206, 0.5) 15px, transparent 16px) repeat-x;
    background-size: 20px 20px;
    background-position: 0 -10px;
}

/* --- LOCATION SECTION --- */
.location-section {
    padding: 0px 4% 20px;
}
.location-section .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.location-text {
    flex: 1;
    padding-block: 30px;
}

.location-text h2, .options-header h2 {
    font-family: var(--font-heading);
    font-size: min(calc(1rem + 1.5vw), 40px);
    color: var(--primary-color);
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.3;
    text-transform: uppercase;
}

.location-text h2 i, .options-header h2 i {
    font-family: var(--font-script);
    text-transform: lowercase;
}

.features-grid {
    display: flex;
    gap: 20px;
}

.feature-card {
    background: #FFF5EE;
    padding: 30px 25px;
    width: 280px;
    border: 1px solid rgba(90, 20, 0, 0.6);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
}

.feature-card p {
    font-size: min(calc(1rem + 0.5vw), 24px);
    color: #202020;
    line-height: 1.2;
}

.feature-card strong {
    font-weight: 700;
    color: var(--primary-color);
}

.location-map {
    flex: 1;
}

.location-map img {
    width: 100%;
    display: block;
}

/* --- MAP INTERACTIVE LINK --- */
.map-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    margin-top: -10%;  /* restores the hero overlap — same as the original img rule */
}

.map-link img {
    width: 100%;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.45s ease;
    will-change: transform, filter;
}

.map-link:hover img,
.map-link:focus-visible img {
    transform: scale(1.04);
    filter: brightness(0.72);
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.map-link:hover .map-overlay,
.map-link:focus-visible .map-overlay {
    opacity: 1;
}

.map-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-align: center;
    transform: translateY(6px);
    transition: transform 0.35s ease;
}

.map-link:hover .map-overlay-inner {
    transform: translateY(0);
}

.map-overlay-inner svg {
    width: 40px;
    height: 40px;
    color: var(--gold);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}

.map-overlay-inner span {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(203, 161, 83, 0.7);
    padding-bottom: 3px;
}

/* --- CTA LOCATION BUTTON --- */
.btn-location {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 32px;
    padding: 14px 32px;
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.38s ease, border-color 0.38s ease, box-shadow 0.38s ease, transform 0.22s ease;
}

.btn-location::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.btn-location:hover::before,
.btn-location:focus-visible::before {
    transform: scaleX(1);
}

.btn-location svg,
.btn-location span {
    position: relative;
    z-index: 2;
}

.btn-location svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-location:hover,
.btn-location:focus-visible {
    color: #FFF5EE;
    border-color: var(--primary-color);
    box-shadow: 0 6px 24px rgba(90, 20, 0, 0.22);
    transform: translateY(-2px);
}

.btn-location:active {
    transform: translateY(0);
    box-shadow: none;
}

/* --- FEATURE CARD HOVER --- */
.feature-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(90, 20, 0, 0.12);
    border-color: var(--gold);
}

/* --- OPTIONS SECTION --- */
.options-section {
    padding: 60px 4%;
    text-align: center;
}

.options-header h2 {
    margin-bottom: 60px;
}

.options-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
}

.option-card {
    position: relative;
    overflow: hidden;
    height: 620px;
    flex: 1; /* Replaces width: 50% */
    transition: all 0.5s ease;
    cursor: pointer;
}

.option-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-content {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
    border: 1px solid #999999;
}

.light-theme {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-color);
}

.dark-theme {
    background: rgba(74, 43, 35, 0.85);
    color: white;
}


.text-group {
    text-align: left;
}

.text-group h3 {
    font-family: 'Valuxe', serif;
    font-weight: 400;
    font-size: min(calc(1rem + 1vw), 32px);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.light-theme .text-group h3 { color: #270900; }

.text-group p {
    font-size: min(calc(1rem + 0.5vw), 24px);
}

.btn-discover {
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    border-bottom: 1px solid rgba(32, 32, 32, 0.38);
    padding-bottom: 10px;
    transition: opacity 0.4s ease, visibility 0.4s ease;;
}

@media (hover: hover) and (pointer: fine) {
    
    /* La carte s'élargit au survol */
    .option-card:hover {
        flex: 1.7; 
    }

    /* Quand on survole la grille, on cache tous les boutons */
    .options-grid:hover .btn-discover {
        opacity: 0;
        visibility: hidden;
    }

    /* Mais on affiche le bouton de la carte précisément survolée */
    .options-grid .option-card:hover .btn-discover {
        opacity: 1;
        visibility: visible;
    }

    /* 4. AJOUT : Survol des onglets (2 chambres / 3 chambres) */
    .tab-btn:hover {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }
}

.light-theme .btn-discover { color: #270900; }
.dark-theme .btn-discover { color: white; border-color: rgba(255, 255, 255, 0.50); }

/* --- APPARTEMENT SECTION --- */
.appartement-section{
    padding: 6% 4%;
    text-align: center;
    background-color: #FFF5EE;
}
.featured-grid{
    display: flex;
    gap: 20px;
    justify-content: center;
}
.featured-card{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
    border: 1px solid rgba(90, 20, 0, 0.3);
}
.featured-card h3{
    font-weight: 500;
}

.appartement-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 60px;
}

.appartement-images {
    flex: 1;
    display: flex;
    height: 400px;
}

.appartement-images img {
    width: 50%;
    object-fit: cover;
}

.appartement-text {
    flex: 1;
    font-size: 20px;
    line-height: 1.4;
    color: #000000;
    text-align: left;
}

.appartement-text p { margin-bottom: 20px; }

/* =========================================
   EFFET AVANT/APRÈS (Appartement Images)
   ========================================= */
.appartement-images.before-after-slider {
    position: relative;
    flex: 1; 
    height: 400px; /* Conserve la hauteur que nous avions définie */
    overflow: hidden;
    margin: 0;
}

/* Les deux images prennent toute la place du conteneur */
.before-after-slider .image-after,
.before-after-slider .image-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Empêche de "saisir" l'image avec la souris */
}

.before-after-slider .image-after {
    z-index: 1;
}

/* L'image superposée est coupée exactement à 50% au chargement */
.before-after-slider .image-before {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

/* Input Range invisible pour capturer le clic et le glissement */
.before-after-slider .slider-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    opacity: 0; /* Totalement invisible */
    cursor: ew-resize; /* Curseur flèche gauche-droite */
    margin: 0;
}

/* La ligne séparatrice et le cercle visuel */
.before-after-slider .slider-button {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; /* Position par défaut */
    width: 2px; /* Épaisseur de la ligne */
    background-color: white;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none; /* Ignore la souris, laisse passer à l'input */
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Le rond central du slider */
.before-after-slider .slider-button::after {
    content: '< >'; /* Petites flèches textuelles */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: monospace;
    letter-spacing: -2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
/* =========================================
   SECTION DIVERSITÉ DE BIENS (PLANS)
   ========================================= */
.floorplan-section {
    padding: 80px 0px 80px 4%;
}
.floorplan-section .container{
    margin-right: 0;
    max-width: 1515px;
}
.layout-flex {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.floorplan-left {
    flex: 0 0 34%;
}

.floorplan-left h2 {
    font-family: var(--font-heading);
    font-size: min(calc(1rem + 1vw), 32px);
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.3;
    font-weight: 400;
}

.floorplan-left h2 i {
    font-family: var(--font-script);
    text-transform: lowercase;
    font-size: min(calc(1rem + 1.2vw), 36px);
}

.slider-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.arrow-btn:hover { background: var(--primary-color); color: white; }

.room-tabs {
    display: flex;
    gap: 10px;
}

.tab-btn {
    padding: 10px 20px;
    border: 1px solid rgba(0,0,0,0.1);
    background: white;
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.floorplan-right {
    flex: 1;
    overflow: hidden; /* Empêche de casser la mise en page à droite */
    width: 100%; /* Important pour Slick */
}
.plan-slider .slick-track {
    display: flex;
}
/* Slick remplace l'espacement "gap" par des marges sur les slides */
.plan-slider .slick-slide {
    margin-right: 20px; /* L'espace entre les cartes */
    outline: none; /* Enlève la bordure bleue au clic */
    height: inherit;
}
/* =========================================
   STRUCTURE DES CARTES DE PLANS (Gauche / Droite)
   ========================================= */
.plan-card {
    background-color: #EFE0D5;
    padding: 40px;
    width: 770px; /* Largeur fixe pour que la carte suivante déborde visuellement */
}
.plan-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* --- Partie Gauche --- */
.plan-left {
    flex: 1; /* Takes up roughly half the card */
    max-width: 55%;
}

.plan-left h3 {
    font-family: 'valuxe', serif;
    color: var(--primary-color);
    font-size: min(calc(1rem + 1.2vw), 36px);
    font-weight: 400;
    margin-bottom: 20px;
}

.plan-img {
    width: 100%;
    object-fit: contain;
    display: block;
}

/* --- Partie Droite --- */
.plan-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px; /* Space between the top specs and the bottom legend */
    padding-top: 10px; /* Aligns the text slightly downward relative to the title */
}

.plan-specs-top {
    font-size: 18px;
    color: #000000;
    border-bottom: 1px solid rgba(39,9,0,0.23);
    padding-bottom: 25px;
}

.plan-specs-top p {
    margin-bottom: 25px;
    font-size: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
}

.plan-specs-top strong {
    color: var(--primary-color);
}

.plan-specs-top ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.plan-specs-top ul li {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}
.plan-specs-top ul li span {color: var(--primary-color);}

.plan-legend {
    list-style: none;
    font-size: 16px;
     /* Keeps the numbered list in two columns */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.plan-legend li {
    color: #202020;
}

/* =========================================
   SECTION CTA (BANNIÈRE)
   ========================================= */
.cta-banner {
    position: relative;
    padding: 6% 0;
    background-size: cover;
    background-position: center;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(39, 9, 0, 0) 1.5%, #270900 100%);
}

.cta-container {
    position: relative;
    z-index: 2;
    align-items: flex-end; /* Aligne le contenu à droite */
}

.cta-content {
    max-width: 550px;
    text-align: left;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: min(calc(1rem + 2.2vw), 50px);;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.cta-content p {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.btn-solid {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 400;
    font-size: 24px;
    transition: background 0.3s;
}

.btn-solid:hover { background-color: var(--bg-color); }
/* =========================================
   SECTION SERVICES
   ========================================= */
.services-section {
    padding: 5% 4%;
}

.services-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service-row {
    display: flex;
    align-items: stretch;
     /* Force une hauteur identique pour texte et image */
}

.service-row.reversed {
    flex-direction: row-reverse;
}

.service-text, .service-img {
    /* flex: 1; */
    width: 50%;
}

.service-text {
    padding: 40px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-text h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: min(calc(1rem + 0.7vw), 30px);
    font-weight: 400;
    margin-bottom: 20px;
}

.service-text p {
    font-size: 20px;
    line-height: 1.2;
    color: #000000;
}

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


/* =========================================
   DARK THEME (Mode Penthouses)
   ========================================= */
body.dark-theme-active {
    background-color: #1E1E1E; /* Gris très sombre */
    color: #FFFFFF;
    transition: background-color 0.5s ease;
}

/* Lignes verticales transparentes blanches au lieu de marron */
body.dark-theme-active .main-content {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

body.dark-theme-active .appartement-section {
    background-color: transparent;
}

/* Textes dorés clairs au lieu du marron foncé */
body.dark-theme-active .location-text h2,
body.dark-theme-active .section-header h2,
body.dark-theme-active .floorplan-left h2,
body.dark-theme-active .service-text h3 {
    color: #EFE0D5; 
}

/* Couleurs des textes de paragraphe */
body.dark-theme-active .appartement-text,
body.dark-theme-active .service-text p {
    color: #FFFFFF;
}

/* Badges (Résidence fermée, etc.) */
body.dark-theme-active .featured-card {
    border-color: rgba(230, 208, 179, 0.3);
}
body.dark-theme-active .featured-card h3 {
    color: #EFE0D5;
}

/* Flèches du Slider */
body.dark-theme-active .arrow-btn {
    border-color: #EFE0D5;
    color: #EFE0D5;
}
body.dark-theme-active .arrow-btn:hover {
    background-color: #EFE0D5;
    color: #1A1A1A;
}

/* Les cartes des plans restent beiges (comme sur la maquette) 
   mais on s'assure que le texte intérieur reste sombre */
body.dark-theme-active .plan-card {
    color: #000000; 
}
/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 18px;
}
.site-footer strong{
    font-weight: 500;
}

/* --- RESPONSIVE DESIGN --- */

/* TABLETTES ET PETITS ÉCRANS D'ORDINATEUR (Max 1024px) */
@media (max-width: 1024px) {
    /* Hero Section */
    .hero-section {
        padding: 30px 20px;
        min-height: 550px;
    }

    /* Location Section */
    .location-section .container {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    .map-link {
        margin-top: 0;
    }

    .btn-location {
        margin-top: 24px;
    }
    .features-grid {
        justify-content: center;
    }

    /* Options Section (Appartements / Penthouses) */
    .options-grid {
        flex-direction: column;
        gap: 30px;
    }
    .option-card {
        flex: none;
        width: 100%;
        height: 450px;
    }
    /* Désactive l'effet de largeur au survol sur mobile/tablette */
    .option-card:hover { 
        flex: none;
        width: 100%; 
    }
    .options-grid:hover .btn-discover {
        opacity: 1;
        visibility: visible;
    }
    /* Appartement / Penthouse Sections */
    .featured-grid {
        flex-wrap: wrap;
    }
    .appartement-content {
        flex-direction: column;
        gap: 30px;
    }
    .appartement-images.before-after-slider {
        width: 100%;
        flex: none;
    }
    
    /* Plans Section */
    .layout-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .floorplan-left {
        width: 100%;
    }
    .slider-controls, .room-tabs {
        justify-content: center;
    }

    /* Services Section */
    .service-row, .service-row.reversed {
        flex-direction: column;
    }
    .service-text, .service-img {
        width: 100%;
    }
    .service-text {
        text-align: center;
        padding: 40px 20px;
    }
}

/* TÉLÉPHONES MOBILES (Max 768px) */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 30px;
    }
    /* Hero Section */
    .hero-section {
        padding: 20px;
        min-height: 420px;
    }
    .hero-content .sub-title {
        font-size: 28px;
    }
    .location-section {
        padding: 0px 20px 20px;
    }
    /* Features Grid */
    .features-grid {
        flex-direction: column;
        align-items: center;
    }
    .feature-card {
        width: 100%;
        max-width: 350px;
        padding: 15px;
    }
    .floorplan-section {
        padding: 40px 20px 40px 0px;
    }
    /* Cartes des Plans (Slick Slider) */
    .plan-card {
        width: 85vw; /* Prend presque toute la largeur de l'écran */
        padding: 20px;
    }
    .plan-content {
        flex-direction: column; /* Empile l'image et le texte du plan */
        align-items: unset;
    }
    .plan-specs-top{
        font-size: 16px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    .plan-specs-top p{
        text-align: left;
        font-size: 18px;
        gap: 5px;
        margin-bottom: 15px;
    }
    .plan-specs-top ul{
        gap: 10px;
    }
    .plan-left, .plan-right {
        max-width: 100%;
    }
    .plan-right{
        gap: 10px;
    }
    .plan-left h3 {
        text-align: center;
    }
    .plan-legend{
        text-align: left;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 30px 20px;
    }
    .cta-container {
        align-items: center;
    }
    .cta-content {
        text-align: center;
    }
    .btn-solid {
        font-size: 18px;
        padding: 12px 24px;
    }
    
    /* Boutons de navigation Slick */
    .arrow-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .services-section {
        padding: 40px 20px;
    }
    .service-text{
        padding: 30px 15px;
    }
    .service-text p {
        font-size: 18px;
    }
}

/* TRÈS PETITS ÉCRANS (Max 480px) */
@media (max-width: 480px) {
    .card-content {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }
    .text-group {
        text-align: center;
    }
    .appartement-text {
        font-size: 16px;
    }
}