/* Ahouses */

/* =========================================================
   A-HOUSES CAMP
   Page des hébergements
========================================================= */

.ahouses-page {
    color: #20251f;
    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.ahouses-page .container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


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

.ahouses-hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.ahouse-overlay{
    position: absolute;
    inset: 0;
    filter: blur(2.5px);
    filter: brightness(60%);
    /* padding: 20px; */
}

.ahouses-hero-content {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding-bottom: 90px;
    /* z-index: 2000; */
}

.ahouses-eyebrow,
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    /* z-index: 2; */
}

.ahouses-eyebrow {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    /* -webkit-text-stroke: 2px var(--bark-deep); */
    /* z-index: 2000; */

}


.ahouses-hero h1 {
    display: flex;
    justify-self: center;
    margin: 0;
    max-width: 760px;
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -0.05em;
    color: var(--honey-deep);
    z-index: 2000;
    
}

.ahouses-hero p {
    display: flex;
    justify-self: center;
    max-width: 570px;
    margin: 30px 0 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    /* z-index: 1000; */
}


/* =========================================================
   INTRODUCTION
========================================================= */

.ahouses-introduction {
    padding: 120px 0 90px;
}

.ahouses-introduction .container {
    max-width: 820px;
    text-align: center;
}



.ahouses-introduction h2 {
    margin: 18px 0 24px;
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--cream);
}

.ahouses-introduction p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--cream);
    font-size: 1rem;
    line-height: 1.8;
}


/* =========================================================
   ZONES
========================================================= */

.zone-section {
    padding: 90px 0 120px;
    border-top: 1px solid var(--cream);
}

.zone-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 55px;
}

.zone-number {
    display: block;
    margin-bottom: 15px;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--cream);
}

.zone-header h2 {
    margin: 12px 0 0;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--cream);
}

.zone-description {
    margin: 0;
    max-width: 500px;
    color: var(--cream);
    font-size: 1rem;
    line-height: 1.8;
}


/* =========================================================
   GRID A-HOUSES
========================================================= */

.ahouses-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}


/* =========================================================
   CARD A-HOUSE
========================================================= */

.ahouse-card {
    /* background: #fff; */
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.ahouse-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 50px rgba(31, 38, 30, 0.09);
}


/* =========================================================
   IMAGE
========================================================= */

.ahouse-card-image {
    height: 385px;
    position: relative;
    overflow: hidden;
    background: #dfe2d9;
}



.ahouse-image-placeholder span {
    font-size: 8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.ahouse-zone {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 9px 13px;
    background: var(--white);
    color: var(--bark);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 20px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.ahouse-card-content {
    padding: 28px;
    background: var(--cream);
    border-bottom-left-radius: 30px 30px;
    border-bottom-right-radius: 30px 30px;
}

.ahouse-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.ahouse-card h3 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.ahouse-capacity {
    white-space: nowrap;
    padding-top: 5px;
    color: #747970;
    font-size: 0.85rem;
}

.ahouse-price {
    margin-top: 22px;
}

.ahouse-price strong {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bark);
}

.ahouse-price span {
    color: #777b73;
    font-size: 0.9rem;
}


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

.ahouse-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--bark);
}

.availability {
    font-size: 0.75rem;
    font-weight: 600;
}

.availability.available {
    color: #637256;
}

.availability.unavailable {
    color: #9b5c52;
}

/* =========================================================
   EMPTY
========================================================= */

.no-ahouses {
    grid-column: 1 / -1;
    margin: 0;
    padding: 60px;
    text-align: center;
    background: #eeece5;
    color: #777b73;
}

.empty-zones {
    padding: 120px 0;
    text-align: center;
}

.empty-zones h2 {
    margin: 0 0 15px;
    font-size: 3rem;
    font-weight: 500;
}

.empty-zones p {
    color: #70746c;
}


/* =========================================================
   CTA
========================================================= */

.ahouses-cta {
    padding: 130px 0;
    color: var(--white);
    border-top: 1px solid var(--cream);
}

.ahouses-cta .container {
    text-align: center;
}

.ahouses-cta .section-label {
    color: var(--honey-deep);
}

