/* =========================================================
   1. ACCUEIL STYLES
========================================================= */

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

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

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

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

.site-header {
    height: 87px;
    padding: 20px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: #fff;
    position: relative;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand__mark {
    width: 76px;
    height: 46px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold);
    font-size: 20px;
    font-weight: 800;
    flex: 0 0 auto;
}

.brand__mark--logo {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197,163,90,.45);
    background: #fff;
}

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

.brand__copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand__copy strong {
    color: var(--navy);
    font-size: 18px;
    font-weight: 800;
}

.brand__copy small {
    margin-top: 4px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
}

.main-nav a:hover,.main-nav a.is-active {
    color: var(--blue);
    font-weight: 700;
}

.button {
    min-height: 47px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #fff;
    background: var(--blue);
}

.button--primary:hover {
    background: var(--navy);
}

.button--outline {
    border-color: var(--border);
    color: var(--navy);
    background: transparent;
}

.button--outline:hover {
    border-color: var(--gold);
    background: var(--cream);
}

.button--gold {
    background: var(--gold);
    color: var(--navy);
}

/* =========================================================
   5. HERO
========================================================= */

.hero {
    height: 600px;
    padding-block: 60px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero__copy {
    width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.hero__copy>div:first-of-type {
    margin-top: -16px;
}

.hero h1 {
    max-width: 620px;
    margin: 0;
    color: var(--navy);
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.hero__lead {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.eyebrow {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.eyebrow span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
}

.eyebrow--start {
    justify-content: flex-start;
    color: var(--gold);
}

.eyebrow--start .icon-badge {
    width: 16px;
    height: 16px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    background: transparent;
}

.button-row {
    display: flex;
    gap: 16px;
}

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

.area-chips {
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    list-style: none;
}

.area-chips li {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--cream);
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
}

.area-chips li::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 6px;
    display: inline-block;
    border-radius: 2px;
    background: var(--gold);
}

.hero__visual {
    width: 520px;
    height: 440px;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: var(--cream);
}

.hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-search {
    height: 171px;
}

.search-panel {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.search-panel h2 {
    margin: 0 0 20px;
    color: var(--navy);
    font-size: 16px;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr) 141px;
    gap: 12px;
    align-items: end;
}

.search-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.search-grid select {
    height: 43px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--ink);
    background: var(--cream);
    font-size: 14px;
    font-weight: 600;
}

.form-feedback {
    min-height: 20px;
    margin: 8px 0 0;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.section-heading {
    margin-bottom: 48px;
    text-align: center;
}

.section-heading h2 {
    margin: 12px 0 0;
    color: var(--navy);
    font-size: 36px;
    line-height: 1.25;
}

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

.service-card {
    min-height: 256px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}

.service-card__icon,.values-grid article>span {
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold);
    border-radius: 24px;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: var(--cream);
    font-size: 22px;
}

.service-card h3 {
    margin: 20px 0 10px;
    color: var(--navy);
    font-size: 18px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.service-card a {
    margin-top: 20px;
    display: inline-flex;
    gap: 8px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.service-card:hover {
    box-shadow: var(--shadow);
}

/* =========================================================
   6. PROPERTY LISTINGS
========================================================= */

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

.property-card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.property-card__image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    line-height: 0;
    background: var(--cream);
}

.property-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s;
}

.property-card:hover .property-card__image img {
    transform: scale(1.04);
}

.status {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 6px 12px;
    border-radius: 6px;
    color: #fff;
    background: var(--navy);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status--green {
    background: var(--green);
}

.property-card__body {
    height: 149px;
    padding: 20px;
}

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

.property-card h3 {
    margin: 12px 0;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.4;
}

.location {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--muted);
    font-size: 14px;
}

.property-card__meta {
    height: 58px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
}

.property-card__meta div {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 14px;
}

.property-card__meta small {
    color: var(--muted);
}

.property-card__meta strong {
    color: var(--blue);
    font-size: 18px;
}

.property-card__link {
    height: 34px;
    padding: 0 16px;
    display: block;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.section-action {
    padding-top: 48px;
    text-align: center;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 100px;
    align-items: center;
}

.about__copy h2,.territories h2 {
    margin: 12px 0 24px;
    color: var(--navy);
    font-size: 36px;
    line-height: 1.25;
}

.about__copy p {
    max-width: 600px;
    color: var(--muted);
    line-height: 1.7;
}

.about__copy .button {
    margin-top: 16px;
}

.about__portrait {
    height: 470px;
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
}

.about__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__portrait figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    color: #fff;
    background: linear-gradient(transparent,rgba(16,42,67,.94));
}

.about__portrait figcaption span {
    font-size: 12px;
    color: var(--soft);
}

.process-grid {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
    list-style: none;
}

.process-grid li {
    min-height: 192px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.process-grid li>span {
    color: var(--gold);
    font-size: 28px;
    font-weight: 800;
}

.process-grid h3 {
    margin: 16px 0 8px;
    color: var(--navy);
    font-size: 16px;
}

.process-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.territories__grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 64px;
    align-items: center;
}

.territories__grid>div:first-child>p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.6;
}

