/* =========================================================
   1. CONTACT STYLES
========================================================= */

/* =========================================================
   2. DESIGN TOKENS / VARIABLES
========================================================= */

/* =========================================================
   3. RESET / BASE / GLOBAL UTILITIES
========================================================= */

/* =========================================================
   3A. SHARED LAYOUT HELPERS
========================================================= */

/* Catalogue desktop — frame Figma 2:638 */

.catalog-page {
    background: var(--cream);
}

.catalog-shell {
    width: 1280px;
    margin-inline: auto;
}

/* =========================================================
   4. HEADER / NAVIGATION
========================================================= */

.catalog-intro {
    padding: 56px 80px 40px;
    background: #fff;
}

.catalog-intro h1 {
    margin: 0;
    color: var(--navy);
    font-size: 40px;
}

.catalog-intro>div>p {
    width: 800px;
    margin: 12px 0 24px;
    color: var(--muted);
    line-height: 1.5;
}

.catalog-intro__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.catalog-intro__bar strong {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 15px;
}

.catalog-intro__bar strong span {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--gold);
}

.catalog-intro__bar label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.catalog-intro__bar select {
    padding: 10px 34px 10px 14px;
    border: 0;
    border-radius: 8px;
    color: var(--ink);
    background: var(--cream);
    font-size: 14px;
    font-weight: 600;
}

