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

:root {
    --primary-gold: #B9A189;
    --primary-white: #ffffff;
    --primary-black: #000000;
    --gold-surface: #C4AF9A;
    --darker-gold: #A68B73;
    --light-gold: #E5D4C1
}

body {
    font-family: 'Times New Roman', Times, serif;
    background: var(--primary-gold);
    color: var(--primary-black);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px
}

h1,
h2,
h3,
h4 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 0.6rem
}

/* AVANT :
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('../img/da.webp') center center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 6% 3rem 6%
}
*/

/* APRÈS : */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 6% 3rem 6%;
    overflow: hidden;
    background: #000
}

.hero-section .hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0
}

.hero-section::after {
    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.6));
    z-index: 1
}

.hero-content {
    max-width: 550px;
    z-index: 2
}


.hero-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7)
}

.hero-cta-container {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    transition: transform 0.3s ease;
    font-size: 0.85rem;
    white-space: nowrap;
    border-radius: 4px
}

.hero-cta:hover {
    transform: translateY(-3px)
}

.hero-cta-secondary {
    background: transparent;
    color: var(--primary-white);
    border: 2px solid var(--primary-gold)
}

.hero-cta-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-black)
}

.hero-search-wrapper {
    width: 100%;
    max-width: 400px;
    margin-top: 0.8rem;
    position: relative
}

.hero-search-input {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--primary-white);
    font-size: 0.9rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400
}

.hero-search-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 3px rgba(185, 161, 137, 0.2)
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 246, 243, 0.98) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid var(--primary-gold);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 15px 40px rgba(185, 161, 137, 0.4), 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: -4px
}

.search-results-dropdown.active {
    display: block;
    animation: slideDown 0.3s ease
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(185, 161, 137, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--primary-black);
    position: relative;
    overflow: hidden
}

.search-result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-gold), var(--darker-gold));
    transform: scaleY(0);
    transition: transform 0.3s ease
}

.search-result-item:hover::before {
    transform: scaleY(1)
}

.search-result-item:last-child {
    border-bottom: none
}

.search-result-item:hover {
    background: linear-gradient(90deg, rgba(185, 161, 137, 0.08) 0%, rgba(229, 212, 193, 0.12) 100%);
    transform: translateX(8px)
}

.search-result-image-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--light-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1)
}

.search-result-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease
}

.search-result-item:hover .search-result-image {
    transform: scale(1.1)
}

.search-result-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem
}

.search-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem
}

.search-result-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1
}

.search-result-details {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6)
}

.search-result-details i {
    color: var(--darker-gold);
    font-size: 0.75rem
}

.search-result-price {
    font-size: 0.95rem;
    color: var(--darker-gold);
    font-weight: 800
}

.search-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    border-radius: 4px;
    white-space: nowrap
}

.search-badge-location {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white
}

.search-badge-achat {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white
}

.search-badge-sold {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    position: absolute;
    top: 4px;
    left: 4px;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem
}

.search-badge-rented {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
    position: absolute;
    top: 4px;
    left: 4px;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem
}

.search-no-results {
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem
}

.search-no-results i {
    font-size: 2.5rem;
    color: var(--darker-gold);
    opacity: 0.6
}

.search-no-results p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0
}

.search-no-results small {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8
}

.search-loading {
    padding: 2rem;
    text-align: center;
    color: var(--primary-gold);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem
}

.search-loading i {
    font-size: 1.2rem
}

.search-results-dropdown::-webkit-scrollbar {
    width: 8px
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: rgba(229, 212, 193, 0.2)
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-gold), var(--darker-gold));
    border-radius: 10px
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--darker-gold)
}

.presentation-section {
    padding: 4rem 6%;
    background: linear-gradient(135deg, #B9A189 0%, #E5D4C1 50%, #ffffff 100%);
    display: flex;
    align-items: center;
    gap: 4rem
}

.presentation-content {
    flex: 1;
    max-width: 600px
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--primary-black);
    font-weight: 700
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
}

