/* =========================================================
   NOA STAY — PAGE D’ACCUEIL
   ========================================================= */

* {
    box-sizing: border-box;
}

:root {
    --green: #1f5f59;
    --green-dark: #163f3b;
    --ink: #1f2d2d;
    --text: #293332;
    --muted: #747e7d;
    --border: #e4e8e6;
    --soft: #f5f7f6;
    --white: #ffffff;
    --max-width: 1280px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

body,
input,
select,
button {
    font-family: Arial, Helvetica, sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

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

/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(228, 232, 230, 0.95);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(
        calc(100% - 68px),
        var(--max-width)
    );
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    color: var(--ink);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 4px;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    font-weight: 700;
}

.nav a {
    position: relative;
    padding: 8px 0;
}

.nav a:not(.nav-login)::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: var(--ink);
    transition: right 0.25s ease;
}

.nav a:not(.nav-login):hover::after {
    right: 0;
}

.nav-login {
    padding: 13px 20px !important;
    border: 1px solid var(--ink);
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.nav-login:hover {
    background: var(--ink);
    color: var(--white);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    background:
        linear-gradient(
            120deg,
            #e8eeeb 0%,
            #f6f7f6 50%,
            #e3e9e6 100%
        );
}

.hero-with-image {
    background-image:
        linear-gradient(
            90deg,
            rgba(15, 29, 27, 0.78) 0%,
            rgba(15, 29, 27, 0.48) 44%,
            rgba(15, 29, 27, 0.12) 100%
        ),
        var(--hero-image);

    background-position: center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(
        calc(100% - 68px),
        var(--max-width)
    );
    min-height: 690px;
    margin: 0 auto;
    padding: 110px 0 62px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-content {
    max-width: 710px;
}

.eyebrow,
.section-label {
    margin: 0 0 18px;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-with-image .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 7.4vw, 102px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -3px;
}

.hero-with-image h1 {
    color: var(--white);
}

.hero-description {
    max-width: 600px;
    margin: 28px 0 0;
    color: #586160;
    font-size: 18px;
    line-height: 1.8;
}

.hero-with-image .hero-description {
    color: rgba(255, 255, 255, 0.86);
}

/* =========================================================
   RECHERCHE
   ========================================================= */

.search-form {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr auto;
    align-items: stretch;
    width: 100%;
    max-width: 930px;
    border: 1px solid rgba(228, 232, 230, 0.95);
    background: var(--white);
    box-shadow: 0 25px 70px rgba(18, 37, 34, 0.16);
}

.search-field {
    padding: 18px 22px;
    border-right: 1px solid var(--border);
}

.search-field label {
    display: block;
    margin-bottom: 8px;
    color: #53605e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.search-field input,
.search-field select {
    width: 100%;
    min-height: 36px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--ink);
    font-size: 15px;
}

.search-field input::placeholder {
    color: #9ba2a0;
}

.search-button {
    min-width: 175px;
    padding: 0 28px;
    border: 0;
    background: var(--ink);
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.search-button:hover {
    background: var(--green);
}

/* =========================================================
   STRUCTURE DES SECTIONS
   ========================================================= */

.section {
    width: min(
        calc(100% - 68px),
        var(--max-width)
    );
    margin: 0 auto;
}

.stays-section,
.experience-section {
    padding-top: 110px;
    padding-bottom: 120px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 42px;
}

.section-header h2,
.experience-intro h2,
.owner-inner h2 {
    max-width: 760px;
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.section-link {
    flex-shrink: 0;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--ink);
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.section-link:hover {
    color: var(--green);
    border-color: var(--green);
}

/* =========================================================
   CARTES HÉBERGEMENTS
   ========================================================= */

.stays-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 26px;
}

.stay-card {
    display: block;
}

.stay-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf0ee;
}

.stay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.stay-card:hover .stay-image img {
    transform: scale(1.035);
}

.stay-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            145deg,
            #e9efec,
            #f7f8f7
        );
}

.stay-placeholder span {
    color: #99a5a1;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
}

.stay-content {
    padding-top: 19px;
}

.stay-type {
    margin: 0 0 7px;
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.stay-content h3 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
}

.stay-location {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.stay-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 17px;
    color: #5f6967;
    font-size: 13px;
}

.stay-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.stay-price strong {
    color: var(--ink);
    font-size: 18px;
}

.stay-price span {
    color: var(--muted);
    font-size: 13px;
}

.empty {
    padding: 70px 30px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.empty h3 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
}

.empty p {
    margin: 12px 0 0;
    color: var(--muted);
}

/* =========================================================
   DESTINATIONS
   ========================================================= */

.destinations-section {
    background: var(--soft);
}

.destinations-inner {
    padding-top: 110px;
    padding-bottom: 120px;
}