.catalog-main {
    padding: 48px 80px;
    background: var(--cream);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.filter-sidebar {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}

.filter-sidebar__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-sidebar h2 {
    margin: 0;
    color: var(--navy);
    font-size: 18px;
}

.active-filter-block {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.active-filter-block>p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chips span {
    padding: 6px 10px;
    border: 1px solid var(--blue);
    border-radius: 8px;
    color: var(--blue);
    background: rgba(31,78,120,.1);
    font-size: 12px;
}

.filter-chips .filter-chips__empty {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
}

.filter-sidebar fieldset {
    padding: 24px 0 12px;
    margin: 0;
    border: 0;
}

.filter-sidebar legend,.filter-field,.filter-range>span {
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.filter-radio {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
}

.filter-radio input {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
}

.filter-field {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-field select,.filter-range input {
    height: 43px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
}

.filter-range {
    margin-top: 16px;
}

.filter-range>div {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 16px 1fr;
    gap: 6px;
    align-items: center;
}

.filter-range input {
    width: 100%;
    min-width: 0;
}

.filter-range b {
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

.filter-submit,.filter-reset {
    width: 100%;
    height: 43px;
    border: 0;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.filter-submit {
    margin-top: 24px;
    color: #fff;
    background: var(--blue);
}

.filter-submit:hover {
    background: var(--navy);
}

.filter-reset {
    color: var(--muted);
    background: transparent;
}

.catalog-results {
    min-width: 0;
}

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

.catalog-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(16,42,67,.04);
}

.catalog-card__media {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    line-height: 0;
    background: #eee;
}

.catalog-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .3s;
}

.catalog-card:hover .catalog-card__media img {
    transform: scale(1.04);
}

.catalog-card__media span {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 5px 9px;
    border-radius: 5px;
    color: #fff;
    background: var(--navy);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.catalog-card__media span.is-rental {
    background: var(--green);
}

.catalog-card__body {
    height: 250px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
}

.catalog-card__type {
    margin: 0;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.catalog-card h2 {
    min-height: 44px;
    margin: 8px 0 12px;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.45;
}

.catalog-card ul {
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    list-style: none;
    color: var(--muted);
    font-size: 12px;
}

.catalog-card hr {
    width: 100%;
    margin: auto 0 12px;
    border: 0;
    border-top: 1px solid var(--border);
}

.catalog-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.catalog-card__footer p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.catalog-card__footer small {
    color: var(--muted);
    font-size: 10px;
}

.catalog-card__footer strong {
    color: var(--navy);
    font-size: 14px;
}

.catalog-card__footer a {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
}

.catalog-pagination {
    margin-top: 40px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.catalog-pagination button {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.catalog-pagination button.is-current {
    border-color: var(--blue);
    color: #fff;
    background: var(--blue);
}

.catalog-pagination button:disabled {
    color: #999;
    cursor: not-allowed;
}

.catalog-empty {
    padding: 80px;
    background: #fff;
    text-align: center;
}

.catalog-empty>div {
    width: 640px;
    margin: auto;
}

.catalog-empty>div>span {
    width: 64px;
    height: 64px;
    margin: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(197,163,90,.1);
    font-size: 28px;
}

.catalog-empty h2 {
    margin: 24px 0 8px;
    color: var(--navy);
    font-size: 22px;
}

.catalog-empty p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.catalog-empty>div>div {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.catalog-empty button,.catalog-empty a {
    padding: 12px 20px;
    border: 1.5px solid var(--blue);
    border-radius: 8px;
    color: var(--blue);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
}

.catalog-empty a {
    color: #fff;
    background: var(--blue);
}

.catalog-footer {
    padding: 80px 80px 40px;
    color: #fff;
    background: var(--navy);
}

.catalog-footer__grid {
    display: grid;
    grid-template-columns: 340px 180px 240px 340px;
    justify-content: space-between;
    gap: 30px;
}

.catalog-footer p {
    color: rgba(255,255,255,.7);
    font-size: 13px;
    line-height: 1.6;
}

.catalog-footer h2 {
    margin: 0 0 16px;
    color: var(--gold);
    font-size: 14px;
    text-transform: uppercase;
}

.catalog-footer ul {
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    list-style: none;
    font-size: 14px;
}

.catalog-footer address {
    display: grid;
    gap: 14px;
    font-style: normal;
    font-size: 13px;
}

.catalog-footer form {
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 8px;
}

.catalog-footer input {
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    color: #fff;
    background: rgba(255,255,255,.08);
}

.catalog-footer form button {
    border: 0;
    border-radius: 8px;
    color: var(--navy);
    background: var(--gold);
    cursor: pointer;
}

.catalog-newsletter-feedback {
    min-height: 18px;
}

.catalog-footer__bottom {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,.15);
    display: flex;
    justify-content: space-between;
}

.catalog-footer__bottom p,.catalog-footer__bottom div {
    display: flex;
    gap: 24px;
    color: rgba(255,255,255,.5);
    font-size: 12px;
}

/* =========================================================
   20. RESPONSIVE / MEDIA QUERIES
========================================================= */

@media (max-width:1180px) {
    .catalog-header,.catalog-intro,.catalog-main,.catalog-footer {
        padding-inline: 40px;
    }

    .catalog-shell {
        width: 100%;
    }

    .catalog-layout {
        grid-template-columns: 250px 1fr;
        gap: 24px;
    }

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

    .catalog-footer__grid {
        grid-template-columns: 1.3fr 1fr 1fr;
    }

    .catalog-footer__grid>div:last-child {
        display: none;
    }
}

/* Contact desktop — frame Figma 2:2233 */

/* =========================================================
   5. CONTACT PAGE
========================================================= */

.contact-view {
    background: var(--cream);
}

.contact-main {
    padding-bottom: 100px;
}

.contact-hero {
    padding: 60px 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.contact-hero>p {
    margin: 0;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--gold);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-hero h1 {
    margin: 0;
    color: var(--navy);
    font-size: 48px;
    line-height: 1.15;
}

.contact-hero>span {
    width: 700px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
}

.contact-layout {
    width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 60px;
    align-items: start;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-logo-card {
    height: auto;
    aspect-ratio: 1167/710;
    margin: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(16,42,67,.04);
}

.contact-logo-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* =========================================================
   7. CONTACT FORM
========================================================= */

.contact-card,
.contact-form-card {
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(16,42,67,.04);
}

.contact-card h2,.contact-form-card h2 {
    margin: 0;
    color: var(--navy);
    font-size: 20px;
}

.contact-details hr {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.contact-details address {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-style: normal;
}

.contact-details address>a,.contact-details address>div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-details address>a>img,.contact-details address>div>img {
    width: 40px;
    height: 40px;
    padding: 11px;
    border-radius: 8px;
    background: var(--cream);
}

.contact-details address span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-details address small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-details address strong {
    color: var(--ink);
    font-size: 16px;
}

.contact-advisor-card {
    padding: 32px;
    border-radius: 16px;
    color: var(--cream);
    background: var(--navy);
}

.contact-advisor-card>div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-advisor-card>div>img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-advisor-card>div p,.contact-advisor-card>p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-advisor-card strong {
    font-size: 18px;
}

.contact-advisor-card>div span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
}

.contact-advisor-card blockquote {
    margin: 20px 0;
    color: var(--cream);
    font-size: 15px;
    line-height: 1.6;
}

.contact-advisor-card hr {
    margin: 0 0 18px;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.2);
}

.contact-advisor-card>p small {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-advisor-card>p span {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
}

/* =========================================================
   6. CALENDLY / APPOINTMENT
========================================================= */

.contact-calendly {
    border: 1px solid var(--gold);
}

.contact-calendly h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.contact-calendly h2 img {
    width: 24px;
    height: 24px;
}

.contact-calendly>p {
    margin: 20px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.contact-calendly>a {
    width: 100%;
    padding: 14px 28px;
    display: flex;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    color: var(--navy);
    background: var(--gold);
    font-size: 15px;
    font-weight: 700;
}

.contact-calendly>small {
    margin-top: 12px;
    display: block;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

.contact-form-card {
    padding: 40px;
}

.contact-form-card>header {
    margin-bottom: 32px;
}

.contact-form-card>header h2 {
    font-size: 24px;
}

.contact-form-card>header p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
}

.contact-form-card label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.contact-form-card input,.contact-form-card select,.contact-form-card textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--ink);
    background: var(--cream);
    font: 400 15px Manrope,sans-serif;
}

.contact-form-card input,.contact-form-card select {
    height: 48px;
}

.contact-form-card select {
    border-color: var(--blue);
}

.contact-form-card textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

.contact-form-card input:focus,.contact-form-card select:focus,.contact-form-card textarea:focus {
    border-color: var(--blue);
    outline: 2px solid rgba(31,78,120,.12);
}

.contact-subject-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: -12px;
}

.contact-subject-pills button {
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--muted);
    background: transparent;
    font: 500 11px Manrope,sans-serif;
    cursor: pointer;
}

.contact-subject-pills button.is-active {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(31,78,120,.1);
    font-weight: 700;
}

.contact-form-card .contact-consent {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.contact-consent input {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin: 0;
    accent-color: var(--blue);
}

.contact-form-feedback {
    min-height: 18px;
    margin: 0;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
}

.contact-submit {
    width: 100%;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--blue);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.contact-submit img {
    width: 16px;
    height: 16px;
}

/* =========================================================
   10. FOOTER
========================================================= */

.contact-footer {
    width: 100%;
}

@media (max-width:1180px) {
    .contact-hero {
        padding-inline: 40px;
    }

    .contact-layout {
        width: calc(100% - 80px);
        grid-template-columns: 420px 1fr;
        gap: 32px;
    }

    .contact-details address strong {
        font-size: 14px;
    }
}

/* Cookies et mentions légales — frame Figma 2:2540 */

@media (max-width:900px) {
    .catalog-footer {
        padding: 56px 20px 28px;
    }

    .catalog-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .catalog-footer__bottom {
        margin-top: 40px;
        padding-top: 28px;
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width:560px) {
    .catalog-footer__grid {
        grid-template-columns: 1fr;
    }

    .catalog-footer__bottom p,.catalog-footer__bottom div {
        flex-wrap: wrap;
    }
}

@media (max-width:900px) {
    .contact-main {
        padding-bottom: 64px;
    }

    .contact-hero {
        padding: 48px 20px 32px;
    }

    .contact-hero h1 {
        font-size: 38px;
    }

    .contact-hero>span {
        width: 100%;
    }

    .contact-layout {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .contact-form-card {
        padding: 28px;
    }
}

@media (max-width:560px) {
    .contact-hero h1 {
        font-size: 32px;
    }

    .contact-sidebar,.contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-card,.contact-form-card,.contact-advisor-card {
        padding: 22px;
    }

    .contact-logo-card {
        height: auto;
        aspect-ratio: 1167/710;
    }

    .contact-details address strong {
        font-size: 13px;
        overflow-wrap: anywhere;
    }
}


/* =========================================================
   CONTACT FORM — BACKEND STATES
========================================================= */

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.contact-form-feedback.is-success {
    color: #176b46;
}

.contact-form-feedback.is-error {
    color: #9f2929;
}


/* =========================================================
   CONTACT FIELD HINTS / VALIDATION
========================================================= */

.contact-field-hint {
    margin-top: -4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.contact-form-card input:invalid:not(:placeholder-shown),
.contact-form-card textarea:invalid:not(:placeholder-shown),
.contact-form-card select:invalid {
    border-color: #b84a4a;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus {
    outline: 2px solid rgba(31, 78, 120, 0.16);
    outline-offset: 1px;
}
