/*
Theme Name: Terra Residence Landing
Author: Mhamed TAHIR (Agence MAT 360)
Description: Landing page Terra Residence avec dashboard AM360
Version: 1.0
*/

/* Blog & layout styles */
.content-blog {
    background-color: #f3f4f6;
}

.content-blog .breadcrumb-wrapper {
    font-size: 0.875rem;
}

.blog-sidebar .tags-list .badge {
    font-size: 0.75rem;
}

.blog-sidebar img {
    max-width: 100px;
}

:root {
    --ti-black: #080808;
    --ti-ink: #111111;
    --ti-panel: #151413;
    --ti-line: rgba(200, 145, 75, 0.38);
    --ti-gold: #c8914b;
    --ti-gold-soft: #e0b36e;
    --ti-white: #f7f3ee;
    --ti-muted: #b8b0a8;
}

body.home {
    background: var(--ti-black);
    color: var(--ti-white);
}

body.home a {
    color: inherit;
}

html:has(body.am360-thankyou-page),
body.am360-thankyou-page {
    margin: 0;
    min-height: 100%;
    background: #e8dfcf;
}

html:has(body.am360-privacy-page),
body.am360-privacy-page {
    margin: 0;
    min-height: 100%;
    background: #fffdf9;
}

body.am360-thankyou-page .ti-thankyou {
    min-height: 100vh;
    margin: 0;
}

.ti-lp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px clamp(18px, 4vw, 56px);
    color: var(--ti-white);
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.08));
}

.ti-lp-brand {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.15rem, 2vw, 1.9rem);
}

.ti-lp-brand small {
    margin-top: 9px;
    color: var(--ti-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.52em;
    letter-spacing: 0.62em;
}

.ti-lp-logo {
    display: block;
    width: auto;
    max-width: min(250px, 48vw);
    max-height: 64px;
    object-fit: contain;
}

.ti-lp-arc {
    color: var(--ti-gold-soft);
}

.ti-thankyou {
    --terra-primary: #a5603f;
    --terra-primary-rgb: 165, 96, 63;
    min-height: 100vh;
    display: grid;
    place-items: center;
    margin: 0;
    padding: clamp(34px, 7vw, 90px) clamp(18px, 4vw, 60px);
    background:
        linear-gradient(120deg, rgba(232, 223, 207, .94), rgba(251, 248, 240, .84)),
        url('/wp-content/uploads/terra-assets/jardin-verdoyant.jpg') center / cover;
    color: #111111;
}

.ti-thankyou__inner {
    position: relative;
    width: min(100%, 920px);
    display: grid;
    justify-items: start;
    padding: clamp(28px, 5vw, 62px);
    background: rgba(251, 248, 240, .92);
    border: 1px solid rgba(var(--terra-primary-rgb), .18);
    box-shadow: 0 28px 80px rgba(var(--terra-primary-rgb), .18);
    text-align: left;
}

.ti-thankyou__inner::after {
    content: "MALSA CONSEIL";
    position: absolute;
    right: clamp(20px, 4vw, 52px);
    top: clamp(22px, 4vw, 46px);
    color: var(--terra-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ti-thankyou__logo {
    width: auto;
    max-width: min(250px, 62vw);
    max-height: 96px;
    object-fit: contain;
    margin-bottom: 42px;
    filter: none;
}

.ti-thankyou__brand,
.ti-thankyou__eyebrow {
    margin: 0 0 16px;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
    font-weight: 900;
}

.ti-thankyou h1 {
    max-width: 820px;
    margin: 0;
    color: var(--terra-primary);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: 0;
}

.ti-thankyou__subtitle {
    max-width: 620px;
    margin: 24px 0 0;
    color: #111111;
    font-size: clamp(19px, 2.2vw, 26px);
    font-weight: 500;
    line-height: 1.45;
}

.ti-thankyou__text {
    max-width: 610px;
    margin: 16px 0 0;
    color: #5f554f;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

.ti-thankyou__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 36px;
}

.ti-thankyou__btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 1px solid #000000;
    background: #000000;
    color: #ffffff !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
    font-weight: 800;
}

.ti-thankyou__btn--ghost {
    border-color: var(--terra-primary);
    background: var(--terra-primary);
    color: #ffffff !important;
}

@media (max-width: 680px) {
    .ti-thankyou {
        align-items: start;
        padding: 18px;
    }

    .ti-thankyou__inner {
        padding: 26px 22px 30px;
    }

    .ti-thankyou__inner::after {
        position: static;
        order: -1;
        margin-bottom: 20px;
    }

    .ti-thankyou__logo {
        max-width: 210px;
        margin-bottom: 30px;
    }

    .ti-thankyou h1 {
        font-size: clamp(38px, 12vw, 56px);
    }

    .ti-thankyou__actions,
    .ti-thankyou__btn {
        width: 100%;
    }
}

.ti-privacy-policy {
    margin: 0 auto;
    padding: clamp(48px, 7vw, 86px) 20px;
    background: #fffdf9;
    color: #111827;
}

.ti-privacy-policy__inner {
    width: min(100%, 920px);
    margin: 0 auto;
}

.ti-privacy-policy__kicker {
    margin: 0 0 10px;
    color: var(--ti-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: none;
}

.ti-privacy-policy h1 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 500;
    line-height: 0.98;
}

.ti-privacy-policy__lead {
    max-width: 760px;
    margin: 22px 0 0;
    color: #475569;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
}

.ti-privacy-policy__date {
    margin: 14px 0 34px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.ti-privacy-policy h2 {
    margin: 34px 0 10px;
    padding-top: 22px;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    color: #111827;
    font-size: 22px;
    font-weight: 800;
}

.ti-privacy-policy p {
    margin: 0 0 14px;
    color: #334155;
    font-size: 16px;
    line-height: 1.75;
}

.ti-privacy-policy a {
    color: #9f672d;
    font-weight: 800;
}

.ti-lp,
.ti-thankyou {
    font-family: var(--ti-body-font, Arial, Helvetica, sans-serif);
}

.ti-lp h1,
.ti-lp h2,
.ti-lp h3,
.ti-thankyou h1 {
    font-family: var(--ti-heading-font, Georgia, 'Times New Roman', serif);
}

.ti-lp-nav {
    display: flex;
    gap: clamp(14px, 3vw, 34px);
    font-size: 0.9rem;
    letter-spacing: 0;
    text-transform: none;
}

.ti-lp-nav a {
    text-decoration: none;
    color: rgba(247, 243, 238, 0.76);
}

.ti-lp-nav a:hover {
    color: var(--ti-gold-soft);
}

.ti-lp {
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 10%, rgba(200, 145, 75, 0.12), transparent 28%),
        linear-gradient(180deg, #080808 0%, #111 52%, #080808 100%);
}

.ti-hero {
    position: relative;
    min-height: 100vh;
    padding: 118px clamp(18px, 4vw, 56px) 48px;
    border: 1px solid rgba(200, 145, 75, 0.28);
    background:
        linear-gradient(112deg, rgba(8, 8, 8, 0.98) 0%, rgba(8, 8, 8, 0.94) 43%, rgba(8, 8, 8, 0.66) 44%, rgba(8, 8, 8, 0.88) 100%),
        #080808;
}

.ti-hero::before,
.ti-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.ti-hero::before {
    inset: 22px;
    border: 1px solid rgba(200, 145, 75, 0.46);
}

.ti-hero::after {
    top: -8%;
    bottom: -8%;
    left: 51%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(247, 243, 238, 0.32), transparent);
    transform: rotate(23deg);
}

.ti-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.28), rgba(8, 8, 8, 0.72));
}

.ti-hero__content,
.ti-container {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.ti-hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 760px);
    align-items: end;
    gap: clamp(34px, 5vw, 82px);
    min-height: calc(100vh - 166px);
}

.ti-hero__copy {
    min-width: 0;
    max-width: 760px;
}