.ahouses-cta h2 {
    margin: 20px 0 25px;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--cream);
}

.ahouses-cta p {
    max-width: 550px;
    margin: 0 auto 35px;
    color: var(--cream);
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 25px;
    background: #f5f3ee;
    color: #263025;
    text-decoration: none;
    font-weight: 600;
    transition:
        background 0.25s ease,
        gap 0.25s ease;
}

.cta-button:hover {
    background: #fff;
    color: #263025;
    gap: 22px;
}

/* image principale */

.ahouse-card-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-top-left-radius: 30px 30px;
    border-top-right-radius: 30px 30px;
}

.ahouse-card-image > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* =========================================================
   RESPONSIVE — A-HOUSES
========================================================= */


/* =========================================================
   TABLETTE
   1050px
========================================================= */

@media (max-width: 1050px) {

    .ahouses-page .container,
    .ahouses-hero-content {
        width: min(100% - 50px, 900px);
    }


    /* HERO */

    .ahouses-hero {
        min-height: 600px;
    }

    .ahouses-hero-content {
        padding-bottom: 60px;
    }

    .ahouses-eyebrow {
        font-size: clamp(3rem, 7vw, 5.5rem);
    }

    .ahouses-hero h1 {
        max-width: 700px;
        font-size: clamp(2.8rem, 6vw, 5rem);
    }

    .ahouses-hero p {
        max-width: 550px;
        font-size: 1rem;
    }


    /* INTRODUCTION */

    .ahouses-introduction {
        padding: 90px 0 70px;
    }

    .ahouses-introduction .container {
        max-width: 760px;
    }


    /* ZONES */

    .zone-section {
        padding: 70px 0 90px;
    }

    .zone-header {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 45px;
    }

    .zone-header h2 {
        font-size: clamp(2.6rem, 5vw, 4rem);
    }


    /* GRID */

    .ahouses-grid {
        gap: 22px;
    }


    /* CARDS */

    .ahouse-card-image {
        height: 340px;
    }

    .ahouse-card-content {
        padding: 24px;
    }

    .ahouse-card h3 {
        font-size: 1.5rem;
    }

    .ahouse-capacity {
        font-size: .8rem;
    }


    /* CTA */

    .ahouses-cta {
        padding: 100px 0;
    }

    .ahouses-cta h2 {
        font-size: clamp(2.8rem, 6vw, 5rem);
    }
}


/* =========================================================
   MOBILE
   760px
========================================================= */