.presentation-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 1.2rem;
    text-align: justify
}

.presentation-video-container {
    flex: 0 0 500px;
    display: flex;
    align-items: center;
    justify-content: center
}

.presentation-video {
    aspect-ratio: 16/9;
    max-width: 500px;
    width: 100%
}

.video-container {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(185, 161, 137, 0.3);
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px
}

.presentation-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.presentation-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    transition: transform 0.3s ease;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    border-radius: 4px
}

.presentation-cta:hover {
    transform: translateY(-3px)
}

.artistic-section {
    padding: 4rem 6%;
    background: linear-gradient(135deg, #B9A189 0%, #E5D4C1 50%, #ffffff 100%)
}

.artistic-container {
    max-width: 1400px;
    margin: 0 auto
}

.artistic-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-black)
}

.postcards-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.postcard:nth-child(4) {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
    order: 1;
    border: 3px solid var(--darker-gold);
    box-shadow: 0 8px 30px rgba(185, 161, 137, 0.4);
}

.postcard:nth-child(2) {
    grid-column: 7 / 13;
    grid-row: 1 / 3;
    order: 2;
    border: 3px solid var(--darker-gold);
    box-shadow: 0 8px 30px rgba(185, 161, 137, 0.4);
}

.postcard:nth-child(8) {
    grid-column: 1 / 13;
    grid-row: 3 / 4;
    order: 3;
    background: linear-gradient(135deg, rgba(255, 200, 140, 0.55) 0%, rgba(255, 235, 210, 0.55) 100%), url('../img/2.webp') center/cover no-repeat;
    border: 3px solid rgba(255, 200, 140, 0.5);
    box-shadow: 0 6px 25px rgba(255, 180, 100, 0.3);
    min-height: 200px;
}

.postcard:nth-child(8) .postcard-overlay {
    background: linear-gradient(to top, rgba(255, 200, 140, 0.75), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.postcard:nth-child(8) .postcard-title {
    font-size: 1.5rem;
    text-align: center;
    flex-direction: column;
    gap: 0.8rem;
}

.postcard:nth-child(8) .postcard-title::before {
    font-size: 2.5rem;
    display: block;
}

.postcard:nth-child(8) .postcard-title::after {
    font-size: 0.8rem;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0.03rem;
    opacity: 0.95;
    display: block;
}

.postcard:nth-child(7) {
    grid-column: 1 / 5;
    grid-row: 4 / 6;
    order: 4;
}

.postcard:nth-child(6) {
    grid-column: 5 / 9;
    grid-row: 4 / 6;
    order: 5;
}

.postcard:nth-child(5) {
    grid-column: 9 / 13;
    grid-row: 4 / 6;
    order: 6;
}

.postcard:nth-child(1) {
    grid-column: 1 / 7;
    grid-row: 6 / 7;
    order: 7;
}

.postcard:nth-child(3) {
    grid-column: 7 / 13;
    grid-row: 6 / 7;
    order: 8;
}

.postcard {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(185, 161, 137, 0.3);
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    min-height: 180px;
}

.postcard:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.postcard:nth-child(2):hover,
.postcard:nth-child(4):hover {
    border-color: var(--primary-gold);
    box-shadow: 0 15px 45px rgba(185, 161, 137, 0.6);
}

.postcard-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: filter 0.3s ease, transform 0.5s ease;
}

.postcard:hover .postcard-image {
    filter: brightness(1);
    transform: scale(1.05);
}

.postcard-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(185, 161, 137, 0.95), transparent);
    color: var(--primary-white);
}

.postcard-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.evasion-card-wrapper {
    display: none;
}

.evasion-card {
    display: none;
}

.gallery-section {
    padding: 4rem 6%;
    background: var(--primary-white)
}

.gallery-header {
    margin-bottom: 3rem
}

.gallery-subtitle {
    text-align: left;
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.65);
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    letter-spacing: 0.02rem
}