.ti-kicker,
.ti-subtitle {
    margin: 0;
    color: var(--ti-gold-soft);
    letter-spacing: 0.14em;
    text-transform: none;
}

.ti-kicker {
    font-size: clamp(0.74rem, 1.2vw, 0.95rem);
}

.ti-subtitle {
    margin-top: 18px;
    font-size: clamp(0.9rem, 1.45vw, 1.24rem);
    white-space: pre-line;
}

.ti-hero h1,
.ti-section h2 {
    margin: 24px 0 0;
    color: var(--ti-white);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    line-height: 0.95;
    text-transform: uppercase;
}

.ti-hero h1 {
    max-width: 100%;
    font-size: clamp(3.1rem, 5.8vw, 6.15rem);
    line-height: 0.98;
}

.ti-event-strip {
    display: grid;
    max-width: 620px;
    margin-top: clamp(34px, 6vh, 64px);
    border-top: 1px solid rgba(200, 145, 75, 0.26);
}

.ti-event-strip div {
    display: grid;
    grid-template-columns: 76px 1fr;
    align-items: center;
    min-height: 84px;
    border-bottom: 1px solid rgba(200, 145, 75, 0.26);
    color: var(--ti-white);
    font-size: clamp(1rem, 1.8vw, 1.36rem);
    letter-spacing: 0;
    text-transform: none;
}

.ti-event-strip i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--ti-line);
    border-radius: 50%;
    color: var(--ti-gold-soft);
}

.ti-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.ti-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid var(--ti-line);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.92rem;
    font-weight: 700;
    transition: 180ms ease;
}

.ti-btn--primary {
    background: var(--ti-gold);
    color: #111;
    border-color: var(--ti-gold);
}

.ti-btn--primary:hover {
    background: var(--ti-gold-soft);
    border-color: var(--ti-gold-soft);
}

.ti-btn--ghost {
    color: var(--ti-white);
    background: rgba(255, 255, 255, 0.03);
}

.ti-btn--ghost:hover {
    border-color: var(--ti-gold-soft);
    color: var(--ti-gold-soft);
}

.ti-hero-visual {
    justify-self: end;
    width: min(100%, 380px);
    aspect-ratio: 4 / 5;
    padding: 12px;
    border: 1px solid rgba(200, 145, 75, 0.42);
    background: linear-gradient(145deg, rgba(224, 179, 110, 0.12), rgba(255, 255, 255, 0.03));
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
}

.ti-hero-visual__frame {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(247, 243, 238, 0.12);
    background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.18), rgba(8, 8, 8, 0.82)),
        linear-gradient(135deg, #191919, #080808 58%, #3a2a18);
    filter: grayscale(0.82) contrast(1.08);
}

.ti-section {
    padding: clamp(68px, 9vw, 122px) clamp(18px, 4vw, 56px);
}

.ti-section h2 {
    max-width: 560px;
    font-size: clamp(2.15rem, 3.7vw, 4.25rem);
    line-height: 1.02;
}

.ti-section--dark {
    background: #0c0c0c;
}

.ti-split {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
    gap: clamp(52px, 7vw, 110px);
    align-items: start;
}

.ti-split > * {
    min-width: 0;
}

.ti-programme {
    display: grid;
    gap: 18px;
}

.ti-programme article {
    padding: 26px 0 28px;
    border-top: 1px solid rgba(200, 145, 75, 0.3);
}

.ti-programme span {
    color: var(--ti-gold-soft);
    letter-spacing: 0.06em;
}

.ti-programme h3 {
    margin: 10px 0;
    color: var(--ti-white);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.45rem, 2.1vw, 2.05rem);
    font-weight: 400;
}

.ti-programme p,
.ti-reservation p {
    max-width: 620px;
    margin: 0;
    color: var(--ti-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.ti-section--venue {
    background:
        radial-gradient(circle at 16% 24%, rgba(200, 145, 75, 0.12), transparent 30%),
        #080808;
}

.ti-venue {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
    gap: clamp(36px, 6vw, 86px);
    align-items: center;
}

.ti-venue__copy p:not(.ti-kicker) {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--ti-muted);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.8;
}

.ti-venue__gallery {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
    gap: clamp(16px, 2vw, 24px);
    align-items: end;
}

.ti-venue-card {
    position: relative;
    min-height: clamp(280px, 34vw, 480px);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(200, 145, 75, 0.38);
    background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.1), rgba(8, 8, 8, 0.82)),
        var(--ti-venue-image, linear-gradient(135deg, #f7f3ee 0%, #d7d1c7 34%, #0b0b0b 34.4%, #080808 100%));
    background-position: center;
    background-size: cover;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.ti-venue-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(224, 179, 110, 0.42);
}

.ti-venue-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 44%, rgba(8, 8, 8, 0.76));
}

.ti-venue-card--agency {
    min-height: clamp(340px, 40vw, 560px);
    background-position: center 28%;
}

.ti-venue-card span {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    z-index: 1;
    color: var(--ti-white);
    font-family: var(--ti-heading-font);
    font-size: clamp(1.65rem, 2.5vw, 3rem);
    line-height: 1.02;
}

.ti-section--gold {
    color: #15110c;
    background: linear-gradient(135deg, #b47a37, #e0b36e 48%, #9f672d);
}

.ti-experience {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(21, 17, 12, 0.22);
}

.ti-stat {
    min-height: 190px;
    padding: clamp(24px, 4vw, 42px);
    background: rgba(255, 244, 226, 0.22);
}

.ti-stat strong {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.1rem, 4vw, 4.1rem);
    font-weight: 400;
    text-transform: none;
}

.ti-stat span {
    display: block;
    max-width: 280px;
    margin-top: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.ti-reservation {
    background:
        linear-gradient(90deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.82)),
        #080808;
}

.ti-reservation__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.58fr);
    gap: clamp(34px, 6vw, 76px);
    align-items: start;
}

.ti-form {
    display: grid;
    gap: 16px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(200, 145, 75, 0.42);
    background: rgba(8, 8, 8, 0.84);
}

.ti-form label {
    display: grid;
    gap: 8px;
    color: var(--ti-gold-soft);
    font-size: 0.9rem;
    letter-spacing: 0;
    text-transform: none;
}

.ti-form input,
.ti-form select {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(200, 145, 75, 0.32);
    border-radius: 0;
    color: var(--ti-white);
    background: rgba(255, 255, 255, 0.04);
}

.ti-form input:focus,
.ti-form select:focus {
    outline: 2px solid rgba(224, 179, 110, 0.38);
    border-color: var(--ti-gold-soft);
}

.ti-price-line {
    margin-top: 20px !important;
    color: var(--ti-white) !important;
}

.ti-price-line strong {
    color: var(--ti-gold-soft);
}

.ti-form button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.ti-form-status {
    min-height: 22px;
    margin: 0;
    color: var(--ti-muted);
    font-size: 0.9rem;
}

.ti-lp-footer {
    padding: 28px clamp(18px, 4vw, 56px);
    color: var(--ti-muted);
    background: #080808;
    border-top: 1px solid rgba(200, 145, 75, 0.28);
}

.ti-lp-footer .ti-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ti-lp-footer p {
    margin: 0;
}

