/* DESIGN CONFORME AUX CAPTURES D'ECRAN AIRBNB LUXE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Décale le point d'ancrage des sections pour qu'elles ne soient pas
   masquées sous l'en-tête désormais fixe. */
section[id] {
    scroll-margin-top: 100px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #4a4441;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: #2a2523;
    letter-spacing: -0.5px;
}

/* MENUS EN-TETE */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Fond plus opaque une fois qu'on a quitté le bandeau hero,
   pour garder le texte du menu bien lisible au défilement. */
.main-header.scrolled {
    background: rgba(24, 20, 18, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.logo .icon {
    font-size: 16px;
    margin-right: 5px;
}

/* BOUTON DE TRADUCTION FR / EN */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
}

.lang-toggle .flag-icon {
    font-size: 16px;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    font-weight: 400;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
}

.btn-nav {
    background-color: #bd6a42;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 20px;
    font-weight: 500;
}

/* BOUTON MENU DEROULANT (visible uniquement sur mobile, cf. media query) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Transformation en croix quand le menu est ouvert */
.menu-toggle.open .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MENU DEROULANT MOBILE (masqué par défaut, affiché en media query) */
.mobile-nav-dropdown {
    display: none;
}

/* BANDEAU ACCUEIL HERO */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8%;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 650px;
}

.badge-favorite {
    background: rgba(255, 255, 255, 0.9);
    color: #111111;
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 72px;
    margin-bottom: 15px;
    line-height: 1.05;
    font-weight: 400;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 35px;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.badge-item {
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
}

.badge-item .icon-badge {
    display: flex;
    align-items: center;
}

.badge-item .icon-badge svg {
    width: 19px;
    height: 19px;
}

/* DEUXIÈME SECTION CONFORME (TEXTES & CONTENUS) */
.section-container {
    padding: 100px 8%;
    max-width: 1450px;
    margin: 0 auto;
}

.presentation-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: flex-start;
}

.presentation-grid h2 {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.presentation-grid .main-text {
    font-size: 15px;
    color: #555555;
    margin-bottom: 25px;
    font-weight: 300;
    line-height: 1.7;
}

/* GRILLE DES ICONES CARACTERISTIQUES DU LOGEMENT */
.features-grid-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid #eaeaea;
    padding-top: 30px;
}

.feature-icon-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon-item .f-icon {
    background-color: rgba(189, 106, 66, 0.1);
    color: #bd6a42;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-icon-item .f-icon svg {
    width: 20px;
    height: 20px;
}

.feature-icon-item .f-text {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

/* JUXTAPOSITION DES PHOTOS ASYMÉTRIQUES */
.image-content {
    position: relative;
    width: 100%;
    height: 520px;
}

.img-base-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 85%;
    height: 80%;
    z-index: 1;
}

.img-base-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.img-accent-wrapper {
    position: absolute;
    left: 0;
    top: 15%;
    width: 48%;
    height: 48%;
    z-index: 2;
}

.img-accent-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 6px solid #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* GRILLE DES PIECES / CHAMBRES */
.pieces-section {
    color: #333333;
    border-top: 1px solid #f0f0f0;
}

.subtitle-red {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #bd6a42;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.title-editorial {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    font-weight: 400;
    color: #222222;
}

.pieces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.piece-card {
    background-color: #faf9f6;
    border: 1px solid #eee;
    overflow: hidden;
}

.piece-image-box {
    width: 100%;
    height: 240px;
}

.piece-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.piece-text-box {
    padding: 25px;
}

.piece-text-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.piece-text-box p {
    font-size: 14px;
    color: #666666;
    font-weight: 300;
}

/* AVIS AIRBNB */
.avis-section {
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto 50px;
    text-align: left;
}

.avis-card {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 28px 26px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

.avis-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.avis-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(189, 106, 66, 0.1);
    color: #bd6a42;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.avis-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #2a2523;
}

.avis-seniority {
    font-size: 12px;
    font-weight: 300;
    color: #999999;
}

.avis-card-meta {
    font-size: 13px;
    color: #999999;
    margin-bottom: 12px;
}

.avis-card-stars {
    color: #bd6a42;
    letter-spacing: 1px;
}

.avis-card-text {
    font-size: 14px;
    font-weight: 300;
    color: #444444;
    line-height: 1.7;
}

.avis-summary-box {
    max-width: 560px;
    margin: 0 auto;
    background-color: #faf9f6;
    border: 1px solid #eee;
    padding: 50px 40px;
}

.avis-score {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #2a2523;
    line-height: 1;
}

.avis-stars {
    color: #bd6a42;
    font-size: 18px;
    letter-spacing: 3px;
    margin: 10px 0;
}

.avis-count {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 20px;
}