.gallery-tabs {
    display: flex;
    overflow-x: auto;
    gap: 0.6rem;
    margin-bottom: 3rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch
}

.tab-button {
    padding: 0.85rem 1.3rem;
    background: rgba(185, 161, 137, 0.1);
    color: var(--primary-black);
    border: 2px solid rgba(185, 161, 137, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.85rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem
}

.tab-button.active,
.tab-button:hover {
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-white);
    border-color: var(--darker-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185, 161, 137, 0.3)
}

.gallery-content {
    display: none
}

.gallery-content.active,
.gallery-content-direct {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem
}

.property-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(185, 161, 137, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08)
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--darker-gold)
}

.property-card.hidden {
    display: none
}

.property-carousel {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8)
}

.carousel {
    height: 100%
}

.carousel-inner {
    height: 100%
}

.carousel-item {
    height: 100%
}

.carousel-images {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    min-width: 100%
}

.property-card:hover .carousel-image {
    transform: scale(1.05)
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s
}

.property-card:hover .carousel-control-prev,
.property-card:hover .carousel-control-next {
    opacity: 1
}

.carousel-control-prev {
    left: 10px
}

.carousel-control-next {
    right: 10px
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px
}

.carousel-indicators {
    bottom: 10px;
    margin-bottom: 0
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 4px
}

.carousel-indicators button.active {
    background-color: var(--primary-gold)
}

.property-title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s
}

.property-title-link:hover {
    color: var(--primary-gold)
}

.property-title-link:hover .property-title {
    color: var(--primary-gold)
}

.property-info {
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1
}

.property-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--darker-gold);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center
}

.property-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--primary-black);
    display: flex;
    align-items: center;
    min-height: 60px;
    line-height: 1.4
}

.property-description {
    color: rgba(0, 0, 0, 0.75);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1
}

.property-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem
}

.property-cta {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.04rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 4px
}

.property-cta:hover {
    transform: translateY(-2px);
    background: var(--darker-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2)
}

.property-view-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border-radius: 4px;
    gap: 0.5rem
}

.property-view-btn:hover {
    background: var(--darker-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2)
}

.location-btn {
    width: 100%;
    padding: 0.6rem;
    background: transparent;
    color: var(--primary-black);
    border: 2px solid rgba(185, 161, 137, 0.4);
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    border-radius: 4px;
    gap: 0.5rem
}

.location-btn:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    border-color: var(--primary-black)
}

.property-status {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-white);
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    z-index: 2;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2)
}

.sold-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
    backdrop-filter: blur(10px);
    z-index: 3;
    border-radius: 4px
}

.rented-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
    backdrop-filter: blur(10px);
    z-index: 3;
    border-radius: 4px
}

.featured-badge {
    position: absolute !important;
    top: 10px !important;
    left: 8px !important;
    padding: 0.7rem 1.3rem !important;
    background: linear-gradient(135deg, #F8D6B5 0%, #E5C5A3 50%, #D4B492 100%) !important;
    color: #2d1f14 !important;
    font-weight: 900 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1rem !important;
    box-shadow: 0 8px 25px rgba(248, 214, 181, 0.8), 0 4px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 4 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    animation: heartbeatGlow 2s ease-in-out infinite !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    border-radius: 4px !important
}

@keyframes heartbeatGlow {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(248, 214, 181, 0.8), 0 4px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4)
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(248, 214, 181, 1), 0 6px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6)
    }
}

.featured-badge i {
    font-size: 1.1rem !important;
    color: #8f7963 !important;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)) !important;
    animation: heartPulse 1.5s ease-in-out infinite !important
}

@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1)
    }

    25% {
        transform: scale(1.2)
    }

    50% {
        transform: scale(1)
    }
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    grid-column: 1/-1
}

.load-more-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-white);
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    border-radius: 4px
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2)
}

.load-more-btn.hidden {
    display: none
}