.territory-list {
    padding: 8px 0 0;
    margin: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.territory-list li {
    position: relative;
    padding-left: 28px;
    display: flex;
    flex-direction: column;
}

.territory-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 3px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--gold);
    border-radius: 50%;
}

.territory-list strong {
    color: var(--navy);
    font-size: 15px;
}

.territory-list span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 13px;
}

.region-card {
    height: 380px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    background: var(--navy);
}

.region-card>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .3;
}

.region-card__top,.region-card__stats {
    position: relative;
    z-index: 1;
}

.region-card__top small {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
}

.region-card__top h3 {
    max-width: 590px;
    margin: 8px 0 0;
    font-size: 24px;
}

.region-card__stats {
    display: flex;
    gap: 40px;
}

.region-card__stats p {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.region-card__stats strong {
    color: var(--gold);
    font-size: 32px;
}

.region-card__stats span {
    color: var(--soft);
    font-size: 12px;
    text-transform: uppercase;
}

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

.values-grid article>span {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.values-grid h3 {
    margin: 16px 0 6px;
    color: var(--navy);
    font-size: 16px;
}

.values-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.dual-cta {
    padding-block: 60px;
}

.dual-cta__grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
}

.dual-cta article {
    height: 300px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 16px;
    color: #fff;
    background: var(--navy);
}

.dual-cta article:last-child {
    background: var(--blue);
}

.dual-cta h2 {
    max-width: 520px;
    margin: 0;
    font-size: 28px;
}

.dual-cta p {
    max-width: 520px;
    margin: 24px 0;
    color: var(--soft);
    font-size: 14px;
}

.newsletter {
    padding-block: 80px;
}

.newsletter__box {
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    border-radius: 16px;
    background: var(--cream);
}

.newsletter h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 28px;
}

.newsletter p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.newsletter__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.newsletter input[type=email] {
    height: 47px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.consent {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.consent input {
    accent-color: var(--blue);
}

.newsletter small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}

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

.site-footer {
    padding: 80px 0 40px;
    color: var(--soft);
    background: var(--navy);
}

.footer-grid {
    display: grid;
    grid-template-columns: 280px 1fr 1fr 300px;
    gap: 40px;
}

.brand--footer .brand__mark {
    width: 36px;
    height: 36px;
    color: var(--navy);
    background: var(--gold);
}

.brand--footer .brand__copy strong {
    color: #fff;
}

.footer-brand>p {
    font-size: 13px;
    line-height: 1.5;
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.socials a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    font-size: 13px;
    font-weight: 700;
}

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

.site-footer ul {
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    list-style: none;
    font-size: 13px;
}

.site-footer a:hover {
    color: var(--gold);
}

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

.site-footer address a:first-child {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255,255,255,.14);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.footer-bottom nav {
    display: flex;
    gap: 24px;
}

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

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

    .site-header {
        padding-inline: 40px;
    }

    .main-nav {
        gap: 18px;
    }

    .section-shell {
        width: calc(100% - 80px);
    }

    .hero__copy {
        width: 52%;
    }

    .hero__visual {
        width: 42%;
    }

    .search-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .quick-search {
        height: auto;
    }

    .property-card__meta {
        align-items: flex-start;
        height: auto;
        gap: 8px;
    }

    .property-card__meta div {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .about__grid {
        gap: 50px;
    }

    .territories__grid {
        grid-template-columns: 420px 1fr;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
}

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

@media (max-width:900px) {
    .section-shell {
        width: calc(100% - 32px);
    }

    .section-pad {
        padding-block: 64px;
    }

    .hero {
        height: auto;
        padding-block: 48px;
        flex-direction: column;
        gap: 36px;
    }

    .hero__copy,.hero__visual {
        width: 100%;
    }

    .hero__copy {
        gap: 24px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero__visual {
        height: 360px;
    }

    .quick-search {
        height: auto;
    }

    .search-panel {
        padding: 24px;
    }

    .search-grid {
        grid-template-columns: 1fr 1fr;
    }

    .search-grid .button {
        grid-column: 1/-1;
    }

    .property-grid,.service-grid,.about__grid,.territories__grid,.dual-cta__grid,.newsletter__box {
        grid-template-columns: 1fr;
    }

    .about__grid,.territories__grid {
        gap: 40px;
    }

    .about__portrait {
        height: 420px;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .region-card {
        height: 340px;
    }

    .newsletter__box {
        padding: 32px;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width:560px) {
    .hero h1,.section-heading h2,.about__copy h2,.territories h2 {
        font-size: 32px;
    }

    .hero__visual {
        height: 280px;
    }

    .search-grid,.process-grid,.values-grid,.footer-grid {
        grid-template-columns: 1fr;
    }

    .property-card__image {
        height: 200px;
    }

    .dual-cta article {
        height: auto;
        min-height: 260px;
        padding: 32px 24px;
    }

    .newsletter__box {
        padding: 24px;
    }

    .newsletter__row {
        grid-template-columns: 1fr;
    }

    .region-card {
        height: auto;
        min-height: 320px;
        padding: 28px;
    }
    width: 100%;
    line-height: 0;
}

@media (max-width: 560px) {
    .brand__mark {
        width: 66px;
        height: 40px;
    }
}
