
:root {
    --olive: #67745c;
    --olive-dark: #465340;
    --ivory: #faf8f3;
    --sand: #eae5da;
    --dark: #292c27;
    --text: #777970;
    --white: #ffffff;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--ivory);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    width: 100%;
}

.container {
    width: min(90%, 1320px);
    margin: auto;
}

.section-padding {
    padding: 120px 0;
}

:focus-visible {
    outline: 2px solid var(--olive);
    outline-offset: 4px;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: .35s ease;
}

.header.scrolled,
.header.menu-open {
    padding: 15px 0;
    background: rgba(250, 248, 243, .97);
    box-shadow: 0 8px 35px rgba(0, 0, 0, .06);
    backdrop-filter: blur(15px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    flex-shrink: 0;
    color: white;
    line-height: 1;
}

.logo-main {
    font-family: var(--serif);
    font-size: 33px;
    letter-spacing: 3px;
}

.logo-main span {
    color: #c7c5a4;
}

.logo-sub {
    margin-top: 10px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2.2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    position: relative;
    color: white;
    font-size: 12px;
    font-weight: 600;
    transition: color .3s;
}

.nav a:hover,
.nav a.active {
    color: #d5d6c1;
}

.header-contact {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 14px 20px;
    border: 1px solid rgba(255,255,255,.7);
    color: white;
    font-size: 12px;
    font-weight: 600;
    transition: .3s;
}

.header-contact:hover {
    background: white;
    color: var(--dark);
}

.header.scrolled .logo,
.header.menu-open .logo,
.header.scrolled .nav a,
.header.menu-open .nav a,
.header.scrolled .header-contact,
.header.menu-open .header-contact {
    color: var(--dark);
}

.header.scrolled .header-contact,
.header.menu-open .header-contact {
    border-color: var(--olive);
}

.header.scrolled .nav a:hover,
.header.scrolled .nav a.active,
.header.menu-open .nav a:hover,
.header.menu-open .nav a.active {
    color: var(--olive);
}

.burger {
    display: none;
    width: 35px;
    border: 0;
    background: transparent;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 7px 0;
    background: white;
    transition: .3s;
}

.header.scrolled .burger span,
.header.menu-open .burger span {
    background: var(--dark);
}

.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* HERO */

.hero {
    position: relative;
    min-height: 800px;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background:
        #404c43 url("../images/hero.jpg")
        center / cover no-repeat;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(18, 29, 28, .65),
        rgba(18, 29, 28, .15)
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 130px;
}

.eyebrow {
    display: inline-block;
    color: var(--olive);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero-eyebrow {
    color: #f2ead7;
    margin-bottom: 28px;
}

.hero h1 {
    max-width: 950px;
    font-family: var(--serif);
    font-size: clamp(48px, 6.5vw, 92px);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -2px;
}

.hero h1 em {
    font-weight: 400;
}

.hero-content > p {
    max-width: 520px;
    margin: 30px 0 40px;
    color: rgba(255,255,255,.88);
    font-size: 15px;
    line-height: 2;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 18px 27px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    transition: .3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn span {
    font-size: 19px;
}

.btn-light {
    background: var(--ivory);
    color: var(--dark);
}

.btn-light:hover {
    background: var(--olive);
    color: white;
}

.hero-bottom {
    position: absolute;
    bottom: 35px;
    left: 5%;
    right: 5%;
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 10px;
    letter-spacing: 2px;
}

.hero-bottom a {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-bottom a span {
    font-size: 22px;
}

/* RECHERCHE */

.search-section {
    position: relative;
    z-index: 5;
    margin-top: -1px;
    background: var(--ivory);
}

.search-bar {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
    align-items: stretch;
    margin-top: -45px;
    background: white;
    box-shadow: 0 20px 60px rgba(0,0,0,.09);
}

.search-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 24px 22px;
    border-right: 1px solid #ecebe6;
}

.search-field label {
    color: var(--dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.search-field input,
.search-field select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 13px;
}

.search-button {
    padding: 20px 30px;
    border: 0;
    background: var(--olive);
    color: white;
    font-size: 12px;
    font-weight: 700;
    transition: .3s;
}

.search-button:hover {
    background: var(--olive-dark);
}

.search-button span {
    margin-left: 15px;
}

/* INTRO */

.intro {
    text-align: center;
}

.intro-inner {
    max-width: 760px;
}

.intro h2,
.section-heading h2,
.experience-content h2,
.conciergerie-heading h2,
.final-cta h2 {
    font-family: var(--serif);
    color: var(--dark);
    font-size: clamp(36px, 4.5vw, 62px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -1px;
}

.intro h2 {
    margin: 25px 0;
}

.intro h2 em,
.section-heading h2 em,
.experience-content h2 em,
.conciergerie-heading h2 em {
    color: var(--olive);
    font-weight: 400;
}

.intro p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 2.2;
}

.intro-signature {
    display: block;
    margin-top: 35px;
    color: var(--olive);
    font-family: var(--serif);
    font-size: 19px;
    font-style: italic;
    letter-spacing: 3px;
}

/* COLLECTION */

.collection {
    background: #f1eee7;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-top: 18px;
}

.heading-right {
    max-width: 350px;
}

.heading-right p {
    margin-bottom: 25px;
    font-size: 14px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--olive);
    color: var(--olive);
    font-size: 12px;
    font-weight: 700;
    transition: gap .3s;
}

.text-link:hover {
    gap: 28px;
}

.villa-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 55px 30px;
}

.villa-card {
    min-width: 0;
}

.villa-image {
    position: relative;
    display: block;
    height: 380px;
    overflow: hidden;
    background: #d6d8d0;
}

.villa-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .7s;
}

.villa-card:hover .villa-image img {
    transform: scale(1.06);
}

.villa-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 14px;
    background: var(--ivory);
    color: var(--olive);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.villa-arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--ivory);
    color: var(--dark);
    font-size: 20px;
}