.empty-category {
    text-align: center;
    padding: 3rem 1.5rem;
    grid-column: 1/-1
}

.empty-category i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--darker-gold)
}

.empty-category h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700
}

.empty-category p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(0, 0, 0, 0.7)
}

.empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    transition: transform 0.3s ease;
    border-radius: 4px
}

.empty-cta:hover {
    transform: translateY(-3px)
}

.leaflet-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem
}

.leaflet-modal.active {
    display: flex
}

.leaflet-container-wrapper {
    width: 100%;
    max-width: 900px;
    height: 80%;
    background: var(--primary-white);
    border: 3px solid var(--primary-gold);
    position: relative;
    box-shadow: 0 10px 50px rgba(185, 161, 137, 0.5);
    border-radius: 8px;
    overflow: hidden
}

.leaflet-header {
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-white);
    padding: 1rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem
}

.leaflet-close {
    background: none;
    border: none;
    color: var(--primary-white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease
}

.leaflet-close:hover {
    transform: scale(1.2) rotate(90deg)
}

#leafletMap {
    width: 100%;
    height: calc(100% - 60px)
}

.custom-leaflet-marker {
    background: transparent !important;
    border: none !important
}

.leaflet-popup-content-wrapper {
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    border: 2px solid var(--primary-gold);
    box-shadow: 0 8px 30px rgba(185, 161, 137, 0.4);
    border-radius: 8px;
    padding: 0;
    overflow: hidden
}

.leaflet-popup-content {
    margin: 0;
    min-width: 280px
}

.popup-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid var(--light-gold)
}

.popup-info {
    padding: 1rem
}

.popup-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--darker-gold);
    margin-bottom: 0.5rem
}

.popup-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.8rem
}

.popup-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1rem
}

.popup-cta {
    padding: 0.6rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 4px
}

.popup-whatsapp {
    background: #25D366;
    color: white
}

.popup-whatsapp:hover {
    background: #128C7E
}

.popup-details {
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: white
}

.popup-details:hover {
    background: var(--darker-gold)
}

.leaflet-popup-tip {
    background: var(--primary-gold)
}

/* === BELOW-FOLD SECTIONS : content-visibility pour perf === */

.faq-section {
    padding: 4rem 6%;
    background: linear-gradient(135deg, rgba(185, 161, 137, 0.08), rgba(229, 212, 193, 0.12), rgba(255, 255, 255, 0.05));
    content-visibility: auto;
    contain-intrinsic-size: auto 600px
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem
}

.faq-item {
    background: var(--primary-white);
    border: 2px solid rgba(185, 161, 137, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08)
}

.faq-item:hover {
    border-color: var(--darker-gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px)
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.8rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    gap: 1rem
}

.faq-question:hover {
    background: rgba(185, 161, 137, 0.08)
}

.faq-question span:first-child {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
    flex: 1;
    line-height: 1.5
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--darker-gold);
    flex-shrink: 0
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-gold)
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(185, 161, 137, 0.03)
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 1.5rem 1.8rem;
    border-top: 1px solid rgba(185, 161, 137, 0.2)
}

.faq-answer p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.8);
    margin: 0
}

.faq-answer strong {
    color: var(--darker-gold);
    font-weight: 700
}

.landscape-image-section {
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-black);
    content-visibility: auto;
    contain-intrinsic-size: auto 400px
}

.landscape-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7)
}

.landscape-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(185, 161, 137, 0.3), transparent 60%)
}

.landscape-content {
    position: absolute;
    bottom: 6%;
    left: 6%;
    z-index: 2;
    color: var(--primary-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)
}

.landscape-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.04em
}

.quiz-section {
    padding: 4rem 6%;
    background: linear-gradient(135deg, #B9A189 0%, #E5D4C1 50%, #ffffff 100%);
    content-visibility: auto;
    contain-intrinsic-size: auto 700px
}

.quiz-container {
    max-width: 850px;
    margin: 0 auto
}

.quiz-question {
    display: none;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(185, 161, 137, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 1.2rem
}

.quiz-question.active {
    display: block
}

.quiz-question-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-white);
    display: flex;
    align-items: center;
    font-weight: 700
}