.ti-lp-footer a {
    color: var(--ti-gold-soft);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .ti-lp-header {
        position: absolute;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .ti-lp-brand {
        align-items: center;
        margin-inline: auto;
    }

    .ti-lp-nav {
        display: none;
    }

    .ti-hero {
        padding-top: 112px;
        background:
            linear-gradient(180deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.7)),
            #080808;
    }

    .ti-hero__content,
    .ti-split,
    .ti-venue,
    .ti-reservation__inner {
        grid-template-columns: 1fr;
    }

    .ti-venue__gallery {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .ti-venue-card {
        width: min(100%, 520px);
        background-position: center 58%;
    }

    .ti-venue-card--agency {
        background-position: center 22%;
    }

    .ti-hero__content {
        align-items: start;
        min-height: auto;
    }

    .ti-hero-visual {
        justify-self: start;
        width: min(100%, 360px);
    }

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

@media (max-width: 575px) {
    .ti-lp-brand {
        max-width: 250px;
        font-size: 1rem;
        letter-spacing: 0.12em;
    }

    .ti-lp-brand small {
        letter-spacing: 0.18em;
    }

    .ti-hero {
        padding-inline: 16px;
    }

    .ti-hero::before {
        inset: 12px;
    }

    .ti-hero h1 {
        font-size: clamp(2.9rem, 15vw, 4.4rem);
    }

    .ti-kicker,
    .ti-subtitle {
        letter-spacing: 0.08em;
    }

    .ti-event-strip div {
        grid-template-columns: 60px 1fr;
        min-height: 74px;
        font-size: 0.95rem;
    }

    .ti-event-strip i {
        width: 44px;
        height: 44px;
    }

    .ti-btn {
        width: 100%;
        padding-inline: 16px;
    }

    .ti-lp-footer .ti-container {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Landing Parlons Immobilier - version claire issue du brief PDF */
body.home {
    background: var(--ti-page-bg, #f7f4ee);
    color: var(--ti-builder-text, #171514);
}

.ti-lp-header {
    color: #171514;
    background: rgba(247, 244, 238, 0.9);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.ti-lp-brand small,
.ti-lp-nav a {
    color: rgba(23, 21, 20, 0.68);
}

.ti-lp-nav a:hover {
    color: #9f672d;
}

.ti-lp {
    background:
        linear-gradient(180deg, var(--ti-page-bg, #f7f4ee) 0%, var(--ti-section-bg, #fffdf9) 50%, #f1ebe1 100%);
}

.ti-hero {
    min-height: auto;
    padding: clamp(116px, 12vw, 154px) clamp(18px, 5vw, 72px) clamp(58px, 8vw, 96px);
    border: 0;
    background:
        var(--ti-hero-bg, linear-gradient(115deg, rgba(247, 244, 238, 0.98) 0%, rgba(247, 244, 238, 0.96) 57%, rgba(225, 214, 197, 0.72) 57.2%, rgba(247, 244, 238, 0.94) 100%)),
        var(--ti-hero-bg-color, #f7f4ee);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    isolation: isolate;
}

.ti-hero::before {
    inset: clamp(16px, 2vw, 26px);
    border-color: rgba(159, 103, 45, 0.2);
    z-index: 1;
}

.ti-hero::after {
    inset: 0;
    width: auto;
    height: auto;
    transform: none;
    background: var(--ti-hero-overlay-color, #f7f4ee);
    opacity: var(--ti-hero-overlay-opacity, 0.96);
    z-index: 0;
}

.ti-hero__shade {
    display: none;
}

.ti-hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
    align-items: center;
    min-height: auto;
}

.ti-hero__copy {
    max-width: 790px;
}

.ti-kicker,
.ti-subtitle {
    color: var(--ti-builder-accent, #9f672d);
}

.ti-kicker {
    font-weight: 800;
}

.ti-hero h1,
.ti-section h2 {
    color: var(--ti-builder-text, #171514);
    text-transform: var(--ti-title-transform, uppercase);
}

.ti-title-case-sentence .ti-hero h1,
.ti-title-case-sentence .ti-section h2,
.ti-title-case-sentence .ti-programme h3 {
    text-transform: lowercase;
}

.ti-title-case-sentence .ti-hero h1::first-letter,
.ti-title-case-sentence .ti-section h2::first-letter,
.ti-title-case-sentence .ti-programme h3::first-letter {
    text-transform: uppercase;
}

.ti-hero h1 {
    max-width: 720px;
    font-size: clamp(3.4rem, 7vw, 6.8rem);
    line-height: 0.96;
}

.ti-subtitle {
    max-width: 680px;
    margin-top: 20px;
    color: var(--ti-builder-muted, #5c554d);
    letter-spacing: 0.08em;
    line-height: 1.75;
}

.ti-event-strip {
    max-width: 640px;
    border-top-color: rgba(159, 103, 45, 0.22);
}

.ti-event-strip div {
    min-height: 72px;
    color: var(--ti-builder-text, #171514);
    border-bottom-color: rgba(159, 103, 45, 0.22);
}

.ti-event-strip i {
    color: var(--ti-builder-accent, #9f672d);
    border-color: rgba(159, 103, 45, 0.36);
    background: rgba(255, 253, 249, 0.7);
}

.ti-btn--ghost {
    color: var(--ti-builder-text, #171514);
    background: rgba(255, 255, 255, 0.42);
}

.ti-btn--primary {
    background: var(--ti-builder-button-bg, #c8914b);
    color: var(--ti-builder-button-text, #111111);
    border-color: var(--ti-builder-button-bg, #c8914b);
}

.ti-btn--primary:hover {
    background: var(--ti-builder-button-bg, #c8914b);
    border-color: var(--ti-builder-button-bg, #c8914b);
    filter: brightness(1.06);
}

.ti-note {
    max-width: 560px;
    margin: 18px 0 0;
    color: var(--ti-builder-muted, #766e65);
    line-height: 1.7;
}

.ti-hero-visual {
    width: min(100%, 360px);
    background: rgba(255, 253, 249, 0.7);
    box-shadow: 0 28px 70px rgba(60, 42, 25, 0.14);
}

.ti-hero-visual__frame {
    filter: grayscale(0.2) contrast(1.02);
    background:
        linear-gradient(180deg, rgba(247, 244, 238, 0.08), rgba(23, 21, 20, 0.28)),
        linear-gradient(135deg, #e6ded0, #fffdf9 54%, #b78a51);
}

.ti-section {
    padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.ti-section h2 {
    max-width: 680px;
    font-size: clamp(2.3rem, 4vw, 4.7rem);
}

.ti-section--intro,
.ti-section--program,
.ti-section--faq,
.ti-reservation {
    background: var(--ti-section-bg, #fffdf9);
}

.ti-intro,
.ti-faq {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
    gap: clamp(36px, 6vw, 92px);
    align-items: start;
}

.ti-intro__text {
    display: grid;
    gap: 18px;
    color: var(--ti-builder-muted, #5c554d);
    font-size: clamp(1.05rem, 1.45vw, 1.2rem);
    line-height: 1.9;
}

.ti-intro__text p {
    margin: 0;
}

.ti-intro__left,
.ti-intro__right {
    display: grid;
    gap: clamp(24px, 4vw, 42px);
    align-content: start;
}

.ti-intro__right {
    padding-top: clamp(12px, 2vw, 34px);
}

.ti-intro__right h2 {
    margin-top: 0;
}

.ti-intro-visual {
    position: relative;
    min-height: clamp(280px, 35vw, 430px);
    overflow: hidden;
    border: 1px solid rgba(200, 145, 75, 0.36);
    background:
        linear-gradient(125deg, rgba(8, 8, 8, 0.25), rgba(8, 8, 8, 0.86)),
        var(--ti-objective-image, linear-gradient(135deg, #191919, #090909 58%, #3a2a18));
    background-position: center;
    background-size: cover;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.ti-intro-visual--secondary {
    min-height: clamp(240px, 28vw, 360px);
}

.ti-intro-visual::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(224, 179, 110, 0.44);
}

.ti-intro-visual::after {
    content: "";
    position: absolute;
    top: -12%;
    right: 34%;
    width: 1px;
    height: 126%;
    transform: rotate(16deg);
    background: rgba(247, 243, 238, 0.2);
}

.ti-intro-visual span {
    position: absolute;
    inset: auto 22px 22px 22px;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(8, 8, 8, 0.78));
}

.ti-intro-visual strong,
.ti-intro-visual em {
    position: absolute;
    left: 38px;
    right: 38px;
    z-index: 1;
}

.ti-intro-visual strong {
    bottom: 68px;
    color: var(--ti-white);
    font-family: var(--ti-heading-font);
    font-size: clamp(1.9rem, 3vw, 3.4rem);
    font-weight: 500;
    line-height: 1;
    text-transform: none;
}

.ti-intro-visual em {
    bottom: 38px;
    color: var(--ti-gold-soft);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: none;
}

.ti-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
}

.ti-programme article {
    border-top-color: rgba(159, 103, 45, 0.24);
}

.ti-programme h3 {
    color: var(--ti-builder-text, #171514);
    text-transform: var(--ti-title-transform, none);
}

.ti-title-case-sentence .ti-programme h3 {
    text-transform: lowercase;
}

.ti-title-case-sentence .ti-programme h3::first-letter {
    text-transform: uppercase;
}

.ti-programme p,
.ti-reservation p {
    color: var(--ti-builder-muted, #5c554d);
}

.ti-section--gold {
    color: #171514;
    background: #e0b36e;
}

.ti-stat {
    background: rgba(255, 253, 249, 0.26);
}

.ti-faq__items {
    display: grid;
    gap: 12px;
}

.ti-faq details {
    padding: 20px 22px;
    border: 1px solid rgba(159, 103, 45, 0.2);
    background: #f7f4ee;
}

.ti-faq summary {
    cursor: pointer;
    color: var(--ti-builder-text, #171514);
    font-weight: 800;
}

.ti-faq p {
    margin: 12px 0 0;
    color: var(--ti-builder-muted, #5c554d);
    line-height: 1.75;
}

.ti-reservation {
    background:
        linear-gradient(135deg, rgba(247, 244, 238, 0.92), rgba(255, 253, 249, 1)),
        #fffdf9;
}

.ti-form {
    background: #171514;
    box-shadow: 0 24px 70px rgba(23, 21, 20, 0.16);
}

.ti-price-line {
    color: #171514 !important;
}

.ti-form .ti-price-line,
.ti-form-status {
    color: #d8d0c4;
}

.ti-lp-footer {
    background: #171514;
}

@media (max-width: 991px) {
    .ti-lp-header {
        position: fixed;
    }

    .ti-hero,
    .ti-hero {
        background: #f7f4ee;
    }

    .ti-hero__content,
    .ti-intro,
    .ti-faq {
        grid-template-columns: 1fr;
    }

    .ti-hero-visual {
        justify-self: stretch;
        width: min(100%, 420px);
    }

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

@media (max-width: 575px) {
    .ti-hero h1 {
        font-size: clamp(3rem, 17vw, 4.6rem);
    }

    .ti-subtitle,
    .ti-kicker {
        letter-spacing: 0.12em;
    }
}

/* Landing Parlons Immobilier - theme noir premium */
body.home {
    background: #080808;
    color: var(--ti-white);
}

.ti-lp-header {
    color: var(--ti-white);
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.38));
    border-bottom: 1px solid rgba(200, 145, 75, 0.2);
}

.ti-lp-brand small,
.ti-lp-nav a {
    color: rgba(247, 243, 238, 0.72);
}

.ti-lp-nav a:hover {
    color: var(--ti-gold-soft);
}

.ti-lp {
    background:
        radial-gradient(circle at 80% 8%, rgba(200, 145, 75, 0.14), transparent 30%),
        linear-gradient(180deg, #080808 0%, #121110 48%, #080808 100%);
}

.ti-hero {
    border: 1px solid rgba(200, 145, 75, 0.28);
    background:
        var(--ti-hero-bg, linear-gradient(135deg, #111, #080808)),
        #080808;
    background-position: center;
    background-size: cover;
}

.ti-hero::before {
    border-color: rgba(200, 145, 75, 0.42);
}

.ti-hero::after {
    inset: 0;
    width: auto;
    height: auto;
    transform: none;
    background:
        linear-gradient(
            112deg,
            color-mix(in srgb, var(--ti-hero-overlay-color, #080808) 98%, transparent) 0%,
            color-mix(in srgb, var(--ti-hero-overlay-color, #080808) 94%, transparent) 57%,
            color-mix(in srgb, var(--ti-hero-overlay-color, #080808) 70%, transparent) 57.2%,
            color-mix(in srgb, var(--ti-hero-overlay-color, #080808) 90%, transparent) 100%
        );
    opacity: var(--ti-hero-overlay-opacity, 0.58);
}

.ti-lp.has-no-hero-overlay .ti-hero::after {
    display: none;
}

.ti-lp.has-no-hero-overlay .ti-hero {
    border: 0;
}

.ti-lp.has-no-hero-overlay .ti-hero::before {
    display: none;
}

.ti-kicker,
.ti-subtitle {
    color: var(--ti-gold-soft);
}

.ti-hero h1,
.ti-section h2 {
    color: var(--ti-white);
}

.ti-subtitle {
    color: rgba(247, 243, 238, 0.74);
}

.ti-event-strip {
    border-top-color: rgba(200, 145, 75, 0.28);
}

.ti-event-strip div {
    color: var(--ti-white);
    border-bottom-color: rgba(200, 145, 75, 0.28);
}

.ti-event-strip i {
    color: var(--ti-gold-soft);
    border-color: var(--ti-line);
    background: rgba(255, 255, 255, 0.04);
}

.ti-btn--ghost {
    color: var(--ti-white);
    background: rgba(255, 255, 255, 0.035);
}

.ti-note,
.ti-intro__text,
.ti-programme p,
.ti-reservation p,
.ti-faq p {
    color: var(--ti-muted);
}

.ti-hero-visual {
    background: linear-gradient(145deg, rgba(224, 179, 110, 0.13), rgba(255, 255, 255, 0.035));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
}

.ti-hero-visual__frame {
    filter: grayscale(0.82) contrast(1.08);
    background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.18), rgba(8, 8, 8, 0.82)),
        linear-gradient(135deg, #191919, #080808 58%, #3a2a18);
}

.ti-section--intro,
.ti-section--program,
.ti-section--faq,
.ti-reservation {
    background: #0c0c0c;
}

.ti-programme article {
    border-top-color: rgba(200, 145, 75, 0.32);
}

.ti-programme h3,
.ti-faq summary {
    color: var(--ti-white);
}

.ti-section--gold {
    color: #15110c;
    background: linear-gradient(135deg, #b47a37, #e0b36e 48%, #9f672d);
}

.ti-stat {
    background: rgba(255, 244, 226, 0.22);
}

.ti-faq details {
    border-color: rgba(200, 145, 75, 0.26);
    background: rgba(255, 255, 255, 0.035);
}

.ti-reservation {
    background:
        linear-gradient(90deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.82)),
        #080808;
}

.ti-form {
    background: rgba(8, 8, 8, 0.86);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.ti-price-line {
    color: var(--ti-white) !important;
}

.ti-form-status {
    color: var(--ti-muted);
}

.ti-privacy-consents {
    display: grid;
    gap: 10px;
}

.ti-consent {
    display: grid !important;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px !important;
    color: rgba(247, 243, 238, 0.76) !important;
    font-size: 0.78rem !important;
    letter-spacing: 0 !important;
    line-height: 1.55;
    text-transform: none !important;
}

.ti-consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
    accent-color: var(--ti-gold-soft);
}

.ti-consent a {
    color: var(--ti-gold-soft);
}

.ti-lp-footer {
    background: #080808;
}

@media (max-width: 991px) {
    .ti-hero,
    .ti-hero {
        background:
            var(--ti-hero-bg, linear-gradient(135deg, #111, #080808)),
            #080808;
        background-position: center center;
        background-size: cover;
    }

    .ti-hero::after {
        background:
            linear-gradient(
                180deg,
                color-mix(in srgb, var(--ti-hero-overlay-color, #080808) 96%, transparent),
                color-mix(in srgb, var(--ti-hero-overlay-color, #080808) 86%, transparent)
            );
    }
}

/* Ajustement typographique LP */
.ti-hero h1 {
    max-width: 660px;
    font-size: clamp(3rem, 5.4vw, 5.45rem);
    line-height: 1.02;
}

.ti-section h2 {
    max-width: 620px;
    font-size: clamp(2rem, 3vw, 3.35rem);
    line-height: 1.08;
}

.ti-section--program .ti-section h2,
.ti-split > div:first-child h2 {
    max-width: 520px;
    font-size: clamp(2rem, 2.65vw, 3rem);
}

.ti-programme h3 {
    font-size: clamp(1.35rem, 1.75vw, 1.75rem);
    line-height: 1.18;
}

@media (min-width: 1400px) {
    .ti-hero h1 {
        font-size: 5.15rem;
    }

    .ti-section h2 {
        font-size: 3.05rem;
    }
}

@media (max-width: 575px) {
    .ti-hero h1 {
        font-size: clamp(2.65rem, 13vw, 3.65rem);
    }

    .ti-section h2,
    .ti-split > div:first-child h2 {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }
}

.ti-builder-free {
    overflow: hidden;
    margin: var(--am360-section-margin-y, 0) 0;
    padding: var(--am360-section-padding-y, clamp(58px, 8vw, 118px)) var(--am360-section-padding-x, 0);
    background-color: var(--am360-section-bg, var(--ti-section-bg));
    background-image: var(--am360-section-bg-image, none);
    background-position: center;
    background-size: cover;
    color: var(--am360-section-text, var(--ti-builder-text));
}

.ti-builder-free__intro {
    display: grid;
    gap: 14px;
    max-width: 760px;
}

.ti-builder-free__intro h2 {
    margin: 0;
    color: var(--am360-section-title, var(--ti-builder-text));
    font-family: var(--ti-heading-font);
    font-size: clamp(2.1rem, 4.3vw, 4.8rem);
    line-height: .98;
    text-transform: var(--ti-title-transform);
}

.ti-builder-free__intro p {
    margin: 0;
    color: var(--am360-section-muted, var(--ti-builder-muted));
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.72;
}

.ti-builder-free__intro .ti-btn {
    justify-self: start;
    margin-top: 4px;
}

.ti-builder-free__split {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
    gap: clamp(24px, 4vw, 58px);
    align-items: center;
}

.ti-builder-free__media {
    min-height: clamp(300px, 42vw, 560px);
    margin: 0;
    background: #111827;
    overflow: hidden;
}

.ti-builder-free__media img,
.ti-builder-free__media video,
.ti-builder-swiper-card img,
.ti-builder-swiper-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ti-builder-free__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.ti-builder-free__columns article {
    min-height: 190px;
    padding: 24px;
    border: 1px solid rgba(17, 24, 39, .1);
    background: rgba(255, 255, 255, .48);
}

.ti-builder-free__columns h3,
.ti-builder-swiper-card p {
    margin: 0;
    color: var(--am360-section-title, var(--ti-builder-text));
    font-weight: 900;
}

.ti-builder-free__columns p {
    margin: 12px 0 0;
    color: var(--am360-section-muted, var(--ti-builder-muted));
    line-height: 1.65;
}

.ti-builder-free--swiper .ti-container {
    margin-bottom: 26px;
}

.am360-free-swiper {
    width: 100%;
    padding: 0 clamp(18px, 5vw, 72px) 44px;
    overflow: visible;
}

.am360-free-swiper .swiper-wrapper {
    align-items: stretch;
}

.am360-free-swiper .swiper-slide {
    height: auto;
}

.ti-builder-swiper-card {
    display: grid;
    grid-template-rows: minmax(260px, 28vw) auto;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .1);
    overflow: hidden;
}

.ti-builder-swiper-card p {
    padding: 16px 18px;
}

.am360-free-swiper .swiper-pagination {
    position: static;
    margin-top: 22px;
}

.am360-free-swiper .swiper-pagination-bullet {
    width: 28px;
    height: 3px;
    border-radius: 0;
    background: var(--ti-builder-muted);
    opacity: .25;
}

.am360-free-swiper .swiper-pagination-bullet-active {
    background: var(--ti-builder-accent);
    opacity: 1;
}

@media (max-width: 900px) {
    .ti-builder-free__split,
    .ti-builder-free__columns {
        grid-template-columns: 1fr;
    }

    .ti-builder-free__media {
        min-height: 320px;
    }
}

/* Terra Residence front page */
body.home {
    --terra-primary: #a5603f;
    --terra-primary-rgb: 165, 96, 63;
    --terra-reserve-bg: #000000;
    --terra-reserve-text: #ffffff;
    --terra-contact-bg: rgba(var(--terra-primary-rgb), .68);
    --terra-contact-text: #ffffff;
    --terra-ink: #111111;
    --terra-cream: #fff7eb;
    margin: 0;
    background: #f4efe6;
    color: var(--terra-primary);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

html:has(body.home) {
    scroll-padding-top: 75px!important;
}

body.home :is(#accueil, #projet, #appartements, #nhood, #contact, #reservation) {
    scroll-margin-top: 75px!important;
}

body.home .terra-site {
    overflow: hidden;
    background: #f4efe6;
}

html.terra-plan-modal-open,
body.terra-plan-modal-open {
    overflow: hidden;
}

.terra-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    color: #fff;
}

.terra-topbar {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    padding: 10px clamp(18px, 4vw, 64px);
    background: var(--terra-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.terra-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    min-height: 76px;
    padding: 0 0 0 clamp(18px, 4vw, 64px);
    background: linear-gradient(180deg, rgba(var(--terra-primary-rgb), .62), rgba(var(--terra-primary-rgb), .12));
    backdrop-filter: blur(4px);
}

.terra-brand img {
    width: clamp(128px, 15vw, 210px);
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.terra-mobile-cta {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    background: #000000;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
}

.terra-nav {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 0;
    font-size: 14px;
    font-weight: 700;
}

.terra-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 76px;
    padding: 0 clamp(10px, 1.35vw, 20px);
    color: #fff;
    text-decoration: none;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .34);
}

.terra-nav__contact,
.terra-nav__cta {
    box-sizing: border-box;
    flex: 0 0 auto;
    align-self: stretch;
    min-height: 76px;
    justify-content: center;
    min-width: clamp(132px, 11vw, 176px);
    padding: 0 clamp(30px, 3.6vw, 68px) !important;
    font-weight: 800;
    transition: background-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.terra-nav__contact {
    background: var(--terra-contact-bg);
    border: 1px solid rgba(255, 255, 255, .18);
    color: var(--terra-contact-text) !important;
}

.terra-nav__cta {
    position: relative;
    z-index: 0;
    width: clamp(168px, 13vw, 220px) !important;
    min-width: clamp(168px, 13vw, 220px) !important;
    max-width: clamp(168px, 13vw, 220px) !important;
    flex: 0 0 clamp(168px, 13vw, 220px) !important;
    padding-inline: 0 !important;
    background: transparent;
    border: 1px solid transparent;
    color: var(--terra-reserve-text) !important;
    overflow: visible;
    white-space: nowrap;
}

.terra-nav__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, .86);
    border: 1px solid rgba(0, 0, 0, .86);
    box-shadow: 0 16px 34px rgba(var(--terra-primary-rgb), .22);
    transform-origin: center center;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.terra-nav__cta:hover,
.terra-nav__cta:focus-visible {
    width: clamp(168px, 13vw, 220px) !important;
    min-width: clamp(168px, 13vw, 220px) !important;
    max-width: clamp(168px, 13vw, 220px) !important;
    flex: 0 0 clamp(168px, 13vw, 220px) !important;
    padding-inline: 0 !important;
    background: transparent;
    border-color: transparent;
    transform: none !important;
}

.terra-nav__cta:hover::before,
.terra-nav__cta:focus-visible::before {
    background: rgba(0, 0, 0, .94);
    border-color: rgba(0, 0, 0, .94);
    transform: scaleX(1.24);
}

.terra-hero {
    position: relative;
    min-height: 100vh;
    background: var(--terra-primary);
}

.terra-hero__fixed {
    position: absolute;
    inset: 0;
}

.terra-hero__fixed {
    display: grid;
    align-items: center;
    padding: 150px clamp(22px, 6vw, 92px) 92px;
    background-image:
        linear-gradient(90deg, rgba(var(--terra-primary-rgb), .86), rgba(var(--terra-primary-rgb), .42) 46%, rgba(var(--terra-primary-rgb), .16)),
        var(--terra-hero-image);
    background-size: cover;
    background-position: center;
}

.terra-hero__content {
    width: min(720px, 100%);
    color: #fff;
}

.terra-hero__content p {
    margin: 0 0 14px;
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.terra-hero h1,
.terra-hero h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 8vw, 118px);
    line-height: .92;
    font-weight: 500;
    letter-spacing: 0;
    max-width: 820px;
}

.terra-hero__value {
    display: grid;
    gap: 6px;
    margin-top: 22px;
    color: #fff;
}

.terra-hero__value span {
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 700;
}

.terra-hero__value strong {
    width: fit-content;
    padding: 6px 0 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .72);
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3.6vw, 54px);
    font-weight: 500;
    letter-spacing: 0;
}

.terra-hero__content a,
.terra-project__copy a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 28px;
    padding: 0 28px;
    background: var(--terra-reserve-bg);
    color: var(--terra-reserve-text) !important;
    text-decoration: none;
    font-weight: 800;
}

.terra-project__copy a {
    margin-top: 28px;
}

.terra-virtual-tour {
    display: none;
    position: absolute;
    left: clamp(22px, 6vw, 92px);
    bottom: 34px;
    z-index: 4;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    background: rgba(var(--terra-primary-rgb), .9);
    color: #fff !important;
    text-decoration: none;
    font-weight: 900;
    cursor: not-allowed;
    opacity: .58;
    border: 1px solid rgba(0, 0, 0, .82);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
    backdrop-filter: blur(6px);
}

.terra-virtual-tour:disabled {
    pointer-events: none;
}

.terra-intro,
.terra-gardens,
.terra-program,
.terra-proof,
.terra-invest,
.terra-properties,
.terra-contact {
    padding: clamp(70px, 9vw, 130px) clamp(20px, 5vw, 76px);
}

.terra-intro {
    background: #fbf8f0;
}

.terra-intro__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.terra-intro__cards article {
    min-height: 220px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--terra-primary);
    color: #fff;
}

.terra-intro__cards span {
    margin-bottom: auto;
    color: #fff;
    font-size: clamp(30px, 3.6vw, 52px);
    font-weight: 900;
    line-height: .85;
}

.terra-intro__cards h2,
.terra-project h2,
.terra-section-head h2,
.terra-nhood h2,
.terra-contact h2,
.terra-form h2,
.terra-footer h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0;
}

.terra-intro__cards h2 {
    font-size: clamp(28px, 3vw, 46px);
}

.terra-project {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: clamp(28px, 5vw, 74px);
    align-items: center;
    padding: clamp(70px, 9vw, 130px) clamp(20px, 5vw, 76px);
    background: #e8dfcf;
}

.terra-project__media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.terra-project__media img {
    width: 100%;
    height: clamp(340px, 42vw, 620px);
    object-fit: cover;
}

.terra-project__media img + img {
    margin-top: 54px;
}

.terra-project__copy p:first-child,
.terra-section-head p,
.terra-nhood > div > p:first-child,
.terra-contact__details > p {
    margin: 0 0 12px;
    color: var(--ti-black);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.terra-project h2,
.terra-section-head h2,
.terra-nhood h2,
.terra-contact h2 {
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1;
}

.terra-project__copy p:not(:first-child),
.terra-gardens__copy > span,
.terra-nhood p,
.terra-contact li,
.terra-form p {
    color: #5f554f;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

.terra-gardens {
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: stretch;
    background: #fbf8f0;
}

.terra-gardens__copy {
    display: grid;
    align-content: center;
    gap: 18px;
}

.terra-gardens__copy p {
    margin: 0;
    color: #111111;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.terra-gardens__copy h2 {
    margin: 0;
    color: var(--terra-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.terra-gardens__copy ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.terra-gardens__copy li {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 13px;
    background: #ffffff;
    border: 1px solid rgba(var(--terra-primary-rgb), .14);
    color: #5f554f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.terra-gardens__copy a {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 8px;
    padding: 0 28px;
    background: #000000;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.terra-gardens__visual {
    min-height: clamp(420px, 50vw, 720px);
    background: #e8dfcf;
    overflow: hidden;
}

.terra-gardens__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.terra-gallery {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 8px;
}

.terra-gallery figure {
    position: relative;
    min-height: clamp(220px, 23vw, 360px);
    margin: 0;
    background: #ffffff;
    overflow: hidden;
}

.terra-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.terra-gallery figcaption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, .72);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.terra-program {
    background: #fbf8f0;
}

.terra-program__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.terra-program-card {
    display: grid;
    grid-template-rows: minmax(210px, 17vw) 1fr;
    min-height: 100%;
    background: #fff;
    border: 1px solid rgba(var(--terra-primary-rgb), .14);
    overflow: hidden;
}

.terra-program-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #fff;
}

.terra-program-card > div {
    padding: 22px;
}

.terra-program-card span,
.terra-building-card__head span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--terra-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.terra-program-card h3,
.terra-building-card__head h3 {
    margin: 0 0 10px;
    color: var(--terra-primary);
    font-size: 24px;
    line-height: 1.14;
}

.terra-program-card p,
.terra-building-card__head p {
    margin: 0;
    color: #5f554f;
    font-weight: 400;
    line-height: 1.58;
}

.terra-program-card--cert {
    grid-template-rows: 1fr;
    background: var(--terra-primary);
}

.terra-program-card--cert h3,
.terra-program-card--cert p {
    color: #fff;
}

.terra-program-card--cert span {
    color: #000000;
}

.terra-certifications {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.terra-certifications img {
    width: 100%;
    height: 96px;
    padding: 14px;
    object-fit: contain;
    background: #fff;
}

.terra-properties {
    background: #fbf8f0;
}

.terra-section-head {
    display: grid;
    gap: 10px;
    max-width: 900px;
    margin-bottom: 34px;
}

.terra-section-head > span {
    max-width: 680px;
    color: #5f554f;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}

.terra-proof {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    background: #e8dfcf;
}

.terra-proof p {
    margin: 0 0 12px;
    color: #111111;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.terra-proof h2 {
    max-width: 620px;
    margin: 0;
    color: var(--terra-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 70px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.terra-proof strong {
    display: block;
    margin-top: 24px;
    color: #111111;
    font-size: clamp(18px, 1.8vw, 25px);
    font-weight: 800;
    line-height: 1.25;
}

.terra-proof > div > span {
    display: block;
    max-width: 620px;
    margin-top: 12px;
    color: #5f554f;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.terra-proof dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.terra-proof dl > div {
    min-height: 148px;
    display: grid;
    align-content: end;
    gap: 8px;
    padding: 18px;
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(var(--terra-primary-rgb), .16);
}

.terra-proof dl > div:first-child {
    background: var(--terra-primary);
    border-color: var(--terra-primary);
}

.terra-proof dl > div:first-child dt,
.terra-proof dl > div:first-child dd {
    color: #ffffff;
}

.terra-proof dt {
    color: var(--terra-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.terra-proof dd {
    margin: 0;
    color: #5f554f;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

.terra-invest {
    background: #fbf8f0;
}

.terra-invest__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.terra-invest__grid article {
    min-height: 260px;
    display: grid;
    align-content: space-between;
    gap: 18px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid rgba(var(--terra-primary-rgb), .14);
    box-shadow: 0 18px 44px rgba(var(--terra-primary-rgb), .06);
}

.terra-invest__grid span {
    color: var(--terra-primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
}

.terra-invest__grid h3 {
    margin: 0;
    color: #111111;
    font-size: clamp(22px, 2.1vw, 32px);
    line-height: 1.1;
}

.terra-invest__grid p {
    margin: 0;
    color: #5f554f;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.terra-property-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.terra-property-tabs span {
    padding: 12px 16px;
    background: #e8dfcf;
    color: var(--terra-primary);
    font-size: 13px;
    font-weight: 900;
}

.terra-building-map {
    display: grid;
    /* grid-template-rows: minmax(420px, 58vw) auto; */
    margin: 0 0 34px;
    background: #fff;
    border: 1px solid rgba(var(--terra-primary-rgb), .14);
    overflow: hidden;
}

.terra-building-map img {
    width: 100%;
    height: 100%;
    max-height: 760px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.terra-building-map figcaption {
    padding: 16px 20px;
    color: #5f554f;
    font-size: 14px;
    font-weight: 400;
}

.terra-building-grid {
    display: grid;
    gap: 24px;
}

.terra-building-card {
    display: grid;
    grid-template-columns: minmax(240px, .32fr) minmax(0, 1fr);
    gap: 22px;
    padding: 22px;
    background: #e8dfcf;
    border: 1px solid rgba(var(--terra-primary-rgb), .14);
}

.terra-building-card__head {
    align-self: start;
    position: sticky;
    top: 150px;
}

.terra-building-card__head span {
    margin-bottom: 14px;
    color: var(--terra-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.terra-property-grid--building {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.terra-property-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.terra-property-grid.terra-property-grid--building {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.terra-property-card {
    background: #fff;
    color: #111111;
    overflow: hidden;
    border: 1px solid rgba(var(--terra-primary-rgb), .14);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(var(--terra-primary-rgb), .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.terra-property-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--terra-primary-rgb), .3);
    box-shadow: 0 26px 58px rgba(var(--terra-primary-rgb), .16);
}

.terra-property-card__image {
    width: 100%;
    min-height: clamp(250px, 25vw, 360px);
    padding: 24px 28px 32px;
    border: 0;
    outline: 0;
    background: linear-gradient(180deg, #fff 0%, #f8f5ee 100%);
    cursor: zoom-in;
    display: grid;
    place-items: center;
}

.terra-property-card__image:focus-visible,
.terra-property-card button:not(.terra-property-card__image):focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .9);
}

.terra-property-card img {
    width: 100%;
    height: clamp(210px, 22vw, 312px);
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
    display: block;
}

.terra-property-card__body {
    display: grid;
    padding: 22px;
}

.terra-property-card h3 {
    margin: 0 0 8px;
    color: #111111;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.terra-property-card__location {
    display: block;
    margin-bottom: 16px;
    color: var(--terra-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.terra-property-card__meta {
    display: grid;
    gap: 8px;
    min-height: 96px;
    padding: 16px;
    background: #f8f5ee;
    border: 1px solid rgba(var(--terra-primary-rgb), .12);
}

.terra-property-card__meta span {
    color: #5f554f;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

.terra-property-card__price {
    display: grid;
    gap: 3px;
    color: var(--terra-primary) !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

.terra-property-card__price small {
    color: #5f554f;
    font-size: 13px;
    font-weight: 700;
}

.terra-property-card__price strong {
    color: var(--terra-primary);
    font-size: clamp(18px, 1.55vw, 22px);
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.terra-property-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 16px;
}

.terra-property-card button:not(.terra-property-card__image) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 0 18px;
    background: #fff;
    color: var(--terra-primary) !important;
    border: 1px solid rgba(var(--terra-primary-rgb), .26);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: zoom-in;
}

.terra-property-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 0 20px;
    background: var(--terra-primary);
    color: #fff !important;
    border: 1px solid var(--terra-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.terra-property-card__cta:hover,
.terra-property-card button:not(.terra-property-card__image):hover {
    filter: brightness(.96);
}

.terra-plan-modal[hidden] {
    display: none;
}

.terra-plan-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 70px);
}

.terra-plan-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(2px);
}

.terra-plan-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1720px, 96vw);
    max-height: min(86vh, 920px);
    display: grid;
    grid-template-columns: minmax(260px, 30%) minmax(0, 1fr);
    background: #f5f4f1;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
}

.terra-plan-modal__close {
    position: absolute;
    top: -42px;
    right: 0;
    width: 42px;
    height: 42px;
    border: 0;
    background: var(--terra-primary);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.terra-plan-modal__brand {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 38px;
    min-height: 640px;
    padding: clamp(30px, 5vw, 70px);
    background: var(--terra-primary);
    color: #fff;
    text-align: center;
}

.terra-plan-modal__brand img {
    width: min(300px, 72%);
    max-height: 300px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.terra-plan-modal__brand p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.terra-plan-modal__brand h2 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 68px);
    font-weight: 500;
    letter-spacing: 0;
}

.terra-plan-modal__brand span {
    display: block;
    margin-top: 14px;
    color: rgba(255, 255, 255, .78);
    font-weight: 800;
    line-height: 1.45;
    white-space: pre-line;
}

.terra-plan-modal__brand a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 24px;
    padding: 0 24px;
    background: var(--terra-reserve-bg);
    color: var(--terra-reserve-text) !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.terra-plan-modal__image {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 640px;
    padding: clamp(34px, 5vw, 86px);
    background: #ffffff;
    overflow: hidden;
}

.terra-plan-modal__image img {
    width: auto;
    height: auto;
    max-width: min(82%, 980px);
    max-height: calc(min(86vh, 920px) - clamp(90px, 12vw, 180px));
    margin: auto;
    object-fit: contain;
    display: block;
    transform: translate(var(--terra-plan-pan-x, 0), var(--terra-plan-pan-y, 0)) scale(var(--terra-plan-zoom, 1));
    transform-origin: center center;
    transition: transform .18s ease;
    cursor: zoom-in;
}

.terra-plan-modal__image.is-zoomed {
    place-items: center;
    touch-action: none;
}

.terra-plan-modal__image.is-zoomed img {
    width: auto;
    height: auto;
    max-width: min(82%, 980px);
    max-height: calc(min(86vh, 920px) - clamp(90px, 12vw, 180px));
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.terra-plan-modal__image.is-dragging img {
    cursor: grabbing;
    transition: none;
}

.terra-plan-modal__image.is-pinching img {
    transition: none;
}

.terra-plan-modal__zoom {
    position: sticky;
    top: 0;
    justify-self: end;
    z-index: 2;
    display: inline-flex;
    gap: 4px;
    margin: 0 0 12px;
    padding: 5px;
    background: rgba(var(--terra-primary-rgb), .92);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.terra-plan-modal__zoom button {
    min-width: 38px;
    min-height: 34px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: #fff;
    color: var(--terra-primary);
    font-weight: 900;
    cursor: pointer;
}

.terra-nhood {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(70px, 9vw, 130px) clamp(20px, 5vw, 76px);
    background: var(--terra-primary);
    color: #ffffff;
}

.terra-nhood p {
    color: rgba(255, 255, 255, .76);
    font-weight: 400;
}

.terra-nhood > div > p:first-child {
    color: #e8dfcf;
}

.terra-nhood h2 {
    color: #ffffff;
}

.terra-nhood__contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.terra-nhood__contact li {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(232, 223, 207, .28);
}

.terra-nhood__contact span {
    color: #e8dfcf;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.terra-nhood__contact a,
.terra-nhood__contact strong {
    color: #ffffff;
    font-size: clamp(14px, 1.15vw, 17px);
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.terra-nhood__contact a:hover {
    color: #e8dfcf;
}

.terra-nhood__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 26px;
    padding: 0 30px;
    background: #000000;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .2);
    transition: transform .18s ease, background-color .18s ease;
}

.terra-nhood__cta:hover {
    background: rgba(0, 0, 0, .9);
    transform: translateY(-2px);
}

.terra-nhood img {
    width: 100%;
    max-width: 260px;
    padding: 28px;
    background: #ffffff;
    object-fit: contain;
    filter: none;
}

.terra-contact {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr);
    gap: clamp(28px, 5vw, 72px);
    background: #e8dfcf;
}

.terra-contact ul {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.terra-contact li {
    font-weight: 400;
    padding: 14px 0;
    border-bottom: 1px solid rgba(var(--terra-primary-rgb), .18);
}

.terra-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: clamp(24px, 4vw, 46px);
    background: #fff;
    box-shadow: 0 24px 70px rgba(var(--terra-primary-rgb), .14);
}

.terra-form h2,
.terra-form p,
.terra-form__trust,
.terra-form label:nth-last-child(2),
.terra-form button,
.terra-form__status,
.terra-privacy-consents,
.ti-privacy-consents {
    grid-column: 1 / -1;
}

.terra-form h2 {
    font-size: clamp(34px, 4vw, 56px);
}

.terra-form__trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
}

.terra-form__trust li {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: #f8f5ee;
    border: 1px solid rgba(var(--terra-primary-rgb), .14);
    color: var(--terra-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.terra-form label {
    display: grid;
    gap: 8px;
    color: var(--terra-primary);
    font-size: 13px;
    font-weight: 900;
}

.terra-form input,
.terra-form select {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(var(--terra-primary-rgb), .2);
    background: #f8f5ee;
    color: var(--terra-primary);
    border-radius: 0;
}

.terra-form button {
    min-height: 54px;
    border: 0;
    background: var(--terra-primary);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.terra-form button:disabled {
    opacity: .55;
    cursor: wait;
}

.terra-form__status,
.ti-form-status {
    margin: 0;
    color: var(--terra-primary);
    font-weight: 800;
}

.ti-privacy-consents {
    display: grid;
    gap: 10px;
    padding: 4px 0;
}

.ti-consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px;
    color: var(--terra-primary) !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.ti-consent input {
    min-height: auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.ti-consent span,
.ti-consent a {
    color: var(--terra-primary) !important;
}

.ti-consent a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.terra-footer {
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(180px, .55fr) minmax(240px, .8fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
    padding: clamp(62px, 7vw, 96px) clamp(20px, 5vw, 76px) 30px;
    background: linear-gradient(180deg, rgba(var(--terra-primary-rgb), .96), var(--terra-primary));
    color: #fff;
}

.terra-footer img {
    width: 170px;
    margin-bottom: 28px;
    filter: brightness(0) invert(1);
}

.terra-footer__brand {
    max-width: 520px;
}

.terra-footer p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-weight: 400;
    line-height: 1.7;
}

.terra-footer__links,
.terra-footer__contact {
    display: grid;
    gap: 12px;
}

.terra-footer__links a,
.terra-footer__contact a,
.terra-footer__contact span {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.terra-footer__links a {
    width: fit-content;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.terra-footer__links a:hover,
.terra-footer__contact a:hover {
    color: #fff;
}

.terra-footer__contact p {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.terra-footer__malsa {
    display: inline-grid;
    gap: 12px;
    margin-top: 34px;
    padding: 18px 20px 20px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #e8dfcf;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.terra-footer__malsa span {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.terra-footer__malsa img {
    width: min(230px, 100%);
    max-height: 112px;
    padding: 18px 20px;
    margin: 0;
    background: #ffffff;
    object-fit: contain;
    filter: none;
}

.terra-footer__malsa:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .32);
    color: #ffffff;
    transform: translateY(-2px);
}

.terra-footer__legal {
    grid-column: 1 / -1;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    font-size: 13px;
}

.terra-sticky-cta {
    display: none;
}

body.home .terra-header .terra-nav > a.terra-nav__cta,
body.home .terra-header .terra-nav > a.terra-nav__cta:hover,
body.home .terra-header .terra-nav > a.terra-nav__cta:focus,
body.home .terra-header .terra-nav > a.terra-nav__cta:focus-visible,
body.home .terra-header .terra-nav > a.terra-nav__cta:active {
    box-sizing: border-box !important;
    inline-size: 250px !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    flex: 0 0 250px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-width: 1px !important;
    letter-spacing: .08em !important;
    scale: 1 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    transform-origin: center center;
    contain: layout;
}

body.home .terra-header .terra-nav > a.terra-nav__cta:hover,
body.home .terra-header .terra-nav > a.terra-nav__cta:focus-visible {
    transform: none !important;
}

body.home .terra-header .terra-nav > a.terra-nav__cta:hover::before,
body.home .terra-header .terra-nav > a.terra-nav__cta:focus-visible::before {
    transform: scaleX(1.24);
}

@media (max-width: 1000px) {
    .terra-nav {
        display: none;
    }

    .terra-mobile-cta {
        display: none;
    }

    .terra-intro__cards,
    .terra-gardens,
    .terra-gallery,
    .terra-program__grid,
    .terra-proof,
    .terra-proof dl,
    .terra-invest__grid,
    .terra-project,
    .terra-building-card,
    .terra-property-grid,
    .terra-nhood,
    .terra-contact,
    .terra-footer {
        grid-template-columns: 1fr;
    }

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

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

    .terra-nhood__contact {
        grid-template-columns: 1fr;
    }

    .terra-building-card__head {
        position: static;
    }

    .terra-project__media img + img {
        margin-top: 0;
    }
}

@media (max-width: 680px) {
    .terra-topbar {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px 14px;
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 11px;
        text-align: center;
    }

    html:has(body.home) {
        scroll-padding-top: 150px;
    }

    body.home :is(#accueil, #projet, #appartements, #nhood, #contact, #reservation) {
        scroll-margin-top: 150px;
    }

    .terra-navbar {
        min-height: 72px;
        padding: 10px 14px;
        background: linear-gradient(180deg, rgba(var(--terra-primary-rgb), .92), rgba(var(--terra-primary-rgb), .48));
    }

    .terra-brand img {
        width: clamp(112px, 34vw, 148px);
    }

    .terra-mobile-cta {
        min-height: 42px;
        max-width: 184px;
        padding: 0 14px;
        font-size: 10px;
        white-space: normal;
    }

    .terra-hero__fixed {
        padding-top: 160px;
    }

    .terra-gardens__visual {
        min-height: 380px;
    }

    .terra-gallery figure {
        min-height: 260px;
    }

    .terra-program-card {
        grid-template-rows: auto auto;
        background: #ffffff;
    }

    .terra-program-card > img {
        height: 280px;
        object-fit: cover;
    }

    .terra-program-card > div {
        position: relative;
        z-index: 1;
        padding: 22px;
        background: #ffffff;
    }

    .terra-program-card h3 {
        color: var(--terra-primary);
        font-size: clamp(24px, 7vw, 34px);
    }

    .terra-program-card p {
        color: #5f554f;
        font-size: 16px;
        line-height: 1.55;
    }

    .terra-program-card--cert > div {
        background: var(--terra-primary);
    }

    .terra-program-card--cert span,
    .terra-program-card--cert h3,
    .terra-program-card--cert p {
        color: #ffffff;
    }

    .terra-project__media,
    .terra-gardens__copy ul,
    .terra-program__grid,
    .terra-property-grid,
    .terra-form__trust,
    .terra-form {
        grid-template-columns: 1fr;
    }

    .terra-property-grid.terra-property-grid--building {
        grid-template-columns: 1fr;
    }

    .terra-site {
        padding-bottom: 74px;
    }

    .terra-sticky-cta {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 120;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        background: #000000;
        color: #ffffff !important;
        box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .08em;
        text-decoration: none;
        text-transform: uppercase;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    body.terra-reservation-visible .terra-sticky-cta {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(12px);
    }

    .terra-plan-modal {
        align-items: stretch;
        padding: 58px 14px 18px;
    }

    .terra-plan-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 76px);
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .terra-plan-modal__close {
        top: -44px;
    }

    .terra-plan-modal__brand,
    .terra-plan-modal__image {
        min-height: auto;
    }

    .terra-plan-modal__brand {
        gap: 18px;
        padding: 28px 20px;
    }

    .terra-plan-modal__brand img {
        width: 150px;
    }

    .terra-plan-modal__image {
        min-height: 58vh;
        padding: 18px;
    }

    .terra-plan-modal__image img {
        max-height: 62vh;
    }
}