.destinations-grid {
    border-top: 1px solid #dce1df;
}

.destination-card {
    display: grid;
    grid-template-columns: 75px 1fr 50px;
    align-items: center;
    gap: 25px;
    padding: 30px 8px;
    border-bottom: 1px solid #dce1df;
    transition:
        padding 0.25s ease,
        background 0.25s ease;
}

.destination-card:hover {
    padding-right: 20px;
    padding-left: 20px;
    background: var(--white);
}

.destination-number {
    color: #9aa4a1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.destination-card h3 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 400;
}

.destination-card p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.destination-arrow {
    color: var(--ink);
    font-size: 27px;
    text-align: right;
    transition: transform 0.25s ease;
}

.destination-card:hover .destination-arrow {
    transform: translateX(5px);
}

/* =========================================================
   EXPÉRIENCE NOA STAY
   ========================================================= */

.experience-section {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 90px;
}

.experience-intro {
    max-width: 500px;
}

.experience-intro p:last-child {
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--border);
}

.experience-item {
    min-height: 310px;
    padding: 30px 25px;
    border-right: 1px solid var(--border);
}

.experience-item:last-child {
    border-right: 0;
}

.experience-item span {
    display: block;
    margin-bottom: 68px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.experience-item h3 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
}

.experience-item p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   ESPACE PROPRIÉTAIRE
   ========================================================= */

.owner-section {
    background: var(--ink);
    color: var(--white);
}

.owner-inner {
    width: min(
        calc(100% - 68px),
        var(--max-width)
    );
    min-height: 440px;
    margin: 0 auto;
    padding: 90px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 70px;
}

.owner-inner > div {
    max-width: 760px;
}

.section-label-light {
    color: rgba(255, 255, 255, 0.58);
}

.owner-inner h2 {
    color: var(--white);
}

.owner-inner p:last-child {
    max-width: 650px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.8;
}

.owner-button {
    flex-shrink: 0;
    padding: 17px 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.owner-button:hover {
    background: var(--white);
    color: var(--ink);
}

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

.footer {
    background: var(--white);
}

.footer-inner {
    width: min(
        calc(100% - 68px),
        var(--max-width)
    );
    margin: 0 auto;
    padding: 70px 0 55px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

.footer-brand {
    color: var(--ink);
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 4px;
}

.footer-inner p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 28px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-bottom {
    width: min(
        calc(100% - 68px),
        var(--max-width)
    );
    margin: 0 auto;
    padding: 22px 0 30px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid var(--border);
    color: #8b9492;
    font-size: 12px;
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1050px) {
    .hero,
    .hero-inner {
        min-height: 620px;
    }

    .hero-inner {
        padding-top: 90px;
    }

    .stays-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .experience-section {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .owner-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {
    .header-inner,
    .hero-inner,
    .section,
    .owner-inner,
    .footer-inner,
    .footer-bottom {
        width: min(
            calc(100% - 40px),
            var(--max-width)
        );
    }

    .header-inner {
        min-height: 74px;
        align-items: flex-start;
        flex-direction: column;
        padding-top: 18px;
        padding-bottom: 18px;
        gap: 14px;
    }

    .brand {
        font-size: 21px;
    }

    .nav {
        width: 100%;
        gap: 18px;
        overflow-x: auto;
        font-size: 13px;
        padding-bottom: 2px;
    }

    .nav-login {
        padding: 8px 13px !important;
        white-space: nowrap;
    }

    .hero,
    .hero-inner {
        min-height: 690px;
    }

    .hero-inner {
        padding-top: 72px;
        padding-bottom: 30px;
    }

    .hero h1 {
        font-size: clamp(52px, 16vw, 72px);
        letter-spacing: -2px;
    }

    .hero-description {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.7;
    }

    .search-form {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .search-field {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .search-button {
        min-height: 58px;
    }

    .stays-section,
    .experience-section,
    .destinations-inner {
        padding-top: 78px;
        padding-bottom: 82px;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .section-header h2,
    .experience-intro h2,
    .owner-inner h2 {
        font-size: 39px;
    }

    .stays-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .destination-card {
        grid-template-columns: 45px 1fr 30px;
        gap: 12px;
        padding: 24px 0;
    }

    .destination-card:hover {
        padding-right: 8px;
        padding-left: 8px;
    }

    .destination-card h3 {
        font-size: 25px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .experience-item {
        min-height: auto;
        padding: 28px 0 34px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .experience-item span {
        margin-bottom: 35px;
    }

    .owner-inner {
        min-height: auto;
        padding-top: 75px;
        padding-bottom: 75px;
        gap: 40px;
    }

    .owner-button {
        width: 100%;
        text-align: center;
    }

    .footer-inner,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}