.quiz-options {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 2rem
}

.quiz-option {
    padding: 1rem 1.3rem;
    background: transparent;
    color: var(--primary-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-align: left;
    display: flex;
    align-items: center;
    border-radius: 4px;
    font-weight: 600
}

.quiz-option:hover {
    background: rgba(185, 161, 137, 0.2);
    border-color: var(--primary-gold)
}

.quiz-option.selected {
    background: linear-gradient(135deg, #B9A189, #C4AF9A) !important;
    color: var(--primary-black) !important;
    border-color: var(--darker-gold) !important
}

.quiz-nav {
    display: flex;
    gap: 0.7rem
}

.quiz-btn {
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-black);
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    border-radius: 4px
}

.quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2)
}

.quiz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed
}

.quiz-result {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    text-align: center
}

.quiz-result.active {
    display: block
}

.quiz-result-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block
}

.quiz-result-title {
    font-size: 1.8rem;
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-weight: 700
}

.quiz-result p {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6
}

.quiz-cta-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center
}

.quiz-cta-primary {
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    border: 2px solid var(--darker-gold);
    border-radius: 4px
}

.quiz-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2)
}

.quiz-cta-secondary {
    padding: 1.2rem 2.5rem;
    background: transparent;
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    border: 2px solid var(--primary-black);
    border-radius: 4px
}

.quiz-cta-secondary:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    transform: translateY(-3px)
}

.video-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-black);
    content-visibility: auto;
    contain-intrinsic-size: auto 500px
}

.video-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0
}

.video-section-video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.maps-section {
    padding: 3rem 6%;
    background: linear-gradient(135deg, #B9A189 0%, #E5D4C1 50%, #ffffff 100%);
    content-visibility: auto;
    contain-intrinsic-size: auto 800px
}

.maps-section-content {
    max-width: 900px;
    margin: 0 auto
}

.maps-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 3vw, 2rem)
}

.maps-main-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem
}

.maps-iframe-wrapper {
    width: 100%;
    height: 400px;
    border: 2px solid var(--darker-gold);
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15)
}

.maps-iframe-final {
    width: 100%;
    height: 100%;
    border: none
}

.maps-info-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem
}

.maps-info-card-horizontal {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(185, 161, 137, 0.3);
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem
}

.maps-info-card-horizontal:hover {
    transform: translateY(-3px);
    border-color: var(--primary-gold);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1)
}

.maps-info-card-horizontal i {
    color: var(--darker-gold);
    font-size: 1.2rem
}

.maps-info-card-content-horizontal .maps-info-title {
    color: var(--primary-black);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    display: block
}

.maps-info-card-content-horizontal p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.85rem
}

.maps-cta-section {
    text-align: center
}

.maps-cta-title {
    font-size: 1.3rem;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    font-weight: 700
}

.maps-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto
}

.maps-cta {
    padding: 1.2rem 1rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    border-radius: 4px
}

.maps-cta i {
    font-size: 1.2rem
}

.maps-cta-primary {
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-white);
    border: 2px solid var(--darker-gold)
}

.maps-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2)
}

.maps-cta-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-black);
    border: 2px solid rgba(185, 161, 137, 0.4)
}

.maps-cta-secondary:hover {
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-white);
    transform: translateY(-3px)
}

.hotel-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease
}

.hotel-popup-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards
}

@keyframes fadeIn {
    to {
        opacity: 1
    }
}

.hotel-popup-container {
    background: #ffffff;
    max-width: 600px;
    width: 100%;
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.4s ease;
    overflow: hidden
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.hotel-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gold);
    color: var(--primary-white);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2)
}

.hotel-popup-close:hover {
    background: var(--primary-black);
    transform: scale(1.1)
}