.villa-details {
    padding-top: 25px;
}

.villa-location {
    color: var(--olive);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.villa-details h3 {
    margin: 10px 0;
    color: var(--dark);
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
}

.villa-details > p {
    font-size: 13px;
}

.villa-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #d9d6ce;
    font-size: 12px;
}

.villa-bottom strong {
    color: var(--dark);
    font-size: 15px;
}

.villa-bottom a {
    color: var(--olive);
    font-weight: 700;
}

.demo-note {
    margin-top: 35px;
    font-size: 11px;
    text-align: center;
}

/* EXPÉRIENCE */

.experience-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
}

.experience-image {
    min-height: 620px;
    background: #c3c7bb;
}

.experience-image img {
    height: 100%;
    object-fit: cover;
}

.experience-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 90px clamp(35px, 7vw, 120px);
    background: var(--ivory);
}

.experience-content h2 {
    margin: 25px 0;
}

.experience-content p {
    max-width: 480px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 2;
}

.experience-content .text-link {
    margin-top: 20px;
}

/* CONCIERGERIE */

.conciergerie {
    background: white;
}

.conciergerie-heading {
    max-width: 800px;
    margin: 0 auto 65px;
    text-align: center;
}

.conciergerie-heading h2 {
    margin: 20px 0;
}

.conciergerie-heading p {
    font-size: 14px;
}

.conciergerie-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.conciergerie-card {
    position: relative;
    padding: 45px 35px;
    border: 1px solid #e8e6df;
    transition: .3s;
}

.conciergerie-card:hover {
    transform: translateY(-6px);
    border-color: var(--olive);
}

.service-index {
    color: #a4a79c;
    font-size: 11px;
    letter-spacing: 2px;
}

.service-symbol {
    display: block;
    margin: 35px 0 25px;
    color: var(--olive);
    font-size: 48px;
    line-height: 1;
}

.conciergerie-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 400;
}

.conciergerie-card p {
    font-size: 13px;
}

/* CTA */

.final-cta {
    position: relative;
    padding: 130px 0;
    background: var(--olive-dark);
    text-align: center;
}

.final-cta .eyebrow {
    color: #e3dfcf;
}

.final-cta h2 {
    margin: 20px 0;
    color: white;
    font-size: clamp(44px, 6vw, 78px);
}

.final-cta p {
    margin-bottom: 35px;
    color: #e1e5dc;
    font-size: 14px;
}

/* FOOTER */

.footer {
    padding: 85px 0 0;
    background: #242a25;
    color: white;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 75px;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 25px;
    color: #adb5ab;
    font-size: 13px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-column h3 {
    margin-bottom: 10px;
    color: white;
    font-size: 13px;
}

.footer-column a,
.footer-column p {
    color: #adb5ab;
    font-size: 12px;
    transition: color .3s;
}

.footer-column a:hover,
.footer-column .footer-cta {
    color: #d2d8c1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 27px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #a7b0a5;
    font-size: 10px;
}

/* ANIMATIONS */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .header-contact {
        display: none;
    }

    .nav {
        gap: 18px;
    }

    .search-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-button {
        grid-column: 1 / -1;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .section-padding {
        padding: 85px 0;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 5% 25px;
        background: var(--ivory);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: .3s;
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav a {
        padding: 14px 0;
        color: var(--dark);
        font-size: 14px;
    }

    .burger {
        display: block;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .experience-section {
        grid-template-columns: 1fr;
    }

    .experience-image {
        min-height: 400px;
        height: 400px;
    }

    .experience-content {
        padding: 80px 7%;
    }

    .conciergerie-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 17px 0;
    }

    .logo-main {
        font-size: 26px;
    }

    .logo-sub {
        font-size: 7px;
        letter-spacing: 1.4px;
    }

    .hero {
        min-height: 720px;
        min-height: 100svh;
        background-position: 60% center;
    }

    .hero-overlay {
        background: rgba(18,29,28,.55);
    }

    .hero-content {
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .hero h1 {
        font-size: clamp(42px, 10vw, 58px);
        letter-spacing: -1px;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .hero-bottom {
        bottom: 20px;
        font-size: 8px;
    }

    .search-bar {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .search-field {
        padding: 18px 22px;
        border-right: 0;
        border-bottom: 1px solid #ecebe6;
    }

    .search-button {
        grid-column: auto;
        min-height: 60px;
    }

    .villa-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .villa-image {
        height: 280px;
    }

    .intro h2,
    .section-heading h2,
    .experience-content h2,
    .conciergerie-heading h2 {
        font-size: 38px;
    }

    .experience-image {
        height: 330px;
        min-height: 330px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}



