
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap');

/* ==========================================
   VARIABLES ET STYLES GÉNÉRAUX
   ========================================== */

:root {
    --green: #003c33;
    --green2: #002e28;
    --gold: #d9ad66;
    --text: #233a34;
    --cream: #f9f7f2;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 115px;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font: 16px/1.6 var(--sans);
}

a {
    text-decoration: none;
    color: inherit;
}

button,
select {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.section-wrap {
    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* ==========================================
   HEADER ET NAVIGATION
   ========================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(110deg, #002e28, #00473b 60%, #002b25);
    border-bottom: 1px solid rgba(217, 173, 102, .4);
    box-shadow: 0 5px 22px #001c1844;
}

.nav-shell {
    width: min(1510px, calc(100% - 50px));
    margin: auto;
    display: flex;
    align-items: center;
    gap: 25px;
    min-height: 112px;
}

.brand {
    display: flex;
    align-items: center;
    flex: none;
    width: 255px;
}

.brand img {
    display: block;
    width: 100%;
    height: 94px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 34px);
    width: 100%;
    justify-content: flex-end;
}

.nav-link {
    position: relative;
    color: #fff;
    font: 500 clamp(13px, 1.1vw, 17px) var(--serif);
    white-space: nowrap;
    padding: 12px 0;
}

.nav-link:after {
    content: '';
    height: 2px;
    background: var(--gold);
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 100%;
    transition: right .2s;
}

.nav-link:hover:after,
.nav-link.active:after {
    right: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 5px;
    padding-left: 18px;
    border-left: 1px solid #c7ad80;
}

.lang-wrap select {
    color: white;
    background: transparent;
    border: 0;
    max-width: 95px;
    cursor: pointer;
}

.lang-wrap option {
    color: #222;
}

.login {
    border: 1px solid var(--gold);
    border-radius: 9px;
    color: white;
    white-space: nowrap;
    padding: 7px 15px;
}

.login:hover,
.primary-button:hover {
    background: #0d5a4d;
}

.menu-toggle {
    display: none;
}

/* ==========================================
   HERO - BANNIÈRE PRINCIPALE
   ========================================== */

.hero {
    height: clamp(540px, 48vw, 700px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(0deg, #001c1955, #00281c30),
        url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?w=2200&q=85') center 52%/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #002f2c3b, transparent 40%, #002b2855);
}

.hero-content {
    position: relative;
    padding: 45px 15px 90px;
    text-shadow: 0 2px 18px #002b2866;
}

.eyebrow,
.overline {
    font-size: 12px;
    letter-spacing: .28em;
    font-weight: 700;
    text-transform: uppercase;
}

.hero h1 {
    font: 400 clamp(48px, 6.1vw, 94px)/1.17 var(--serif);
    margin: 18px 0;
}

.gold-rule {
    width: 85px;
    height: 2px;
    background: var(--gold);
    margin: 25px auto;
}

.hero-sub {
    font: italic clamp(19px, 2vw, 30px) var(--serif);
    margin: 0 auto 35px;
    max-width: 780px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    color: white;
    background: var(--green);
    border: 1px solid var(--gold);
    border-radius: 100px;
    padding: 13px 29px;
    font-weight: 600;
    box-shadow: 0 5px 25px #00261a33;
    transition: background .2s;
}

/* ==========================================
   TITRES DES SECTIONS
   ========================================== */

.section-heading {
    text-align: center;
    margin: 56px auto 32px;
    max-width: 730px;
}

.section-heading h2,
.land-section h2,
.utilities h2,
.contact-section h2 {
    font: 400 clamp(35px, 3vw, 52px)/1.2 var(--serif);
    margin: 10px 0 15px;
}

.section-heading p:not(.overline) {
    color: #60736e;
}

.overline {
    color: #aa854a;
}

/* ==========================================
   CARTES VIEW / GARDEN / HOTEL BOUTIQUE
   ========================================== */

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

.world-card {
    border: 5px solid #fff;
    border-radius: 16px;
    box-shadow: 0 6px 22px #0002;
    min-height: 360px;
    display: flex;
    align-items: end;
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    transition: transform .25s;
}

.world-card:hover {
    transform: translateY(-5px);
}

.world-card:before {
    content: '';
    inset: 0;
    position: absolute;
    background: linear-gradient(0deg, #001e1de8, transparent 68%);
}

.world-view {
    background-image: url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=1000&q=85');
}

.world-garden {
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1000&q=85');
}

.world-hotel {
    background-image: url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?w=1000&q=85');
}

.card-copy {
    display: flex;
    flex-direction: column;
    padding: 30px;
    color: #fff;
    position: relative;
    width: 100%;
}

.card-title {
    font: 400 clamp(31px, 3vw, 46px) var(--serif);
    line-height: 1.15;
}

.card-desc {
    max-width: 290px;
    padding-right: 20px;
    font-size: 14px;
    margin-top: 9px;
}

.round-arrow {
    position: absolute;
    right: 24px;
    bottom: 25px;
    border: 1px solid white;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 24px;
}

/* ==========================================
   CARACTÉRISTIQUES DU PROJET
   ========================================== */

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 56px 0 65px;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.feature:not(:last-child) {
    border-right: 1px solid #ddd;
}

.feature-icon {
    font-size: 40px;
    color: var(--green);
}

.feature strong,
.feature small {
    display: block;
}

.feature small {
    color: #65736c;
}

/* ==========================================
   SECTION TERRAINS ET TARIFS
   ========================================== */

.land-section {
    background: var(--cream);
    padding: 88px 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.split p {
    max-width: 650px;
    color: #5b6d66;
}

.price-grid {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.price-card {
    border: 1px solid #d7d8d0;
    background: white;
    border-radius: 10px;
    flex: 1;
    padding: 21px;
}

.price-card span,
.price-card small,
.price-card strong {
    display: block;
}

.price-card span {
    font: 25px var(--serif);
    color: var(--green);
}

.price-card small {
    color: #76827d;
    margin: 6px 0;
}

.price-card strong {
    font-size: 21px;
}

.price-card em {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.land-image {
    border-radius: 12px;
    min-height: 410px;
    background: url('https://images.unsplash.com/photo-1518509562904-e7ef99cdcc86?w=1200&q=85') center/cover;
    box-shadow: 0 20px 36px #0002;
}

/* ==========================================
   ÉQUIPEMENTS ET VIABILISATION
   ========================================== */

.utilities {
    text-align: center;
    padding-top: 85px;
    padding-bottom: 90px;
}

.project-text {
    max-width: 760px;
    margin: 0 auto 40px;
    color: #586e64;
}

.utilities h3 {
    font: 28px var(--serif);
    margin-bottom: 22px;
}

.utility-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.utility-grid div {
    padding: 16px 32px;
    border: 1px solid #dfddd3;
    background: #faf9f5;
    border-radius: 9px;
    min-width: 180px;
}

.utility-grid span {
    color: var(--gold);
    font-size: 22px;
    margin-right: 10px;
}

.disclaimer {
    font-size: 12px;
    color: #849089;
    margin-top: 25px;
}

/* ==========================================
   CONTACT
   ========================================== */

.contact-section {
    padding: 75px 0 85px;
    background: linear-gradient(120deg, #003f35, #002e28);
    color: #fff;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 15px;
}

.contact-section p:not(.overline) {
    margin-bottom: 30px;
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
    background: #00251f;
    color: #e5e0d4;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
}

.footer-inner img {
    max-width: 150px;
    max-height: 70px;
    object-fit: contain;
}

.footer-inner p {
    font-size: 12px;
}

/* ==========================================
   ACCESSIBILITÉ
   ========================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ==========================================
   RESPONSIVE - ÉCRANS < 1220px
   ========================================== */

@media (max-width: 1220px) {

    .nav-shell {
        gap: 12px;
    }

    .brand {
        width: 180px;
    }

    .nav {
        gap: 14px;
    }

    .nav-link {
        font-size: 13px;
    }

    .nav-actions {
        padding-left: 10px;
    }

    .login {
        padding: 6px 10px;
    }
}

/* ==========================================
   RESPONSIVE - TABLETTES < 980px
   ========================================== */

@media (max-width: 980px) {

    .nav-shell {
        min-height: 88px;
        justify-content: space-between;
    }

    .brand {
        width: 200px;
    }

    .brand img {
        height: 78px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        border: 1px solid #ffffff66;
        background: transparent;
        padding: 12px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        background: white;
        width: 25px;
        height: 2px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #00382f;
        padding: 18px 6vw 26px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        box-shadow: 0 14px 24px #0003;
    }

    .nav.is-open {
        display: flex;
    }

    .nav-link {
        font-size: 17px;
        padding: 10px 0;
    }

    .nav-actions {
        border-left: 0;
        padding: 15px 0 0;
        margin: 0;
        justify-content: space-between;
    }

    .world-grid {
        gap: 10px;
    }

    .world-card {
        min-height: 290px;
    }

    .card-copy {
        padding: 20px;
    }

    .round-arrow {
        right: 15px;
        bottom: 15px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
        row-gap: 35px;
    }

    .feature:nth-child(2) {
        border: 0;
    }

    .split {
        gap: 35px;
    }
}

/* ==========================================
   RESPONSIVE - MOBILES < 660px
   ========================================== */

@media (max-width: 660px) {

    .section-wrap {
        width: calc(100% - 36px);
    }

    .nav-shell {
        width: calc(100% - 28px);
    }

    .hero {
        height: 560px;
    }

    .hero-content {
        padding: 35px 12px;
    }

    .hero h1 {
        font-size: 49px;
    }

    .hero-sub {
        font-size: 22px;
    }

    .world-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .world-card {
        min-height: 345px;
    }

    .features {
        padding: 36px 0;
        gap: 23px;
    }

    .feature {
        gap: 9px;
    }

    .feature-icon {
        font-size: 30px;
    }

    .feature strong {
        font-size: 13px;
    }

    .feature small {
        font-size: 12px;
    }

    .land-section {
        padding: 57px 0;
    }

    .land-image {
        min-height: 290px;
        grid-row: 1;
    }

    .price-grid {
        flex-direction: column;
    }

    .utilities {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .section-heading {
        margin-top: 40px;
    }
}
