
/* =========================================================
   AZURA VILLAS — CONTACT
   ========================================================= */

/* HERO */

.contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 650px;
    background:
        #52615a url("../images/contact-hero.jpg")
        center / cover no-repeat;
    color: white;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(18, 30, 27, .75),
        rgba(18, 30, 27, .2)
    );
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    padding: 160px 0 100px;
}

.contact-hero .eyebrow {
    color: #e7e1d1;
}

.contact-hero h1 {
    margin: 25px 0 30px;
    font-family: var(--serif);
    font-size: clamp(52px, 7vw, 100px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -2px;
}

.contact-hero h1 em {
    font-weight: 400;
}

.contact-hero-content > p {
    max-width: 530px;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    line-height: 2;
}

.contact-hero-index {
    position: absolute;
    right: 5%;
    bottom: 30px;
    color: rgba(255, 255, 255, .85);
    font-size: 10px;
    letter-spacing: 2px;
}

/* INTRODUCTION */

.contact-intro {
    padding: 125px 0;
    background: var(--ivory);
    text-align: center;
}

.contact-intro h2,
.contact-information h2,
.contact-form-wrapper h2,
.contact-final h2 {
    font-family: var(--serif);
    font-size: clamp(38px, 4.8vw, 65px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -1px;
}

.contact-intro h2 {
    margin: 25px 0 30px;
    color: var(--dark);
}

.contact-intro h2 em,
.contact-information h2 em,
.contact-form-wrapper h2 em {
    color: var(--olive);
    font-weight: 400;
}

.contact-intro p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 2.1;
}

/* SECTION CONTACT */

.contact-section {
    padding: 110px 0 140px;
    background: #f1eee7;
}

.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
    gap: clamp(50px, 7vw, 120px);
}

.contact-information h2 {
    margin: 25px 0;
    color: var(--dark);
}

.contact-information > p {
    max-width: 400px;
    font-size: 14px;
    line-height: 2;
}

.contact-info-divider {
    width: 100%;
    height: 1px;
    margin: 45px 0;
    background: #d9d8d0;
}

.contact-info-item {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid #d9d8d0;
}

.contact-info-number {
    color: var(--olive);
    font-family: var(--serif);
    font-size: 21px;
}

.contact-info-item h3 {
    margin-bottom: 10px;
    color: var(--dark);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
}

.contact-info-item p {
    max-width: 330px;
    font-size: 13px;
    line-height: 1.9;
}

.contact-text-link {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--olive);
    color: var(--olive);
    font-size: 12px;
    font-weight: 700;
}

/* FORMULAIRE */

.contact-form-wrapper {
    padding: 55px;
    border: 1px solid #e5e4dd;
    background: white;
}

.contact-form-wrapper h2 {
    margin: 20px 0 40px;
    color: var(--dark);
    font-size: clamp(35px, 3.5vw, 52px);
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.form-group label {
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 13px 15px;
    border: 1px solid #e3e4dd;
    border-radius: 0;
    background: var(--ivory);
    color: var(--dark);
    font-family: inherit;
    font-size: 13px;
    transition: border-color .25s;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 1px solid var(--olive);
    border-color: var(--olive);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-consent input {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 3px;
    accent-color: var(--olive);
}

.form-consent label {
    font-size: 11px;
    line-height: 1.8;
}

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 19px 23px;
    border: 0;
    background: var(--olive);
    color: white;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .3s, transform .3s;
}

.contact-submit:hover {
    background: var(--olive-dark);
    transform: translateY(-2px);
}

.contact-submit span {
    font-size: 22px;
}

.contact-form-note {
    color: #8b8c84;
    font-size: 11px;
    line-height: 1.7;
}

.contact-feedback {
    padding: 18px;
    border: 1px solid #cbd8c8;
    background: #eef4eb;
    color: #40583e;
    font-size: 13px;
    line-height: 1.8;
}

.contact-feedback[hidden] {
    display: none;
}

/* BANDEAU FINAL */

.contact-final {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 570px;
    background:
        #536b65 url("../images/contact-final.jpg")
        center / cover no-repeat;
    color: white;
    text-align: center;
}

.contact-final-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 30, 27, .5);
}

.contact-final-content {
    position: relative;
    z-index: 1;
}

.contact-final .eyebrow {
    color: #e7e1d1;
}

.contact-final h2 {
    margin: 25px 0 35px;
}

.contact-final h2 em {
    font-weight: 400;
}

.contact-final-button {
    display: inline-flex;
    align-items: center;
    gap: 35px;
    padding: 19px 28px;
    background: white;
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    transition: transform .3s, background .3s;
}

.contact-final-button:hover {
    background: var(--ivory);
    transform: translateY(-3px);
}

.contact-final-button span {
    font-size: 20px;
}

.contact-demo-note {
    padding: 22px;
    background: var(--ivory);
    color: #7b8078;
    font-size: 11px;
    text-align: center;
}

/* RESPONSIVE */

@media (max-width: 950px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .contact-information {
        max-width: 650px;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        min-height: 540px;
        background-position: 60% center;
    }

    .contact-hero-content {
        padding: 140px 0 85px;
    }

    .contact-hero h1 {
        font-size: clamp(44px, 11vw, 65px);
        letter-spacing: -1px;
    }

    .contact-intro {
        padding: 85px 0;
    }

    .contact-section {
        padding: 80px 0;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-final {
        min-height: 430px;
    }
}
