/* =========================================================
   A-HOUSES CAMP — HOME
   ========================================================= */


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

.hero {
    position: relative;
    min-height: 780px;
    padding: 150px 0 100px;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(29, 43, 32, 0.96) 0%,
            rgba(29, 43, 32, 0.88) 42%,
            rgba(29, 43, 32, 0.50) 75%,
            rgba(29, 43, 32, 0.30) 100%
        ),
        url("https://images.unsplash.com/photo-1697462247934-47afc5541494?auto=format&fit=crop&w=2000&q=85")
        center / cover no-repeat;
    color: var(--cream);
}


/* légère texture */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(232, 163, 61, 0.12),
            transparent 35%
        );
}


/* =========================================================
   WRAPPER
   ========================================================= */

.wrap {
    width: min(1200px, calc(100% - 80px));
    margin-inline: auto;
}


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

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 580px;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 80px;
}


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

.hero .eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    font-family: "Caveat", cursive;
    font-size: 1.7rem;
    font-weight: 500;

    color: var(--butter);
}


.hero h1 {
    max-width: 760px;
    margin: 0 0 28px;
    font-family: "DM Serif Display", serif;
    font-size: clamp(3.6rem, 5.5vw, 6rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: var(--cream);
}


.hero h1 em {
    color: var(--honey);
    font-style: normal;
}


.hero-sub {
    max-width: 650px;
    margin: 0 0 38px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(251, 241, 222, 0.78);
}


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

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}


/* .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    gap: 14px;
    padding: 0 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--honey);
    color: var(--forest) !important;
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    text-decoration: none;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18);
    transition:
        transform 250ms ease,
        background 250ms ease,
        box-shadow 250ms ease;
} */


.btn svg {
    width: 13px;
    height: 13px;
    transition: transform 250ms ease;
}


.btn:hover {
    background: var(--butter);
    transform: translateY(-3px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25);
}


.btn:hover svg {
    transform: translateX(4px);
}


.hero-scroll {
    position: relative;
    color: var(--cream);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 250ms ease;
}


.hero-scroll::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: var(--butter);
    transition: width 250ms ease;
}


.hero-scroll:hover {
    color: var(--butter);
}


.hero-scroll:hover::after {
    width: 100%;
}


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

.hero-art {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* papier décoratif */

.washi {
    position: absolute;
    width: 85%;
    height: 78%;
    top: 11%;
    left: 8%;
    background: var(--butter);
    opacity: 0.85;
    transform:
        rotate(-5deg)
        translate(12px, 5px);
    border-radius: 4px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15);
}

/* image */

.hero-card {
    position: relative;
    z-index: 2;
    width: 82%;
    height: 500px;
    overflow: hidden;
    border-radius: 4px;
    transform: rotate(2deg);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.35);
}


.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    pointer-events: none;
}


.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}


.hero-card:hover img {
    transform: scale(1.05);
}


/* =========================================================
   HANDWRITTEN NOTE
   ========================================================= */

.note {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 30px;
    padding: 20px 24px;
    background: var(--cream);
    color: var(--bark-deep);
    font-family: "Caveat", cursive;
    font-size: 1.65rem;
    line-height: 1.05;
    transform: rotate(-7deg);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   WELCOME / FEATURES
   ========================================================= */

.welcome {
    position: relative;
    z-index: 5;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}


.welcome-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--cream);

}


.welcome-item {
    min-height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 25px;
    border-right: 1px solid var(--border);
    color: var(--forest);
    font-size: 0.92rem;
    font-weight: 800;
    text-align: center;
}


.welcome-item:last-child {
    border-right: none;
}


.welcome-item svg {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    stroke: var(--cognac);
}


.welcome-item span {
    max-width: 150px;
    color: var(--honey-deep);
}


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

.cta {
    padding: 120px 0;
    background: var(--cream-soft);
}


.cta-card {
    position: relative;
    min-height: 470px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
    border-radius: 4px;
    /* background: var(--forest); */
    box-shadow:
        0 25px 70px rgba(63, 44, 32, 0.14);
}


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

.cta-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 70px 70px 80px;
    background: var(--line);
}


.cta-text .eyebrow {
    color: var(--bark-deep) !important;
}


.cta-text h2 {
    max-width: 550px;
    margin: 0 0 22px;
    font-family: "DM Serif Display", serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 400;
    line-height: 0.95;
    color: var(--forest);
}


.cta-text p {
    max-width: 540px;
    margin: 0 0 30px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(38, 56, 43, 0.72);
}


/* bouton clair */

.btn.light {
    align-self: flex-start;
    background: var(--cognac);
    color: var(--cream) !important;
    box-shadow: none;
}


.btn.light:hover {
    background: var(--bark-deep);
    color: var(--cream) !important;
}


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

.cta-map {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--line);
}


.cta-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at center,
            rgba(232, 163, 61, 0.12),
            transparent 55%
        );
}


.cta-map svg {
    position: relative;
    z-index: 2;
    width: min(360px, 80%);
    height: auto;
    opacity: 0.95;
}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 700ms ease,
        transform 700ms ease;
}


.reveal.in {
    opacity: 1;
    transform: translateY(0);
}


/* délais */

.hero .reveal:nth-child(1) {
    transition-delay: 100ms;
}

.hero .reveal:nth-child(2) {
    transition-delay: 180ms;
}

.hero .reveal:nth-child(3) {
    transition-delay: 260ms;
}