.avis-desc {
    font-size: 14px;
    font-weight: 300;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-avis {
    display: inline-block;
    background-color: #111111;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 30px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-avis:hover {
    background-color: #bd6a42;
}

/* CONTACT */
.contact-section {
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.contact-box {
    max-width: 560px;
    margin: 0 auto;
    background-color: #faf9f6;
    border: 1px solid #eee;
    padding: 50px 40px;
}

.contact-names {
    font-size: 15px;
    color: #666666;
    font-weight: 300;
    margin: 15px 0 30px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2a2523;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link svg {
    width: 18px;
    height: 18px;
    color: #bd6a42;
    flex-shrink: 0;
}

.contact-link:hover {
    color: #bd6a42;
}

/* SECTION ÉQUIPEMENTS */
.equipements-section {
    background-color: #f7f5f2;
    padding: 100px 8%;
    border-top: 1px solid #f0f0f0;
}

.equip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto;
}

.equip-card {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

.equip-icon {
    background-color: rgba(189, 106, 66, 0.1);
    color: #bd6a42;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 18px;
}

.equip-icon svg {
    width: 22px;
    height: 22px;
}

.equip-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2a2523;
    letter-spacing: 0;
    margin-bottom: 4px;
}

.equip-card p {
    font-size: 13px;
    font-weight: 300;
    color: #777777;
}

.equip-note {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    color: #777777;
    line-height: 1.6;
}

/* VISITE VIRTUELLE & CARTE */
.visite-section {
    background-color: #f7f5f2;
    padding: 100px 8%;
    text-align: center;
    color: #333333;
}

.iframe-container {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    margin: 50px auto 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.localisation-section {
    color: #333333;
    background-color: #ffffff;
}

.map-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
}

/* CALENDRIER & RÉSERVATION */
.booking-section {
    color: #333333;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.calendar-info {
    font-size: 13px;
    color: #888888;
    margin-bottom: 20px;
}

.calendar-box {
    background-color: #faf9f6;
    border: 1px solid #eee;
    padding: 40px;
}

.booking-form-box {
    background-color: #faf9f6;
    border: 1px solid #eee;
    padding: 40px;
}

.calendar-box h3, .booking-form-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 400;
}

#inline-calendar {
    display: block;
    width: 100%;
}

.flatpickr-calendar {
    margin-top: 12px;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: 1px solid #eee !important;
    background: #ffffff !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange,
.flatpickr-day.endRange.inRange {
    background: #bd6a42 !important;
    border-color: #bd6a42 !important;
}

.flatpickr-day.inRange {
    background: rgba(189, 106, 66, 0.12) !important;
    border-color: transparent !important;
    box-shadow: -5px 0 0 rgba(189, 106, 66, 0.12), 5px 0 0 rgba(189, 106, 66, 0.12) !important;
}

.flatpickr-day.today {
    border-color: #bd6a42 !important;
}

.price-estimate {
    margin-top: 20px;
    padding: 18px 20px;
    background-color: rgba(189, 106, 66, 0.08);
    border: 1px solid rgba(189, 106, 66, 0.2);
    display: none;
}

.price-estimate.visible {
    display: block;
}

.price-estimate .pe-detail {
    font-size: 13px;
    color: #666666;
    margin-bottom: 4px;
}

.price-estimate .pe-total {
    font-size: 22px;
    font-family: 'Playfair Display', serif;
    color: #2a2523;
}

.price-estimate .pe-total .pe-barre {
    font-size: 15px;
    color: #999999;
    text-decoration: line-through;
    font-family: 'Montserrat', sans-serif;
    margin-right: 8px;
}

.price-estimate .pe-badge {
    display: inline-block;
    background-color: #bd6a42;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.booking-disclaimer {
    font-size: 12px;
    color: #888888;
    text-align: center;
    margin-top: 14px;
    font-weight: 300;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #666666;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit-booking {
    width: 100%;
    background-color: #111111;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: 600;
}

.btn-submit-booking:hover {
    background-color: #bd6a42;
}

/* FOOTER */
.main-footer {
    background-color: #1a1a1a;
    color: #888888;
    text-align: center;
    padding: 40px 20px;
    font-size: 13px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 950px) {
    .hero-section {
        padding-left: 5%;
    }
    .hero-content h1 {
        font-size: 46px;
    }
    .presentation-grid, .pieces-grid, .booking-grid, .features-grid-icons {
        grid-template-columns: 1fr;
    }
    .equip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .avis-grid {
        grid-template-columns: 1fr;
    }
    .image-content {
        height: 350px;
    }

    /* EN-TETE MOBILE : la ligne de navigation classique disparaît,
       remplacée par un bouton déroulant en haut à droite. Le bouton
       de traduction reste visible à côté du logo. */
    .main-header {
        flex-wrap: wrap;
        padding: 14px 5%;
    }
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .mobile-nav-dropdown {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.25s ease;
    }
    .mobile-nav-dropdown.open {
        max-height: 600px;
        opacity: 1;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    .mobile-nav-dropdown a {
        color: #ffffff;
        text-decoration: none;
        font-size: 15px;
        padding: 12px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .mobile-nav-dropdown a.btn-nav {
        background-color: #bd6a42;
        border-radius: 20px;
        text-align: center;
        margin-top: 12px;
        border-bottom: none;
        padding: 12px 22px;
    }
}