@media (max-width: 760px) {

    .ahouses-page .container,
    .ahouses-hero-content {
        width: calc(100% - 40px);
    }


    /* HERO */

    .ahouses-hero {
        min-height: 650px;
        align-items: flex-end;
        padding: 100px 0 70px;
        box-sizing: border-box;
    }

    .ahouses-hero-content {
        padding-bottom: 0;
    }

    .ahouses-eyebrow {
        justify-content: flex-start;
        margin-bottom: 18px;
        font-size: clamp(2.7rem, 13vw, 4.5rem);
        line-height: .9;
    }

    .ahouses-hero h1 {
        display: block;
        max-width: 100%;
        font-size: clamp(2.7rem, 11vw, 4.5rem);
        line-height: .95;
    }

    .ahouses-hero p {
        max-width: 100%;
        margin-top: 22px;
        font-size: .95rem;
        line-height: 1.7;
    }


    /* INTRODUCTION */

    .ahouses-introduction {
        padding: 70px 0 60px;
    }

    .ahouses-introduction .container {
        width: calc(100% - 40px);
        max-width: none;
    }

    .ahouses-introduction h2 {
        margin: 15px 0 20px;
        font-size: clamp(2.3rem, 10vw, 3.5rem);
        line-height: .98;
    }

    .ahouses-introduction p {
        max-width: 100%;
        font-size: .95rem;
        line-height: 1.75;
    }


    /* ZONES */

    .zone-section {
        padding: 65px 0 75px;
    }

    .zone-header {
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .zone-number {
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

    .zone-header h2 {
        margin-top: 8px;
        font-size: clamp(2.4rem, 10vw, 3.8rem);
        line-height: .95;
    }

    .zone-description {
        max-width: 100%;
        font-size: .95rem;
        line-height: 1.75;
    }


    /* GRID */

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


    /* CARDS */

    .ahouse-card:hover {
        transform: none;
        box-shadow: none;
    }

    .ahouse-card-image {
        height: 380px;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
    }

    .ahouse-zone {
        top: 15px;
        left: 15px;
        padding: 8px 11px;
        font-size: .63rem;
    }

    .ahouse-card-content {
        padding: 22px;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }

    .ahouse-card-top {
        gap: 15px;
    }

    .ahouse-card h3 {
        font-size: 1.45rem;
    }

    .ahouse-capacity {
        padding-top: 3px;
        font-size: .78rem;
    }

    .ahouse-price {
        margin-top: 18px;
    }

    .ahouse-price strong {
        font-size: 1.15rem;
    }

    .ahouse-price span {
        font-size: .85rem;
    }

    .ahouse-card-footer {
        margin-top: 22px;
        padding-top: 18px;
    }


    /* EMPTY */

    .no-ahouses {
        padding: 45px 20px;
    }

    .empty-zones {
        padding: 80px 0;
    }

    .empty-zones h2 {
        font-size: 2.3rem;
    }


    /* CTA */

    .ahouses-cta {
        padding: 75px 0;
    }

    .ahouses-cta .container {
        width: calc(100% - 40px);
    }

    .ahouses-cta h2 {
        margin: 18px 0 22px;
        font-size: clamp(2.6rem, 11vw, 4.2rem);
        line-height: .95;
    }

    .ahouses-cta p {
        max-width: 100%;
        font-size: .95rem;
        line-height: 1.7;
    }

    .cta-button {
        width: 100%;
        justify-content: space-between;
        padding: 15px 20px;
    }
}


/* =========================================================
   PETITS MOBILES
   430px
========================================================= */

@media (max-width: 430px) {

    .ahouses-page .container,
    .ahouses-hero-content {
        width: calc(100% - 30px);
    }


    /* HERO */

    .ahouses-hero {
        min-height: 620px;
        padding-bottom: 60px;
    }

    .ahouses-eyebrow {
        font-size: clamp(2.4rem, 13vw, 3.8rem);
    }

    .ahouses-hero h1 {
        font-size: clamp(2.5rem, 11vw, 3.5rem);
    }

    .ahouses-hero p {
        font-size: .9rem;
    }


    /* INTRODUCTION */

    .ahouses-introduction {
        padding: 60px 0 50px;
    }

    .ahouses-introduction h2 {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }


    /* ZONES */

    .zone-section {
        padding: 55px 0 65px;
    }

    .zone-header h2 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }


    /* CARDS */

    .ahouse-card-image {
        height: 330px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .ahouse-card-content {
        padding: 20px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .ahouse-card h3 {
        font-size: 1.35rem;
    }

    .ahouse-card-top {
        flex-direction: column;
        gap: 8px;
    }

    .ahouse-capacity {
        padding-top: 0;
    }


    /* CTA */

    .ahouses-cta {
        padding: 65px 0;
    }

    .ahouses-cta h2 {
        font-size: clamp(2.4rem, 11vw, 3.5rem);
    }

    .cta-button {
        font-size: .85rem;
    }
}


/* =========================================================
   TRÈS PETITS ÉCRANS
   360px
========================================================= */

@media (max-width: 360px) {

    .ahouses-page .container,
    .ahouses-hero-content {
        width: calc(100% - 24px);
    }


    /* HERO */

    .ahouses-hero {
        min-height: 580px;
    }

    .ahouses-hero h1 {
        font-size: 2.35rem;
    }


    /* INTRODUCTION */

    .ahouses-introduction h2 {
        font-size: 2rem;
    }


    /* ZONES */

    .zone-header h2 {
        font-size: 2.1rem;
    }


    /* CARDS */

    .ahouse-card-image {
        height: 300px;
    }

    .ahouse-card-content {
        padding: 18px;
    }

    .ahouse-card h3 {
        font-size: 1.25rem;
    }


    /* CTA */

    .ahouses-cta h2 {
        font-size: 2.25rem;
    }
}