.welcome-item:nth-child(1) {
    transition-delay: 100ms;
}

.welcome-item:nth-child(2) {
    transition-delay: 180ms;
}

.welcome-item:nth-child(3) {
    transition-delay: 260ms;
}

.welcome-item:nth-child(4) {
    transition-delay: 340ms;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.hero a:focus-visible,
.cta a:focus-visible {
    outline: 3px solid var(--honey);
    outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-card img,
    .btn,
    .btn svg {
        transition: none;
    }
}

/* =========================================================
   HOME — RESPONSIVE HERO
   ========================================================= */

@media (max-width: 1050px) {

    .hero {
        min-height: auto;
        padding: 110px 0 80px;
        background-position: 62% center;
    }

    .wrap {
        width: min(100% - 50px, 1200px);
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr 0.8fr;
        gap: 45px;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 6vw, 5rem);
    }

    .hero-art {
        min-height: 480px;
    }

    .hero-card {
        width: 88%;
        height: 450px;
    }

    .washi {
        width: 88%;
        height: 78%;
    }

    .note {
        right: 0;
        bottom: 20px;
        font-size: 1.45rem;
    }
}


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

@media (max-width: 760px) {

    .hero {
        min-height: auto;
        padding: 105px 0 65px;
        background:
            linear-gradient(
                180deg,
                rgba(29, 43, 32, 0.96) 0%,
                rgba(29, 43, 32, 0.90) 48%,
                rgba(29, 43, 32, 0.68) 100%
            ),
            url("https://images.unsplash.com/photo-1697462247934-47afc5541494?auto=format&fit=crop&w=1400&q=85")
            62% center / cover no-repeat;
    }

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

    .hero-grid {
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 45px;
    }

    /* -------------------------
       TEXTE
       ------------------------- */

    .hero .eyebrow {
        margin-bottom: 12px;
        font-size: 1.45rem;
    }

    .hero h1 {
        max-width: 100%;
        margin-bottom: 22px;
        font-size: clamp(3rem, 12vw, 4.5rem);
        line-height: 0.98;
        letter-spacing: -0.025em;
    }

    .hero h1 br {
        display: none;
    }

    .hero-sub {
        max-width: 100%;
        margin-bottom: 30px;
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .hero-ctas {
        gap: 16px;
    }

    .hero-ctas .btn {
        min-height: 50px;
    }

    .hero-scroll {
        font-size: 0.9rem;
    }

    /* -------------------------
       IMAGE
       ------------------------- */

    .hero-art {
        min-height: 420px;
        width: 100%;
    }

    .hero-card {
        width: 86%;
        height: 390px;
        transform: rotate(1.5deg);
    }

    .hero-card img {
        object-position: center center;
    }

    .washi {
        width: 86%;
        height: 78%;
        top: 10%;
        left: 7%;
        transform:
            rotate(-4deg)
            translate(8px, 4px);
    }

    .note {
        right: 2%;
        bottom: 5px;
        padding: 16px 19px;
        font-size: 1.4rem;
    }


    /* -------------------------
       WELCOME
       ------------------------- */

    .welcome-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .welcome-item {
        min-height: 120px;
        padding: 20px 15px;
        font-size: 0.82rem;
    }

    .welcome-item:nth-child(2) {
        border-right: none;
    }

    .welcome-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .welcome-item svg {
        width: 25px;
        height: 25px;
    }

    .welcome-item span {
        max-width: 120px;
    }


    /* -------------------------
       CTA
       ------------------------- */

    .cta {
        padding: 75px 0;
    }

    .cta-card {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .cta-text {
        padding: 55px 30px;
    }

    .cta-text h2 {
        font-size: clamp(2.8rem, 11vw, 4rem);
    }

    .cta-text p {
        font-size: 0.95rem;
    }

    .cta-map {
        min-height: 300px;
    }

    .cta-map svg {
        width: min(280px, 75%);
    }
}


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

@media (max-width: 430px) {

    .hero {
        padding: 95px 0 50px;
        background-position: 60% center;
    }

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

    .hero-grid {
        gap: 35px;
    }

    .hero .eyebrow {
        font-size: 1.3rem;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 14vw, 3.7rem);
        line-height: 0.96;
    }

    .hero-sub {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .hero-scroll {
        align-self: flex-start;
        margin-top: 3px;
    }

    .hero-art {
        min-height: 360px;
    }

    .hero-card {
        width: 88%;
        height: 330px;
    }

    .washi {
        width: 88%;
        height: 78%;
    }

    .note {
        right: 0;
        bottom: 0;
        padding: 13px 16px;
        font-size: 1.25rem;
    }

    .welcome-item {
        min-height: 105px;
        flex-direction: column;
        gap: 8px;
        padding: 15px 10px;
    }

    .welcome-item span {
        max-width: 135px;
    }

    .cta {
        padding: 55px 0;
    }

    .cta-text {
        padding: 45px 24px;
    }

    .cta-text h2 {
        font-size: 2.7rem;
    }

    .cta-map {
        min-height: 240px;
    }
}


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

@media (max-width: 360px) {

    .hero {
        padding-top: 90px;
    }

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

    .hero h1 {
        font-size: 2.55rem;
    }

    .hero-art {
        min-height: 320px;
    }

    .hero-card {
        height: 295px;
    }

    .note {
        font-size: 1.1rem;
        padding: 11px 13px;
    }
}