.hotel-popup-content {
    padding: 3rem 2.5rem 2.5rem
}

.hotel-popup-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-black);
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem
}

.hotel-popup-image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(185, 161, 137, 0.3);
    border-radius: 8px
}

.hotel-popup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease
}

.hotel-popup-image:hover {
    transform: scale(1.05)
}

.hotel-popup-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
    text-align: center;
    margin-bottom: 2rem
}

.hotel-popup-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #B9A189, #C4AF9A);
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    transition: all 0.3s ease;
    border-radius: 4px
}

.hotel-popup-cta:hover {
    background: var(--darker-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3)
}

@media (max-width:1024px) {
    .presentation-section {
        flex-direction: column;
        gap: 3rem;
        padding: 3rem 5%
    }

    .presentation-video-container {
        flex: 0 0 auto;
        max-width: 100%
    }

    .presentation-video {
        max-width: 100%
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px
    }

    .hero-section,
    .gallery-section,
    .faq-section,
    .quiz-section,
    .maps-section,
    .artistic-section {
        padding-left: 4%;
        padding-right: 4%
    }

    .hero-section {
        height: 100vh !important;
        min-height: 350px;
        align-items: flex-end;
        padding-bottom: 2rem
    }

    .hero-content h1 {
        font-size: 1.5rem
    }

    .hero-content p {
        font-size: 0.85rem
    }

    .hero-cta-container {
        flex-direction: column;
        max-width: 100%
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 2rem;
        font-size: 0.75rem
    }

    .hero-search-wrapper {
        max-width: 100%
    }

    .search-results-dropdown {
        max-height: 300px
    }

    .search-result-item {
        padding: 0.7rem
    }

    .search-result-image-wrapper {
        width: 70px;
        height: 55px
    }

    .search-result-title {
        font-size: 0.85rem
    }

    .search-result-price {
        font-size: 0.8rem
    }

    .gallery-content.active,
    .gallery-content-direct {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100%
    }

    .property-card {
        width: 100% !important;
        max-width: 100% !important
    }

    .property-carousel {
        height: 200px
    }

    .property-info {
        padding: 1rem
    }

    .property-price {
        font-size: 1.1rem
    }

    .property-title {
        font-size: 0.95rem;
        min-height: auto;
        line-height: 1.3
    }

    .property-description {
        font-size: 0.8rem;
        line-height: 1.4
    }

    .property-status {
        top: 6px;
        right: 6px;
        padding: 0.3rem 0.6rem;
        font-size: 0.6rem
    }

    .sold-badge,
    .rented-badge {
        top: 6px;
        left: 6px;
        padding: 0.4rem 0.8rem;
        font-size: 0.6rem
    }

    .featured-badge {
        top: 6px !important;
        left: 6px !important;
        padding: 0.4rem 0.8rem !important;
        font-size: 0.6rem !important;
        gap: 0.3rem !important;
        animation: none !important
    }

    .featured-badge i {
        font-size: 0.8rem !important;
        animation: none !important
    }

    .property-actions {
        gap: 0.4rem;
        flex-direction: column
    }

    .property-cta {
        width: 100%;
        padding: 0.5rem;
        font-size: 0.7rem;
        justify-content: center
    }

    .location-btn {
        padding: 0.5rem;
        font-size: 0.75rem;
        margin-bottom: 0.6rem
    }

    .property-view-btn {
        padding: 0.6rem;
        font-size: 0.8rem
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 32px;
        height: 32px
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px
    }

    .carousel-indicators button {
        width: 6px;
        height: 6px;
        margin: 0 3px
    }

    .quiz-nav,
    .quiz-cta-container {
        flex-direction: column
    }

    .quiz-question {
        padding: 1.5rem
    }

    .quiz-question-title {
        font-size: 1.2rem
    }

    .quiz-option {
        padding: 0.8rem 1rem;
        font-size: 0.85rem
    }

    .quiz-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .faq-question {
        padding: 1rem 1.2rem
    }

    .faq-item.active .faq-answer {
        padding: 1rem 1.2rem
    }

    .maps-info-horizontal,
    .maps-cta-grid {
        grid-template-columns: 1fr
    }

    .maps-iframe-wrapper {
        height: 280px
    }

    .maps-info-card-horizontal {
        padding: 0.8rem
    }

    .maps-info-card-horizontal i {
        font-size: 1rem
    }

    .maps-cta {
        padding: 1rem;
        font-size: 0.75rem
    }

    .quiz-cta-primary,
    .quiz-cta-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.85rem
    }

    .hotel-popup-overlay {
        padding: 0.8rem
    }

    .hotel-popup-content {
        padding: 2rem 1.2rem 1.2rem
    }

    .hotel-popup-title {
        font-size: 1.2rem
    }

    .hotel-popup-text {
        font-size: 0.9rem
    }

    .hotel-popup-cta {
        font-size: 0.8rem;
        padding: 0.8rem 1.5rem
    }

    .hotel-popup-close {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        top: 0.7rem;
        right: 0.7rem
    }

    .postcards-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 1rem !important;
        padding-bottom: 1rem !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(185, 161, 137, 0.3) transparent;
        grid-template-columns: unset !important;
    }

    .postcards-container::-webkit-scrollbar {
        height: 6px;
    }

    .postcards-container::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
    }

    .postcards-container::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, var(--primary-gold), var(--darker-gold));
        border-radius: 10px;
    }

    .postcard {
        flex: 0 0 80% !important;
        min-width: 80% !important;
        scroll-snap-align: start;
        aspect-ratio: 4 / 3;
        grid-column: unset !important;
        grid-row: unset !important;
        min-height: 250px !important;
    }

    .postcard:nth-child(4) { order: 1; }
    .postcard:nth-child(2) { order: 2; }
    .postcard:nth-child(8) { 
        order: 3; 
        flex: 0 0 90% !important;
        min-width: 90% !important;
    }
    .postcard:nth-child(7) { order: 4; }
    .postcard:nth-child(6) { order: 5; }
    .postcard:nth-child(5) { order: 6; }
    .postcard:nth-child(1) { order: 7; }
    .postcard:nth-child(3) { order: 8; }

    .postcard-title {
        font-size: 0.95rem;
    }

    .postcard:nth-child(8) .postcard-title {
        font-size: 1.2rem;
    }

    .postcard:nth-child(8) .postcard-title::before {
        font-size: 2rem;
    }

    .postcard:nth-child(8) .postcard-title::after {
        font-size: 0.75rem;
    }

    .presentation-section {
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem 4%
    }

    .presentation-content {
        order: 1
    }

    .presentation-video-container {
        flex: 0 0 auto;
        max-width: 100%;
        order: 2
    }

    .presentation-cta {
        order: 3;
        margin-top: 1.5rem;
        padding: 0.8rem 1.8rem;
        font-size: 0.75rem
    }

    .presentation-video {
        max-width: 100%
    }

    .gallery-subtitle {
        font-size: 0.9rem;
        margin-top: -1rem
    }

    .load-more-btn {
        padding: 0.8rem 2rem;
        font-size: 0.8rem
    }
}

@media (max-width: 480px) {
    .hotel-popup-title {
        font-size: 1.1rem
    }

    .hotel-popup-content {
        padding: 1.8rem 1rem 1rem
    }

    .property-carousel {
        height: 180px
    }

    .property-price {
        font-size: 1rem
    }

    .property-title {
        font-size: 0.9rem
    }

    .property-description {
        font-size: 0.75rem
    }

    .postcard {
        flex: 0 0 85% !important;
        min-width: 85% !important;
        min-height: 220px !important;
    }

    .postcard:nth-child(8) {
        flex: 0 0 95% !important;
        min-width: 95% !important;
    }
}

img:not([src]) {
    visibility: hidden
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important
    }
}